[INFO] fetching crate mavlink 0.10.12... [INFO] checking mavlink-0.10.12 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate mavlink 0.10.12 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate mavlink 0.10.12 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate mavlink 0.10.12 [INFO] tweaked toml for crates.io crate mavlink 0.10.12 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate mavlink 0.10.12 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate mavlink 0.10.12 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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c8207bf466d562b090bb543194e82a72e745a457d2d470f3c6504ea4aa9ce780 [INFO] running `Command { std: "docker" "start" "-a" "c8207bf466d562b090bb543194e82a72e745a457d2d470f3c6504ea4aa9ce780", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c8207bf466d562b090bb543194e82a72e745a457d2d470f3c6504ea4aa9ce780", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c8207bf466d562b090bb543194e82a72e745a457d2d470f3c6504ea4aa9ce780", kill_on_drop: false }` [INFO] [stdout] c8207bf466d562b090bb543194e82a72e745a457d2d470f3c6504ea4aa9ce780 [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" "-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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2c523efec4c9d7cdf6e4d9239aac961557e9a6b48d8e022cdc7e01fb850c302b [INFO] running `Command { std: "docker" "start" "-a" "2c523efec4c9d7cdf6e4d9239aac961557e9a6b48d8e022cdc7e01fb850c302b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling debug-helper v0.3.13 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling xml-rs v0.8.27 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling crc-any v2.5.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Checking ioctl-rs v0.1.6 [INFO] [stderr] Checking termios v0.2.2 [INFO] [stderr] Checking serial-core v0.4.0 [INFO] [stderr] Checking serial-unix v0.4.0 [INFO] [stderr] Checking serial v0.4.0 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling mavlink v0.10.12 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> build/parser.rs:36:33 [INFO] [stdout] | [INFO] [stdout] 36 | ... for mut enm in &mut self.enums { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `WriteBytesExt` [INFO] [stdout] --> src/lib.rs:38:31 [INFO] [stdout] | [INFO] [stdout] 38 | use byteorder::{ReadBytesExt, WriteBytesExt}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> src/connection/udp.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> src/connection/udp.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `WriteBytesExt` [INFO] [stdout] --> src/lib.rs:38:31 [INFO] [stdout] | [INFO] [stdout] 38 | use byteorder::{ReadBytesExt, WriteBytesExt}; [INFO] [stdout] | ^^^^^^^^^^^^^ [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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:777 [INFO] [stdout] | [INFO] [stdout] 2 | ... , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum MavAutopilot { ... [INFO] [stdout] | ^------------ ------------ `MavAutopilot` is not local [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_MavAutopilot` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:793 [INFO] [stdout] | [INFO] [stdout] 2 | ... , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum MavAutopilot { ... [INFO] [stdout] | ^---------- ------------ `MavAutopilot` is not local [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_MavAutopilot` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `ToPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:1747 [INFO] [stdout] | [INFO] [stdout] 2 | ... , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum MavType { ... [INFO] [stdout] | ^------------ ------- `MavType` is not local [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_MavType` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:1763 [INFO] [stdout] | [INFO] [stdout] 2 | ... , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum MavType { ... [INFO] [stdout] | ^---------- ------- `MavType` is not local [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_MavType` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `ToPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:2996 [INFO] [stdout] | [INFO] [stdout] 2 | ... , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum FirmwareVersionType { ... [INFO] [stdout] | ^------------ ------------------- `FirmwareVersionType` is not local [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_FirmwareVersionType` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:3012 [INFO] [stdout] | [INFO] [stdout] 2 | ... , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum FirmwareVersionType { ... [INFO] [stdout] | ^---------- ------------------- `FirmwareVersionType` is not local [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_FirmwareVersionType` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `ToPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:4877 [INFO] [stdout] | [INFO] [stdout] 2 | ... , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum MavModeFlagDecodePosition { ... [INFO] [stdout] | ^------------ ------------------------- `MavModeFlagDecodePosition` is not local [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_MavModeFlagDecodePosition` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:4893 [INFO] [stdout] | [INFO] [stdout] 2 | ... , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum MavModeFlagDecodePosition { ... [INFO] [stdout] | ^---------- ------------------------- `MavModeFlagDecodePosition` is not local [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_MavModeFlagDecodePosition` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `ToPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:5622 [INFO] [stdout] | [INFO] [stdout] 2 | ... , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum MavGoto { ... [INFO] [stdout] | ^------------ ------- `MavGoto` is not local [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_MavGoto` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:5638 [INFO] [stdout] | [INFO] [stdout] 2 | ... , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum MavGoto { ... [INFO] [stdout] | ^---------- ------- `MavGoto` is not local [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_MavGoto` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `ToPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:6075 [INFO] [stdout] | [INFO] [stdout] 2 | ... , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum MavMode { ... [INFO] [stdout] | ^------------ ------- `MavMode` is not local [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_MavMode` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:6091 [INFO] [stdout] | [INFO] [stdout] 2 | ... , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum MavMode { ... [INFO] [stdout] | ^---------- ------- `MavMode` is not local [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_MavMode` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `ToPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:6731 [INFO] [stdout] | [INFO] [stdout] 2 | ... , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum MavState { ... [INFO] [stdout] | ^------------ -------- `MavState` is not local [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_MavState` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:6747 [INFO] [stdout] | [INFO] [stdout] 2 | ... , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum MavState { ... [INFO] [stdout] | ^---------- -------- `MavState` is not local [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_MavState` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `ToPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:7285 [INFO] [stdout] | [INFO] [stdout] 2 | ... , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum MavComponent { ... [INFO] [stdout] | ^------------ ------------ `MavComponent` is not local [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_MavComponent` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:7301 [INFO] [stdout] | [INFO] [stdout] 2 | ... , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum MavComponent { ... [INFO] [stdout] | ^---------- ------------ `MavComponent` is not local [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_MavComponent` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `ToPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:12757 [INFO] [stdout] | [INFO] [stdout] 2 | ... , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum MavFrame { ... [INFO] [stdout] | ^------------ -------- `MavFrame` is not local [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_MavFrame` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:12773 [INFO] [stdout] | [INFO] [stdout] 2 | ... , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum MavFrame { ... [INFO] [stdout] | ^---------- -------- `MavFrame` is not local [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_MavFrame` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `ToPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:13732 [INFO] [stdout] | [INFO] [stdout] 2 | ... , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum MavlinkDataStreamType { ... [INFO] [stdout] | ^------------ --------------------- `MavlinkDataStreamType` is not local [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_MavlinkDataStreamType` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:13748 [INFO] [stdout] | [INFO] [stdout] 2 | ... , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum MavlinkDataStreamType { ... [INFO] [stdout] | ^---------- --------------------- `MavlinkDataStreamType` is not local [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_MavlinkDataStreamType` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `ToPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:14317 [INFO] [stdout] | [INFO] [stdout] 2 | ... , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum FenceAction { ... [INFO] [stdout] | ^------------ ----------- `FenceAction` is not local [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_FenceAction` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:14333 [INFO] [stdout] | [INFO] [stdout] 2 | ... , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum FenceAction { ... [INFO] [stdout] | ^---------- ----------- `FenceAction` is not local [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_FenceAction` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `ToPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:14785 [INFO] [stdout] | [INFO] [stdout] 2 | ... , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum FenceBreach { ... [INFO] [stdout] | ^------------ ----------- `FenceBreach` is not local [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_FenceBreach` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:14801 [INFO] [stdout] | [INFO] [stdout] 2 | ... , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum FenceBreach { ... [INFO] [stdout] | ^---------- ----------- `FenceBreach` is not local [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_FenceBreach` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `ToPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:15223 [INFO] [stdout] | [INFO] [stdout] 2 | ... , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum FenceMitigate { ... [INFO] [stdout] | ^------------ ------------- `FenceMitigate` is not local [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_FenceMitigate` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:15239 [INFO] [stdout] | [INFO] [stdout] 2 | ... , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum FenceMitigate { ... [INFO] [stdout] | ^---------- ------------- `FenceMitigate` is not local [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_FenceMitigate` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `ToPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:15654 [INFO] [stdout] | [INFO] [stdout] 2 | ... , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum MavMountMode { ... [INFO] [stdout] | ^------------ ------------ `MavMountMode` is not local [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_MavMountMode` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:15670 [INFO] [stdout] | [INFO] [stdout] 2 | ... , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum MavMountMode { ... [INFO] [stdout] | ^---------- ------------ `MavMountMode` is not local [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_MavMountMode` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `ToPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:18430 [INFO] [stdout] | [INFO] [stdout] 2 | ... , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum GimbalDeviceFlags { ... [INFO] [stdout] | ^------------ ----------------- `GimbalDeviceFlags` is not local [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_GimbalDeviceFlags` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:18446 [INFO] [stdout] | [INFO] [stdout] 2 | ... , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum GimbalDeviceFlags { ... [INFO] [stdout] | ^---------- ----------------- `GimbalDeviceFlags` is not local [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_GimbalDeviceFlags` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `ToPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:18969 [INFO] [stdout] | [INFO] [stdout] 2 | ... , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum GimbalManagerFlags { ... [INFO] [stdout] | ^------------ ------------------ `GimbalManagerFlags` is not local [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_GimbalManagerFlags` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:18985 [INFO] [stdout] | [INFO] [stdout] 2 | ... , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum GimbalManagerFlags { ... [INFO] [stdout] | ^---------- ------------------ `GimbalManagerFlags` is not local [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_GimbalManagerFlags` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `ToPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:19711 [INFO] [stdout] | [INFO] [stdout] 2 | ... , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum GimbalDeviceErrorFlags { ... [INFO] [stdout] | ^------------ ---------------------- `GimbalDeviceErrorFlags` is not local [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_GimbalDeviceErrorFlags` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:19727 [INFO] [stdout] | [INFO] [stdout] 2 | ... , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum GimbalDeviceErrorFlags { ... [INFO] [stdout] | ^---------- ---------------------- `GimbalDeviceErrorFlags` is not local [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_GimbalDeviceErrorFlags` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `ToPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:20468 [INFO] [stdout] | [INFO] [stdout] 2 | ... , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum UavcanNodeHealth { ... [INFO] [stdout] | ^------------ ---------------- `UavcanNodeHealth` is not local [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_UavcanNodeHealth` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:20484 [INFO] [stdout] | [INFO] [stdout] 2 | ... , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum UavcanNodeHealth { ... [INFO] [stdout] | ^---------- ---------------- `UavcanNodeHealth` is not local [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_UavcanNodeHealth` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `ToPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:20947 [INFO] [stdout] | [INFO] [stdout] 2 | ... , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum UavcanNodeMode { ... [INFO] [stdout] | ^------------ -------------- `UavcanNodeMode` is not local [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_UavcanNodeMode` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:777 [INFO] [stdout] | [INFO] [stdout] 2 | ... , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum MavAutopilot { ... [INFO] [stdout] | ^------------ ------------ `MavAutopilot` is not local [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_MavAutopilot` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:20963 [INFO] [stdout] | [INFO] [stdout] 2 | ... , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum UavcanNodeMode { ... [INFO] [stdout] | ^---------- -------------- `UavcanNodeMode` is not local [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_UavcanNodeMode` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `ToPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:793 [INFO] [stdout] | [INFO] [stdout] 2 | ... , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum MavAutopilot { ... [INFO] [stdout] | ^---------- ------------ `MavAutopilot` is not local [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_MavAutopilot` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `ToPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:21479 [INFO] [stdout] | [INFO] [stdout] 2 | ... , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum StorageStatus { ... [INFO] [stdout] | ^------------ ------------- `StorageStatus` is not local [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_StorageStatus` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:1747 [INFO] [stdout] | [INFO] [stdout] 2 | ... , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum MavType { ... [INFO] [stdout] | ^------------ ------- `MavType` is not local [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_MavType` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:21495 [INFO] [stdout] | [INFO] [stdout] 2 | ... , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum StorageStatus { ... [INFO] [stdout] | ^---------- ------------- `StorageStatus` is not local [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_StorageStatus` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `ToPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:1763 [INFO] [stdout] | [INFO] [stdout] 2 | ... , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum MavType { ... [INFO] [stdout] | ^---------- ------- `MavType` is not local [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_MavType` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `ToPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:21944 [INFO] [stdout] | [INFO] [stdout] 2 | ... , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum OrbitYawBehaviour { ... [INFO] [stdout] | ^------------ ----------------- `OrbitYawBehaviour` is not local [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_OrbitYawBehaviour` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:2996 [INFO] [stdout] | [INFO] [stdout] 2 | ... , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum FirmwareVersionType { ... [INFO] [stdout] | ^------------ ------------------- `FirmwareVersionType` is not local [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_FirmwareVersionType` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:21960 [INFO] [stdout] | [INFO] [stdout] 2 | ... , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum OrbitYawBehaviour { ... [INFO] [stdout] | ^---------- ----------------- `OrbitYawBehaviour` is not local [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_OrbitYawBehaviour` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `ToPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:3012 [INFO] [stdout] | [INFO] [stdout] 2 | ... , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum FirmwareVersionType { ... [INFO] [stdout] | ^---------- ------------------- `FirmwareVersionType` is not local [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_FirmwareVersionType` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `ToPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:22561 [INFO] [stdout] | [INFO] [stdout] 2 | ... , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum WifiConfigApResponse { ... [INFO] [stdout] | ^------------ -------------------- `WifiConfigApResponse` is not local [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_WifiConfigApResponse` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:4877 [INFO] [stdout] | [INFO] [stdout] 2 | ... , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum MavModeFlagDecodePosition { ... [INFO] [stdout] | ^------------ ------------------------- `MavModeFlagDecodePosition` is not local [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_MavModeFlagDecodePosition` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:22577 [INFO] [stdout] | [INFO] [stdout] 2 | ... , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum WifiConfigApResponse { ... [INFO] [stdout] | ^---------- -------------------- `WifiConfigApResponse` is not local [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_WifiConfigApResponse` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `ToPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:4893 [INFO] [stdout] | [INFO] [stdout] 2 | ... , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum MavModeFlagDecodePosition { ... [INFO] [stdout] | ^---------- ------------------------- `MavModeFlagDecodePosition` is not local [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_MavModeFlagDecodePosition` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `ToPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:23183 [INFO] [stdout] | [INFO] [stdout] 2 | ... , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum CellularConfigResponse { ... [INFO] [stdout] | ^------------ ---------------------- `CellularConfigResponse` is not local [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_CellularConfigResponse` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:5622 [INFO] [stdout] | [INFO] [stdout] 2 | ... , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum MavGoto { ... [INFO] [stdout] | ^------------ ------- `MavGoto` is not local [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_MavGoto` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:23199 [INFO] [stdout] | [INFO] [stdout] 2 | ... , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum CellularConfigResponse { ... [INFO] [stdout] | ^---------- ---------------------- `CellularConfigResponse` is not local [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_CellularConfigResponse` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `ToPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:5638 [INFO] [stdout] | [INFO] [stdout] 2 | ... , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum MavGoto { ... [INFO] [stdout] | ^---------- ------- `MavGoto` is not local [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_MavGoto` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `ToPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:23728 [INFO] [stdout] | [INFO] [stdout] 2 | ... , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum WifiConfigApMode { ... [INFO] [stdout] | ^------------ ---------------- `WifiConfigApMode` is not local [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_WifiConfigApMode` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:6075 [INFO] [stdout] | [INFO] [stdout] 2 | ... , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum MavMode { ... [INFO] [stdout] | ^------------ ------- `MavMode` is not local [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_MavMode` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:23744 [INFO] [stdout] | [INFO] [stdout] 2 | ... , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum WifiConfigApMode { ... [INFO] [stdout] | ^---------- ---------------- `WifiConfigApMode` is not local [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_WifiConfigApMode` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `ToPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:6091 [INFO] [stdout] | [INFO] [stdout] 2 | ... , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum MavMode { ... [INFO] [stdout] | ^---------- ------- `MavMode` is not local [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_MavMode` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `ToPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:24223 [INFO] [stdout] | [INFO] [stdout] 2 | ... , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum CompMetadataType { ... [INFO] [stdout] | ^------------ ---------------- `CompMetadataType` is not local [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_CompMetadataType` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:6731 [INFO] [stdout] | [INFO] [stdout] 2 | ... , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum MavState { ... [INFO] [stdout] | ^------------ -------- `MavState` is not local [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_MavState` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:24239 [INFO] [stdout] | [INFO] [stdout] 2 | ... , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum CompMetadataType { ... [INFO] [stdout] | ^---------- ---------------- `CompMetadataType` is not local [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_CompMetadataType` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `ToPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:6747 [INFO] [stdout] | [INFO] [stdout] 2 | ... , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum MavState { ... [INFO] [stdout] | ^---------- -------- `MavState` is not local [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_MavState` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `ToPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:24649 [INFO] [stdout] | [INFO] [stdout] 2 | ... , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum MavCmd { ... [INFO] [stdout] | ^------------ ------ `MavCmd` is not local [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_MavCmd` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:7285 [INFO] [stdout] | [INFO] [stdout] 2 | ... , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum MavComponent { ... [INFO] [stdout] | ^------------ ------------ `MavComponent` is not local [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_MavComponent` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:24665 [INFO] [stdout] | [INFO] [stdout] 2 | ... , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum MavCmd { ... [INFO] [stdout] | ^---------- ------ `MavCmd` is not local [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_MavCmd` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `ToPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:7301 [INFO] [stdout] | [INFO] [stdout] 2 | ... , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum MavComponent { ... [INFO] [stdout] | ^---------- ------------ `MavComponent` is not local [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_MavComponent` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `ToPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:12757 [INFO] [stdout] | [INFO] [stdout] 2 | ... , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum MavFrame { ... [INFO] [stdout] | ^------------ -------- `MavFrame` is not local [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_MavFrame` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:30284 [INFO] [stdout] | [INFO] [stdout] 2 | ... , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum MavDataStream { ... [INFO] [stdout] | ^------------ ------------- `MavDataStream` is not local [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_MavDataStream` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:12773 [INFO] [stdout] | [INFO] [stdout] 2 | ... , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum MavFrame { ... [INFO] [stdout] | ^---------- -------- `MavFrame` is not local [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_MavFrame` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `ToPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:30300 [INFO] [stdout] | [INFO] [stdout] 2 | ... , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum MavDataStream { ... [INFO] [stdout] | ^---------- ------------- `MavDataStream` is not local [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_MavDataStream` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `ToPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:13732 [INFO] [stdout] | [INFO] [stdout] 2 | ... , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum MavlinkDataStreamType { ... [INFO] [stdout] | ^------------ --------------------- `MavlinkDataStreamType` is not local [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_MavlinkDataStreamType` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:30916 [INFO] [stdout] | [INFO] [stdout] 2 | ... , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum MavRoi { ... [INFO] [stdout] | ^------------ ------ `MavRoi` is not local [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_MavRoi` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:13748 [INFO] [stdout] | [INFO] [stdout] 2 | ... , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum MavlinkDataStreamType { ... [INFO] [stdout] | ^---------- --------------------- `MavlinkDataStreamType` is not local [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_MavlinkDataStreamType` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `ToPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:30932 [INFO] [stdout] | [INFO] [stdout] 2 | ... , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum MavRoi { ... [INFO] [stdout] | ^---------- ------ `MavRoi` is not local [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_MavRoi` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `ToPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:14317 [INFO] [stdout] | [INFO] [stdout] 2 | ... , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum FenceAction { ... [INFO] [stdout] | ^------------ ----------- `FenceAction` is not local [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_FenceAction` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:31336 [INFO] [stdout] | [INFO] [stdout] 2 | ... , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum MavCmdAck { ... [INFO] [stdout] | ^------------ --------- `MavCmdAck` is not local [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_MavCmdAck` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:14333 [INFO] [stdout] | [INFO] [stdout] 2 | ... , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum FenceAction { ... [INFO] [stdout] | ^---------- ----------- `FenceAction` is not local [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_FenceAction` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `ToPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:31352 [INFO] [stdout] | [INFO] [stdout] 2 | ... , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum MavCmdAck { ... [INFO] [stdout] | ^---------- --------- `MavCmdAck` is not local [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_MavCmdAck` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `ToPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:14785 [INFO] [stdout] | [INFO] [stdout] 2 | ... , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum FenceBreach { ... [INFO] [stdout] | ^------------ ----------- `FenceBreach` is not local [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_FenceBreach` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:32004 [INFO] [stdout] | [INFO] [stdout] 2 | ... , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum MavParamType { ... [INFO] [stdout] | ^------------ ------------ `MavParamType` is not local [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_MavParamType` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:14801 [INFO] [stdout] | [INFO] [stdout] 2 | ... , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum FenceBreach { ... [INFO] [stdout] | ^---------- ----------- `FenceBreach` is not local [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_FenceBreach` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `ToPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:32020 [INFO] [stdout] | [INFO] [stdout] 2 | ... , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum MavParamType { ... [INFO] [stdout] | ^---------- ------------ `MavParamType` is not local [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_MavParamType` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `ToPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:15223 [INFO] [stdout] | [INFO] [stdout] 2 | ... , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum FenceMitigate { ... [INFO] [stdout] | ^------------ ------------- `FenceMitigate` is not local [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_FenceMitigate` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:15239 [INFO] [stdout] | [INFO] [stdout] 2 | ... , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum FenceMitigate { ... [INFO] [stdout] | ^---------- ------------- `FenceMitigate` is not local [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_FenceMitigate` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `ToPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:32619 [INFO] [stdout] | [INFO] [stdout] 2 | ... , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum MavParamExtType { ... [INFO] [stdout] | ^------------ --------------- `MavParamExtType` is not local [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_MavParamExtType` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:32635 [INFO] [stdout] | [INFO] [stdout] 2 | ... , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum MavParamExtType { ... [INFO] [stdout] | ^---------- --------------- `MavParamExtType` is not local [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_MavParamExtType` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `ToPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:15654 [INFO] [stdout] | [INFO] [stdout] 2 | ... , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum MavMountMode { ... [INFO] [stdout] | ^------------ ------------ `MavMountMode` is not local [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_MavMountMode` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:15670 [INFO] [stdout] | [INFO] [stdout] 2 | ... , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum MavMountMode { ... [INFO] [stdout] | ^---------- ------------ `MavMountMode` is not local [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_MavMountMode` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `ToPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:33320 [INFO] [stdout] | [INFO] [stdout] 2 | ... , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum MavResult { ... [INFO] [stdout] | ^------------ --------- `MavResult` is not local [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_MavResult` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:18430 [INFO] [stdout] | [INFO] [stdout] 2 | ... , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum GimbalDeviceFlags { ... [INFO] [stdout] | ^------------ ----------------- `GimbalDeviceFlags` is not local [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_GimbalDeviceFlags` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:33336 [INFO] [stdout] | [INFO] [stdout] 2 | ... , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum MavResult { ... [INFO] [stdout] | ^---------- --------- `MavResult` is not local [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_MavResult` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `ToPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:18446 [INFO] [stdout] | [INFO] [stdout] 2 | ... , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum GimbalDeviceFlags { ... [INFO] [stdout] | ^---------- ----------------- `GimbalDeviceFlags` is not local [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_GimbalDeviceFlags` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `ToPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:33847 [INFO] [stdout] | [INFO] [stdout] 2 | ... , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum MavMissionResult { ... [INFO] [stdout] | ^------------ ---------------- `MavMissionResult` is not local [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_MavMissionResult` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:18969 [INFO] [stdout] | [INFO] [stdout] 2 | ... , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum GimbalManagerFlags { ... [INFO] [stdout] | ^------------ ------------------ `GimbalManagerFlags` is not local [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_GimbalManagerFlags` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:33863 [INFO] [stdout] | [INFO] [stdout] 2 | ... , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum MavMissionResult { ... [INFO] [stdout] | ^---------- ---------------- `MavMissionResult` is not local [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_MavMissionResult` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `ToPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:18985 [INFO] [stdout] | [INFO] [stdout] 2 | ... , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum GimbalManagerFlags { ... [INFO] [stdout] | ^---------- ------------------ `GimbalManagerFlags` is not local [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_GimbalManagerFlags` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `ToPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:34708 [INFO] [stdout] | [INFO] [stdout] 2 | ... , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum MavSeverity { ... [INFO] [stdout] | ^------------ ----------- `MavSeverity` is not local [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_MavSeverity` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:19711 [INFO] [stdout] | [INFO] [stdout] 2 | ... , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum GimbalDeviceErrorFlags { ... [INFO] [stdout] | ^------------ ---------------------- `GimbalDeviceErrorFlags` is not local [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_GimbalDeviceErrorFlags` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:19727 [INFO] [stdout] | [INFO] [stdout] 2 | ... , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum GimbalDeviceErrorFlags { ... [INFO] [stdout] | ^---------- ---------------------- `GimbalDeviceErrorFlags` is not local [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_GimbalDeviceErrorFlags` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `ToPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:20468 [INFO] [stdout] | [INFO] [stdout] 2 | ... , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum UavcanNodeHealth { ... [INFO] [stdout] | ^------------ ---------------- `UavcanNodeHealth` is not local [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_UavcanNodeHealth` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:34724 [INFO] [stdout] | [INFO] [stdout] 2 | ... , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum MavSeverity { ... [INFO] [stdout] | ^---------- ----------- `MavSeverity` is not local [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_MavSeverity` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `ToPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:20484 [INFO] [stdout] | [INFO] [stdout] 2 | ... , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum UavcanNodeHealth { ... [INFO] [stdout] | ^---------- ---------------- `UavcanNodeHealth` is not local [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_UavcanNodeHealth` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `ToPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:35759 [INFO] [stdout] | [INFO] [stdout] 2 | ... , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum SerialControlDev { ... [INFO] [stdout] | ^------------ ---------------- `SerialControlDev` is not local [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_SerialControlDev` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:20947 [INFO] [stdout] | [INFO] [stdout] 2 | ... , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum UavcanNodeMode { ... [INFO] [stdout] | ^------------ -------------- `UavcanNodeMode` is not local [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_UavcanNodeMode` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:35775 [INFO] [stdout] | [INFO] [stdout] 2 | ... , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum SerialControlDev { ... [INFO] [stdout] | ^---------- ---------------- `SerialControlDev` is not local [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_SerialControlDev` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `ToPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:20963 [INFO] [stdout] | [INFO] [stdout] 2 | ... , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum UavcanNodeMode { ... [INFO] [stdout] | ^---------- -------------- `UavcanNodeMode` is not local [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_UavcanNodeMode` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `ToPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:37022 [INFO] [stdout] | [INFO] [stdout] 2 | ... , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum MavDistanceSensor { ... [INFO] [stdout] | ^------------ ----------------- `MavDistanceSensor` is not local [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_MavDistanceSensor` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:21479 [INFO] [stdout] | [INFO] [stdout] 2 | ... , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum StorageStatus { ... [INFO] [stdout] | ^------------ ------------- `StorageStatus` is not local [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_StorageStatus` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:37038 [INFO] [stdout] | [INFO] [stdout] 2 | ... , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum MavDistanceSensor { ... [INFO] [stdout] | ^---------- ----------------- `MavDistanceSensor` is not local [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_MavDistanceSensor` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `ToPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:37552 [INFO] [stdout] | [INFO] [stdout] 2 | ... , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum MavSensorOrientation { ... [INFO] [stdout] | ^------------ -------------------- `MavSensorOrientation` is not local [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_MavSensorOrientation` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:21495 [INFO] [stdout] | [INFO] [stdout] 2 | ... , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum StorageStatus { ... [INFO] [stdout] | ^---------- ------------- `StorageStatus` is not local [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_StorageStatus` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `ToPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:37568 [INFO] [stdout] | [INFO] [stdout] 2 | ... , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum MavSensorOrientation { ... [INFO] [stdout] | ^---------- -------------------- `MavSensorOrientation` is not local [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_MavSensorOrientation` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `ToPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:40860 [INFO] [stdout] | [INFO] [stdout] 2 | ... , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum MavMissionType { ... [INFO] [stdout] | ^------------ -------------- `MavMissionType` is not local [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_MavMissionType` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:21944 [INFO] [stdout] | [INFO] [stdout] 2 | ... , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum OrbitYawBehaviour { ... [INFO] [stdout] | ^------------ ----------------- `OrbitYawBehaviour` is not local [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_OrbitYawBehaviour` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:40876 [INFO] [stdout] | [INFO] [stdout] 2 | ... , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum MavMissionType { ... [INFO] [stdout] | ^---------- -------------- `MavMissionType` is not local [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_MavMissionType` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `ToPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:21960 [INFO] [stdout] | [INFO] [stdout] 2 | ... , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum OrbitYawBehaviour { ... [INFO] [stdout] | ^---------- ----------------- `OrbitYawBehaviour` is not local [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_OrbitYawBehaviour` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `ToPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:41328 [INFO] [stdout] | [INFO] [stdout] 2 | ... , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum MavEstimatorType { ... [INFO] [stdout] | ^------------ ---------------- `MavEstimatorType` is not local [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_MavEstimatorType` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:22561 [INFO] [stdout] | [INFO] [stdout] 2 | ... , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum WifiConfigApResponse { ... [INFO] [stdout] | ^------------ -------------------- `WifiConfigApResponse` is not local [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_WifiConfigApResponse` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:22577 [INFO] [stdout] | [INFO] [stdout] 2 | ... , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum WifiConfigApResponse { ... [INFO] [stdout] | ^---------- -------------------- `WifiConfigApResponse` is not local [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_WifiConfigApResponse` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `ToPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:41344 [INFO] [stdout] | [INFO] [stdout] 2 | ... , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum MavEstimatorType { ... [INFO] [stdout] | ^---------- ---------------- `MavEstimatorType` is not local [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_MavEstimatorType` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `ToPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:23183 [INFO] [stdout] | [INFO] [stdout] 2 | ... , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum CellularConfigResponse { ... [INFO] [stdout] | ^------------ ---------------------- `CellularConfigResponse` is not local [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_CellularConfigResponse` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:41970 [INFO] [stdout] | [INFO] [stdout] 2 | ... , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum MavBatteryType { ... [INFO] [stdout] | ^------------ -------------- `MavBatteryType` is not local [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_MavBatteryType` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:41986 [INFO] [stdout] | [INFO] [stdout] 2 | ... , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum MavBatteryType { ... [INFO] [stdout] | ^---------- -------------- `MavBatteryType` is not local [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_MavBatteryType` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `ToPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:42463 [INFO] [stdout] | [INFO] [stdout] 2 | ... , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum MavBatteryFunction { ... [INFO] [stdout] | ^------------ ------------------ `MavBatteryFunction` is not local [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_MavBatteryFunction` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:42479 [INFO] [stdout] | [INFO] [stdout] 2 | ... , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum MavBatteryFunction { ... [INFO] [stdout] | ^---------- ------------------ `MavBatteryFunction` is not local [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_MavBatteryFunction` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `ToPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:43000 [INFO] [stdout] | [INFO] [stdout] 2 | ... , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum MavBatteryChargeState { ... [INFO] [stdout] | ^------------ --------------------- `MavBatteryChargeState` is not local [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_MavBatteryChargeState` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:43016 [INFO] [stdout] | [INFO] [stdout] 2 | ... , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum MavBatteryChargeState { ... [INFO] [stdout] | ^---------- --------------------- `MavBatteryChargeState` is not local [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_MavBatteryChargeState` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `ToPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:23199 [INFO] [stdout] | [INFO] [stdout] 2 | ... , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum CellularConfigResponse { ... [INFO] [stdout] | ^---------- ---------------------- `CellularConfigResponse` is not local [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_CellularConfigResponse` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `ToPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:45733 [INFO] [stdout] | [INFO] [stdout] 2 | ... , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum MavVtolState { ... [INFO] [stdout] | ^------------ ------------ `MavVtolState` is not local [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_MavVtolState` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:23728 [INFO] [stdout] | [INFO] [stdout] 2 | ... , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum WifiConfigApMode { ... [INFO] [stdout] | ^------------ ---------------- `WifiConfigApMode` is not local [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_WifiConfigApMode` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:45749 [INFO] [stdout] | [INFO] [stdout] 2 | ... , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum MavVtolState { ... [INFO] [stdout] | ^---------- ------------ `MavVtolState` is not local [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_MavVtolState` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `ToPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:46232 [INFO] [stdout] | [INFO] [stdout] 2 | ... , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum MavLandedState { ... [INFO] [stdout] | ^------------ -------------- `MavLandedState` is not local [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_MavLandedState` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:23744 [INFO] [stdout] | [INFO] [stdout] 2 | ... , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum WifiConfigApMode { ... [INFO] [stdout] | ^---------- ---------------- `WifiConfigApMode` is not local [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_WifiConfigApMode` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `ToPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:46248 [INFO] [stdout] | [INFO] [stdout] 2 | ... , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum MavLandedState { ... [INFO] [stdout] | ^---------- -------------- `MavLandedState` is not local [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_MavLandedState` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `ToPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:24223 [INFO] [stdout] | [INFO] [stdout] 2 | ... , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum CompMetadataType { ... [INFO] [stdout] | ^------------ ---------------- `CompMetadataType` is not local [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_CompMetadataType` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:46742 [INFO] [stdout] | [INFO] [stdout] 2 | ... , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum AdsbAltitudeType { ... [INFO] [stdout] | ^------------ ---------------- `AdsbAltitudeType` is not local [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_AdsbAltitudeType` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:24239 [INFO] [stdout] | [INFO] [stdout] 2 | ... , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum CompMetadataType { ... [INFO] [stdout] | ^---------- ---------------- `CompMetadataType` is not local [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_CompMetadataType` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `ToPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:46758 [INFO] [stdout] | [INFO] [stdout] 2 | ... , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum AdsbAltitudeType { ... [INFO] [stdout] | ^---------- ---------------- `AdsbAltitudeType` is not local [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_AdsbAltitudeType` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `ToPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:24649 [INFO] [stdout] | [INFO] [stdout] 2 | ... , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum MavCmd { ... [INFO] [stdout] | ^------------ ------ `MavCmd` is not local [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_MavCmd` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:47178 [INFO] [stdout] | [INFO] [stdout] 2 | ... , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum AdsbEmitterType { ... [INFO] [stdout] | ^------------ --------------- `AdsbEmitterType` is not local [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_AdsbEmitterType` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:24665 [INFO] [stdout] | [INFO] [stdout] 2 | ... , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum MavCmd { ... [INFO] [stdout] | ^---------- ------ `MavCmd` is not local [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_MavCmd` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `ToPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:47194 [INFO] [stdout] | [INFO] [stdout] 2 | ... , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum AdsbEmitterType { ... [INFO] [stdout] | ^---------- --------------- `AdsbEmitterType` is not local [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_AdsbEmitterType` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `ToPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:30284 [INFO] [stdout] | [INFO] [stdout] 2 | ... , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum MavDataStream { ... [INFO] [stdout] | ^------------ ------------- `MavDataStream` is not local [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_MavDataStream` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:48827 [INFO] [stdout] | [INFO] [stdout] 2 | ... , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum MavDoRepositionFlags { ... [INFO] [stdout] | ^------------ -------------------- `MavDoRepositionFlags` is not local [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_MavDoRepositionFlags` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:30300 [INFO] [stdout] | [INFO] [stdout] 2 | ... , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum MavDataStream { ... [INFO] [stdout] | ^---------- ------------- `MavDataStream` is not local [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_MavDataStream` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `ToPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:48843 [INFO] [stdout] | [INFO] [stdout] 2 | ... , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum MavDoRepositionFlags { ... [INFO] [stdout] | ^---------- -------------------- `MavDoRepositionFlags` is not local [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_MavDoRepositionFlags` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `ToPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:30916 [INFO] [stdout] | [INFO] [stdout] 2 | ... , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum MavRoi { ... [INFO] [stdout] | ^------------ ------ `MavRoi` is not local [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_MavRoi` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:49938 [INFO] [stdout] | [INFO] [stdout] 2 | ... , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum MotorTestOrder { ... [INFO] [stdout] | ^------------ -------------- `MotorTestOrder` is not local [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_MotorTestOrder` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:30932 [INFO] [stdout] | [INFO] [stdout] 2 | ... , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum MavRoi { ... [INFO] [stdout] | ^---------- ------ `MavRoi` is not local [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_MavRoi` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `ToPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:49954 [INFO] [stdout] | [INFO] [stdout] 2 | ... , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum MotorTestOrder { ... [INFO] [stdout] | ^---------- -------------- `MotorTestOrder` is not local [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_MotorTestOrder` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `ToPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:31336 [INFO] [stdout] | [INFO] [stdout] 2 | ... , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum MavCmdAck { ... [INFO] [stdout] | ^------------ --------- `MavCmdAck` is not local [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_MavCmdAck` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:50380 [INFO] [stdout] | [INFO] [stdout] 2 | ... , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum MotorTestThrottleType { ... [INFO] [stdout] | ^------------ --------------------- `MotorTestThrottleType` is not local [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_MotorTestThrottleType` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:31352 [INFO] [stdout] | [INFO] [stdout] 2 | ... , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum MavCmdAck { ... [INFO] [stdout] | ^---------- --------- `MavCmdAck` is not local [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_MavCmdAck` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `ToPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:50396 [INFO] [stdout] | [INFO] [stdout] 2 | ... , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum MotorTestThrottleType { ... [INFO] [stdout] | ^---------- --------------------- `MotorTestThrottleType` is not local [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_MotorTestThrottleType` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `ToPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:32004 [INFO] [stdout] | [INFO] [stdout] 2 | ... , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum MavParamType { ... [INFO] [stdout] | ^------------ ------------ `MavParamType` is not local [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_MavParamType` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:51489 [INFO] [stdout] | [INFO] [stdout] 2 | ... , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum MavCollisionAction { ... [INFO] [stdout] | ^------------ ------------------ `MavCollisionAction` is not local [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_MavCollisionAction` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:32020 [INFO] [stdout] | [INFO] [stdout] 2 | ... , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum MavParamType { ... [INFO] [stdout] | ^---------- ------------ `MavParamType` is not local [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_MavParamType` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `ToPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:51505 [INFO] [stdout] | [INFO] [stdout] 2 | ... , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum MavCollisionAction { ... [INFO] [stdout] | ^---------- ------------------ `MavCollisionAction` is not local [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_MavCollisionAction` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `ToPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:52118 [INFO] [stdout] | [INFO] [stdout] 2 | ... , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum MavCollisionThreatLevel { ... [INFO] [stdout] | ^------------ ----------------------- `MavCollisionThreatLevel` is not local [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_MavCollisionThreatLevel` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:32619 [INFO] [stdout] | [INFO] [stdout] 2 | ... , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum MavParamExtType { ... [INFO] [stdout] | ^------------ --------------- `MavParamExtType` is not local [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_MavParamExtType` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:32635 [INFO] [stdout] | [INFO] [stdout] 2 | ... , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum MavParamExtType { ... [INFO] [stdout] | ^---------- --------------- `MavParamExtType` is not local [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_MavParamExtType` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `ToPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:52134 [INFO] [stdout] | [INFO] [stdout] 2 | ... , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum MavCollisionThreatLevel { ... [INFO] [stdout] | ^---------- ----------------------- `MavCollisionThreatLevel` is not local [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_MavCollisionThreatLevel` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `ToPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:33320 [INFO] [stdout] | [INFO] [stdout] 2 | ... , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum MavResult { ... [INFO] [stdout] | ^------------ --------- `MavResult` is not local [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_MavResult` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:52615 [INFO] [stdout] | [INFO] [stdout] 2 | ... , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum MavCollisionSrc { ... [INFO] [stdout] | ^------------ --------------- `MavCollisionSrc` is not local [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_MavCollisionSrc` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:33336 [INFO] [stdout] | [INFO] [stdout] 2 | ... , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum MavResult { ... [INFO] [stdout] | ^---------- --------- `MavResult` is not local [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_MavResult` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `ToPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:52631 [INFO] [stdout] | [INFO] [stdout] 2 | ... , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum MavCollisionSrc { ... [INFO] [stdout] | ^---------- --------------- `MavCollisionSrc` is not local [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_MavCollisionSrc` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `ToPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:33847 [INFO] [stdout] | [INFO] [stdout] 2 | ... , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum MavMissionResult { ... [INFO] [stdout] | ^------------ ---------------- `MavMissionResult` is not local [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_MavMissionResult` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:53042 [INFO] [stdout] | [INFO] [stdout] 2 | ... , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum GpsFixType { ... [INFO] [stdout] | ^------------ ---------- `GpsFixType` is not local [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_GpsFixType` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:33863 [INFO] [stdout] | [INFO] [stdout] 2 | ... , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum MavMissionResult { ... [INFO] [stdout] | ^---------- ---------------- `MavMissionResult` is not local [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_MavMissionResult` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `ToPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:34708 [INFO] [stdout] | [INFO] [stdout] 2 | ... , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum MavSeverity { ... [INFO] [stdout] | ^------------ ----------- `MavSeverity` is not local [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_MavSeverity` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:53058 [INFO] [stdout] | [INFO] [stdout] 2 | ... , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum GpsFixType { ... [INFO] [stdout] | ^---------- ---------- `GpsFixType` is not local [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_GpsFixType` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `ToPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:34724 [INFO] [stdout] | [INFO] [stdout] 2 | ... , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum MavSeverity { ... [INFO] [stdout] | ^---------- ----------- `MavSeverity` is not local [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_MavSeverity` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `ToPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:53610 [INFO] [stdout] | [INFO] [stdout] 2 | ... , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum RtkBaselineCoordinateSystem { ... [INFO] [stdout] | ^------------ --------------------------- `RtkBaselineCoordinateSystem` is not local [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_RtkBaselineCoordinateSystem` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:35759 [INFO] [stdout] | [INFO] [stdout] 2 | ... , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum SerialControlDev { ... [INFO] [stdout] | ^------------ ---------------- `SerialControlDev` is not local [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_SerialControlDev` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:53626 [INFO] [stdout] | [INFO] [stdout] 2 | ... , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum RtkBaselineCoordinateSystem { ... [INFO] [stdout] | ^---------- --------------------------- `RtkBaselineCoordinateSystem` is not local [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_RtkBaselineCoordinateSystem` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `ToPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:35775 [INFO] [stdout] | [INFO] [stdout] 2 | ... , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum SerialControlDev { ... [INFO] [stdout] | ^---------- ---------------- `SerialControlDev` is not local [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_SerialControlDev` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `ToPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:54093 [INFO] [stdout] | [INFO] [stdout] 2 | ... , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum LandingTargetType { ... [INFO] [stdout] | ^------------ ----------------- `LandingTargetType` is not local [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_LandingTargetType` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:37022 [INFO] [stdout] | [INFO] [stdout] 2 | ... , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum MavDistanceSensor { ... [INFO] [stdout] | ^------------ ----------------- `MavDistanceSensor` is not local [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_MavDistanceSensor` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:54109 [INFO] [stdout] | [INFO] [stdout] 2 | ... , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum LandingTargetType { ... [INFO] [stdout] | ^---------- ----------------- `LandingTargetType` is not local [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_LandingTargetType` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `ToPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:37038 [INFO] [stdout] | [INFO] [stdout] 2 | ... , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum MavDistanceSensor { ... [INFO] [stdout] | ^---------- ----------------- `MavDistanceSensor` is not local [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_MavDistanceSensor` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `ToPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:54619 [INFO] [stdout] | [INFO] [stdout] 2 | ... , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum VtolTransitionHeading { ... [INFO] [stdout] | ^------------ --------------------- `VtolTransitionHeading` is not local [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_VtolTransitionHeading` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:37552 [INFO] [stdout] | [INFO] [stdout] 2 | ... , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum MavSensorOrientation { ... [INFO] [stdout] | ^------------ -------------------- `MavSensorOrientation` is not local [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_MavSensorOrientation` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:54635 [INFO] [stdout] | [INFO] [stdout] 2 | ... , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum VtolTransitionHeading { ... [INFO] [stdout] | ^---------- --------------------- `VtolTransitionHeading` is not local [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_VtolTransitionHeading` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `ToPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:37568 [INFO] [stdout] | [INFO] [stdout] 2 | ... , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum MavSensorOrientation { ... [INFO] [stdout] | ^---------- -------------------- `MavSensorOrientation` is not local [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_MavSensorOrientation` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `ToPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:55884 [INFO] [stdout] | [INFO] [stdout] 2 | ... , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum VideoStreamStatusFlags { ... [INFO] [stdout] | ^------------ ---------------------- `VideoStreamStatusFlags` is not local [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_VideoStreamStatusFlags` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:40860 [INFO] [stdout] | [INFO] [stdout] 2 | ... , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum MavMissionType { ... [INFO] [stdout] | ^------------ -------------- `MavMissionType` is not local [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_MavMissionType` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:55900 [INFO] [stdout] | [INFO] [stdout] 2 | ... , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum VideoStreamStatusFlags { ... [INFO] [stdout] | ^---------- ---------------------- `VideoStreamStatusFlags` is not local [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_VideoStreamStatusFlags` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `ToPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:40876 [INFO] [stdout] | [INFO] [stdout] 2 | ... , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum MavMissionType { ... [INFO] [stdout] | ^---------- -------------- `MavMissionType` is not local [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_MavMissionType` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `ToPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:56347 [INFO] [stdout] | [INFO] [stdout] 2 | ... , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum VideoStreamType { ... [INFO] [stdout] | ^------------ --------------- `VideoStreamType` is not local [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_VideoStreamType` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:41328 [INFO] [stdout] | [INFO] [stdout] 2 | ... , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum MavEstimatorType { ... [INFO] [stdout] | ^------------ ---------------- `MavEstimatorType` is not local [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_MavEstimatorType` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:56363 [INFO] [stdout] | [INFO] [stdout] 2 | ... , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum VideoStreamType { ... [INFO] [stdout] | ^---------- --------------- `VideoStreamType` is not local [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_VideoStreamType` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `ToPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:56828 [INFO] [stdout] | [INFO] [stdout] 2 | ... , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum CameraZoomType { ... [INFO] [stdout] | ^------------ -------------- `CameraZoomType` is not local [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_CameraZoomType` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:41344 [INFO] [stdout] | [INFO] [stdout] 2 | ... , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum MavEstimatorType { ... [INFO] [stdout] | ^---------- ---------------- `MavEstimatorType` is not local [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_MavEstimatorType` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `ToPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:56844 [INFO] [stdout] | [INFO] [stdout] 2 | ... , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum CameraZoomType { ... [INFO] [stdout] | ^---------- -------------- `CameraZoomType` is not local [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_CameraZoomType` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `ToPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:41970 [INFO] [stdout] | [INFO] [stdout] 2 | ... , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum MavBatteryType { ... [INFO] [stdout] | ^------------ -------------- `MavBatteryType` is not local [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_MavBatteryType` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:57267 [INFO] [stdout] | [INFO] [stdout] 2 | ... , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum SetFocusType { ... [INFO] [stdout] | ^------------ ------------ `SetFocusType` is not local [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_SetFocusType` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:41986 [INFO] [stdout] | [INFO] [stdout] 2 | ... , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum MavBatteryType { ... [INFO] [stdout] | ^---------- -------------- `MavBatteryType` is not local [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_MavBatteryType` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `ToPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:57283 [INFO] [stdout] | [INFO] [stdout] 2 | ... , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum SetFocusType { ... [INFO] [stdout] | ^---------- ------------ `SetFocusType` is not local [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_SetFocusType` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `ToPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:57699 [INFO] [stdout] | [INFO] [stdout] 2 | ... , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum ParamAck { ... [INFO] [stdout] | ^------------ -------- `ParamAck` is not local [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_ParamAck` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:42463 [INFO] [stdout] | [INFO] [stdout] 2 | ... , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum MavBatteryFunction { ... [INFO] [stdout] | ^------------ ------------------ `MavBatteryFunction` is not local [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_MavBatteryFunction` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:57715 [INFO] [stdout] | [INFO] [stdout] 2 | ... , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum ParamAck { ... [INFO] [stdout] | ^---------- -------- `ParamAck` is not local [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_ParamAck` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `ToPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:42479 [INFO] [stdout] | [INFO] [stdout] 2 | ... , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum MavBatteryFunction { ... [INFO] [stdout] | ^---------- ------------------ `MavBatteryFunction` is not local [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_MavBatteryFunction` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `ToPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:58135 [INFO] [stdout] | [INFO] [stdout] 2 | ... , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum CameraMode { ... [INFO] [stdout] | ^------------ ---------- `CameraMode` is not local [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_CameraMode` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:43000 [INFO] [stdout] | [INFO] [stdout] 2 | ... , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum MavBatteryChargeState { ... [INFO] [stdout] | ^------------ --------------------- `MavBatteryChargeState` is not local [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_MavBatteryChargeState` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:43016 [INFO] [stdout] | [INFO] [stdout] 2 | ... , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum MavBatteryChargeState { ... [INFO] [stdout] | ^---------- --------------------- `MavBatteryChargeState` is not local [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_MavBatteryChargeState` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `ToPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:58151 [INFO] [stdout] | [INFO] [stdout] 2 | ... , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum CameraMode { ... [INFO] [stdout] | ^---------- ---------- `CameraMode` is not local [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_CameraMode` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `ToPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:45733 [INFO] [stdout] | [INFO] [stdout] 2 | ... , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum MavVtolState { ... [INFO] [stdout] | ^------------ ------------ `MavVtolState` is not local [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_MavVtolState` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:58545 [INFO] [stdout] | [INFO] [stdout] 2 | ... , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum MavArmAuthDeniedReason { ... [INFO] [stdout] | ^------------ ---------------------- `MavArmAuthDeniedReason` is not local [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_MavArmAuthDeniedReason` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:45749 [INFO] [stdout] | [INFO] [stdout] 2 | ... , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum MavVtolState { ... [INFO] [stdout] | ^---------- ------------ `MavVtolState` is not local [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_MavVtolState` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `ToPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:58561 [INFO] [stdout] | [INFO] [stdout] 2 | ... , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum MavArmAuthDeniedReason { ... [INFO] [stdout] | ^---------- ---------------------- `MavArmAuthDeniedReason` is not local [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_MavArmAuthDeniedReason` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `ToPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:46232 [INFO] [stdout] | [INFO] [stdout] 2 | ... , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum MavLandedState { ... [INFO] [stdout] | ^------------ -------------- `MavLandedState` is not local [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_MavLandedState` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:59193 [INFO] [stdout] | [INFO] [stdout] 2 | ... , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum RcType { ... [INFO] [stdout] | ^------------ ------ `RcType` is not local [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_RcType` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:46248 [INFO] [stdout] | [INFO] [stdout] 2 | ... , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum MavLandedState { ... [INFO] [stdout] | ^---------- -------------- `MavLandedState` is not local [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_MavLandedState` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `ToPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:59209 [INFO] [stdout] | [INFO] [stdout] 2 | ... , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum RcType { ... [INFO] [stdout] | ^---------- ------ `RcType` is not local [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_RcType` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `ToPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:46742 [INFO] [stdout] | [INFO] [stdout] 2 | ... , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum AdsbAltitudeType { ... [INFO] [stdout] | ^------------ ---------------- `AdsbAltitudeType` is not local [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_AdsbAltitudeType` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:60419 [INFO] [stdout] | [INFO] [stdout] 2 | ... , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum UtmFlightState { ... [INFO] [stdout] | ^------------ -------------- `UtmFlightState` is not local [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_UtmFlightState` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:60435 [INFO] [stdout] | [INFO] [stdout] 2 | ... , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum UtmFlightState { ... [INFO] [stdout] | ^---------- -------------- `UtmFlightState` is not local [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_UtmFlightState` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `ToPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:46758 [INFO] [stdout] | [INFO] [stdout] 2 | ... , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum AdsbAltitudeType { ... [INFO] [stdout] | ^---------- ---------------- `AdsbAltitudeType` is not local [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_AdsbAltitudeType` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `ToPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:47178 [INFO] [stdout] | [INFO] [stdout] 2 | ... , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum AdsbEmitterType { ... [INFO] [stdout] | ^------------ --------------- `AdsbEmitterType` is not local [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_AdsbEmitterType` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:61610 [INFO] [stdout] | [INFO] [stdout] 2 | ... , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum CellularNetworkRadioType { ... [INFO] [stdout] | ^------------ ------------------------ `CellularNetworkRadioType` is not local [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_CellularNetworkRadioType` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:47194 [INFO] [stdout] | [INFO] [stdout] 2 | ... , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum AdsbEmitterType { ... [INFO] [stdout] | ^---------- --------------- `AdsbEmitterType` is not local [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_AdsbEmitterType` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `ToPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:61626 [INFO] [stdout] | [INFO] [stdout] 2 | ... , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum CellularNetworkRadioType { ... [INFO] [stdout] | ^---------- ------------------------ `CellularNetworkRadioType` is not local [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_CellularNetworkRadioType` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `ToPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:48827 [INFO] [stdout] | [INFO] [stdout] 2 | ... , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum MavDoRepositionFlags { ... [INFO] [stdout] | ^------------ -------------------- `MavDoRepositionFlags` is not local [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_MavDoRepositionFlags` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:62192 [INFO] [stdout] | [INFO] [stdout] 2 | ... , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum CellularStatusFlag { ... [INFO] [stdout] | ^------------ ------------------ `CellularStatusFlag` is not local [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_CellularStatusFlag` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:48843 [INFO] [stdout] | [INFO] [stdout] 2 | ... , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum MavDoRepositionFlags { ... [INFO] [stdout] | ^---------- -------------------- `MavDoRepositionFlags` is not local [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_MavDoRepositionFlags` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `ToPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:62208 [INFO] [stdout] | [INFO] [stdout] 2 | ... , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum CellularStatusFlag { ... [INFO] [stdout] | ^---------- ------------------ `CellularStatusFlag` is not local [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_CellularStatusFlag` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `ToPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:49938 [INFO] [stdout] | [INFO] [stdout] 2 | ... , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum MotorTestOrder { ... [INFO] [stdout] | ^------------ -------------- `MotorTestOrder` is not local [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_MotorTestOrder` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:63039 [INFO] [stdout] | [INFO] [stdout] 2 | ... , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum CellularNetworkFailedReason { ... [INFO] [stdout] | ^------------ --------------------------- `CellularNetworkFailedReason` is not local [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_CellularNetworkFailedReason` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:49954 [INFO] [stdout] | [INFO] [stdout] 2 | ... , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum MotorTestOrder { ... [INFO] [stdout] | ^---------- -------------- `MotorTestOrder` is not local [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_MotorTestOrder` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `ToPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:63055 [INFO] [stdout] | [INFO] [stdout] 2 | ... , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum CellularNetworkFailedReason { ... [INFO] [stdout] | ^---------- --------------------------- `CellularNetworkFailedReason` is not local [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_CellularNetworkFailedReason` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `ToPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:63622 [INFO] [stdout] | [INFO] [stdout] 2 | ... , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum PrecisionLandMode { ... [INFO] [stdout] | ^------------ ----------------- `PrecisionLandMode` is not local [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_PrecisionLandMode` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:50380 [INFO] [stdout] | [INFO] [stdout] 2 | ... , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum MotorTestThrottleType { ... [INFO] [stdout] | ^------------ --------------------- `MotorTestThrottleType` is not local [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_MotorTestThrottleType` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:63638 [INFO] [stdout] | [INFO] [stdout] 2 | ... , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum PrecisionLandMode { ... [INFO] [stdout] | ^---------- ----------------- `PrecisionLandMode` is not local [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_PrecisionLandMode` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `ToPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:50396 [INFO] [stdout] | [INFO] [stdout] 2 | ... , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum MotorTestThrottleType { ... [INFO] [stdout] | ^---------- --------------------- `MotorTestThrottleType` is not local [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_MotorTestThrottleType` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `ToPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:64095 [INFO] [stdout] | [INFO] [stdout] 2 | ... , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum ParachuteAction { ... [INFO] [stdout] | ^------------ --------------- `ParachuteAction` is not local [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_ParachuteAction` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:51489 [INFO] [stdout] | [INFO] [stdout] 2 | ... , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum MavCollisionAction { ... [INFO] [stdout] | ^------------ ------------------ `MavCollisionAction` is not local [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_MavCollisionAction` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:51505 [INFO] [stdout] | [INFO] [stdout] 2 | ... , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum MavCollisionAction { ... [INFO] [stdout] | ^---------- ------------------ `MavCollisionAction` is not local [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_MavCollisionAction` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `ToPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:64111 [INFO] [stdout] | [INFO] [stdout] 2 | ... , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum ParachuteAction { ... [INFO] [stdout] | ^---------- --------------- `ParachuteAction` is not local [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_ParachuteAction` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `ToPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:64512 [INFO] [stdout] | [INFO] [stdout] 2 | ... , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum MavTunnelPayloadType { ... [INFO] [stdout] | ^------------ -------------------- `MavTunnelPayloadType` is not local [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_MavTunnelPayloadType` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:52118 [INFO] [stdout] | [INFO] [stdout] 2 | ... , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum MavCollisionThreatLevel { ... [INFO] [stdout] | ^------------ ----------------------- `MavCollisionThreatLevel` is not local [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_MavCollisionThreatLevel` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:64528 [INFO] [stdout] | [INFO] [stdout] 2 | ... , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum MavTunnelPayloadType { ... [INFO] [stdout] | ^---------- -------------------- `MavTunnelPayloadType` is not local [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_MavTunnelPayloadType` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `ToPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:52134 [INFO] [stdout] | [INFO] [stdout] 2 | ... , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum MavCollisionThreatLevel { ... [INFO] [stdout] | ^---------- ----------------------- `MavCollisionThreatLevel` is not local [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_MavCollisionThreatLevel` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `ToPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:65425 [INFO] [stdout] | [INFO] [stdout] 2 | ... , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum MavOdidIdType { ... [INFO] [stdout] | ^------------ ------------- `MavOdidIdType` is not local [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_MavOdidIdType` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:52615 [INFO] [stdout] | [INFO] [stdout] 2 | ... , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum MavCollisionSrc { ... [INFO] [stdout] | ^------------ --------------- `MavCollisionSrc` is not local [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_MavCollisionSrc` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:52631 [INFO] [stdout] | [INFO] [stdout] 2 | ... , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum MavCollisionSrc { ... [INFO] [stdout] | ^---------- --------------- `MavCollisionSrc` is not local [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_MavCollisionSrc` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `ToPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:65441 [INFO] [stdout] | [INFO] [stdout] 2 | ... , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum MavOdidIdType { ... [INFO] [stdout] | ^---------- ------------- `MavOdidIdType` is not local [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_MavOdidIdType` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `ToPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:53042 [INFO] [stdout] | [INFO] [stdout] 2 | ... , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum GpsFixType { ... [INFO] [stdout] | ^------------ ---------- `GpsFixType` is not local [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_GpsFixType` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:65918 [INFO] [stdout] | [INFO] [stdout] 2 | ... , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum MavOdidUaType { ... [INFO] [stdout] | ^------------ ------------- `MavOdidUaType` is not local [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_MavOdidUaType` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:53058 [INFO] [stdout] | [INFO] [stdout] 2 | ... , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum GpsFixType { ... [INFO] [stdout] | ^---------- ---------- `GpsFixType` is not local [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_GpsFixType` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `ToPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:65934 [INFO] [stdout] | [INFO] [stdout] 2 | ... , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum MavOdidUaType { ... [INFO] [stdout] | ^---------- ------------- `MavOdidUaType` is not local [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_MavOdidUaType` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `ToPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:66834 [INFO] [stdout] | [INFO] [stdout] 2 | ... , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum MavOdidStatus { ... [INFO] [stdout] | ^------------ ------------- `MavOdidStatus` is not local [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_MavOdidStatus` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:53610 [INFO] [stdout] | [INFO] [stdout] 2 | ... , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum RtkBaselineCoordinateSystem { ... [INFO] [stdout] | ^------------ --------------------------- `RtkBaselineCoordinateSystem` is not local [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_RtkBaselineCoordinateSystem` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:66850 [INFO] [stdout] | [INFO] [stdout] 2 | ... , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum MavOdidStatus { ... [INFO] [stdout] | ^---------- ------------- `MavOdidStatus` is not local [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_MavOdidStatus` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `ToPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:53626 [INFO] [stdout] | [INFO] [stdout] 2 | ... , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum RtkBaselineCoordinateSystem { ... [INFO] [stdout] | ^---------- --------------------------- `RtkBaselineCoordinateSystem` is not local [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_RtkBaselineCoordinateSystem` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `ToPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:67308 [INFO] [stdout] | [INFO] [stdout] 2 | ... , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum MavOdidHeightRef { ... [INFO] [stdout] | ^------------ ---------------- `MavOdidHeightRef` is not local [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_MavOdidHeightRef` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:54093 [INFO] [stdout] | [INFO] [stdout] 2 | ... , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum LandingTargetType { ... [INFO] [stdout] | ^------------ ----------------- `LandingTargetType` is not local [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_LandingTargetType` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:67324 [INFO] [stdout] | [INFO] [stdout] 2 | ... , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum MavOdidHeightRef { ... [INFO] [stdout] | ^---------- ---------------- `MavOdidHeightRef` is not local [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_MavOdidHeightRef` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `ToPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:54109 [INFO] [stdout] | [INFO] [stdout] 2 | ... , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum LandingTargetType { ... [INFO] [stdout] | ^---------- ----------------- `LandingTargetType` is not local [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_LandingTargetType` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `ToPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:67749 [INFO] [stdout] | [INFO] [stdout] 2 | ... , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum MavOdidHorAcc { ... [INFO] [stdout] | ^------------ ------------- `MavOdidHorAcc` is not local [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_MavOdidHorAcc` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:54619 [INFO] [stdout] | [INFO] [stdout] 2 | ... , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum VtolTransitionHeading { ... [INFO] [stdout] | ^------------ --------------------- `VtolTransitionHeading` is not local [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_VtolTransitionHeading` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:67765 [INFO] [stdout] | [INFO] [stdout] 2 | ... , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum MavOdidHorAcc { ... [INFO] [stdout] | ^---------- ------------- `MavOdidHorAcc` is not local [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_MavOdidHorAcc` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `ToPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:54635 [INFO] [stdout] | [INFO] [stdout] 2 | ... , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum VtolTransitionHeading { ... [INFO] [stdout] | ^---------- --------------------- `VtolTransitionHeading` is not local [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_VtolTransitionHeading` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `ToPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:68482 [INFO] [stdout] | [INFO] [stdout] 2 | ... , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum MavOdidVerAcc { ... [INFO] [stdout] | ^------------ ------------- `MavOdidVerAcc` is not local [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_MavOdidVerAcc` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:55884 [INFO] [stdout] | [INFO] [stdout] 2 | ... , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum VideoStreamStatusFlags { ... [INFO] [stdout] | ^------------ ---------------------- `VideoStreamStatusFlags` is not local [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_VideoStreamStatusFlags` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:68498 [INFO] [stdout] | [INFO] [stdout] 2 | ... , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum MavOdidVerAcc { ... [INFO] [stdout] | ^---------- ------------- `MavOdidVerAcc` is not local [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_MavOdidVerAcc` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `ToPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:55900 [INFO] [stdout] | [INFO] [stdout] 2 | ... , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum VideoStreamStatusFlags { ... [INFO] [stdout] | ^---------- ---------------------- `VideoStreamStatusFlags` is not local [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_VideoStreamStatusFlags` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `ToPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:69051 [INFO] [stdout] | [INFO] [stdout] 2 | ... , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum MavOdidSpeedAcc { ... [INFO] [stdout] | ^------------ --------------- `MavOdidSpeedAcc` is not local [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_MavOdidSpeedAcc` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:56347 [INFO] [stdout] | [INFO] [stdout] 2 | ... , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum VideoStreamType { ... [INFO] [stdout] | ^------------ --------------- `VideoStreamType` is not local [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_VideoStreamType` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:69067 [INFO] [stdout] | [INFO] [stdout] 2 | ... , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum MavOdidSpeedAcc { ... [INFO] [stdout] | ^---------- --------------- `MavOdidSpeedAcc` is not local [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_MavOdidSpeedAcc` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `ToPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:56363 [INFO] [stdout] | [INFO] [stdout] 2 | ... , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum VideoStreamType { ... [INFO] [stdout] | ^---------- --------------- `VideoStreamType` is not local [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_VideoStreamType` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `ToPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:69622 [INFO] [stdout] | [INFO] [stdout] 2 | ... , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum MavOdidTimeAcc { ... [INFO] [stdout] | ^------------ -------------- `MavOdidTimeAcc` is not local [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_MavOdidTimeAcc` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:56828 [INFO] [stdout] | [INFO] [stdout] 2 | ... , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum CameraZoomType { ... [INFO] [stdout] | ^------------ -------------- `CameraZoomType` is not local [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_CameraZoomType` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:69638 [INFO] [stdout] | [INFO] [stdout] 2 | ... , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum MavOdidTimeAcc { ... [INFO] [stdout] | ^---------- -------------- `MavOdidTimeAcc` is not local [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_MavOdidTimeAcc` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `ToPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:56844 [INFO] [stdout] | [INFO] [stdout] 2 | ... , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum CameraZoomType { ... [INFO] [stdout] | ^---------- -------------- `CameraZoomType` is not local [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_CameraZoomType` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `ToPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:70536 [INFO] [stdout] | [INFO] [stdout] 2 | ... , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum MavOdidAuthType { ... [INFO] [stdout] | ^------------ --------------- `MavOdidAuthType` is not local [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_MavOdidAuthType` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:57267 [INFO] [stdout] | [INFO] [stdout] 2 | ... , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum SetFocusType { ... [INFO] [stdout] | ^------------ ------------ `SetFocusType` is not local [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_SetFocusType` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:70552 [INFO] [stdout] | [INFO] [stdout] 2 | ... , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum MavOdidAuthType { ... [INFO] [stdout] | ^---------- --------------- `MavOdidAuthType` is not local [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_MavOdidAuthType` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `ToPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:57283 [INFO] [stdout] | [INFO] [stdout] 2 | ... , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum SetFocusType { ... [INFO] [stdout] | ^---------- ------------ `SetFocusType` is not local [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_SetFocusType` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `ToPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:57699 [INFO] [stdout] | [INFO] [stdout] 2 | ... , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum ParamAck { ... [INFO] [stdout] | ^------------ -------- `ParamAck` is not local [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_ParamAck` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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] --> /opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs:2:71097 [INFO] [stdout] | [INFO] [stdout] 2 | ... , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = "serde" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = "serde" , serde ( tag = "type" ) ) ] pub enum MavOdidDescType { ... [INFO] [stdout] | ^------------ --------------- `MavOdidDescType` is not local [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_MavOdidDescType` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] {"$message_type":"diagnostic","message":"non-local `impl` definition, `impl` blocks should be written at the same level as their item","code":{"code":"non_local_definitions","explanation":null},"level":"warning","spans":[{"file_name":"/opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs","byte_start":57930,"byte_end":57938,"line_start":2,"line_end":2,"column_start":57876,"column_end":57884,"is_primary":false,"text":[{"text":" use crate :: MavlinkVersion ; # [ allow ( unused_imports ) ] use bytes :: { Buf , BufMut , Bytes , BytesMut } ; # [ allow ( unused_imports ) ] use num_derive :: FromPrimitive ; # [ allow ( unused_imports ) ] use num_traits :: FromPrimitive ; # [ allow ( unused_imports ) ] use num_derive :: ToPrimitive ; # [ allow ( unused_imports ) ] use num_traits :: ToPrimitive ; # [ allow ( unused_imports ) ] use bitflags :: bitflags ; use crate :: { Message , error :: * } ; # [ allow ( unused_imports ) ] use crate :: { } ; # [ cfg ( feature = \"serde\" ) ] use serde :: { Serialize , Deserialize } ; # [ cfg ( not ( feature = \"std\" ) ) ] use alloc :: vec :: Vec ; # [ cfg ( not ( feature = \"std\" ) ) ] use alloc :: string :: ToString ; # [ derive ( Debug , Copy , Clone , PartialEq , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = \"serde\" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = \"serde\" , serde ( tag = \"type\" ) ) ] pub enum MavAutopilot { MAV_AUTOPILOT_GENERIC = 0 , MAV_AUTOPILOT_RESERVED = 1 , MAV_AUTOPILOT_SLUGS = 2 , MAV_AUTOPILOT_ARDUPILOTMEGA = 3 , MAV_AUTOPILOT_OPENPILOT = 4 , MAV_AUTOPILOT_GENERIC_WAYPOINTS_ONLY = 5 , MAV_AUTOPILOT_GENERIC_WAYPOINTS_AND_SIMPLE_NAVIGATION_ONLY = 6 , MAV_AUTOPILOT_GENERIC_MISSION_FULL = 7 , MAV_AUTOPILOT_INVALID = 8 , MAV_AUTOPILOT_PPZ = 9 , MAV_AUTOPILOT_UDB = 10 , MAV_AUTOPILOT_FP = 11 , MAV_AUTOPILOT_PX4 = 12 , MAV_AUTOPILOT_SMACCMPILOT = 13 , MAV_AUTOPILOT_AUTOQUAD = 14 , MAV_AUTOPILOT_ARMAZILA = 15 , MAV_AUTOPILOT_AEROB = 16 , MAV_AUTOPILOT_ASLUAV = 17 , MAV_AUTOPILOT_SMARTAP = 18 , MAV_AUTOPILOT_AIRRAILS = 19 , } impl Default for MavAutopilot { fn default ( ) -> Self { MavAutopilot :: MAV_AUTOPILOT_GENERIC } } # [ derive ( Debug , Copy , Clone , PartialEq , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = \"serde\" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = \"serde\" , serde ( tag = \"type\" ) ) ] pub enum MavType { MAV_TYPE_GENERIC = 0 , MAV_TYPE_FIXED_WING = 1 , MAV_TYPE_QUADROTOR = 2 , MAV_TYPE_COAXIAL = 3 , MAV_TYPE_HELICOPTER = 4 , MAV_TYPE_ANTENNA_TRACKER = 5 , MAV_TYPE_GCS = 6 , MAV_TYPE_AIRSHIP = 7 , MAV_TYPE_FREE_BALLOON = 8 , MAV_TYPE_ROCKET = 9 , MAV_TYPE_GROUND_ROVER = 10 , MAV_TYPE_SURFACE_BOAT = 11 , MAV_TYPE_SUBMARINE = 12 , MAV_TYPE_HEXAROTOR = 13 , MAV_TYPE_OCTOROTOR = 14 , MAV_TYPE_TRICOPTER = 15 , MAV_TYPE_FLAPPING_WING = 16 , MAV_TYPE_KITE = 17 , MAV_TYPE_ONBOARD_CONTROLLER = 18 , MAV_TYPE_VTOL_DUOROTOR = 19 , MAV_TYPE_VTOL_QUADROTOR = 20 , MAV_TYPE_VTOL_TILTROTOR = 21 , MAV_TYPE_VTOL_RESERVED2 = 22 , MAV_TYPE_VTOL_RESERVED3 = 23 , MAV_TYPE_VTOL_RESERVED4 = 24 , MAV_TYPE_VTOL_RESERVED5 = 25 , MAV_TYPE_GIMBAL = 26 , MAV_TYPE_ADSB = 27 , MAV_TYPE_PARAFOIL = 28 , MAV_TYPE_DODECAROTOR = 29 , MAV_TYPE_CAMERA = 30 , MAV_TYPE_CHARGING_STATION = 31 , MAV_TYPE_FLARM = 32 , MAV_TYPE_SERVO = 33 , MAV_TYPE_ODID = 34 , } impl Default for MavType { fn default ( ) -> Self { MavType :: MAV_TYPE_GENERIC } } # [ derive ( Debug , Copy , Clone , PartialEq , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = \"serde\" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = \"serde\" , serde ( tag = \"type\" ) ) ] pub enum FirmwareVersionType { FIRMWARE_VERSION_TYPE_DEV = 0 , FIRMWARE_VERSION_TYPE_ALPHA = 64 , FIRMWARE_VERSION_TYPE_BETA = 128 , FIRMWARE_VERSION_TYPE_RC = 192 , FIRMWARE_VERSION_TYPE_OFFICIAL = 255 , } impl Default for FirmwareVersionType { fn default ( ) -> Self { FirmwareVersionType :: FIRMWARE_VERSION_TYPE_DEV } } bitflags ! { # [ cfg_attr ( feature = \"serde\" , derive ( Serialize , Deserialize ) ) ] pub struct HlFailureFlag : u16 { const HL_FAILURE_FLAG_GPS = 1 ; const HL_FAILURE_FLAG_DIFFERENTIAL_PRESSURE = 2 ; const HL_FAILURE_FLAG_ABSOLUTE_PRESSURE = 4 ; const HL_FAILURE_FLAG_3D_ACCEL = 8 ; const HL_FAILURE_FLAG_3D_GYRO = 16 ; const HL_FAILURE_FLAG_3D_MAG = 32 ; const HL_FAILURE_FLAG_TERRAIN = 64 ; const HL_FAILURE_FLAG_BATTERY = 128 ; const HL_FAILURE_FLAG_RC_RECEIVER = 256 ; const HL_FAILURE_FLAG_OFFBOARD_LINK = 512 ; const HL_FAILURE_FLAG_ENGINE = 1024 ; const HL_FAILURE_FLAG_GEOFENCE = 2048 ; const HL_FAILURE_FLAG_ESTIMATOR = 4096 ; const HL_FAILURE_FLAG_MISSION = 8192 ; } } impl Default for HlFailureFlag { fn default ( ) -> Self { HlFailureFlag :: HL_FAILURE_FLAG_GPS } } bitflags ! { # [ cfg_attr ( feature = \"serde\" , derive ( Serialize , Deserialize ) ) ] pub struct MavModeFlag : u8 { const MAV_MODE_FLAG_SAFETY_ARMED = 128 ; const MAV_MODE_FLAG_MANUAL_INPUT_ENABLED = 64 ; const MAV_MODE_FLAG_HIL_ENABLED = 32 ; const MAV_MODE_FLAG_STABILIZE_ENABLED = 16 ; const MAV_MODE_FLAG_GUIDED_ENABLED = 8 ; const MAV_MODE_FLAG_AUTO_ENABLED = 4 ; const MAV_MODE_FLAG_TEST_ENABLED = 2 ; const MAV_MODE_FLAG_CUSTOM_MODE_ENABLED = 1 ; } } impl Default for MavModeFlag { fn default ( ) -> Self { MavModeFlag :: MAV_MODE_FLAG_SAFETY_ARMED } } # [ derive ( Debug , Copy , Clone , PartialEq , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = \"serde\" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = \"serde\" , serde ( tag = \"type\" ) ) ] pub enum MavModeFlagDecodePosition { MAV_MODE_FLAG_DECODE_POSITION_SAFETY = 128 , MAV_MODE_FLAG_DECODE_POSITION_MANUAL = 64 , MAV_MODE_FLAG_DECODE_POSITION_HIL = 32 , MAV_MODE_FLAG_DECODE_POSITION_STABILIZE = 16 , MAV_MODE_FLAG_DECODE_POSITION_GUIDED = 8 , MAV_MODE_FLAG_DECODE_POSITION_AUTO = 4 , MAV_MODE_FLAG_DECODE_POSITION_TEST = 2 , MAV_MODE_FLAG_DECODE_POSITION_CUSTOM_MODE = 1 , } impl Default for MavModeFlagDecodePosition { fn default ( ) -> Self { MavModeFlagDecodePosition :: MAV_MODE_FLAG_DECODE_POSITION_SAFETY } } # [ derive ( Debug , Copy , Clone , PartialEq , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = \"serde\" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = \"serde\" , serde ( tag = \"type\" ) ) ] pub enum MavGoto { MAV_GOTO_DO_HOLD = 0 , MAV_GOTO_DO_CONTINUE = 1 , MAV_GOTO_HOLD_AT_CURRENT_POSITION = 2 , MAV_GOTO_HOLD_AT_SPECIFIED_POSITION = 3 , } impl Default for MavGoto { fn default ( ) -> Self { MavGoto :: MAV_GOTO_DO_HOLD } } # [ derive ( Debug , Copy , Clone , PartialEq , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = \"serde\" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = \"serde\" , serde ( tag = \"type\" ) ) ] pub enum MavMode { MAV_MODE_PREFLIGHT = 0 , MAV_MODE_STABILIZE_DISARMED = 80 , MAV_MODE_STABILIZE_ARMED = 208 , MAV_MODE_MANUAL_DISARMED = 64 , MAV_MODE_MANUAL_ARMED = 192 , MAV_MODE_GUIDED_DISARMED = 88 , MAV_MODE_GUIDED_ARMED = 216 , MAV_MODE_AUTO_DISARMED = 92 , MAV_MODE_AUTO_ARMED = 220 , MAV_MODE_TEST_DISARMED = 66 , MAV_MODE_TEST_ARMED = 194 , } impl Default for MavMode { fn default ( ) -> Self { MavMode :: MAV_MODE_PREFLIGHT } } # [ derive ( Debug , Copy , Clone , PartialEq , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = \"serde\" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = \"serde\" , serde ( tag = \"type\" ) ) ] pub enum MavState { MAV_STATE_UNINIT = 0 , MAV_STATE_BOOT = 1 , MAV_STATE_CALIBRATING = 2 , MAV_STATE_STANDBY = 3 , MAV_STATE_ACTIVE = 4 , MAV_STATE_CRITICAL = 5 , MAV_STATE_EMERGENCY = 6 , MAV_STATE_POWEROFF = 7 , MAV_STATE_FLIGHT_TERMINATION = 8 , } impl Default for MavState { fn default ( ) -> Self { MavState :: MAV_STATE_UNINIT } } # [ derive ( Debug , Copy , Clone , PartialEq , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = \"serde\" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = \"serde\" , serde ( tag = \"type\" ) ) ] pub enum MavComponent { MAV_COMP_ID_ALL = 0 , MAV_COMP_ID_AUTOPILOT1 = 1 , MAV_COMP_ID_USER1 = 25 , MAV_COMP_ID_USER2 = 26 , MAV_COMP_ID_USER3 = 27 , MAV_COMP_ID_USER4 = 28 , MAV_COMP_ID_USER5 = 29 , MAV_COMP_ID_USER6 = 30 , MAV_COMP_ID_USER7 = 31 , MAV_COMP_ID_USER8 = 32 , MAV_COMP_ID_USER9 = 33 , MAV_COMP_ID_USER10 = 34 , MAV_COMP_ID_USER11 = 35 , MAV_COMP_ID_USER12 = 36 , MAV_COMP_ID_USER13 = 37 , MAV_COMP_ID_USER14 = 38 , MAV_COMP_ID_USER15 = 39 , MAV_COMP_ID_USER16 = 40 , MAV_COMP_ID_USER17 = 41 , MAV_COMP_ID_USER18 = 42 , MAV_COMP_ID_USER19 = 43 , MAV_COMP_ID_USER20 = 44 , MAV_COMP_ID_USER21 = 45 , MAV_COMP_ID_USER22 = 46 , MAV_COMP_ID_USER23 = 47 , MAV_COMP_ID_USER24 = 48 , MAV_COMP_ID_USER25 = 49 , MAV_COMP_ID_USER26 = 50 , MAV_COMP_ID_USER27 = 51 , MAV_COMP_ID_USER28 = 52 , MAV_COMP_ID_USER29 = 53 , MAV_COMP_ID_USER30 = 54 , MAV_COMP_ID_USER31 = 55 , MAV_COMP_ID_USER32 = 56 , MAV_COMP_ID_USER33 = 57 , MAV_COMP_ID_USER34 = 58 , MAV_COMP_ID_USER35 = 59 , MAV_COMP_ID_USER36 = 60 , MAV_COMP_ID_USER37 = 61 , MAV_COMP_ID_USER38 = 62 , MAV_COMP_ID_USER39 = 63 , MAV_COMP_ID_USER40 = 64 , MAV_COMP_ID_USER41 = 65 , MAV_COMP_ID_USER42 = 66 , MAV_COMP_ID_USER43 = 67 , MAV_COMP_ID_TELEMETRY_RADIO = 68 , MAV_COMP_ID_USER45 = 69 , MAV_COMP_ID_USER46 = 70 , MAV_COMP_ID_USER47 = 71 , MAV_COMP_ID_USER48 = 72 , MAV_COMP_ID_USER49 = 73 , MAV_COMP_ID_USER50 = 74 , MAV_COMP_ID_USER51 = 75 , MAV_COMP_ID_USER52 = 76 , MAV_COMP_ID_USER53 = 77 , MAV_COMP_ID_USER54 = 78 , MAV_COMP_ID_USER55 = 79 , MAV_COMP_ID_USER56 = 80 , MAV_COMP_ID_USER57 = 81 , MAV_COMP_ID_USER58 = 82 , MAV_COMP_ID_USER59 = 83 , MAV_COMP_ID_USER60 = 84 , MAV_COMP_ID_USER61 = 85 , MAV_COMP_ID_USER62 = 86 , MAV_COMP_ID_USER63 = 87 , MAV_COMP_ID_USER64 = 88 , MAV_COMP_ID_USER65 = 89 , MAV_COMP_ID_USER66 = 90 , MAV_COMP_ID_USER67 = 91 , MAV_COMP_ID_USER68 = 92 , MAV_COMP_ID_USER69 = 93 , MAV_COMP_ID_USER70 = 94 , MAV_COMP_ID_USER71 = 95 , MAV_COMP_ID_USER72 = 96 , MAV_COMP_ID_USER73 = 97 , MAV_COMP_ID_USER74 = 98 , MAV_COMP_ID_USER75 = 99 , MAV_COMP_ID_CAMERA = 100 , MAV_COMP_ID_CAMERA2 = 101 , MAV_COMP_ID_CAMERA3 = 102 , MAV_COMP_ID_CAMERA4 = 103 , MAV_COMP_ID_CAMERA5 = 104 , MAV_COMP_ID_CAMERA6 = 105 , MAV_COMP_ID_SERVO1 = 140 , MAV_COMP_ID_SERVO2 = 141 , MAV_COMP_ID_SERVO3 = 142 , MAV_COMP_ID_SERVO4 = 143 , MAV_COMP_ID_SERVO5 = 144 , MAV_COMP_ID_SERVO6 = 145 , MAV_COMP_ID_SERVO7 = 146 , MAV_COMP_ID_SERVO8 = 147 , MAV_COMP_ID_SERVO9 = 148 , MAV_COMP_ID_SERVO10 = 149 , MAV_COMP_ID_SERVO11 = 150 , MAV_COMP_ID_SERVO12 = 151 , MAV_COMP_ID_SERVO13 = 152 , MAV_COMP_ID_SERVO14 = 153 , MAV_COMP_ID_GIMBAL = 154 , MAV_COMP_ID_LOG = 155 , MAV_COMP_ID_ADSB = 156 , MAV_COMP_ID_OSD = 157 , MAV_COMP_ID_PERIPHERAL = 158 , MAV_COMP_ID_QX1_GIMBAL = 159 , MAV_COMP_ID_FLARM = 160 , MAV_COMP_ID_GIMBAL2 = 171 , MAV_COMP_ID_GIMBAL3 = 172 , MAV_COMP_ID_GIMBAL4 = 173 , MAV_COMP_ID_GIMBAL5 = 174 , MAV_COMP_ID_GIMBAL6 = 175 , MAV_COMP_ID_MISSIONPLANNER = 190 , MAV_COMP_ID_PATHPLANNER = 195 , MAV_COMP_ID_OBSTACLE_AVOIDANCE = 196 , MAV_COMP_ID_VISUAL_INERTIAL_ODOMETRY = 197 , MAV_COMP_ID_PAIRING_MANAGER = 198 , MAV_COMP_ID_IMU = 200 , MAV_COMP_ID_IMU_2 = 201 , MAV_COMP_ID_IMU_3 = 202 , MAV_COMP_ID_GPS = 220 , MAV_COMP_ID_GPS2 = 221 , MAV_COMP_ID_ODID_TXRX_1 = 236 , MAV_COMP_ID_ODID_TXRX_2 = 237 , MAV_COMP_ID_ODID_TXRX_3 = 238 , MAV_COMP_ID_UDP_BRIDGE = 240 , MAV_COMP_ID_UART_BRIDGE = 241 , MAV_COMP_ID_TUNNEL_NODE = 242 , MAV_COMP_ID_SYSTEM_CONTROL = 250 , } impl Default for MavComponent { fn default ( ) -> Self { MavComponent :: MAV_COMP_ID_ALL } } bitflags ! { # [ cfg_attr ( feature = \"serde\" , derive ( Serialize , Deserialize ) ) ] pub struct MavSysStatusSensor : u32 { const MAV_SYS_STATUS_SENSOR_3D_GYRO = 1 ; const MAV_SYS_STATUS_SENSOR_3D_ACCEL = 2 ; const MAV_SYS_STATUS_SENSOR_3D_MAG = 4 ; const MAV_SYS_STATUS_SENSOR_ABSOLUTE_PRESSURE = 8 ; const MAV_SYS_STATUS_SENSOR_DIFFERENTIAL_PRESSURE = 16 ; const MAV_SYS_STATUS_SENSOR_GPS = 32 ; const MAV_SYS_STATUS_SENSOR_OPTICAL_FLOW = 64 ; const MAV_SYS_STATUS_SENSOR_VISION_POSITION = 128 ; const MAV_SYS_STATUS_SENSOR_LASER_POSITION = 256 ; const MAV_SYS_STATUS_SENSOR_EXTERNAL_GROUND_TRUTH = 512 ; const MAV_SYS_STATUS_SENSOR_ANGULAR_RATE_CONTROL = 1024 ; const MAV_SYS_STATUS_SENSOR_ATTITUDE_STABILIZATION = 2048 ; const MAV_SYS_STATUS_SENSOR_YAW_POSITION = 4096 ; const MAV_SYS_STATUS_SENSOR_Z_ALTITUDE_CONTROL = 8192 ; const MAV_SYS_STATUS_SENSOR_XY_POSITION_CONTROL = 16384 ; const MAV_SYS_STATUS_SENSOR_MOTOR_OUTPUTS = 32768 ; const MAV_SYS_STATUS_SENSOR_RC_RECEIVER = 65536 ; const MAV_SYS_STATUS_SENSOR_3D_GYRO2 = 131072 ; const MAV_SYS_STATUS_SENSOR_3D_ACCEL2 = 262144 ; const MAV_SYS_STATUS_SENSOR_3D_MAG2 = 524288 ; const MAV_SYS_STATUS_GEOFENCE = 1048576 ; const MAV_SYS_STATUS_AHRS = 2097152 ; const MAV_SYS_STATUS_TERRAIN = 4194304 ; const MAV_SYS_STATUS_REVERSE_MOTOR = 8388608 ; const MAV_SYS_STATUS_LOGGING = 16777216 ; const MAV_SYS_STATUS_SENSOR_BATTERY = 33554432 ; const MAV_SYS_STATUS_SENSOR_PROXIMITY = 67108864 ; const MAV_SYS_STATUS_SENSOR_SATCOM = 134217728 ; const MAV_SYS_STATUS_PREARM_CHECK = 268435456 ; const MAV_SYS_STATUS_OBSTACLE_AVOIDANCE = 536870912 ; } } impl Default for MavSysStatusSensor { fn default ( ) -> Self { MavSysStatusSensor :: MAV_SYS_STATUS_SENSOR_3D_GYRO } } # [ derive ( Debug , Copy , Clone , PartialEq , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = \"serde\" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = \"serde\" , serde ( tag = \"type\" ) ) ] pub enum MavFrame { MAV_FRAME_GLOBAL = 0 , MAV_FRAME_LOCAL_NED = 1 , MAV_FRAME_MISSION = 2 , MAV_FRAME_GLOBAL_RELATIVE_ALT = 3 , MAV_FRAME_LOCAL_ENU = 4 , MAV_FRAME_GLOBAL_INT = 5 , MAV_FRAME_GLOBAL_RELATIVE_ALT_INT = 6 , MAV_FRAME_LOCAL_OFFSET_NED = 7 , MAV_FRAME_BODY_NED = 8 , MAV_FRAME_BODY_OFFSET_NED = 9 , MAV_FRAME_GLOBAL_TERRAIN_ALT = 10 , MAV_FRAME_GLOBAL_TERRAIN_ALT_INT = 11 , MAV_FRAME_BODY_FRD = 12 , MAV_FRAME_RESERVED_13 = 13 , MAV_FRAME_RESERVED_14 = 14 , MAV_FRAME_RESERVED_15 = 15 , MAV_FRAME_RESERVED_16 = 16 , MAV_FRAME_RESERVED_17 = 17 , MAV_FRAME_RESERVED_18 = 18 , MAV_FRAME_RESERVED_19 = 19 , MAV_FRAME_LOCAL_FRD = 20 , MAV_FRAME_LOCAL_FLU = 21 , } impl Default for MavFrame { fn default ( ) -> Self { MavFrame :: MAV_FRAME_GLOBAL } } # [ derive ( Debug , Copy , Clone , PartialEq , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = \"serde\" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = \"serde\" , serde ( tag = \"type\" ) ) ] pub enum MavlinkDataStreamType { MAVLINK_DATA_STREAM_IMG_JPEG = 0 , MAVLINK_DATA_STREAM_IMG_BMP = 1 , MAVLINK_DATA_STREAM_IMG_RAW8U = 2 , MAVLINK_DATA_STREAM_IMG_RAW32U = 3 , MAVLINK_DATA_STREAM_IMG_PGM = 4 , MAVLINK_DATA_STREAM_IMG_PNG = 5 , } impl Default for MavlinkDataStreamType { fn default ( ) -> Self { MavlinkDataStreamType :: MAVLINK_DATA_STREAM_IMG_JPEG } } # [ derive ( Debug , Copy , Clone , PartialEq , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = \"serde\" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = \"serde\" , serde ( tag = \"type\" ) ) ] pub enum FenceAction { FENCE_ACTION_NONE = 0 , FENCE_ACTION_GUIDED = 1 , FENCE_ACTION_REPORT = 2 , FENCE_ACTION_GUIDED_THR_PASS = 3 , FENCE_ACTION_RTL = 4 , } impl Default for FenceAction { fn default ( ) -> Self { FenceAction :: FENCE_ACTION_NONE } } # [ derive ( Debug , Copy , Clone , PartialEq , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = \"serde\" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = \"serde\" , serde ( tag = \"type\" ) ) ] pub enum FenceBreach { FENCE_BREACH_NONE = 0 , FENCE_BREACH_MINALT = 1 , FENCE_BREACH_MAXALT = 2 , FENCE_BREACH_BOUNDARY = 3 , } impl Default for FenceBreach { fn default ( ) -> Self { FenceBreach :: FENCE_BREACH_NONE } } # [ derive ( Debug , Copy , Clone , PartialEq , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = \"serde\" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = \"serde\" , serde ( tag = \"type\" ) ) ] pub enum FenceMitigate { FENCE_MITIGATE_UNKNOWN = 0 , FENCE_MITIGATE_NONE = 1 , FENCE_MITIGATE_VEL_LIMIT = 2 , } impl Default for FenceMitigate { fn default ( ) -> Self { FenceMitigate :: FENCE_MITIGATE_UNKNOWN } } # [ derive ( Debug , Copy , Clone , PartialEq , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = \"serde\" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = \"serde\" , serde ( tag = \"type\" ) ) ] pub enum MavMountMode { MAV_MOUNT_MODE_RETRACT = 0 , MAV_MOUNT_MODE_NEUTRAL = 1 , MAV_MOUNT_MODE_MAVLINK_TARGETING = 2 , MAV_MOUNT_MODE_RC_TARGETING = 3 , MAV_MOUNT_MODE_GPS_POINT = 4 , MAV_MOUNT_MODE_SYSID_TARGET = 5 , } impl Default for MavMountMode { fn default ( ) -> Self { MavMountMode :: MAV_MOUNT_MODE_RETRACT } } bitflags ! { # [ cfg_attr ( feature = \"serde\" , derive ( Serialize , Deserialize ) ) ] pub struct GimbalDeviceCapFlags : u16 { const GIMBAL_DEVICE_CAP_FLAGS_HAS_RETRACT = 1 ; const GIMBAL_DEVICE_CAP_FLAGS_HAS_NEUTRAL = 2 ; const GIMBAL_DEVICE_CAP_FLAGS_HAS_ROLL_AXIS = 4 ; const GIMBAL_DEVICE_CAP_FLAGS_HAS_ROLL_FOLLOW = 8 ; const GIMBAL_DEVICE_CAP_FLAGS_HAS_ROLL_LOCK = 16 ; const GIMBAL_DEVICE_CAP_FLAGS_HAS_PITCH_AXIS = 32 ; const GIMBAL_DEVICE_CAP_FLAGS_HAS_PITCH_FOLLOW = 64 ; const GIMBAL_DEVICE_CAP_FLAGS_HAS_PITCH_LOCK = 128 ; const GIMBAL_DEVICE_CAP_FLAGS_HAS_YAW_AXIS = 256 ; const GIMBAL_DEVICE_CAP_FLAGS_HAS_YAW_FOLLOW = 512 ; const GIMBAL_DEVICE_CAP_FLAGS_HAS_YAW_LOCK = 1024 ; const GIMBAL_DEVICE_CAP_FLAGS_SUPPORTS_INFINITE_YAW = 2048 ; } } impl Default for GimbalDeviceCapFlags { fn default ( ) -> Self { GimbalDeviceCapFlags :: GIMBAL_DEVICE_CAP_FLAGS_HAS_RETRACT } } bitflags ! { # [ cfg_attr ( feature = \"serde\" , derive ( Serialize , Deserialize ) ) ] pub struct GimbalManagerCapFlags : u32 { const GIMBAL_MANAGER_CAP_FLAGS_HAS_RETRACT = 1 ; const GIMBAL_MANAGER_CAP_FLAGS_HAS_NEUTRAL = 2 ; const GIMBAL_MANAGER_CAP_FLAGS_HAS_ROLL_AXIS = 4 ; const GIMBAL_MANAGER_CAP_FLAGS_HAS_ROLL_FOLLOW = 8 ; const GIMBAL_MANAGER_CAP_FLAGS_HAS_ROLL_LOCK = 16 ; const GIMBAL_MANAGER_CAP_FLAGS_HAS_PITCH_AXIS = 32 ; const GIMBAL_MANAGER_CAP_FLAGS_HAS_PITCH_FOLLOW = 64 ; const GIMBAL_MANAGER_CAP_FLAGS_HAS_PITCH_LOCK = 128 ; const GIMBAL_MANAGER_CAP_FLAGS_HAS_YAW_AXIS = 256 ; const GIMBAL_MANAGER_CAP_FLAGS_HAS_YAW_FOLLOW = 512 ; const GIMBAL_MANAGER_CAP_FLAGS_HAS_YAW_LOCK = 1024 ; const GIMBAL_MANAGER_CAP_FLAGS_SUPPORTS_INFINITE_YAW = 2048 ; const GIMBAL_MANAGER_CAP_FLAGS_CAN_POINT_LOCATION_LOCAL = 65536 ; const GIMBAL_MANAGER_CAP_FLAGS_CAN_POINT_LOCATION_GLOBAL = 131072 ; const GIMBAL_MANAGER_CAP_FLAGS_HAS_TRACKING_POINT = 262144 ; const GIMBAL_MANAGER_CAP_FLAGS_HAS_TRACKING_RECTANGLE = 524288 ; const GIMBAL_MANAGER_CAP_FLAGS_SUPPORTS_FOCAL_LENGTH_SCALE = 1048576 ; const GIMBAL_MANAGER_CAP_FLAGS_SUPPORTS_NUDGING = 2097152 ; const GIMBAL_MANAGER_CAP_FLAGS_SUPPORTS_OVERRIDE = 4194304 ; } } impl Default for GimbalManagerCapFlags { fn default ( ) -> Self { GimbalManagerCapFlags :: GIMBAL_MANAGER_CAP_FLAGS_HAS_RETRACT } } # [ derive ( Debug , Copy , Clone , PartialEq , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = \"serde\" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = \"serde\" , serde ( tag = \"type\" ) ) ] pub enum GimbalDeviceFlags { GIMBAL_DEVICE_FLAGS_RETRACT = 1 , GIMBAL_DEVICE_FLAGS_NEUTRAL = 2 , GIMBAL_DEVICE_FLAGS_ROLL_LOCK = 4 , GIMBAL_DEVICE_FLAGS_PITCH_LOCK = 8 , GIMBAL_DEVICE_FLAGS_YAW_LOCK = 16 , } impl Default for GimbalDeviceFlags { fn default ( ) -> Self { GimbalDeviceFlags :: GIMBAL_DEVICE_FLAGS_RETRACT } } # [ derive ( Debug , Copy , Clone , PartialEq , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = \"serde\" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = \"serde\" , serde ( tag = \"type\" ) ) ] pub enum GimbalManagerFlags { GIMBAL_MANAGER_FLAGS_RETRACT = 1 , GIMBAL_MANAGER_FLAGS_NEUTRAL = 2 , GIMBAL_MANAGER_FLAGS_ROLL_LOCK = 4 , GIMBAL_MANAGER_FLAGS_PITCH_LOCK = 8 , GIMBAL_MANAGER_FLAGS_YAW_LOCK = 16 , GIMBAL_MANAGER_FLAGS_ANGULAR_VELOCITY_RELATIVE_TO_FOCAL_LENGTH = 1048576 , GIMBAL_MANAGER_FLAGS_NUDGE = 2097152 , GIMBAL_MANAGER_FLAGS_OVERRIDE = 4194304 , GIMBAL_MANAGER_FLAGS_NONE = 8388608 , } impl Default for GimbalManagerFlags { fn default ( ) -> Self { GimbalManagerFlags :: GIMBAL_MANAGER_FLAGS_RETRACT } } # [ derive ( Debug , Copy , Clone , PartialEq , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = \"serde\" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = \"serde\" , serde ( tag = \"type\" ) ) ] pub enum GimbalDeviceErrorFlags { GIMBAL_DEVICE_ERROR_FLAGS_AT_ROLL_LIMIT = 1 , GIMBAL_DEVICE_ERROR_FLAGS_AT_PITCH_LIMIT = 2 , GIMBAL_DEVICE_ERROR_FLAGS_AT_YAW_LIMIT = 4 , GIMBAL_DEVICE_ERROR_FLAGS_ENCODER_ERROR = 8 , GIMBAL_DEVICE_ERROR_FLAGS_POWER_ERROR = 16 , GIMBAL_DEVICE_ERROR_FLAGS_MOTOR_ERROR = 32 , GIMBAL_DEVICE_ERROR_FLAGS_SOFTWARE_ERROR = 64 , GIMBAL_DEVICE_ERROR_FLAGS_COMMS_ERROR = 128 , } impl Default for GimbalDeviceErrorFlags { fn default ( ) -> Self { GimbalDeviceErrorFlags :: GIMBAL_DEVICE_ERROR_FLAGS_AT_ROLL_LIMIT } } # [ derive ( Debug , Copy , Clone , PartialEq , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = \"serde\" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = \"serde\" , serde ( tag = \"type\" ) ) ] pub enum UavcanNodeHealth { UAVCAN_NODE_HEALTH_OK = 0 , UAVCAN_NODE_HEALTH_WARNING = 1 , UAVCAN_NODE_HEALTH_ERROR = 2 , UAVCAN_NODE_HEALTH_CRITICAL = 3 , } impl Default for UavcanNodeHealth { fn default ( ) -> Self { UavcanNodeHealth :: UAVCAN_NODE_HEALTH_OK } } # [ derive ( Debug , Copy , Clone , PartialEq , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = \"serde\" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = \"serde\" , serde ( tag = \"type\" ) ) ] pub enum UavcanNodeMode { UAVCAN_NODE_MODE_OPERATIONAL = 0 , UAVCAN_NODE_MODE_INITIALIZATION = 1 , UAVCAN_NODE_MODE_MAINTENANCE = 2 , UAVCAN_NODE_MODE_SOFTWARE_UPDATE = 3 , UAVCAN_NODE_MODE_OFFLINE = 7 , } impl Default for UavcanNodeMode { fn default ( ) -> Self { UavcanNodeMode :: UAVCAN_NODE_MODE_OPERATIONAL } } # [ derive ( Debug , Copy , Clone , PartialEq , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = \"serde\" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = \"serde\" , serde ( tag = \"type\" ) ) ] pub enum StorageStatus { STORAGE_STATUS_EMPTY = 0 , STORAGE_STATUS_UNFORMATTED = 1 , STORAGE_STATUS_READY = 2 , STORAGE_STATUS_NOT_SUPPORTED = 3 , } impl Default for StorageStatus { fn default ( ) -> Self { StorageStatus :: STORAGE_STATUS_EMPTY } } # [ derive ( Debug , Copy , Clone , PartialEq , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = \"serde\" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = \"serde\" , serde ( tag = \"type\" ) ) ] pub enum OrbitYawBehaviour { ORBIT_YAW_BEHAVIOUR_HOLD_FRONT_TO_CIRCLE_CENTER = 0 , ORBIT_YAW_BEHAVIOUR_HOLD_INITIAL_HEADING = 1 , ORBIT_YAW_BEHAVIOUR_UNCONTROLLED = 2 , ORBIT_YAW_BEHAVIOUR_HOLD_FRONT_TANGENT_TO_CIRCLE = 3 , ORBIT_YAW_BEHAVIOUR_RC_CONTROLLED = 4 , } impl Default for OrbitYawBehaviour { fn default ( ) -> Self { OrbitYawBehaviour :: ORBIT_YAW_BEHAVIOUR_HOLD_FRONT_TO_CIRCLE_CENTER } } # [ derive ( Debug , Copy , Clone , PartialEq , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = \"serde\" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = \"serde\" , serde ( tag = \"type\" ) ) ] pub enum WifiConfigApResponse { WIFI_CONFIG_AP_RESPONSE_UNDEFINED = 0 , WIFI_CONFIG_AP_RESPONSE_ACCEPTED = 1 , WIFI_CONFIG_AP_RESPONSE_REJECTED = 2 , WIFI_CONFIG_AP_RESPONSE_MODE_ERROR = 3 , WIFI_CONFIG_AP_RESPONSE_SSID_ERROR = 4 , WIFI_CONFIG_AP_RESPONSE_PASSWORD_ERROR = 5 , } impl Default for WifiConfigApResponse { fn default ( ) -> Self { WifiConfigApResponse :: WIFI_CONFIG_AP_RESPONSE_UNDEFINED } } # [ derive ( Debug , Copy , Clone , PartialEq , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = \"serde\" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = \"serde\" , serde ( tag = \"type\" ) ) ] pub enum CellularConfigResponse { CELLULAR_CONFIG_RESPONSE_ACCEPTED = 0 , CELLULAR_CONFIG_RESPONSE_APN_ERROR = 1 , CELLULAR_CONFIG_RESPONSE_PIN_ERROR = 2 , CELLULAR_CONFIG_RESPONSE_REJECTED = 3 , } impl Default for CellularConfigResponse { fn default ( ) -> Self { CellularConfigResponse :: CELLULAR_CONFIG_RESPONSE_ACCEPTED } } # [ derive ( Debug , Copy , Clone , PartialEq , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = \"serde\" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = \"serde\" , serde ( tag = \"type\" ) ) ] pub enum WifiConfigApMode { WIFI_CONFIG_AP_MODE_UNDEFINED = 0 , WIFI_CONFIG_AP_MODE_AP = 1 , WIFI_CONFIG_AP_MODE_STATION = 2 , WIFI_CONFIG_AP_MODE_DISABLED = 3 , } impl Default for WifiConfigApMode { fn default ( ) -> Self { WifiConfigApMode :: WIFI_CONFIG_AP_MODE_UNDEFINED } } # [ derive ( Debug , Copy , Clone , PartialEq , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = \"serde\" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = \"serde\" , serde ( tag = \"type\" ) ) ] pub enum CompMetadataType { COMP_METADATA_TYPE_VERSION = 0 , COMP_METADATA_TYPE_PARAMETER = 1 , } impl Default for CompMetadataType { fn default ( ) -> Self { CompMetadataType :: COMP_METADATA_TYPE_VERSION } } # [ derive ( Debug , Copy , Clone , PartialEq , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = \"serde\" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = \"serde\" , serde ( tag = \"type\" ) ) ] pub enum MavCmd { MAV_CMD_NAV_WAYPOINT = 16 , MAV_CMD_NAV_LOITER_UNLIM = 17 , MAV_CMD_NAV_LOITER_TURNS = 18 , MAV_CMD_NAV_LOITER_TIME = 19 , MAV_CMD_NAV_RETURN_TO_LAUNCH = 20 , MAV_CMD_NAV_LAND = 21 , MAV_CMD_NAV_TAKEOFF = 22 , MAV_CMD_NAV_LAND_LOCAL = 23 , MAV_CMD_NAV_TAKEOFF_LOCAL = 24 , MAV_CMD_NAV_FOLLOW = 25 , MAV_CMD_NAV_CONTINUE_AND_CHANGE_ALT = 30 , MAV_CMD_NAV_LOITER_TO_ALT = 31 , MAV_CMD_DO_FOLLOW = 32 , MAV_CMD_DO_FOLLOW_REPOSITION = 33 , MAV_CMD_DO_ORBIT = 34 , MAV_CMD_NAV_ROI = 80 , MAV_CMD_NAV_PATHPLANNING = 81 , MAV_CMD_NAV_SPLINE_WAYPOINT = 82 , MAV_CMD_NAV_VTOL_TAKEOFF = 84 , MAV_CMD_NAV_VTOL_LAND = 85 , MAV_CMD_NAV_GUIDED_ENABLE = 92 , MAV_CMD_NAV_DELAY = 93 , MAV_CMD_NAV_PAYLOAD_PLACE = 94 , MAV_CMD_NAV_LAST = 95 , MAV_CMD_CONDITION_DELAY = 112 , MAV_CMD_CONDITION_CHANGE_ALT = 113 , MAV_CMD_CONDITION_DISTANCE = 114 , MAV_CMD_CONDITION_YAW = 115 , MAV_CMD_CONDITION_LAST = 159 , MAV_CMD_DO_SET_MODE = 176 , MAV_CMD_DO_JUMP = 177 , MAV_CMD_DO_CHANGE_SPEED = 178 , MAV_CMD_DO_SET_HOME = 179 , MAV_CMD_DO_SET_PARAMETER = 180 , MAV_CMD_DO_SET_RELAY = 181 , MAV_CMD_DO_REPEAT_RELAY = 182 , MAV_CMD_DO_SET_SERVO = 183 , MAV_CMD_DO_REPEAT_SERVO = 184 , MAV_CMD_DO_FLIGHTTERMINATION = 185 , MAV_CMD_DO_CHANGE_ALTITUDE = 186 , MAV_CMD_DO_SET_ACTUATOR = 187 , MAV_CMD_DO_LAND_START = 189 , MAV_CMD_DO_RALLY_LAND = 190 , MAV_CMD_DO_GO_AROUND = 191 , MAV_CMD_DO_REPOSITION = 192 , MAV_CMD_DO_PAUSE_CONTINUE = 193 , MAV_CMD_DO_SET_REVERSE = 194 , MAV_CMD_DO_SET_ROI_LOCATION = 195 , MAV_CMD_DO_SET_ROI_WPNEXT_OFFSET = 196 , MAV_CMD_DO_SET_ROI_NONE = 197 , MAV_CMD_DO_SET_ROI_SYSID = 198 , MAV_CMD_DO_CONTROL_VIDEO = 200 , MAV_CMD_DO_SET_ROI = 201 , MAV_CMD_DO_DIGICAM_CONFIGURE = 202 , MAV_CMD_DO_DIGICAM_CONTROL = 203 , MAV_CMD_DO_MOUNT_CONFIGURE = 204 , MAV_CMD_DO_MOUNT_CONTROL = 205 , MAV_CMD_DO_SET_CAM_TRIGG_DIST = 206 , MAV_CMD_DO_FENCE_ENABLE = 207 , MAV_CMD_DO_PARACHUTE = 208 , MAV_CMD_DO_MOTOR_TEST = 209 , MAV_CMD_DO_INVERTED_FLIGHT = 210 , MAV_CMD_NAV_SET_YAW_SPEED = 213 , MAV_CMD_DO_SET_CAM_TRIGG_INTERVAL = 214 , MAV_CMD_DO_MOUNT_CONTROL_QUAT = 220 , MAV_CMD_DO_GUIDED_MASTER = 221 , MAV_CMD_DO_GUIDED_LIMITS = 222 , MAV_CMD_DO_ENGINE_CONTROL = 223 , MAV_CMD_DO_SET_MISSION_CURRENT = 224 , MAV_CMD_DO_LAST = 240 , MAV_CMD_PREFLIGHT_CALIBRATION = 241 , MAV_CMD_PREFLIGHT_SET_SENSOR_OFFSETS = 242 , MAV_CMD_PREFLIGHT_UAVCAN = 243 , MAV_CMD_PREFLIGHT_STORAGE = 245 , MAV_CMD_PREFLIGHT_REBOOT_SHUTDOWN = 246 , MAV_CMD_DO_UPGRADE = 247 , MAV_CMD_OVERRIDE_GOTO = 252 , MAV_CMD_MISSION_START = 300 , MAV_CMD_COMPONENT_ARM_DISARM = 400 , MAV_CMD_ILLUMINATOR_ON_OFF = 405 , MAV_CMD_GET_HOME_POSITION = 410 , MAV_CMD_INJECT_FAILURE = 420 , MAV_CMD_START_RX_PAIR = 500 , MAV_CMD_GET_MESSAGE_INTERVAL = 510 , MAV_CMD_SET_MESSAGE_INTERVAL = 511 , MAV_CMD_REQUEST_MESSAGE = 512 , MAV_CMD_REQUEST_PROTOCOL_VERSION = 519 , MAV_CMD_REQUEST_AUTOPILOT_CAPABILITIES = 520 , MAV_CMD_REQUEST_CAMERA_INFORMATION = 521 , MAV_CMD_REQUEST_CAMERA_SETTINGS = 522 , MAV_CMD_REQUEST_STORAGE_INFORMATION = 525 , MAV_CMD_STORAGE_FORMAT = 526 , MAV_CMD_REQUEST_CAMERA_CAPTURE_STATUS = 527 , MAV_CMD_REQUEST_FLIGHT_INFORMATION = 528 , MAV_CMD_RESET_CAMERA_SETTINGS = 529 , MAV_CMD_SET_CAMERA_MODE = 530 , MAV_CMD_SET_CAMERA_ZOOM = 531 , MAV_CMD_SET_CAMERA_FOCUS = 532 , MAV_CMD_JUMP_TAG = 600 , MAV_CMD_DO_JUMP_TAG = 601 , MAV_CMD_DO_GIMBAL_MANAGER_TILTPAN = 1000 , MAV_CMD_DO_GIMBAL_MANAGER_TRACK_POINT = 1001 , MAV_CMD_DO_GIMBAL_MANAGER_TRACK_RECTANGLE = 1002 , MAV_CMD_IMAGE_START_CAPTURE = 2000 , MAV_CMD_IMAGE_STOP_CAPTURE = 2001 , MAV_CMD_REQUEST_CAMERA_IMAGE_CAPTURE = 2002 , MAV_CMD_DO_TRIGGER_CONTROL = 2003 , MAV_CMD_VIDEO_START_CAPTURE = 2500 , MAV_CMD_VIDEO_STOP_CAPTURE = 2501 , MAV_CMD_VIDEO_START_STREAMING = 2502 , MAV_CMD_VIDEO_STOP_STREAMING = 2503 , MAV_CMD_REQUEST_VIDEO_STREAM_INFORMATION = 2504 , MAV_CMD_REQUEST_VIDEO_STREAM_STATUS = 2505 , MAV_CMD_LOGGING_START = 2510 , MAV_CMD_LOGGING_STOP = 2511 , MAV_CMD_AIRFRAME_CONFIGURATION = 2520 , MAV_CMD_CONTROL_HIGH_LATENCY = 2600 , MAV_CMD_PANORAMA_CREATE = 2800 , MAV_CMD_DO_VTOL_TRANSITION = 3000 , MAV_CMD_ARM_AUTHORIZATION_REQUEST = 3001 , MAV_CMD_SET_GUIDED_SUBMODE_STANDARD = 4000 , MAV_CMD_SET_GUIDED_SUBMODE_CIRCLE = 4001 , MAV_CMD_CONDITION_GATE = 4501 , MAV_CMD_NAV_FENCE_RETURN_POINT = 5000 , MAV_CMD_NAV_FENCE_POLYGON_VERTEX_INCLUSION = 5001 , MAV_CMD_NAV_FENCE_POLYGON_VERTEX_EXCLUSION = 5002 , MAV_CMD_NAV_FENCE_CIRCLE_INCLUSION = 5003 , MAV_CMD_NAV_FENCE_CIRCLE_EXCLUSION = 5004 , MAV_CMD_NAV_RALLY_POINT = 5100 , MAV_CMD_UAVCAN_GET_NODE_INFO = 5200 , MAV_CMD_PAYLOAD_PREPARE_DEPLOY = 30001 , MAV_CMD_FIXED_MAG_CAL_YAW = 42006 , MAV_CMD_PAYLOAD_CONTROL_DEPLOY = 30002 , MAV_CMD_WAYPOINT_USER_1 = 31000 , MAV_CMD_WAYPOINT_USER_2 = 31001 , MAV_CMD_WAYPOINT_USER_3 = 31002 , MAV_CMD_WAYPOINT_USER_4 = 31003 , MAV_CMD_WAYPOINT_USER_5 = 31004 , MAV_CMD_SPATIAL_USER_1 = 31005 , MAV_CMD_SPATIAL_USER_2 = 31006 , MAV_CMD_SPATIAL_USER_3 = 31007 , MAV_CMD_SPATIAL_USER_4 = 31008 , MAV_CMD_SPATIAL_USER_5 = 31009 , MAV_CMD_USER_1 = 31010 , MAV_CMD_USER_2 = 31011 , MAV_CMD_USER_3 = 31012 , MAV_CMD_USER_4 = 31013 , MAV_CMD_USER_5 = 31014 , MAV_CMD_FIXED_MAG_CAL = 42004 , MAV_CMD_FIXED_MAG_CAL_FIELD = 42005 , MAV_CMD_DO_START_MAG_CAL = 42424 , MAV_CMD_DO_ACCEPT_MAG_CAL = 42425 , MAV_CMD_DO_CANCEL_MAG_CAL = 42426 , MAV_CMD_ACCELCAL_VEHICLE_POS = 42429 , } impl Default for MavCmd { fn default ( ) -> Self { MavCmd :: MAV_CMD_NAV_WAYPOINT } } # [ derive ( Debug , Copy , Clone , PartialEq , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = \"serde\" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = \"serde\" , serde ( tag = \"type\" ) ) ] pub enum MavDataStream { MAV_DATA_STREAM_ALL = 0 , MAV_DATA_STREAM_RAW_SENSORS = 1 , MAV_DATA_STREAM_EXTENDED_STATUS = 2 , MAV_DATA_STREAM_RC_CHANNELS = 3 , MAV_DATA_STREAM_RAW_CONTROLLER = 4 , MAV_DATA_STREAM_POSITION = 6 , MAV_DATA_STREAM_EXTRA1 = 10 , MAV_DATA_STREAM_EXTRA2 = 11 , MAV_DATA_STREAM_EXTRA3 = 12 , } impl Default for MavDataStream { fn default ( ) -> Self { MavDataStream :: MAV_DATA_STREAM_ALL } } # [ derive ( Debug , Copy , Clone , PartialEq , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = \"serde\" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = \"serde\" , serde ( tag = \"type\" ) ) ] pub enum MavRoi { MAV_ROI_NONE = 0 , MAV_ROI_WPNEXT = 1 , MAV_ROI_WPINDEX = 2 , MAV_ROI_LOCATION = 3 , MAV_ROI_TARGET = 4 , } impl Default for MavRoi { fn default ( ) -> Self { MavRoi :: MAV_ROI_NONE } } # [ derive ( Debug , Copy , Clone , PartialEq , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = \"serde\" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = \"serde\" , serde ( tag = \"type\" ) ) ] pub enum MavCmdAck { MAV_CMD_ACK_OK = 0 , MAV_CMD_ACK_ERR_FAIL = 1 , MAV_CMD_ACK_ERR_ACCESS_DENIED = 2 , MAV_CMD_ACK_ERR_NOT_SUPPORTED = 3 , MAV_CMD_ACK_ERR_COORDINATE_FRAME_NOT_SUPPORTED = 4 , MAV_CMD_ACK_ERR_COORDINATES_OUT_OF_RANGE = 5 , MAV_CMD_ACK_ERR_X_LAT_OUT_OF_RANGE = 6 , MAV_CMD_ACK_ERR_Y_LON_OUT_OF_RANGE = 7 , MAV_CMD_ACK_ERR_Z_ALT_OUT_OF_RANGE = 8 , } impl Default for MavCmdAck { fn default ( ) -> Self { MavCmdAck :: MAV_CMD_ACK_OK } } # [ derive ( Debug , Copy , Clone , PartialEq , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = \"serde\" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = \"serde\" , serde ( tag = \"type\" ) ) ] pub enum MavParamType { MAV_PARAM_TYPE_UINT8 = 1 , MAV_PARAM_TYPE_INT8 = 2 , MAV_PARAM_TYPE_UINT16 = 3 , MAV_PARAM_TYPE_INT16 = 4 , MAV_PARAM_TYPE_UINT32 = 5 , MAV_PARAM_TYPE_INT32 = 6 , MAV_PARAM_TYPE_UINT64 = 7 , MAV_PARAM_TYPE_INT64 = 8 , MAV_PARAM_TYPE_REAL32 = 9 , MAV_PARAM_TYPE_REAL64 = 10 , } impl Default for MavParamType { fn default ( ) -> Self { MavParamType :: MAV_PARAM_TYPE_UINT8 } } # [ derive ( Debug , Copy , Clone , PartialEq , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = \"serde\" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = \"serde\" , serde ( tag = \"type\" ) ) ] pub enum MavParamExtType { MAV_PARAM_EXT_TYPE_UINT8 = 1 , MAV_PARAM_EXT_TYPE_INT8 = 2 , MAV_PARAM_EXT_TYPE_UINT16 = 3 , MAV_PARAM_EXT_TYPE_INT16 = 4 , MAV_PARAM_EXT_TYPE_UINT32 = 5 , MAV_PARAM_EXT_TYPE_INT32 = 6 , MAV_PARAM_EXT_TYPE_UINT64 = 7 , MAV_PARAM_EXT_TYPE_INT64 = 8 , MAV_PARAM_EXT_TYPE_REAL32 = 9 , MAV_PARAM_EXT_TYPE_REAL64 = 10 , MAV_PARAM_EXT_TYPE_CUSTOM = 11 , } impl Default for MavParamExtType { fn default ( ) -> Self { MavParamExtType :: MAV_PARAM_EXT_TYPE_UINT8 } } # [ derive ( Debug , Copy , Clone , PartialEq , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = \"serde\" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = \"serde\" , serde ( tag = \"type\" ) ) ] pub enum MavResult { MAV_RESULT_ACCEPTED = 0 , MAV_RESULT_TEMPORARILY_REJECTED = 1 , MAV_RESULT_DENIED = 2 , MAV_RESULT_UNSUPPORTED = 3 , MAV_RESULT_FAILED = 4 , MAV_RESULT_IN_PROGRESS = 5 , MAV_RESULT_CANCELLED = 6 , } impl Default for MavResult { fn default ( ) -> Self { MavResult :: MAV_RESULT_ACCEPTED } } # [ derive ( Debug , Copy , Clone , PartialEq , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = \"serde\" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = \"serde\" , serde ( tag = \"type\" ) ) ] pub enum MavMissionResult { MAV_MISSION_ACCEPTED = 0 , MAV_MISSION_ERROR = 1 , MAV_MISSION_UNSUPPORTED_FRAME = 2 , MAV_MISSION_UNSUPPORTED = 3 , MAV_MISSION_NO_SPACE = 4 , MAV_MISSION_INVALID = 5 , MAV_MISSION_INVALID_PARAM1 = 6 , MAV_MISSION_INVALID_PARAM2 = 7 , MAV_MISSION_INVALID_PARAM3 = 8 , MAV_MISSION_INVALID_PARAM4 = 9 , MAV_MISSION_INVALID_PARAM5_X = 10 , MAV_MISSION_INVALID_PARAM6_Y = 11 , MAV_MISSION_INVALID_PARAM7 = 12 , MAV_MISSION_INVALID_SEQUENCE = 13 , MAV_MISSION_DENIED = 14 , MAV_MISSION_OPERATION_CANCELLED = 15 , } impl Default for MavMissionResult { fn default ( ) -> Self { MavMissionResult :: MAV_MISSION_ACCEPTED } } # [ derive ( Debug , Copy , Clone , PartialEq , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = \"serde\" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = \"serde\" , serde ( tag = \"type\" ) ) ] pub enum MavSeverity { MAV_SEVERITY_EMERGENCY = 0 , MAV_SEVERITY_ALERT = 1 , MAV_SEVERITY_CRITICAL = 2 , MAV_SEVERITY_ERROR = 3 , MAV_SEVERITY_WARNING = 4 , MAV_SEVERITY_NOTICE = 5 , MAV_SEVERITY_INFO = 6 , MAV_SEVERITY_DEBUG = 7 , } impl Default for MavSeverity { fn default ( ) -> Self { MavSeverity :: MAV_SEVERITY_EMERGENCY } } bitflags ! { # [ cfg_attr ( feature = \"serde\" , derive ( Serialize , Deserialize ) ) ] pub struct MavPowerStatus : u16 { const MAV_POWER_STATUS_BRICK_VALID = 1 ; const MAV_POWER_STATUS_SERVO_VALID = 2 ; const MAV_POWER_STATUS_USB_CONNECTED = 4 ; const MAV_POWER_STATUS_PERIPH_OVERCURRENT = 8 ; const MAV_POWER_STATUS_PERIPH_HIPOWER_OVERCURRENT = 16 ; const MAV_POWER_STATUS_CHANGED = 32 ; } } impl Default for MavPowerStatus { fn default ( ) -> Self { MavPowerStatus :: MAV_POWER_STATUS_BRICK_VALID } } # [ derive ( Debug , Copy , Clone , PartialEq , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = \"serde\" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = \"serde\" , serde ( tag = \"type\" ) ) ] pub enum SerialControlDev { SERIAL_CONTROL_DEV_TELEM1 = 0 , SERIAL_CONTROL_DEV_TELEM2 = 1 , SERIAL_CONTROL_DEV_GPS1 = 2 , SERIAL_CONTROL_DEV_GPS2 = 3 , SERIAL_CONTROL_DEV_SHELL = 10 , SERIAL_CONTROL_SERIAL0 = 100 , SERIAL_CONTROL_SERIAL1 = 101 , SERIAL_CONTROL_SERIAL2 = 102 , SERIAL_CONTROL_SERIAL3 = 103 , SERIAL_CONTROL_SERIAL4 = 104 , SERIAL_CONTROL_SERIAL5 = 105 , SERIAL_CONTROL_SERIAL6 = 106 , SERIAL_CONTROL_SERIAL7 = 107 , SERIAL_CONTROL_SERIAL8 = 108 , SERIAL_CONTROL_SERIAL9 = 109 , } impl Default for SerialControlDev { fn default ( ) -> Self { SerialControlDev :: SERIAL_CONTROL_DEV_TELEM1 } } bitflags ! { # [ cfg_attr ( feature = \"serde\" , derive ( Serialize , Deserialize ) ) ] pub struct SerialControlFlag : u8 { const SERIAL_CONTROL_FLAG_REPLY = 1 ; const SERIAL_CONTROL_FLAG_RESPOND = 2 ; const SERIAL_CONTROL_FLAG_EXCLUSIVE = 4 ; const SERIAL_CONTROL_FLAG_BLOCKING = 8 ; const SERIAL_CONTROL_FLAG_MULTI = 16 ; } } impl Default for SerialControlFlag { fn default ( ) -> Self { SerialControlFlag :: SERIAL_CONTROL_FLAG_REPLY } } # [ derive ( Debug , Copy , Clone , PartialEq , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = \"serde\" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = \"serde\" , serde ( tag = \"type\" ) ) ] pub enum MavDistanceSensor { MAV_DISTANCE_SENSOR_LASER = 0 , MAV_DISTANCE_SENSOR_ULTRASOUND = 1 , MAV_DISTANCE_SENSOR_INFRARED = 2 , MAV_DISTANCE_SENSOR_RADAR = 3 , MAV_DISTANCE_SENSOR_UNKNOWN = 4 , } impl Default for MavDistanceSensor { fn default ( ) -> Self { MavDistanceSensor :: MAV_DISTANCE_SENSOR_LASER } } # [ derive ( Debug , Copy , Clone , PartialEq , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = \"serde\" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = \"serde\" , serde ( tag = \"type\" ) ) ] pub enum MavSensorOrientation { MAV_SENSOR_ROTATION_NONE = 0 , MAV_SENSOR_ROTATION_YAW_45 = 1 , MAV_SENSOR_ROTATION_YAW_90 = 2 , MAV_SENSOR_ROTATION_YAW_135 = 3 , MAV_SENSOR_ROTATION_YAW_180 = 4 , MAV_SENSOR_ROTATION_YAW_225 = 5 , MAV_SENSOR_ROTATION_YAW_270 = 6 , MAV_SENSOR_ROTATION_YAW_315 = 7 , MAV_SENSOR_ROTATION_ROLL_180 = 8 , MAV_SENSOR_ROTATION_ROLL_180_YAW_45 = 9 , MAV_SENSOR_ROTATION_ROLL_180_YAW_90 = 10 , MAV_SENSOR_ROTATION_ROLL_180_YAW_135 = 11 , MAV_SENSOR_ROTATION_PITCH_180 = 12 , MAV_SENSOR_ROTATION_ROLL_180_YAW_225 = 13 , MAV_SENSOR_ROTATION_ROLL_180_YAW_270 = 14 , MAV_SENSOR_ROTATION_ROLL_180_YAW_315 = 15 , MAV_SENSOR_ROTATION_ROLL_90 = 16 , MAV_SENSOR_ROTATION_ROLL_90_YAW_45 = 17 , MAV_SENSOR_ROTATION_ROLL_90_YAW_90 = 18 , MAV_SENSOR_ROTATION_ROLL_90_YAW_135 = 19 , MAV_SENSOR_ROTATION_ROLL_270 = 20 , MAV_SENSOR_ROTATION_ROLL_270_YAW_45 = 21 , MAV_SENSOR_ROTATION_ROLL_270_YAW_90 = 22 , MAV_SENSOR_ROTATION_ROLL_270_YAW_135 = 23 , MAV_SENSOR_ROTATION_PITCH_90 = 24 , MAV_SENSOR_ROTATION_PITCH_270 = 25 , MAV_SENSOR_ROTATION_PITCH_180_YAW_90 = 26 , MAV_SENSOR_ROTATION_PITCH_180_YAW_270 = 27 , MAV_SENSOR_ROTATION_ROLL_90_PITCH_90 = 28 , MAV_SENSOR_ROTATION_ROLL_180_PITCH_90 = 29 , MAV_SENSOR_ROTATION_ROLL_270_PITCH_90 = 30 , MAV_SENSOR_ROTATION_ROLL_90_PITCH_180 = 31 , MAV_SENSOR_ROTATION_ROLL_270_PITCH_180 = 32 , MAV_SENSOR_ROTATION_ROLL_90_PITCH_270 = 33 , MAV_SENSOR_ROTATION_ROLL_180_PITCH_270 = 34 , MAV_SENSOR_ROTATION_ROLL_270_PITCH_270 = 35 , MAV_SENSOR_ROTATION_ROLL_90_PITCH_180_YAW_90 = 36 , MAV_SENSOR_ROTATION_ROLL_90_YAW_270 = 37 , MAV_SENSOR_ROTATION_ROLL_90_PITCH_68_YAW_293 = 38 , MAV_SENSOR_ROTATION_PITCH_315 = 39 , MAV_SENSOR_ROTATION_ROLL_90_PITCH_315 = 40 , MAV_SENSOR_ROTATION_ROLL_270_YAW_180 = 41 , MAV_SENSOR_ROTATION_CUSTOM = 100 , } impl Default for MavSensorOrientation { fn default ( ) -> Self { MavSensorOrientation :: MAV_SENSOR_ROTATION_NONE } } bitflags ! { # [ cfg_attr ( feature = \"serde\" , derive ( Serialize , Deserialize ) ) ] pub struct MavProtocolCapability : u64 { const MAV_PROTOCOL_CAPABILITY_MISSION_FLOAT = 1 ; const MAV_PROTOCOL_CAPABILITY_PARAM_FLOAT = 2 ; const MAV_PROTOCOL_CAPABILITY_MISSION_INT = 4 ; const MAV_PROTOCOL_CAPABILITY_COMMAND_INT = 8 ; const MAV_PROTOCOL_CAPABILITY_PARAM_UNION = 16 ; const MAV_PROTOCOL_CAPABILITY_FTP = 32 ; const MAV_PROTOCOL_CAPABILITY_SET_ATTITUDE_TARGET = 64 ; const MAV_PROTOCOL_CAPABILITY_SET_POSITION_TARGET_LOCAL_NED = 128 ; const MAV_PROTOCOL_CAPABILITY_SET_POSITION_TARGET_GLOBAL_INT = 256 ; const MAV_PROTOCOL_CAPABILITY_TERRAIN = 512 ; const MAV_PROTOCOL_CAPABILITY_SET_ACTUATOR_TARGET = 1024 ; const MAV_PROTOCOL_CAPABILITY_FLIGHT_TERMINATION = 2048 ; const MAV_PROTOCOL_CAPABILITY_COMPASS_CALIBRATION = 4096 ; const MAV_PROTOCOL_CAPABILITY_MAVLINK2 = 8192 ; const MAV_PROTOCOL_CAPABILITY_MISSION_FENCE = 16384 ; const MAV_PROTOCOL_CAPABILITY_MISSION_RALLY = 32768 ; const MAV_PROTOCOL_CAPABILITY_FLIGHT_INFORMATION = 65536 ; } } impl Default for MavProtocolCapability { fn default ( ) -> Self { MavProtocolCapability :: MAV_PROTOCOL_CAPABILITY_MISSION_FLOAT } } # [ derive ( Debug , Copy , Clone , PartialEq , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = \"serde\" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = \"serde\" , serde ( tag = \"type\" ) ) ] pub enum MavMissionType { MAV_MISSION_TYPE_MISSION = 0 , MAV_MISSION_TYPE_FENCE = 1 , MAV_MISSION_TYPE_RALLY = 2 , MAV_MISSION_TYPE_ALL = 255 , } impl Default for MavMissionType { fn default ( ) -> Self { MavMissionType :: MAV_MISSION_TYPE_MISSION } } # [ derive ( Debug , Copy , Clone , PartialEq , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = \"serde\" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = \"serde\" , serde ( tag = \"type\" ) ) ] pub enum MavEstimatorType { MAV_ESTIMATOR_TYPE_UNKNOWN = 0 , MAV_ESTIMATOR_TYPE_NAIVE = 1 , MAV_ESTIMATOR_TYPE_VISION = 2 , MAV_ESTIMATOR_TYPE_VIO = 3 , MAV_ESTIMATOR_TYPE_GPS = 4 , MAV_ESTIMATOR_TYPE_GPS_INS = 5 , MAV_ESTIMATOR_TYPE_MOCAP = 6 , MAV_ESTIMATOR_TYPE_LIDAR = 7 , MAV_ESTIMATOR_TYPE_AUTOPILOT = 8 , } impl Default for MavEstimatorType { fn default ( ) -> Self { MavEstimatorType :: MAV_ESTIMATOR_TYPE_UNKNOWN } } # [ derive ( Debug , Copy , Clone , PartialEq , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = \"serde\" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = \"serde\" , serde ( tag = \"type\" ) ) ] pub enum MavBatteryType { MAV_BATTERY_TYPE_UNKNOWN = 0 , MAV_BATTERY_TYPE_LIPO = 1 , MAV_BATTERY_TYPE_LIFE = 2 , MAV_BATTERY_TYPE_LION = 3 , MAV_BATTERY_TYPE_NIMH = 4 , } impl Default for MavBatteryType { fn default ( ) -> Self { MavBatteryType :: MAV_BATTERY_TYPE_UNKNOWN } } # [ derive ( Debug , Copy , Clone , PartialEq , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = \"serde\" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = \"serde\" , serde ( tag = \"type\" ) ) ] pub enum MavBatteryFunction { MAV_BATTERY_FUNCTION_UNKNOWN = 0 , MAV_BATTERY_FUNCTION_ALL = 1 , MAV_BATTERY_FUNCTION_PROPULSION = 2 , MAV_BATTERY_FUNCTION_AVIONICS = 3 , MAV_BATTERY_TYPE_PAYLOAD = 4 , } impl Default for MavBatteryFunction { fn default ( ) -> Self { MavBatteryFunction :: MAV_BATTERY_FUNCTION_UNKNOWN } } # [ derive ( Debug , Copy , Clone , PartialEq , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = \"serde\" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = \"serde\" , serde ( tag = \"type\" ) ) ] pub enum MavBatteryChargeState { MAV_BATTERY_CHARGE_STATE_UNDEFINED = 0 , MAV_BATTERY_CHARGE_STATE_OK = 1 , MAV_BATTERY_CHARGE_STATE_LOW = 2 , MAV_BATTERY_CHARGE_STATE_CRITICAL = 3 , MAV_BATTERY_CHARGE_STATE_EMERGENCY = 4 , MAV_BATTERY_CHARGE_STATE_FAILED = 5 , MAV_BATTERY_CHARGE_STATE_UNHEALTHY = 6 , MAV_BATTERY_CHARGE_STATE_CHARGING = 7 , } impl Default for MavBatteryChargeState { fn default ( ) -> Self { MavBatteryChargeState :: MAV_BATTERY_CHARGE_STATE_UNDEFINED } } bitflags ! { # [ cfg_attr ( feature = \"serde\" , derive ( Serialize , Deserialize ) ) ] pub struct MavSmartBatteryFault : i32 { const MAV_SMART_BATTERY_FAULT_DEEP_DISCHARGE = 1 ; const MAV_SMART_BATTERY_FAULT_SPIKES = 2 ; const MAV_SMART_BATTERY_FAULT_SINGLE_CELL_FAIL = 4 ; const MAV_SMART_BATTERY_FAULT_OVER_CURRENT = 8 ; const MAV_SMART_BATTERY_FAULT_OVER_TEMPERATURE = 16 ; const MAV_SMART_BATTERY_FAULT_UNDER_TEMPERATURE = 32 ; } } impl Default for MavSmartBatteryFault { fn default ( ) -> Self { MavSmartBatteryFault :: MAV_SMART_BATTERY_FAULT_DEEP_DISCHARGE } } bitflags ! { # [ cfg_attr ( feature = \"serde\" , derive ( Serialize , Deserialize ) ) ] pub struct MavGeneratorStatusFlag : u64 { const MAV_GENERATOR_STATUS_FLAG_OFF = 1 ; const MAV_GENERATOR_STATUS_FLAG_READY = 2 ; const MAV_GENERATOR_STATUS_FLAG_GENERATING = 4 ; const MAV_GENERATOR_STATUS_FLAG_CHARGING = 8 ; const MAV_GENERATOR_STATUS_FLAG_REDUCED_POWER = 16 ; const MAV_GENERATOR_STATUS_FLAG_MAXPOWER = 32 ; const MAV_GENERATOR_STATUS_FLAG_OVERTEMP_WARNING = 64 ; const MAV_GENERATOR_STATUS_FLAG_OVERTEMP_FAULT = 128 ; const MAV_GENERATOR_STATUS_FLAG_ELECTRONICS_OVERTEMP_WARNING = 256 ; const MAV_GENERATOR_STATUS_FLAG_ELECTRONICS_OVERTEMP_FAULT = 512 ; const MAV_GENERATOR_STATUS_FLAG_ELECTRONICS_FAULT = 1024 ; const MAV_GENERATOR_STATUS_FLAG_POWERSOURCE_FAULT = 2048 ; const MAV_GENERATOR_STATUS_FLAG_COMMUNICATION_WARNING = 4096 ; const MAV_GENERATOR_STATUS_FLAG_COOLING_WARNING = 8192 ; const MAV_GENERATOR_STATUS_FLAG_POWER_RAIL_FAULT = 16384 ; const MAV_GENERATOR_STATUS_FLAG_OVERCURRENT_FAULT = 32768 ; const MAV_GENERATOR_STATUS_FLAG_BATTERY_OVERCHARGE_CURRENT_FAULT = 65536 ; const MAV_GENERATOR_STATUS_FLAG_OVERVOLTAGE_FAULT = 131072 ; const MAV_GENERATOR_STATUS_FLAG_BATTERY_UNDERVOLT_FAULT = 262144 ; const MAV_GENERATOR_STATUS_FLAG_START_INHIBITED = 524288 ; const MAV_GENERATOR_STATUS_FLAG_MAINTENANCE_REQUIRED = 1048576 ; } } impl Default for MavGeneratorStatusFlag { fn default ( ) -> Self { MavGeneratorStatusFlag :: MAV_GENERATOR_STATUS_FLAG_OFF } } # [ derive ( Debug , Copy , Clone , PartialEq , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = \"serde\" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = \"serde\" , serde ( tag = \"type\" ) ) ] pub enum MavVtolState { MAV_VTOL_STATE_UNDEFINED = 0 , MAV_VTOL_STATE_TRANSITION_TO_FW = 1 , MAV_VTOL_STATE_TRANSITION_TO_MC = 2 , MAV_VTOL_STATE_MC = 3 , MAV_VTOL_STATE_FW = 4 , } impl Default for MavVtolState { fn default ( ) -> Self { MavVtolState :: MAV_VTOL_STATE_UNDEFINED } } # [ derive ( Debug , Copy , Clone , PartialEq , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = \"serde\" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = \"serde\" , serde ( tag = \"type\" ) ) ] pub enum MavLandedState { MAV_LANDED_STATE_UNDEFINED = 0 , MAV_LANDED_STATE_ON_GROUND = 1 , MAV_LANDED_STATE_IN_AIR = 2 , MAV_LANDED_STATE_TAKEOFF = 3 , MAV_LANDED_STATE_LANDING = 4 , } impl Default for MavLandedState { fn default ( ) -> Self { MavLandedState :: MAV_LANDED_STATE_UNDEFINED } } # [ derive ( Debug , Copy , Clone , PartialEq , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = \"serde\" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = \"serde\" , serde ( tag = \"type\" ) ) ] pub enum AdsbAltitudeType { ADSB_ALTITUDE_TYPE_PRESSURE_QNH = 0 , ADSB_ALTITUDE_TYPE_GEOMETRIC = 1 , } impl Default for AdsbAltitudeType { fn default ( ) -> Self { AdsbAltitudeType :: ADSB_ALTITUDE_TYPE_PRESSURE_QNH } } # [ derive ( Debug , Copy , Clone , PartialEq , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = \"serde\" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = \"serde\" , serde ( tag = \"type\" ) ) ] pub enum AdsbEmitterType { ADSB_EMITTER_TYPE_NO_INFO = 0 , ADSB_EMITTER_TYPE_LIGHT = 1 , ADSB_EMITTER_TYPE_SMALL = 2 , ADSB_EMITTER_TYPE_LARGE = 3 , ADSB_EMITTER_TYPE_HIGH_VORTEX_LARGE = 4 , ADSB_EMITTER_TYPE_HEAVY = 5 , ADSB_EMITTER_TYPE_HIGHLY_MANUV = 6 , ADSB_EMITTER_TYPE_ROTOCRAFT = 7 , ADSB_EMITTER_TYPE_UNASSIGNED = 8 , ADSB_EMITTER_TYPE_GLIDER = 9 , ADSB_EMITTER_TYPE_LIGHTER_AIR = 10 , ADSB_EMITTER_TYPE_PARACHUTE = 11 , ADSB_EMITTER_TYPE_ULTRA_LIGHT = 12 , ADSB_EMITTER_TYPE_UNASSIGNED2 = 13 , ADSB_EMITTER_TYPE_UAV = 14 , ADSB_EMITTER_TYPE_SPACE = 15 , ADSB_EMITTER_TYPE_UNASSGINED3 = 16 , ADSB_EMITTER_TYPE_EMERGENCY_SURFACE = 17 , ADSB_EMITTER_TYPE_SERVICE_SURFACE = 18 , ADSB_EMITTER_TYPE_POINT_OBSTACLE = 19 , } impl Default for AdsbEmitterType { fn default ( ) -> Self { AdsbEmitterType :: ADSB_EMITTER_TYPE_NO_INFO } } bitflags ! { # [ cfg_attr ( feature = \"serde\" , derive ( Serialize , Deserialize ) ) ] pub struct AdsbFlags : u16 { const ADSB_FLAGS_VALID_COORDS = 1 ; const ADSB_FLAGS_VALID_ALTITUDE = 2 ; const ADSB_FLAGS_VALID_HEADING = 4 ; const ADSB_FLAGS_VALID_VELOCITY = 8 ; const ADSB_FLAGS_VALID_CALLSIGN = 16 ; const ADSB_FLAGS_VALID_SQUAWK = 32 ; const ADSB_FLAGS_SIMULATED = 64 ; const ADSB_FLAGS_VERTICAL_VELOCITY_VALID = 128 ; const ADSB_FLAGS_BARO_VALID = 256 ; const ADSB_FLAGS_SOURCE_UAT = 32768 ; } } impl Default for AdsbFlags { fn default ( ) -> Self { AdsbFlags :: ADSB_FLAGS_VALID_COORDS } } # [ derive ( Debug , Copy , Clone , PartialEq , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = \"serde\" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = \"serde\" , serde ( tag = \"type\" ) ) ] pub enum MavDoRepositionFlags { MAV_DO_REPOSITION_FLAGS_CHANGE_MODE = 1 , } impl Default for MavDoRepositionFlags { fn default ( ) -> Self { MavDoRepositionFlags :: MAV_DO_REPOSITION_FLAGS_CHANGE_MODE } } bitflags ! { # [ cfg_attr ( feature = \"serde\" , derive ( Serialize , Deserialize ) ) ] pub struct EstimatorStatusFlags : u16 { const ESTIMATOR_ATTITUDE = 1 ; const ESTIMATOR_VELOCITY_HORIZ = 2 ; const ESTIMATOR_VELOCITY_VERT = 4 ; const ESTIMATOR_POS_HORIZ_REL = 8 ; const ESTIMATOR_POS_HORIZ_ABS = 16 ; const ESTIMATOR_POS_VERT_ABS = 32 ; const ESTIMATOR_POS_VERT_AGL = 64 ; const ESTIMATOR_CONST_POS_MODE = 128 ; const ESTIMATOR_PRED_POS_HORIZ_REL = 256 ; const ESTIMATOR_PRED_POS_HORIZ_ABS = 512 ; const ESTIMATOR_GPS_GLITCH = 1024 ; const ESTIMATOR_ACCEL_ERROR = 2048 ; } } impl Default for EstimatorStatusFlags { fn default ( ) -> Self { EstimatorStatusFlags :: ESTIMATOR_ATTITUDE } } # [ derive ( Debug , Copy , Clone , PartialEq , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = \"serde\" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = \"serde\" , serde ( tag = \"type\" ) ) ] pub enum MotorTestOrder { MOTOR_TEST_ORDER_DEFAULT = 0 , MOTOR_TEST_ORDER_SEQUENCE = 1 , MOTOR_TEST_ORDER_BOARD = 2 , } impl Default for MotorTestOrder { fn default ( ) -> Self { MotorTestOrder :: MOTOR_TEST_ORDER_DEFAULT } } # [ derive ( Debug , Copy , Clone , PartialEq , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = \"serde\" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = \"serde\" , serde ( tag = \"type\" ) ) ] pub enum MotorTestThrottleType { MOTOR_TEST_THROTTLE_PERCENT = 0 , MOTOR_TEST_THROTTLE_PWM = 1 , MOTOR_TEST_THROTTLE_PILOT = 2 , MOTOR_TEST_COMPASS_CAL = 3 , } impl Default for MotorTestThrottleType { fn default ( ) -> Self { MotorTestThrottleType :: MOTOR_TEST_THROTTLE_PERCENT } } bitflags ! { # [ cfg_attr ( feature = \"serde\" , derive ( Serialize , Deserialize ) ) ] pub struct GpsInputIgnoreFlags : u16 { const GPS_INPUT_IGNORE_FLAG_ALT = 1 ; const GPS_INPUT_IGNORE_FLAG_HDOP = 2 ; const GPS_INPUT_IGNORE_FLAG_VDOP = 4 ; const GPS_INPUT_IGNORE_FLAG_VEL_HORIZ = 8 ; const GPS_INPUT_IGNORE_FLAG_VEL_VERT = 16 ; const GPS_INPUT_IGNORE_FLAG_SPEED_ACCURACY = 32 ; const GPS_INPUT_IGNORE_FLAG_HORIZONTAL_ACCURACY = 64 ; const GPS_INPUT_IGNORE_FLAG_VERTICAL_ACCURACY = 128 ; } } impl Default for GpsInputIgnoreFlags { fn default ( ) -> Self { GpsInputIgnoreFlags :: GPS_INPUT_IGNORE_FLAG_ALT } } # [ derive ( Debug , Copy , Clone , PartialEq , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = \"serde\" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = \"serde\" , serde ( tag = \"type\" ) ) ] pub enum MavCollisionAction { MAV_COLLISION_ACTION_NONE = 0 , MAV_COLLISION_ACTION_REPORT = 1 , MAV_COLLISION_ACTION_ASCEND_OR_DESCEND = 2 , MAV_COLLISION_ACTION_MOVE_HORIZONTALLY = 3 , MAV_COLLISION_ACTION_MOVE_PERPENDICULAR = 4 , MAV_COLLISION_ACTION_RTL = 5 , MAV_COLLISION_ACTION_HOVER = 6 , } impl Default for MavCollisionAction { fn default ( ) -> Self { MavCollisionAction :: MAV_COLLISION_ACTION_NONE } } # [ derive ( Debug , Copy , Clone , PartialEq , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = \"serde\" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = \"serde\" , serde ( tag = \"type\" ) ) ] pub enum MavCollisionThreatLevel { MAV_COLLISION_THREAT_LEVEL_NONE = 0 , MAV_COLLISION_THREAT_LEVEL_LOW = 1 , MAV_COLLISION_THREAT_LEVEL_HIGH = 2 , } impl Default for MavCollisionThreatLevel { fn default ( ) -> Self { MavCollisionThreatLevel :: MAV_COLLISION_THREAT_LEVEL_NONE } } # [ derive ( Debug , Copy , Clone , PartialEq , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = \"serde\" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = \"serde\" , serde ( tag = \"type\" ) ) ] pub enum MavCollisionSrc { MAV_COLLISION_SRC_ADSB = 0 , MAV_COLLISION_SRC_MAVLINK_GPS_GLOBAL_INT = 1 , } impl Default for MavCollisionSrc { fn default ( ) -> Self { MavCollisionSrc :: MAV_COLLISION_SRC_ADSB } } # [ derive ( Debug , Copy , Clone , PartialEq , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = \"serde\" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = \"serde\" , serde ( tag = \"type\" ) ) ] pub enum GpsFixType { GPS_FIX_TYPE_NO_GPS = 0 , GPS_FIX_TYPE_NO_FIX = 1 , GPS_FIX_TYPE_2D_FIX = 2 , GPS_FIX_TYPE_3D_FIX = 3 , GPS_FIX_TYPE_DGPS = 4 , GPS_FIX_TYPE_RTK_FLOAT = 5 , GPS_FIX_TYPE_RTK_FIXED = 6 , GPS_FIX_TYPE_STATIC = 7 , GPS_FIX_TYPE_PPP = 8 , } impl Default for GpsFixType { fn default ( ) -> Self { GpsFixType :: GPS_FIX_TYPE_NO_GPS } } # [ derive ( Debug , Copy , Clone , PartialEq , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = \"serde\" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = \"serde\" , serde ( tag = \"type\" ) ) ] pub enum RtkBaselineCoordinateSystem { RTK_BASELINE_COORDINATE_SYSTEM_ECEF = 0 , RTK_BASELINE_COORDINATE_SYSTEM_NED = 1 , } impl Default for RtkBaselineCoordinateSystem { fn default ( ) -> Self { RtkBaselineCoordinateSystem :: RTK_BASELINE_COORDINATE_SYSTEM_ECEF } } # [ derive ( Debug , Copy , Clone , PartialEq , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = \"serde\" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = \"serde\" , serde ( tag = \"type\" ) ) ] pub enum LandingTargetType { LANDING_TARGET_TYPE_LIGHT_BEACON = 0 , LANDING_TARGET_TYPE_RADIO_BEACON = 1 , LANDING_TARGET_TYPE_VISION_FIDUCIAL = 2 , LANDING_TARGET_TYPE_VISION_OTHER = 3 , } impl Default for LandingTargetType { fn default ( ) -> Self { LandingTargetType :: LANDING_TARGET_TYPE_LIGHT_BEACON } } # [ derive ( Debug , Copy , Clone , PartialEq , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = \"serde\" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = \"serde\" , serde ( tag = \"type\" ) ) ] pub enum VtolTransitionHeading { VTOL_TRANSITION_HEADING_VEHICLE_DEFAULT = 0 , VTOL_TRANSITION_HEADING_NEXT_WAYPOINT = 1 , VTOL_TRANSITION_HEADING_TAKEOFF = 2 , VTOL_TRANSITION_HEADING_SPECIFIED = 3 , VTOL_TRANSITION_HEADING_ANY = 4 , } impl Default for VtolTransitionHeading { fn default ( ) -> Self { VtolTransitionHeading :: VTOL_TRANSITION_HEADING_VEHICLE_DEFAULT } } bitflags ! { # [ cfg_attr ( feature = \"serde\" , derive ( Serialize , Deserialize ) ) ] pub struct CameraCapFlags : u32 { const CAMERA_CAP_FLAGS_CAPTURE_VIDEO = 1 ; const CAMERA_CAP_FLAGS_CAPTURE_IMAGE = 2 ; const CAMERA_CAP_FLAGS_HAS_MODES = 4 ; const CAMERA_CAP_FLAGS_CAN_CAPTURE_IMAGE_IN_VIDEO_MODE = 8 ; const CAMERA_CAP_FLAGS_CAN_CAPTURE_VIDEO_IN_IMAGE_MODE = 16 ; const CAMERA_CAP_FLAGS_HAS_IMAGE_SURVEY_MODE = 32 ; const CAMERA_CAP_FLAGS_HAS_BASIC_ZOOM = 64 ; const CAMERA_CAP_FLAGS_HAS_BASIC_FOCUS = 128 ; const CAMERA_CAP_FLAGS_HAS_VIDEO_STREAM = 256 ; } } impl Default for CameraCapFlags { fn default ( ) -> Self { CameraCapFlags :: CAMERA_CAP_FLAGS_CAPTURE_VIDEO } } # [ derive ( Debug , Copy , Clone , PartialEq , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = \"serde\" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = \"serde\" , serde ( tag = \"type\" ) ) ] pub enum VideoStreamStatusFlags { VIDEO_STREAM_STATUS_FLAGS_RUNNING = 1 , VIDEO_STREAM_STATUS_FLAGS_THERMAL = 2 , } impl Default for VideoStreamStatusFlags { fn default ( ) -> Self { VideoStreamStatusFlags :: VIDEO_STREAM_STATUS_FLAGS_RUNNING } } # [ derive ( Debug , Copy , Clone , PartialEq , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = \"serde\" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = \"serde\" , serde ( tag = \"type\" ) ) ] pub enum VideoStreamType { VIDEO_STREAM_TYPE_RTSP = 0 , VIDEO_STREAM_TYPE_RTPUDP = 1 , VIDEO_STREAM_TYPE_TCP_MPEG = 2 , VIDEO_STREAM_TYPE_MPEG_TS_H264 = 3 , } impl Default for VideoStreamType { fn default ( ) -> Self { VideoStreamType :: VIDEO_STREAM_TYPE_RTSP } } # [ derive ( Debug , Copy , Clone , PartialEq , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = \"serde\" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = \"serde\" , serde ( tag = \"type\" ) ) ] pub enum CameraZoomType { ZOOM_TYPE_STEP = 0 , ZOOM_TYPE_CONTINUOUS = 1 , ZOOM_TYPE_RANGE = 2 , ZOOM_TYPE_FOCAL_LENGTH = 3 , } impl Default for CameraZoomType { fn default ( ) -> Self { CameraZoomType :: ZOOM_TYPE_STEP } } # [ derive ( Debug , Copy , Clone , PartialEq , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = \"serde\" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = \"serde\" , serde ( tag = \"type\" ) ) ] pub enum SetFocusType { FOCUS_TYPE_STEP = 0 , FOCUS_TYPE_CONTINUOUS = 1 , FOCUS_TYPE_RANGE = 2 , FOCUS_TYPE_METERS = 3 , } impl Default for SetFocusType { fn default ( ) -> Self { SetFocusType :: FOCUS_TYPE_STEP } } # [ derive ( Debug , Copy , Clone , PartialEq , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = \"serde\" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = \"serde\" , serde ( tag = \"type\" ) ) ] pub enum ParamAck { PARAM_ACK_ACCEPTED = 0 , PARAM_ACK_VALUE_UNSUPPORTED = 1 , PARAM_ACK_FAILED = 2 , PARAM_ACK_IN_PROGRESS = 3 , } impl Default for ParamAck { fn default ( ) -> Self { ParamAck :: PARAM_ACK_ACCEPTED } } # [ derive ( Debug , Copy , Clone , PartialEq , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = \"serde\" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = \"serde\" , serde ( tag = \"type\" ) ) ] pub enum CameraMode { CAMERA_MODE_IMAGE = 0 , CAMERA_MODE_VIDEO = 1 , CAMERA_MODE_IMAGE_SURVEY = 2 , } impl Default for CameraMode { fn default ( ) -> Self { CameraMode :: CAMERA_MODE_IMAGE } } # [ derive ( Debug , Copy , Clone , PartialEq , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = \"serde\" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = \"serde\" , serde ( tag = \"type\" ) ) ] pub enum MavArmAuthDeniedReason { MAV_ARM_AUTH_DENIED_REASON_GENERIC = 0 , MAV_ARM_AUTH_DENIED_REASON_NONE = 1 , MAV_ARM_AUTH_DENIED_REASON_INVALID_WAYPOINT = 2 , MAV_ARM_AUTH_DENIED_REASON_TIMEOUT = 3 , MAV_ARM_AUTH_DENIED_REASON_AIRSPACE_IN_USE = 4 , MAV_ARM_AUTH_DENIED_REASON_BAD_WEATHER = 5 , } impl Default for MavArmAuthDeniedReason { fn default ( ) -> Self { MavArmAuthDeniedReason :: MAV_ARM_AUTH_DENIED_REASON_GENERIC } } # [ derive ( Debug , Copy , Clone , PartialEq , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = \"serde\" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = \"serde\" , serde ( tag = \"type\" ) ) ] pub enum RcType { RC_TYPE_SPEKTRUM_DSM2 = 0 , RC_TYPE_SPEKTRUM_DSMX = 1 , } impl Default for RcType { fn default ( ) -> Self { RcType :: RC_TYPE_SPEKTRUM_DSM2 } } bitflags ! { # [ cfg_attr ( feature = \"serde\" , derive ( Serialize , Deserialize ) ) ] pub struct PositionTargetTypemask : u16 { const POSITION_TARGET_TYPEMASK_X_IGNORE = 1 ; const POSITION_TARGET_TYPEMASK_Y_IGNORE = 2 ; const POSITION_TARGET_TYPEMASK_Z_IGNORE = 4 ; const POSITION_TARGET_TYPEMASK_VX_IGNORE = 8 ; const POSITION_TARGET_TYPEMASK_VY_IGNORE = 16 ; const POSITION_TARGET_TYPEMASK_VZ_IGNORE = 32 ; const POSITION_TARGET_TYPEMASK_AX_IGNORE = 64 ; const POSITION_TARGET_TYPEMASK_AY_IGNORE = 128 ; const POSITION_TARGET_TYPEMASK_AZ_IGNORE = 256 ; const POSITION_TARGET_TYPEMASK_FORCE_SET = 512 ; const POSITION_TARGET_TYPEMASK_YAW_IGNORE = 1024 ; const POSITION_TARGET_TYPEMASK_YAW_RATE_IGNORE = 2048 ; } } impl Default for PositionTargetTypemask { fn default ( ) -> Self { PositionTargetTypemask :: POSITION_TARGET_TYPEMASK_X_IGNORE } } # [ derive ( Debug , Copy , Clone , PartialEq , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = \"serde\" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = \"serde\" , serde ( tag = \"type\" ) ) ] pub enum UtmFlightState { UTM_FLIGHT_STATE_UNKNOWN = 1 , UTM_FLIGHT_STATE_GROUND = 2 , UTM_FLIGHT_STATE_AIRBORNE = 3 , UTM_FLIGHT_STATE_EMERGENCY = 16 , UTM_FLIGHT_STATE_NOCTRL = 32 , } impl Default for UtmFlightState { fn default ( ) -> Self { UtmFlightState :: UTM_FLIGHT_STATE_UNKNOWN } } bitflags ! { # [ cfg_attr ( feature = \"serde\" , derive ( Serialize , Deserialize ) ) ] pub struct UtmDataAvailFlags : u8 { const UTM_DATA_AVAIL_FLAGS_TIME_VALID = 1 ; const UTM_DATA_AVAIL_FLAGS_UAS_ID_AVAILABLE = 2 ; const UTM_DATA_AVAIL_FLAGS_POSITION_AVAILABLE = 4 ; const UTM_DATA_AVAIL_FLAGS_ALTITUDE_AVAILABLE = 8 ; const UTM_DATA_AVAIL_FLAGS_RELATIVE_ALTITUDE_AVAILABLE = 16 ; const UTM_DATA_AVAIL_FLAGS_HORIZONTAL_VELO_AVAILABLE = 32 ; const UTM_DATA_AVAIL_FLAGS_VERTICAL_VELO_AVAILABLE = 64 ; const UTM_DATA_AVAIL_FLAGS_NEXT_WAYPOINT_AVAILABLE = 128 ; } } impl Default for UtmDataAvailFlags { fn default ( ) -> Self { UtmDataAvailFlags :: UTM_DATA_AVAIL_FLAGS_TIME_VALID } } # [ derive ( Debug , Copy , Clone , PartialEq , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = \"serde\" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = \"serde\" , serde ( tag = \"type\" [INFO] [stderr] error: could not compile `mavlink` (lib); 123 warnings emitted [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/bin/rustc --crate-name mavlink --edition=2018 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="common"' --cfg 'feature="default"' --cfg 'feature="direct-serial"' --cfg 'feature="serde"' --cfg 'feature="serial"' --cfg 'feature="std"' --cfg 'feature="tcp"' --cfg 'feature="udp"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("all-dialects", "ardupilotmega", "asluav", "autoquad", "common", "default", "direct-serial", "embedded", "embedded-hal", "emit-description", "emit-extensions", "icarous", "matrixpilot", "minimal", "nb", "paparazzi", "python_array_test", "serde", "serial", "slugs", "standard", "std", "tcp", "test", "ualberta", "uavionix", "udp"))' -C metadata=f2550fb8c3b743d4 -C extra-filename=-4ac5ff386f8e167d --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern bitflags=/opt/rustwide/target/debug/deps/libbitflags-6dcfbc6bad33d8b2.rmeta --extern byteorder=/opt/rustwide/target/debug/deps/libbyteorder-4d231af3e0c2f894.rmeta --extern bytes=/opt/rustwide/target/debug/deps/libbytes-810e499bc229ede4.rmeta --extern crc_any=/opt/rustwide/target/debug/deps/libcrc_any-70ccac8cf3a4b64c.rmeta --extern num_derive=/opt/rustwide/target/debug/deps/libnum_derive-b04bd7e4c2a35dba.so --extern num_traits=/opt/rustwide/target/debug/deps/libnum_traits-167c1a5db5e18d69.rmeta --extern serde=/opt/rustwide/target/debug/deps/libserde-d298f9be79f76817.rmeta --extern serial=/opt/rustwide/target/debug/deps/libserial-b181baee48a0725b.rmeta --cap-lints=forbid` (signal: 9, SIGKILL: kill) [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] {"$message_type":"diagnostic","message":"non-local `impl` definition, `impl` blocks should be written at the same level as their item","code":{"code":"non_local_definitions","explanation":null},"level":"warning","spans":[{"file_name":"/opt/rustwide/target/debug/build/mavlink-8c5b69b3bee13e77/out/common.rs","byte_start":71328,"byte_end":71343,"line_start":2,"line_end":2,"column_start":71274,"column_end":71289,"is_primary":false,"text":[{"text":" use crate :: MavlinkVersion ; # [ allow ( unused_imports ) ] use bytes :: { Buf , BufMut , Bytes , BytesMut } ; # [ allow ( unused_imports ) ] use num_derive :: FromPrimitive ; # [ allow ( unused_imports ) ] use num_traits :: FromPrimitive ; # [ allow ( unused_imports ) ] use num_derive :: ToPrimitive ; # [ allow ( unused_imports ) ] use num_traits :: ToPrimitive ; # [ allow ( unused_imports ) ] use bitflags :: bitflags ; use crate :: { Message , error :: * } ; # [ allow ( unused_imports ) ] use crate :: { } ; # [ cfg ( feature = \"serde\" ) ] use serde :: { Serialize , Deserialize } ; # [ cfg ( not ( feature = \"std\" ) ) ] use alloc :: vec :: Vec ; # [ cfg ( not ( feature = \"std\" ) ) ] use alloc :: string :: ToString ; # [ derive ( Debug , Copy , Clone , PartialEq , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = \"serde\" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = \"serde\" , serde ( tag = \"type\" ) ) ] pub enum MavAutopilot { MAV_AUTOPILOT_GENERIC = 0 , MAV_AUTOPILOT_RESERVED = 1 , MAV_AUTOPILOT_SLUGS = 2 , MAV_AUTOPILOT_ARDUPILOTMEGA = 3 , MAV_AUTOPILOT_OPENPILOT = 4 , MAV_AUTOPILOT_GENERIC_WAYPOINTS_ONLY = 5 , MAV_AUTOPILOT_GENERIC_WAYPOINTS_AND_SIMPLE_NAVIGATION_ONLY = 6 , MAV_AUTOPILOT_GENERIC_MISSION_FULL = 7 , MAV_AUTOPILOT_INVALID = 8 , MAV_AUTOPILOT_PPZ = 9 , MAV_AUTOPILOT_UDB = 10 , MAV_AUTOPILOT_FP = 11 , MAV_AUTOPILOT_PX4 = 12 , MAV_AUTOPILOT_SMACCMPILOT = 13 , MAV_AUTOPILOT_AUTOQUAD = 14 , MAV_AUTOPILOT_ARMAZILA = 15 , MAV_AUTOPILOT_AEROB = 16 , MAV_AUTOPILOT_ASLUAV = 17 , MAV_AUTOPILOT_SMARTAP = 18 , MAV_AUTOPILOT_AIRRAILS = 19 , } impl Default for MavAutopilot { fn default ( ) -> Self { MavAutopilot :: MAV_AUTOPILOT_GENERIC } } # [ derive ( Debug , Copy , Clone , PartialEq , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = \"serde\" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = \"serde\" , serde ( tag = \"type\" ) ) ] pub enum MavType { MAV_TYPE_GENERIC = 0 , MAV_TYPE_FIXED_WING = 1 , MAV_TYPE_QUADROTOR = 2 , MAV_TYPE_COAXIAL = 3 , MAV_TYPE_HELICOPTER = 4 , MAV_TYPE_ANTENNA_TRACKER = 5 , MAV_TYPE_GCS = 6 , MAV_TYPE_AIRSHIP = 7 , MAV_TYPE_FREE_BALLOON = 8 , MAV_TYPE_ROCKET = 9 , MAV_TYPE_GROUND_ROVER = 10 , MAV_TYPE_SURFACE_BOAT = 11 , MAV_TYPE_SUBMARINE = 12 , MAV_TYPE_HEXAROTOR = 13 , MAV_TYPE_OCTOROTOR = 14 , MAV_TYPE_TRICOPTER = 15 , MAV_TYPE_FLAPPING_WING = 16 , MAV_TYPE_KITE = 17 , MAV_TYPE_ONBOARD_CONTROLLER = 18 , MAV_TYPE_VTOL_DUOROTOR = 19 , MAV_TYPE_VTOL_QUADROTOR = 20 , MAV_TYPE_VTOL_TILTROTOR = 21 , MAV_TYPE_VTOL_RESERVED2 = 22 , MAV_TYPE_VTOL_RESERVED3 = 23 , MAV_TYPE_VTOL_RESERVED4 = 24 , MAV_TYPE_VTOL_RESERVED5 = 25 , MAV_TYPE_GIMBAL = 26 , MAV_TYPE_ADSB = 27 , MAV_TYPE_PARAFOIL = 28 , MAV_TYPE_DODECAROTOR = 29 , MAV_TYPE_CAMERA = 30 , MAV_TYPE_CHARGING_STATION = 31 , MAV_TYPE_FLARM = 32 , MAV_TYPE_SERVO = 33 , MAV_TYPE_ODID = 34 , } impl Default for MavType { fn default ( ) -> Self { MavType :: MAV_TYPE_GENERIC } } # [ derive ( Debug , Copy , Clone , PartialEq , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = \"serde\" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = \"serde\" , serde ( tag = \"type\" ) ) ] pub enum FirmwareVersionType { FIRMWARE_VERSION_TYPE_DEV = 0 , FIRMWARE_VERSION_TYPE_ALPHA = 64 , FIRMWARE_VERSION_TYPE_BETA = 128 , FIRMWARE_VERSION_TYPE_RC = 192 , FIRMWARE_VERSION_TYPE_OFFICIAL = 255 , } impl Default for FirmwareVersionType { fn default ( ) -> Self { FirmwareVersionType :: FIRMWARE_VERSION_TYPE_DEV } } bitflags ! { # [ cfg_attr ( feature = \"serde\" , derive ( Serialize , Deserialize ) ) ] pub struct HlFailureFlag : u16 { const HL_FAILURE_FLAG_GPS = 1 ; const HL_FAILURE_FLAG_DIFFERENTIAL_PRESSURE = 2 ; const HL_FAILURE_FLAG_ABSOLUTE_PRESSURE = 4 ; const HL_FAILURE_FLAG_3D_ACCEL = 8 ; const HL_FAILURE_FLAG_3D_GYRO = 16 ; const HL_FAILURE_FLAG_3D_MAG = 32 ; const HL_FAILURE_FLAG_TERRAIN = 64 ; const HL_FAILURE_FLAG_BATTERY = 128 ; const HL_FAILURE_FLAG_RC_RECEIVER = 256 ; const HL_FAILURE_FLAG_OFFBOARD_LINK = 512 ; const HL_FAILURE_FLAG_ENGINE = 1024 ; const HL_FAILURE_FLAG_GEOFENCE = 2048 ; const HL_FAILURE_FLAG_ESTIMATOR = 4096 ; const HL_FAILURE_FLAG_MISSION = 8192 ; } } impl Default for HlFailureFlag { fn default ( ) -> Self { HlFailureFlag :: HL_FAILURE_FLAG_GPS } } bitflags ! { # [ cfg_attr ( feature = \"serde\" , derive ( Serialize , Deserialize ) ) ] pub struct MavModeFlag : u8 { const MAV_MODE_FLAG_SAFETY_ARMED = 128 ; const MAV_MODE_FLAG_MANUAL_INPUT_ENABLED = 64 ; const MAV_MODE_FLAG_HIL_ENABLED = 32 ; const MAV_MODE_FLAG_STABILIZE_ENABLED = 16 ; const MAV_MODE_FLAG_GUIDED_ENABLED = 8 ; const MAV_MODE_FLAG_AUTO_ENABLED = 4 ; const MAV_MODE_FLAG_TEST_ENABLED = 2 ; const MAV_MODE_FLAG_CUSTOM_MODE_ENABLED = 1 ; } } impl Default for MavModeFlag { fn default ( ) -> Self { MavModeFlag :: MAV_MODE_FLAG_SAFETY_ARMED } } # [ derive ( Debug , Copy , Clone , PartialEq , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = \"serde\" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = \"serde\" , serde ( tag = \"type\" ) ) ] pub enum MavModeFlagDecodePosition { MAV_MODE_FLAG_DECODE_POSITION_SAFETY = 128 , MAV_MODE_FLAG_DECODE_POSITION_MANUAL = 64 , MAV_MODE_FLAG_DECODE_POSITION_HIL = 32 , MAV_MODE_FLAG_DECODE_POSITION_STABILIZE = 16 , MAV_MODE_FLAG_DECODE_POSITION_GUIDED = 8 , MAV_MODE_FLAG_DECODE_POSITION_AUTO = 4 , MAV_MODE_FLAG_DECODE_POSITION_TEST = 2 , MAV_MODE_FLAG_DECODE_POSITION_CUSTOM_MODE = 1 , } impl Default for MavModeFlagDecodePosition { fn default ( ) -> Self { MavModeFlagDecodePosition :: MAV_MODE_FLAG_DECODE_POSITION_SAFETY } } # [ derive ( Debug , Copy , Clone , PartialEq , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = \"serde\" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = \"serde\" , serde ( tag = \"type\" ) ) ] pub enum MavGoto { MAV_GOTO_DO_HOLD = 0 , MAV_GOTO_DO_CONTINUE = 1 , MAV_GOTO_HOLD_AT_CURRENT_POSITION = 2 , MAV_GOTO_HOLD_AT_SPECIFIED_POSITION = 3 , } impl Default for MavGoto { fn default ( ) -> Self { MavGoto :: MAV_GOTO_DO_HOLD } } # [ derive ( Debug , Copy , Clone , PartialEq , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = \"serde\" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = \"serde\" , serde ( tag = \"type\" ) ) ] pub enum MavMode { MAV_MODE_PREFLIGHT = 0 , MAV_MODE_STABILIZE_DISARMED = 80 , MAV_MODE_STABILIZE_ARMED = 208 , MAV_MODE_MANUAL_DISARMED = 64 , MAV_MODE_MANUAL_ARMED = 192 , MAV_MODE_GUIDED_DISARMED = 88 , MAV_MODE_GUIDED_ARMED = 216 , MAV_MODE_AUTO_DISARMED = 92 , MAV_MODE_AUTO_ARMED = 220 , MAV_MODE_TEST_DISARMED = 66 , MAV_MODE_TEST_ARMED = 194 , } impl Default for MavMode { fn default ( ) -> Self { MavMode :: MAV_MODE_PREFLIGHT } } # [ derive ( Debug , Copy , Clone , PartialEq , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = \"serde\" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = \"serde\" , serde ( tag = \"type\" ) ) ] pub enum MavState { MAV_STATE_UNINIT = 0 , MAV_STATE_BOOT = 1 , MAV_STATE_CALIBRATING = 2 , MAV_STATE_STANDBY = 3 , MAV_STATE_ACTIVE = 4 , MAV_STATE_CRITICAL = 5 , MAV_STATE_EMERGENCY = 6 , MAV_STATE_POWEROFF = 7 , MAV_STATE_FLIGHT_TERMINATION = 8 , } impl Default for MavState { fn default ( ) -> Self { MavState :: MAV_STATE_UNINIT } } # [ derive ( Debug , Copy , Clone , PartialEq , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = \"serde\" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = \"serde\" , serde ( tag = \"type\" ) ) ] pub enum MavComponent { MAV_COMP_ID_ALL = 0 , MAV_COMP_ID_AUTOPILOT1 = 1 , MAV_COMP_ID_USER1 = 25 , MAV_COMP_ID_USER2 = 26 , MAV_COMP_ID_USER3 = 27 , MAV_COMP_ID_USER4 = 28 , MAV_COMP_ID_USER5 = 29 , MAV_COMP_ID_USER6 = 30 , MAV_COMP_ID_USER7 = 31 , MAV_COMP_ID_USER8 = 32 , MAV_COMP_ID_USER9 = 33 , MAV_COMP_ID_USER10 = 34 , MAV_COMP_ID_USER11 = 35 , MAV_COMP_ID_USER12 = 36 , MAV_COMP_ID_USER13 = 37 , MAV_COMP_ID_USER14 = 38 , MAV_COMP_ID_USER15 = 39 , MAV_COMP_ID_USER16 = 40 , MAV_COMP_ID_USER17 = 41 , MAV_COMP_ID_USER18 = 42 , MAV_COMP_ID_USER19 = 43 , MAV_COMP_ID_USER20 = 44 , MAV_COMP_ID_USER21 = 45 , MAV_COMP_ID_USER22 = 46 , MAV_COMP_ID_USER23 = 47 , MAV_COMP_ID_USER24 = 48 , MAV_COMP_ID_USER25 = 49 , MAV_COMP_ID_USER26 = 50 , MAV_COMP_ID_USER27 = 51 , MAV_COMP_ID_USER28 = 52 , MAV_COMP_ID_USER29 = 53 , MAV_COMP_ID_USER30 = 54 , MAV_COMP_ID_USER31 = 55 , MAV_COMP_ID_USER32 = 56 , MAV_COMP_ID_USER33 = 57 , MAV_COMP_ID_USER34 = 58 , MAV_COMP_ID_USER35 = 59 , MAV_COMP_ID_USER36 = 60 , MAV_COMP_ID_USER37 = 61 , MAV_COMP_ID_USER38 = 62 , MAV_COMP_ID_USER39 = 63 , MAV_COMP_ID_USER40 = 64 , MAV_COMP_ID_USER41 = 65 , MAV_COMP_ID_USER42 = 66 , MAV_COMP_ID_USER43 = 67 , MAV_COMP_ID_TELEMETRY_RADIO = 68 , MAV_COMP_ID_USER45 = 69 , MAV_COMP_ID_USER46 = 70 , MAV_COMP_ID_USER47 = 71 , MAV_COMP_ID_USER48 = 72 , MAV_COMP_ID_USER49 = 73 , MAV_COMP_ID_USER50 = 74 , MAV_COMP_ID_USER51 = 75 , MAV_COMP_ID_USER52 = 76 , MAV_COMP_ID_USER53 = 77 , MAV_COMP_ID_USER54 = 78 , MAV_COMP_ID_USER55 = 79 , MAV_COMP_ID_USER56 = 80 , MAV_COMP_ID_USER57 = 81 , MAV_COMP_ID_USER58 = 82 , MAV_COMP_ID_USER59 = 83 , MAV_COMP_ID_USER60 = 84 , MAV_COMP_ID_USER61 = 85 , MAV_COMP_ID_USER62 = 86 , MAV_COMP_ID_USER63 = 87 , MAV_COMP_ID_USER64 = 88 , MAV_COMP_ID_USER65 = 89 , MAV_COMP_ID_USER66 = 90 , MAV_COMP_ID_USER67 = 91 , MAV_COMP_ID_USER68 = 92 , MAV_COMP_ID_USER69 = 93 , MAV_COMP_ID_USER70 = 94 , MAV_COMP_ID_USER71 = 95 , MAV_COMP_ID_USER72 = 96 , MAV_COMP_ID_USER73 = 97 , MAV_COMP_ID_USER74 = 98 , MAV_COMP_ID_USER75 = 99 , MAV_COMP_ID_CAMERA = 100 , MAV_COMP_ID_CAMERA2 = 101 , MAV_COMP_ID_CAMERA3 = 102 , MAV_COMP_ID_CAMERA4 = 103 , MAV_COMP_ID_CAMERA5 = 104 , MAV_COMP_ID_CAMERA6 = 105 , MAV_COMP_ID_SERVO1 = 140 , MAV_COMP_ID_SERVO2 = 141 , MAV_COMP_ID_SERVO3 = 142 , MAV_COMP_ID_SERVO4 = 143 , MAV_COMP_ID_SERVO5 = 144 , MAV_COMP_ID_SERVO6 = 145 , MAV_COMP_ID_SERVO7 = 146 , MAV_COMP_ID_SERVO8 = 147 , MAV_COMP_ID_SERVO9 = 148 , MAV_COMP_ID_SERVO10 = 149 , MAV_COMP_ID_SERVO11 = 150 , MAV_COMP_ID_SERVO12 = 151 , MAV_COMP_ID_SERVO13 = 152 , MAV_COMP_ID_SERVO14 = 153 , MAV_COMP_ID_GIMBAL = 154 , MAV_COMP_ID_LOG = 155 , MAV_COMP_ID_ADSB = 156 , MAV_COMP_ID_OSD = 157 , MAV_COMP_ID_PERIPHERAL = 158 , MAV_COMP_ID_QX1_GIMBAL = 159 , MAV_COMP_ID_FLARM = 160 , MAV_COMP_ID_GIMBAL2 = 171 , MAV_COMP_ID_GIMBAL3 = 172 , MAV_COMP_ID_GIMBAL4 = 173 , MAV_COMP_ID_GIMBAL5 = 174 , MAV_COMP_ID_GIMBAL6 = 175 , MAV_COMP_ID_MISSIONPLANNER = 190 , MAV_COMP_ID_PATHPLANNER = 195 , MAV_COMP_ID_OBSTACLE_AVOIDANCE = 196 , MAV_COMP_ID_VISUAL_INERTIAL_ODOMETRY = 197 , MAV_COMP_ID_PAIRING_MANAGER = 198 , MAV_COMP_ID_IMU = 200 , MAV_COMP_ID_IMU_2 = 201 , MAV_COMP_ID_IMU_3 = 202 , MAV_COMP_ID_GPS = 220 , MAV_COMP_ID_GPS2 = 221 , MAV_COMP_ID_ODID_TXRX_1 = 236 , MAV_COMP_ID_ODID_TXRX_2 = 237 , MAV_COMP_ID_ODID_TXRX_3 = 238 , MAV_COMP_ID_UDP_BRIDGE = 240 , MAV_COMP_ID_UART_BRIDGE = 241 , MAV_COMP_ID_TUNNEL_NODE = 242 , MAV_COMP_ID_SYSTEM_CONTROL = 250 , } impl Default for MavComponent { fn default ( ) -> Self { MavComponent :: MAV_COMP_ID_ALL } } bitflags ! { # [ cfg_attr ( feature = \"serde\" , derive ( Serialize , Deserialize ) ) ] pub struct MavSysStatusSensor : u32 { const MAV_SYS_STATUS_SENSOR_3D_GYRO = 1 ; const MAV_SYS_STATUS_SENSOR_3D_ACCEL = 2 ; const MAV_SYS_STATUS_SENSOR_3D_MAG = 4 ; const MAV_SYS_STATUS_SENSOR_ABSOLUTE_PRESSURE = 8 ; const MAV_SYS_STATUS_SENSOR_DIFFERENTIAL_PRESSURE = 16 ; const MAV_SYS_STATUS_SENSOR_GPS = 32 ; const MAV_SYS_STATUS_SENSOR_OPTICAL_FLOW = 64 ; const MAV_SYS_STATUS_SENSOR_VISION_POSITION = 128 ; const MAV_SYS_STATUS_SENSOR_LASER_POSITION = 256 ; const MAV_SYS_STATUS_SENSOR_EXTERNAL_GROUND_TRUTH = 512 ; const MAV_SYS_STATUS_SENSOR_ANGULAR_RATE_CONTROL = 1024 ; const MAV_SYS_STATUS_SENSOR_ATTITUDE_STABILIZATION = 2048 ; const MAV_SYS_STATUS_SENSOR_YAW_POSITION = 4096 ; const MAV_SYS_STATUS_SENSOR_Z_ALTITUDE_CONTROL = 8192 ; const MAV_SYS_STATUS_SENSOR_XY_POSITION_CONTROL = 16384 ; const MAV_SYS_STATUS_SENSOR_MOTOR_OUTPUTS = 32768 ; const MAV_SYS_STATUS_SENSOR_RC_RECEIVER = 65536 ; const MAV_SYS_STATUS_SENSOR_3D_GYRO2 = 131072 ; const MAV_SYS_STATUS_SENSOR_3D_ACCEL2 = 262144 ; const MAV_SYS_STATUS_SENSOR_3D_MAG2 = 524288 ; const MAV_SYS_STATUS_GEOFENCE = 1048576 ; const MAV_SYS_STATUS_AHRS = 2097152 ; const MAV_SYS_STATUS_TERRAIN = 4194304 ; const MAV_SYS_STATUS_REVERSE_MOTOR = 8388608 ; const MAV_SYS_STATUS_LOGGING = 16777216 ; const MAV_SYS_STATUS_SENSOR_BATTERY = 33554432 ; const MAV_SYS_STATUS_SENSOR_PROXIMITY = 67108864 ; const MAV_SYS_STATUS_SENSOR_SATCOM = 134217728 ; const MAV_SYS_STATUS_PREARM_CHECK = 268435456 ; const MAV_SYS_STATUS_OBSTACLE_AVOIDANCE = 536870912 ; } } impl Default for MavSysStatusSensor { fn default ( ) -> Self { MavSysStatusSensor :: MAV_SYS_STATUS_SENSOR_3D_GYRO } } # [ derive ( Debug , Copy , Clone , PartialEq , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = \"serde\" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = \"serde\" , serde ( tag = \"type\" ) ) ] pub enum MavFrame { MAV_FRAME_GLOBAL = 0 , MAV_FRAME_LOCAL_NED = 1 , MAV_FRAME_MISSION = 2 , MAV_FRAME_GLOBAL_RELATIVE_ALT = 3 , MAV_FRAME_LOCAL_ENU = 4 , MAV_FRAME_GLOBAL_INT = 5 , MAV_FRAME_GLOBAL_RELATIVE_ALT_INT = 6 , MAV_FRAME_LOCAL_OFFSET_NED = 7 , MAV_FRAME_BODY_NED = 8 , MAV_FRAME_BODY_OFFSET_NED = 9 , MAV_FRAME_GLOBAL_TERRAIN_ALT = 10 , MAV_FRAME_GLOBAL_TERRAIN_ALT_INT = 11 , MAV_FRAME_BODY_FRD = 12 , MAV_FRAME_RESERVED_13 = 13 , MAV_FRAME_RESERVED_14 = 14 , MAV_FRAME_RESERVED_15 = 15 , MAV_FRAME_RESERVED_16 = 16 , MAV_FRAME_RESERVED_17 = 17 , MAV_FRAME_RESERVED_18 = 18 , MAV_FRAME_RESERVED_19 = 19 , MAV_FRAME_LOCAL_FRD = 20 , MAV_FRAME_LOCAL_FLU = 21 , } impl Default for MavFrame { fn default ( ) -> Self { MavFrame :: MAV_FRAME_GLOBAL } } # [ derive ( Debug , Copy , Clone , PartialEq , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = \"serde\" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = \"serde\" , serde ( tag = \"type\" ) ) ] pub enum MavlinkDataStreamType { MAVLINK_DATA_STREAM_IMG_JPEG = 0 , MAVLINK_DATA_STREAM_IMG_BMP = 1 , MAVLINK_DATA_STREAM_IMG_RAW8U = 2 , MAVLINK_DATA_STREAM_IMG_RAW32U = 3 , MAVLINK_DATA_STREAM_IMG_PGM = 4 , MAVLINK_DATA_STREAM_IMG_PNG = 5 , } impl Default for MavlinkDataStreamType { fn default ( ) -> Self { MavlinkDataStreamType :: MAVLINK_DATA_STREAM_IMG_JPEG } } # [ derive ( Debug , Copy , Clone , PartialEq , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = \"serde\" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = \"serde\" , serde ( tag = \"type\" ) ) ] pub enum FenceAction { FENCE_ACTION_NONE = 0 , FENCE_ACTION_GUIDED = 1 , FENCE_ACTION_REPORT = 2 , FENCE_ACTION_GUIDED_THR_PASS = 3 , FENCE_ACTION_RTL = 4 , } impl Default for FenceAction { fn default ( ) -> Self { FenceAction :: FENCE_ACTION_NONE } } # [ derive ( Debug , Copy , Clone , PartialEq , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = \"serde\" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = \"serde\" , serde ( tag = \"type\" ) ) ] pub enum FenceBreach { FENCE_BREACH_NONE = 0 , FENCE_BREACH_MINALT = 1 , FENCE_BREACH_MAXALT = 2 , FENCE_BREACH_BOUNDARY = 3 , } impl Default for FenceBreach { fn default ( ) -> Self { FenceBreach :: FENCE_BREACH_NONE } } # [ derive ( Debug , Copy , Clone , PartialEq , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = \"serde\" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = \"serde\" , serde ( tag = \"type\" ) ) ] pub enum FenceMitigate { FENCE_MITIGATE_UNKNOWN = 0 , FENCE_MITIGATE_NONE = 1 , FENCE_MITIGATE_VEL_LIMIT = 2 , } impl Default for FenceMitigate { fn default ( ) -> Self { FenceMitigate :: FENCE_MITIGATE_UNKNOWN } } # [ derive ( Debug , Copy , Clone , PartialEq , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = \"serde\" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = \"serde\" , serde ( tag = \"type\" ) ) ] pub enum MavMountMode { MAV_MOUNT_MODE_RETRACT = 0 , MAV_MOUNT_MODE_NEUTRAL = 1 , MAV_MOUNT_MODE_MAVLINK_TARGETING = 2 , MAV_MOUNT_MODE_RC_TARGETING = 3 , MAV_MOUNT_MODE_GPS_POINT = 4 , MAV_MOUNT_MODE_SYSID_TARGET = 5 , } impl Default for MavMountMode { fn default ( ) -> Self { MavMountMode :: MAV_MOUNT_MODE_RETRACT } } bitflags ! { # [ cfg_attr ( feature = \"serde\" , derive ( Serialize , Deserialize ) ) ] pub struct GimbalDeviceCapFlags : u16 { const GIMBAL_DEVICE_CAP_FLAGS_HAS_RETRACT = 1 ; const GIMBAL_DEVICE_CAP_FLAGS_HAS_NEUTRAL = 2 ; const GIMBAL_DEVICE_CAP_FLAGS_HAS_ROLL_AXIS = 4 ; const GIMBAL_DEVICE_CAP_FLAGS_HAS_ROLL_FOLLOW = 8 ; const GIMBAL_DEVICE_CAP_FLAGS_HAS_ROLL_LOCK = 16 ; const GIMBAL_DEVICE_CAP_FLAGS_HAS_PITCH_AXIS = 32 ; const GIMBAL_DEVICE_CAP_FLAGS_HAS_PITCH_FOLLOW = 64 ; const GIMBAL_DEVICE_CAP_FLAGS_HAS_PITCH_LOCK = 128 ; const GIMBAL_DEVICE_CAP_FLAGS_HAS_YAW_AXIS = 256 ; const GIMBAL_DEVICE_CAP_FLAGS_HAS_YAW_FOLLOW = 512 ; const GIMBAL_DEVICE_CAP_FLAGS_HAS_YAW_LOCK = 1024 ; const GIMBAL_DEVICE_CAP_FLAGS_SUPPORTS_INFINITE_YAW = 2048 ; } } impl Default for GimbalDeviceCapFlags { fn default ( ) -> Self { GimbalDeviceCapFlags :: GIMBAL_DEVICE_CAP_FLAGS_HAS_RETRACT } } bitflags ! { # [ cfg_attr ( feature = \"serde\" , derive ( Serialize , Deserialize ) ) ] pub struct GimbalManagerCapFlags : u32 { const GIMBAL_MANAGER_CAP_FLAGS_HAS_RETRACT = 1 ; const GIMBAL_MANAGER_CAP_FLAGS_HAS_NEUTRAL = 2 ; const GIMBAL_MANAGER_CAP_FLAGS_HAS_ROLL_AXIS = 4 ; const GIMBAL_MANAGER_CAP_FLAGS_HAS_ROLL_FOLLOW = 8 ; const GIMBAL_MANAGER_CAP_FLAGS_HAS_ROLL_LOCK = 16 ; const GIMBAL_MANAGER_CAP_FLAGS_HAS_PITCH_AXIS = 32 ; const GIMBAL_MANAGER_CAP_FLAGS_HAS_PITCH_FOLLOW = 64 ; const GIMBAL_MANAGER_CAP_FLAGS_HAS_PITCH_LOCK = 128 ; const GIMBAL_MANAGER_CAP_FLAGS_HAS_YAW_AXIS = 256 ; const GIMBAL_MANAGER_CAP_FLAGS_HAS_YAW_FOLLOW = 512 ; const GIMBAL_MANAGER_CAP_FLAGS_HAS_YAW_LOCK = 1024 ; const GIMBAL_MANAGER_CAP_FLAGS_SUPPORTS_INFINITE_YAW = 2048 ; const GIMBAL_MANAGER_CAP_FLAGS_CAN_POINT_LOCATION_LOCAL = 65536 ; const GIMBAL_MANAGER_CAP_FLAGS_CAN_POINT_LOCATION_GLOBAL = 131072 ; const GIMBAL_MANAGER_CAP_FLAGS_HAS_TRACKING_POINT = 262144 ; const GIMBAL_MANAGER_CAP_FLAGS_HAS_TRACKING_RECTANGLE = 524288 ; const GIMBAL_MANAGER_CAP_FLAGS_SUPPORTS_FOCAL_LENGTH_SCALE = 1048576 ; const GIMBAL_MANAGER_CAP_FLAGS_SUPPORTS_NUDGING = 2097152 ; const GIMBAL_MANAGER_CAP_FLAGS_SUPPORTS_OVERRIDE = 4194304 ; } } impl Default for GimbalManagerCapFlags { fn default ( ) -> Self { GimbalManagerCapFlags :: GIMBAL_MANAGER_CAP_FLAGS_HAS_RETRACT } } # [ derive ( Debug , Copy , Clone , PartialEq , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = \"serde\" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = \"serde\" , serde ( tag = \"type\" ) ) ] pub enum GimbalDeviceFlags { GIMBAL_DEVICE_FLAGS_RETRACT = 1 , GIMBAL_DEVICE_FLAGS_NEUTRAL = 2 , GIMBAL_DEVICE_FLAGS_ROLL_LOCK = 4 , GIMBAL_DEVICE_FLAGS_PITCH_LOCK = 8 , GIMBAL_DEVICE_FLAGS_YAW_LOCK = 16 , } impl Default for GimbalDeviceFlags { fn default ( ) -> Self { GimbalDeviceFlags :: GIMBAL_DEVICE_FLAGS_RETRACT } } # [ derive ( Debug , Copy , Clone , PartialEq , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = \"serde\" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = \"serde\" , serde ( tag = \"type\" ) ) ] pub enum GimbalManagerFlags { GIMBAL_MANAGER_FLAGS_RETRACT = 1 , GIMBAL_MANAGER_FLAGS_NEUTRAL = 2 , GIMBAL_MANAGER_FLAGS_ROLL_LOCK = 4 , GIMBAL_MANAGER_FLAGS_PITCH_LOCK = 8 , GIMBAL_MANAGER_FLAGS_YAW_LOCK = 16 , GIMBAL_MANAGER_FLAGS_ANGULAR_VELOCITY_RELATIVE_TO_FOCAL_LENGTH = 1048576 , GIMBAL_MANAGER_FLAGS_NUDGE = 2097152 , GIMBAL_MANAGER_FLAGS_OVERRIDE = 4194304 , GIMBAL_MANAGER_FLAGS_NONE = 8388608 , } impl Default for GimbalManagerFlags { fn default ( ) -> Self { GimbalManagerFlags :: GIMBAL_MANAGER_FLAGS_RETRACT } } # [ derive ( Debug , Copy , Clone , PartialEq , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = \"serde\" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = \"serde\" , serde ( tag = \"type\" ) ) ] pub enum GimbalDeviceErrorFlags { GIMBAL_DEVICE_ERROR_FLAGS_AT_ROLL_LIMIT = 1 , GIMBAL_DEVICE_ERROR_FLAGS_AT_PITCH_LIMIT = 2 , GIMBAL_DEVICE_ERROR_FLAGS_AT_YAW_LIMIT = 4 , GIMBAL_DEVICE_ERROR_FLAGS_ENCODER_ERROR = 8 , GIMBAL_DEVICE_ERROR_FLAGS_POWER_ERROR = 16 , GIMBAL_DEVICE_ERROR_FLAGS_MOTOR_ERROR = 32 , GIMBAL_DEVICE_ERROR_FLAGS_SOFTWARE_ERROR = 64 , GIMBAL_DEVICE_ERROR_FLAGS_COMMS_ERROR = 128 , } impl Default for GimbalDeviceErrorFlags { fn default ( ) -> Self { GimbalDeviceErrorFlags :: GIMBAL_DEVICE_ERROR_FLAGS_AT_ROLL_LIMIT } } # [ derive ( Debug , Copy , Clone , PartialEq , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = \"serde\" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = \"serde\" , serde ( tag = \"type\" ) ) ] pub enum UavcanNodeHealth { UAVCAN_NODE_HEALTH_OK = 0 , UAVCAN_NODE_HEALTH_WARNING = 1 , UAVCAN_NODE_HEALTH_ERROR = 2 , UAVCAN_NODE_HEALTH_CRITICAL = 3 , } impl Default for UavcanNodeHealth { fn default ( ) -> Self { UavcanNodeHealth :: UAVCAN_NODE_HEALTH_OK } } # [ derive ( Debug , Copy , Clone , PartialEq , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = \"serde\" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = \"serde\" , serde ( tag = \"type\" ) ) ] pub enum UavcanNodeMode { UAVCAN_NODE_MODE_OPERATIONAL = 0 , UAVCAN_NODE_MODE_INITIALIZATION = 1 , UAVCAN_NODE_MODE_MAINTENANCE = 2 , UAVCAN_NODE_MODE_SOFTWARE_UPDATE = 3 , UAVCAN_NODE_MODE_OFFLINE = 7 , } impl Default for UavcanNodeMode { fn default ( ) -> Self { UavcanNodeMode :: UAVCAN_NODE_MODE_OPERATIONAL } } # [ derive ( Debug , Copy , Clone , PartialEq , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = \"serde\" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = \"serde\" , serde ( tag = \"type\" ) ) ] pub enum StorageStatus { STORAGE_STATUS_EMPTY = 0 , STORAGE_STATUS_UNFORMATTED = 1 , STORAGE_STATUS_READY = 2 , STORAGE_STATUS_NOT_SUPPORTED = 3 , } impl Default for StorageStatus { fn default ( ) -> Self { StorageStatus :: STORAGE_STATUS_EMPTY } } # [ derive ( Debug , Copy , Clone , PartialEq , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = \"serde\" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = \"serde\" , serde ( tag = \"type\" ) ) ] pub enum OrbitYawBehaviour { ORBIT_YAW_BEHAVIOUR_HOLD_FRONT_TO_CIRCLE_CENTER = 0 , ORBIT_YAW_BEHAVIOUR_HOLD_INITIAL_HEADING = 1 , ORBIT_YAW_BEHAVIOUR_UNCONTROLLED = 2 , ORBIT_YAW_BEHAVIOUR_HOLD_FRONT_TANGENT_TO_CIRCLE = 3 , ORBIT_YAW_BEHAVIOUR_RC_CONTROLLED = 4 , } impl Default for OrbitYawBehaviour { fn default ( ) -> Self { OrbitYawBehaviour :: ORBIT_YAW_BEHAVIOUR_HOLD_FRONT_TO_CIRCLE_CENTER } } # [ derive ( Debug , Copy , Clone , PartialEq , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = \"serde\" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = \"serde\" , serde ( tag = \"type\" ) ) ] pub enum WifiConfigApResponse { WIFI_CONFIG_AP_RESPONSE_UNDEFINED = 0 , WIFI_CONFIG_AP_RESPONSE_ACCEPTED = 1 , WIFI_CONFIG_AP_RESPONSE_REJECTED = 2 , WIFI_CONFIG_AP_RESPONSE_MODE_ERROR = 3 , WIFI_CONFIG_AP_RESPONSE_SSID_ERROR = 4 , WIFI_CONFIG_AP_RESPONSE_PASSWORD_ERROR = 5 , } impl Default for WifiConfigApResponse { fn default ( ) -> Self { WifiConfigApResponse :: WIFI_CONFIG_AP_RESPONSE_UNDEFINED } } # [ derive ( Debug , Copy , Clone , PartialEq , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = \"serde\" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = \"serde\" , serde ( tag = \"type\" ) ) ] pub enum CellularConfigResponse { CELLULAR_CONFIG_RESPONSE_ACCEPTED = 0 , CELLULAR_CONFIG_RESPONSE_APN_ERROR = 1 , CELLULAR_CONFIG_RESPONSE_PIN_ERROR = 2 , CELLULAR_CONFIG_RESPONSE_REJECTED = 3 , } impl Default for CellularConfigResponse { fn default ( ) -> Self { CellularConfigResponse :: CELLULAR_CONFIG_RESPONSE_ACCEPTED } } # [ derive ( Debug , Copy , Clone , PartialEq , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = \"serde\" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = \"serde\" , serde ( tag = \"type\" ) ) ] pub enum WifiConfigApMode { WIFI_CONFIG_AP_MODE_UNDEFINED = 0 , WIFI_CONFIG_AP_MODE_AP = 1 , WIFI_CONFIG_AP_MODE_STATION = 2 , WIFI_CONFIG_AP_MODE_DISABLED = 3 , } impl Default for WifiConfigApMode { fn default ( ) -> Self { WifiConfigApMode :: WIFI_CONFIG_AP_MODE_UNDEFINED } } # [ derive ( Debug , Copy , Clone , PartialEq , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = \"serde\" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = \"serde\" , serde ( tag = \"type\" ) ) ] pub enum CompMetadataType { COMP_METADATA_TYPE_VERSION = 0 , COMP_METADATA_TYPE_PARAMETER = 1 , } impl Default for CompMetadataType { fn default ( ) -> Self { CompMetadataType :: COMP_METADATA_TYPE_VERSION } } # [ derive ( Debug , Copy , Clone , PartialEq , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = \"serde\" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = \"serde\" , serde ( tag = \"type\" ) ) ] pub enum MavCmd { MAV_CMD_NAV_WAYPOINT = 16 , MAV_CMD_NAV_LOITER_UNLIM = 17 , MAV_CMD_NAV_LOITER_TURNS = 18 , MAV_CMD_NAV_LOITER_TIME = 19 , MAV_CMD_NAV_RETURN_TO_LAUNCH = 20 , MAV_CMD_NAV_LAND = 21 , MAV_CMD_NAV_TAKEOFF = 22 , MAV_CMD_NAV_LAND_LOCAL = 23 , MAV_CMD_NAV_TAKEOFF_LOCAL = 24 , MAV_CMD_NAV_FOLLOW = 25 , MAV_CMD_NAV_CONTINUE_AND_CHANGE_ALT = 30 , MAV_CMD_NAV_LOITER_TO_ALT = 31 , MAV_CMD_DO_FOLLOW = 32 , MAV_CMD_DO_FOLLOW_REPOSITION = 33 , MAV_CMD_DO_ORBIT = 34 , MAV_CMD_NAV_ROI = 80 , MAV_CMD_NAV_PATHPLANNING = 81 , MAV_CMD_NAV_SPLINE_WAYPOINT = 82 , MAV_CMD_NAV_VTOL_TAKEOFF = 84 , MAV_CMD_NAV_VTOL_LAND = 85 , MAV_CMD_NAV_GUIDED_ENABLE = 92 , MAV_CMD_NAV_DELAY = 93 , MAV_CMD_NAV_PAYLOAD_PLACE = 94 , MAV_CMD_NAV_LAST = 95 , MAV_CMD_CONDITION_DELAY = 112 , MAV_CMD_CONDITION_CHANGE_ALT = 113 , MAV_CMD_CONDITION_DISTANCE = 114 , MAV_CMD_CONDITION_YAW = 115 , MAV_CMD_CONDITION_LAST = 159 , MAV_CMD_DO_SET_MODE = 176 , MAV_CMD_DO_JUMP = 177 , MAV_CMD_DO_CHANGE_SPEED = 178 , MAV_CMD_DO_SET_HOME = 179 , MAV_CMD_DO_SET_PARAMETER = 180 , MAV_CMD_DO_SET_RELAY = 181 , MAV_CMD_DO_REPEAT_RELAY = 182 , MAV_CMD_DO_SET_SERVO = 183 , MAV_CMD_DO_REPEAT_SERVO = 184 , MAV_CMD_DO_FLIGHTTERMINATION = 185 , MAV_CMD_DO_CHANGE_ALTITUDE = 186 , MAV_CMD_DO_SET_ACTUATOR = 187 , MAV_CMD_DO_LAND_START = 189 , MAV_CMD_DO_RALLY_LAND = 190 , MAV_CMD_DO_GO_AROUND = 191 , MAV_CMD_DO_REPOSITION = 192 , MAV_CMD_DO_PAUSE_CONTINUE = 193 , MAV_CMD_DO_SET_REVERSE = 194 , MAV_CMD_DO_SET_ROI_LOCATION = 195 , MAV_CMD_DO_SET_ROI_WPNEXT_OFFSET = 196 , MAV_CMD_DO_SET_ROI_NONE = 197 , MAV_CMD_DO_SET_ROI_SYSID = 198 , MAV_CMD_DO_CONTROL_VIDEO = 200 , MAV_CMD_DO_SET_ROI = 201 , MAV_CMD_DO_DIGICAM_CONFIGURE = 202 , MAV_CMD_DO_DIGICAM_CONTROL = 203 , MAV_CMD_DO_MOUNT_CONFIGURE = 204 , MAV_CMD_DO_MOUNT_CONTROL = 205 , MAV_CMD_DO_SET_CAM_TRIGG_DIST = 206 , MAV_CMD_DO_FENCE_ENABLE = 207 , MAV_CMD_DO_PARACHUTE = 208 , MAV_CMD_DO_MOTOR_TEST = 209 , MAV_CMD_DO_INVERTED_FLIGHT = 210 , MAV_CMD_NAV_SET_YAW_SPEED = 213 , MAV_CMD_DO_SET_CAM_TRIGG_INTERVAL = 214 , MAV_CMD_DO_MOUNT_CONTROL_QUAT = 220 , MAV_CMD_DO_GUIDED_MASTER = 221 , MAV_CMD_DO_GUIDED_LIMITS = 222 , MAV_CMD_DO_ENGINE_CONTROL = 223 , MAV_CMD_DO_SET_MISSION_CURRENT = 224 , MAV_CMD_DO_LAST = 240 , MAV_CMD_PREFLIGHT_CALIBRATION = 241 , MAV_CMD_PREFLIGHT_SET_SENSOR_OFFSETS = 242 , MAV_CMD_PREFLIGHT_UAVCAN = 243 , MAV_CMD_PREFLIGHT_STORAGE = 245 , MAV_CMD_PREFLIGHT_REBOOT_SHUTDOWN = 246 , MAV_CMD_DO_UPGRADE = 247 , MAV_CMD_OVERRIDE_GOTO = 252 , MAV_CMD_MISSION_START = 300 , MAV_CMD_COMPONENT_ARM_DISARM = 400 , MAV_CMD_ILLUMINATOR_ON_OFF = 405 , MAV_CMD_GET_HOME_POSITION = 410 , MAV_CMD_INJECT_FAILURE = 420 , MAV_CMD_START_RX_PAIR = 500 , MAV_CMD_GET_MESSAGE_INTERVAL = 510 , MAV_CMD_SET_MESSAGE_INTERVAL = 511 , MAV_CMD_REQUEST_MESSAGE = 512 , MAV_CMD_REQUEST_PROTOCOL_VERSION = 519 , MAV_CMD_REQUEST_AUTOPILOT_CAPABILITIES = 520 , MAV_CMD_REQUEST_CAMERA_INFORMATION = 521 , MAV_CMD_REQUEST_CAMERA_SETTINGS = 522 , MAV_CMD_REQUEST_STORAGE_INFORMATION = 525 , MAV_CMD_STORAGE_FORMAT = 526 , MAV_CMD_REQUEST_CAMERA_CAPTURE_STATUS = 527 , MAV_CMD_REQUEST_FLIGHT_INFORMATION = 528 , MAV_CMD_RESET_CAMERA_SETTINGS = 529 , MAV_CMD_SET_CAMERA_MODE = 530 , MAV_CMD_SET_CAMERA_ZOOM = 531 , MAV_CMD_SET_CAMERA_FOCUS = 532 , MAV_CMD_JUMP_TAG = 600 , MAV_CMD_DO_JUMP_TAG = 601 , MAV_CMD_DO_GIMBAL_MANAGER_TILTPAN = 1000 , MAV_CMD_DO_GIMBAL_MANAGER_TRACK_POINT = 1001 , MAV_CMD_DO_GIMBAL_MANAGER_TRACK_RECTANGLE = 1002 , MAV_CMD_IMAGE_START_CAPTURE = 2000 , MAV_CMD_IMAGE_STOP_CAPTURE = 2001 , MAV_CMD_REQUEST_CAMERA_IMAGE_CAPTURE = 2002 , MAV_CMD_DO_TRIGGER_CONTROL = 2003 , MAV_CMD_VIDEO_START_CAPTURE = 2500 , MAV_CMD_VIDEO_STOP_CAPTURE = 2501 , MAV_CMD_VIDEO_START_STREAMING = 2502 , MAV_CMD_VIDEO_STOP_STREAMING = 2503 , MAV_CMD_REQUEST_VIDEO_STREAM_INFORMATION = 2504 , MAV_CMD_REQUEST_VIDEO_STREAM_STATUS = 2505 , MAV_CMD_LOGGING_START = 2510 , MAV_CMD_LOGGING_STOP = 2511 , MAV_CMD_AIRFRAME_CONFIGURATION = 2520 , MAV_CMD_CONTROL_HIGH_LATENCY = 2600 , MAV_CMD_PANORAMA_CREATE = 2800 , MAV_CMD_DO_VTOL_TRANSITION = 3000 , MAV_CMD_ARM_AUTHORIZATION_REQUEST = 3001 , MAV_CMD_SET_GUIDED_SUBMODE_STANDARD = 4000 , MAV_CMD_SET_GUIDED_SUBMODE_CIRCLE = 4001 , MAV_CMD_CONDITION_GATE = 4501 , MAV_CMD_NAV_FENCE_RETURN_POINT = 5000 , MAV_CMD_NAV_FENCE_POLYGON_VERTEX_INCLUSION = 5001 , MAV_CMD_NAV_FENCE_POLYGON_VERTEX_EXCLUSION = 5002 , MAV_CMD_NAV_FENCE_CIRCLE_INCLUSION = 5003 , MAV_CMD_NAV_FENCE_CIRCLE_EXCLUSION = 5004 , MAV_CMD_NAV_RALLY_POINT = 5100 , MAV_CMD_UAVCAN_GET_NODE_INFO = 5200 , MAV_CMD_PAYLOAD_PREPARE_DEPLOY = 30001 , MAV_CMD_FIXED_MAG_CAL_YAW = 42006 , MAV_CMD_PAYLOAD_CONTROL_DEPLOY = 30002 , MAV_CMD_WAYPOINT_USER_1 = 31000 , MAV_CMD_WAYPOINT_USER_2 = 31001 , MAV_CMD_WAYPOINT_USER_3 = 31002 , MAV_CMD_WAYPOINT_USER_4 = 31003 , MAV_CMD_WAYPOINT_USER_5 = 31004 , MAV_CMD_SPATIAL_USER_1 = 31005 , MAV_CMD_SPATIAL_USER_2 = 31006 , MAV_CMD_SPATIAL_USER_3 = 31007 , MAV_CMD_SPATIAL_USER_4 = 31008 , MAV_CMD_SPATIAL_USER_5 = 31009 , MAV_CMD_USER_1 = 31010 , MAV_CMD_USER_2 = 31011 , MAV_CMD_USER_3 = 31012 , MAV_CMD_USER_4 = 31013 , MAV_CMD_USER_5 = 31014 , MAV_CMD_FIXED_MAG_CAL = 42004 , MAV_CMD_FIXED_MAG_CAL_FIELD = 42005 , MAV_CMD_DO_START_MAG_CAL = 42424 , MAV_CMD_DO_ACCEPT_MAG_CAL = 42425 , MAV_CMD_DO_CANCEL_MAG_CAL = 42426 , MAV_CMD_ACCELCAL_VEHICLE_POS = 42429 , } impl Default for MavCmd { fn default ( ) -> Self { MavCmd :: MAV_CMD_NAV_WAYPOINT } } # [ derive ( Debug , Copy , Clone , PartialEq , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = \"serde\" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = \"serde\" , serde ( tag = \"type\" ) ) ] pub enum MavDataStream { MAV_DATA_STREAM_ALL = 0 , MAV_DATA_STREAM_RAW_SENSORS = 1 , MAV_DATA_STREAM_EXTENDED_STATUS = 2 , MAV_DATA_STREAM_RC_CHANNELS = 3 , MAV_DATA_STREAM_RAW_CONTROLLER = 4 , MAV_DATA_STREAM_POSITION = 6 , MAV_DATA_STREAM_EXTRA1 = 10 , MAV_DATA_STREAM_EXTRA2 = 11 , MAV_DATA_STREAM_EXTRA3 = 12 , } impl Default for MavDataStream { fn default ( ) -> Self { MavDataStream :: MAV_DATA_STREAM_ALL } } # [ derive ( Debug , Copy , Clone , PartialEq , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = \"serde\" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = \"serde\" , serde ( tag = \"type\" ) ) ] pub enum MavRoi { MAV_ROI_NONE = 0 , MAV_ROI_WPNEXT = 1 , MAV_ROI_WPINDEX = 2 , MAV_ROI_LOCATION = 3 , MAV_ROI_TARGET = 4 , } impl Default for MavRoi { fn default ( ) -> Self { MavRoi :: MAV_ROI_NONE } } # [ derive ( Debug , Copy , Clone , PartialEq , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = \"serde\" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = \"serde\" , serde ( tag = \"type\" ) ) ] pub enum MavCmdAck { MAV_CMD_ACK_OK = 0 , MAV_CMD_ACK_ERR_FAIL = 1 , MAV_CMD_ACK_ERR_ACCESS_DENIED = 2 , MAV_CMD_ACK_ERR_NOT_SUPPORTED = 3 , MAV_CMD_ACK_ERR_COORDINATE_FRAME_NOT_SUPPORTED = 4 , MAV_CMD_ACK_ERR_COORDINATES_OUT_OF_RANGE = 5 , MAV_CMD_ACK_ERR_X_LAT_OUT_OF_RANGE = 6 , MAV_CMD_ACK_ERR_Y_LON_OUT_OF_RANGE = 7 , MAV_CMD_ACK_ERR_Z_ALT_OUT_OF_RANGE = 8 , } impl Default for MavCmdAck { fn default ( ) -> Self { MavCmdAck :: MAV_CMD_ACK_OK } } # [ derive ( Debug , Copy , Clone , PartialEq , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = \"serde\" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = \"serde\" , serde ( tag = \"type\" ) ) ] pub enum MavParamType { MAV_PARAM_TYPE_UINT8 = 1 , MAV_PARAM_TYPE_INT8 = 2 , MAV_PARAM_TYPE_UINT16 = 3 , MAV_PARAM_TYPE_INT16 = 4 , MAV_PARAM_TYPE_UINT32 = 5 , MAV_PARAM_TYPE_INT32 = 6 , MAV_PARAM_TYPE_UINT64 = 7 , MAV_PARAM_TYPE_INT64 = 8 , MAV_PARAM_TYPE_REAL32 = 9 , MAV_PARAM_TYPE_REAL64 = 10 , } impl Default for MavParamType { fn default ( ) -> Self { MavParamType :: MAV_PARAM_TYPE_UINT8 } } # [ derive ( Debug , Copy , Clone , PartialEq , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = \"serde\" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = \"serde\" , serde ( tag = \"type\" ) ) ] pub enum MavParamExtType { MAV_PARAM_EXT_TYPE_UINT8 = 1 , MAV_PARAM_EXT_TYPE_INT8 = 2 , MAV_PARAM_EXT_TYPE_UINT16 = 3 , MAV_PARAM_EXT_TYPE_INT16 = 4 , MAV_PARAM_EXT_TYPE_UINT32 = 5 , MAV_PARAM_EXT_TYPE_INT32 = 6 , MAV_PARAM_EXT_TYPE_UINT64 = 7 , MAV_PARAM_EXT_TYPE_INT64 = 8 , MAV_PARAM_EXT_TYPE_REAL32 = 9 , MAV_PARAM_EXT_TYPE_REAL64 = 10 , MAV_PARAM_EXT_TYPE_CUSTOM = 11 , } impl Default for MavParamExtType { fn default ( ) -> Self { MavParamExtType :: MAV_PARAM_EXT_TYPE_UINT8 } } # [ derive ( Debug , Copy , Clone , PartialEq , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = \"serde\" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = \"serde\" , serde ( tag = \"type\" ) ) ] pub enum MavResult { MAV_RESULT_ACCEPTED = 0 , MAV_RESULT_TEMPORARILY_REJECTED = 1 , MAV_RESULT_DENIED = 2 , MAV_RESULT_UNSUPPORTED = 3 , MAV_RESULT_FAILED = 4 , MAV_RESULT_IN_PROGRESS = 5 , MAV_RESULT_CANCELLED = 6 , } impl Default for MavResult { fn default ( ) -> Self { MavResult :: MAV_RESULT_ACCEPTED } } # [ derive ( Debug , Copy , Clone , PartialEq , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = \"serde\" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = \"serde\" , serde ( tag = \"type\" ) ) ] pub enum MavMissionResult { MAV_MISSION_ACCEPTED = 0 , MAV_MISSION_ERROR = 1 , MAV_MISSION_UNSUPPORTED_FRAME = 2 , MAV_MISSION_UNSUPPORTED = 3 , MAV_MISSION_NO_SPACE = 4 , MAV_MISSION_INVALID = 5 , MAV_MISSION_INVALID_PARAM1 = 6 , MAV_MISSION_INVALID_PARAM2 = 7 , MAV_MISSION_INVALID_PARAM3 = 8 , MAV_MISSION_INVALID_PARAM4 = 9 , MAV_MISSION_INVALID_PARAM5_X = 10 , MAV_MISSION_INVALID_PARAM6_Y = 11 , MAV_MISSION_INVALID_PARAM7 = 12 , MAV_MISSION_INVALID_SEQUENCE = 13 , MAV_MISSION_DENIED = 14 , MAV_MISSION_OPERATION_CANCELLED = 15 , } impl Default for MavMissionResult { fn default ( ) -> Self { MavMissionResult :: MAV_MISSION_ACCEPTED } } # [ derive ( Debug , Copy , Clone , PartialEq , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = \"serde\" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = \"serde\" , serde ( tag = \"type\" ) ) ] pub enum MavSeverity { MAV_SEVERITY_EMERGENCY = 0 , MAV_SEVERITY_ALERT = 1 , MAV_SEVERITY_CRITICAL = 2 , MAV_SEVERITY_ERROR = 3 , MAV_SEVERITY_WARNING = 4 , MAV_SEVERITY_NOTICE = 5 , MAV_SEVERITY_INFO = 6 , MAV_SEVERITY_DEBUG = 7 , } impl Default for MavSeverity { fn default ( ) -> Self { MavSeverity :: MAV_SEVERITY_EMERGENCY } } bitflags ! { # [ cfg_attr ( feature = \"serde\" , derive ( Serialize , Deserialize ) ) ] pub struct MavPowerStatus : u16 { const MAV_POWER_STATUS_BRICK_VALID = 1 ; const MAV_POWER_STATUS_SERVO_VALID = 2 ; const MAV_POWER_STATUS_USB_CONNECTED = 4 ; const MAV_POWER_STATUS_PERIPH_OVERCURRENT = 8 ; const MAV_POWER_STATUS_PERIPH_HIPOWER_OVERCURRENT = 16 ; const MAV_POWER_STATUS_CHANGED = 32 ; } } impl Default for MavPowerStatus { fn default ( ) -> Self { MavPowerStatus :: MAV_POWER_STATUS_BRICK_VALID } } # [ derive ( Debug , Copy , Clone , PartialEq , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = \"serde\" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = \"serde\" , serde ( tag = \"type\" ) ) ] pub enum SerialControlDev { SERIAL_CONTROL_DEV_TELEM1 = 0 , SERIAL_CONTROL_DEV_TELEM2 = 1 , SERIAL_CONTROL_DEV_GPS1 = 2 , SERIAL_CONTROL_DEV_GPS2 = 3 , SERIAL_CONTROL_DEV_SHELL = 10 , SERIAL_CONTROL_SERIAL0 = 100 , SERIAL_CONTROL_SERIAL1 = 101 , SERIAL_CONTROL_SERIAL2 = 102 , SERIAL_CONTROL_SERIAL3 = 103 , SERIAL_CONTROL_SERIAL4 = 104 , SERIAL_CONTROL_SERIAL5 = 105 , SERIAL_CONTROL_SERIAL6 = 106 , SERIAL_CONTROL_SERIAL7 = 107 , SERIAL_CONTROL_SERIAL8 = 108 , SERIAL_CONTROL_SERIAL9 = 109 , } impl Default for SerialControlDev { fn default ( ) -> Self { SerialControlDev :: SERIAL_CONTROL_DEV_TELEM1 } } bitflags ! { # [ cfg_attr ( feature = \"serde\" , derive ( Serialize , Deserialize ) ) ] pub struct SerialControlFlag : u8 { const SERIAL_CONTROL_FLAG_REPLY = 1 ; const SERIAL_CONTROL_FLAG_RESPOND = 2 ; const SERIAL_CONTROL_FLAG_EXCLUSIVE = 4 ; const SERIAL_CONTROL_FLAG_BLOCKING = 8 ; const SERIAL_CONTROL_FLAG_MULTI = 16 ; } } impl Default for SerialControlFlag { fn default ( ) -> Self { SerialControlFlag :: SERIAL_CONTROL_FLAG_REPLY } } # [ derive ( Debug , Copy , Clone , PartialEq , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = \"serde\" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = \"serde\" , serde ( tag = \"type\" ) ) ] pub enum MavDistanceSensor { MAV_DISTANCE_SENSOR_LASER = 0 , MAV_DISTANCE_SENSOR_ULTRASOUND = 1 , MAV_DISTANCE_SENSOR_INFRARED = 2 , MAV_DISTANCE_SENSOR_RADAR = 3 , MAV_DISTANCE_SENSOR_UNKNOWN = 4 , } impl Default for MavDistanceSensor { fn default ( ) -> Self { MavDistanceSensor :: MAV_DISTANCE_SENSOR_LASER } } # [ derive ( Debug , Copy , Clone , PartialEq , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = \"serde\" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = \"serde\" , serde ( tag = \"type\" ) ) ] pub enum MavSensorOrientation { MAV_SENSOR_ROTATION_NONE = 0 , MAV_SENSOR_ROTATION_YAW_45 = 1 , MAV_SENSOR_ROTATION_YAW_90 = 2 , MAV_SENSOR_ROTATION_YAW_135 = 3 , MAV_SENSOR_ROTATION_YAW_180 = 4 , MAV_SENSOR_ROTATION_YAW_225 = 5 , MAV_SENSOR_ROTATION_YAW_270 = 6 , MAV_SENSOR_ROTATION_YAW_315 = 7 , MAV_SENSOR_ROTATION_ROLL_180 = 8 , MAV_SENSOR_ROTATION_ROLL_180_YAW_45 = 9 , MAV_SENSOR_ROTATION_ROLL_180_YAW_90 = 10 , MAV_SENSOR_ROTATION_ROLL_180_YAW_135 = 11 , MAV_SENSOR_ROTATION_PITCH_180 = 12 , MAV_SENSOR_ROTATION_ROLL_180_YAW_225 = 13 , MAV_SENSOR_ROTATION_ROLL_180_YAW_270 = 14 , MAV_SENSOR_ROTATION_ROLL_180_YAW_315 = 15 , MAV_SENSOR_ROTATION_ROLL_90 = 16 , MAV_SENSOR_ROTATION_ROLL_90_YAW_45 = 17 , MAV_SENSOR_ROTATION_ROLL_90_YAW_90 = 18 , MAV_SENSOR_ROTATION_ROLL_90_YAW_135 = 19 , MAV_SENSOR_ROTATION_ROLL_270 = 20 , MAV_SENSOR_ROTATION_ROLL_270_YAW_45 = 21 , MAV_SENSOR_ROTATION_ROLL_270_YAW_90 = 22 , MAV_SENSOR_ROTATION_ROLL_270_YAW_135 = 23 , MAV_SENSOR_ROTATION_PITCH_90 = 24 , MAV_SENSOR_ROTATION_PITCH_270 = 25 , MAV_SENSOR_ROTATION_PITCH_180_YAW_90 = 26 , MAV_SENSOR_ROTATION_PITCH_180_YAW_270 = 27 , MAV_SENSOR_ROTATION_ROLL_90_PITCH_90 = 28 , MAV_SENSOR_ROTATION_ROLL_180_PITCH_90 = 29 , MAV_SENSOR_ROTATION_ROLL_270_PITCH_90 = 30 , MAV_SENSOR_ROTATION_ROLL_90_PITCH_180 = 31 , MAV_SENSOR_ROTATION_ROLL_270_PITCH_180 = 32 , MAV_SENSOR_ROTATION_ROLL_90_PITCH_270 = 33 , MAV_SENSOR_ROTATION_ROLL_180_PITCH_270 = 34 , MAV_SENSOR_ROTATION_ROLL_270_PITCH_270 = 35 , MAV_SENSOR_ROTATION_ROLL_90_PITCH_180_YAW_90 = 36 , MAV_SENSOR_ROTATION_ROLL_90_YAW_270 = 37 , MAV_SENSOR_ROTATION_ROLL_90_PITCH_68_YAW_293 = 38 , MAV_SENSOR_ROTATION_PITCH_315 = 39 , MAV_SENSOR_ROTATION_ROLL_90_PITCH_315 = 40 , MAV_SENSOR_ROTATION_ROLL_270_YAW_180 = 41 , MAV_SENSOR_ROTATION_CUSTOM = 100 , } impl Default for MavSensorOrientation { fn default ( ) -> Self { MavSensorOrientation :: MAV_SENSOR_ROTATION_NONE } } bitflags ! { # [ cfg_attr ( feature = \"serde\" , derive ( Serialize , Deserialize ) ) ] pub struct MavProtocolCapability : u64 { const MAV_PROTOCOL_CAPABILITY_MISSION_FLOAT = 1 ; const MAV_PROTOCOL_CAPABILITY_PARAM_FLOAT = 2 ; const MAV_PROTOCOL_CAPABILITY_MISSION_INT = 4 ; const MAV_PROTOCOL_CAPABILITY_COMMAND_INT = 8 ; const MAV_PROTOCOL_CAPABILITY_PARAM_UNION = 16 ; const MAV_PROTOCOL_CAPABILITY_FTP = 32 ; const MAV_PROTOCOL_CAPABILITY_SET_ATTITUDE_TARGET = 64 ; const MAV_PROTOCOL_CAPABILITY_SET_POSITION_TARGET_LOCAL_NED = 128 ; const MAV_PROTOCOL_CAPABILITY_SET_POSITION_TARGET_GLOBAL_INT = 256 ; const MAV_PROTOCOL_CAPABILITY_TERRAIN = 512 ; const MAV_PROTOCOL_CAPABILITY_SET_ACTUATOR_TARGET = 1024 ; const MAV_PROTOCOL_CAPABILITY_FLIGHT_TERMINATION = 2048 ; const MAV_PROTOCOL_CAPABILITY_COMPASS_CALIBRATION = 4096 ; const MAV_PROTOCOL_CAPABILITY_MAVLINK2 = 8192 ; const MAV_PROTOCOL_CAPABILITY_MISSION_FENCE = 16384 ; const MAV_PROTOCOL_CAPABILITY_MISSION_RALLY = 32768 ; const MAV_PROTOCOL_CAPABILITY_FLIGHT_INFORMATION = 65536 ; } } impl Default for MavProtocolCapability { fn default ( ) -> Self { MavProtocolCapability :: MAV_PROTOCOL_CAPABILITY_MISSION_FLOAT } } # [ derive ( Debug , Copy , Clone , PartialEq , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = \"serde\" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = \"serde\" , serde ( tag = \"type\" ) ) ] pub enum MavMissionType { MAV_MISSION_TYPE_MISSION = 0 , MAV_MISSION_TYPE_FENCE = 1 , MAV_MISSION_TYPE_RALLY = 2 , MAV_MISSION_TYPE_ALL = 255 , } impl Default for MavMissionType { fn default ( ) -> Self { MavMissionType :: MAV_MISSION_TYPE_MISSION } } # [ derive ( Debug , Copy , Clone , PartialEq , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = \"serde\" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = \"serde\" , serde ( tag = \"type\" ) ) ] pub enum MavEstimatorType { MAV_ESTIMATOR_TYPE_UNKNOWN = 0 , MAV_ESTIMATOR_TYPE_NAIVE = 1 , MAV_ESTIMATOR_TYPE_VISION = 2 , MAV_ESTIMATOR_TYPE_VIO = 3 , MAV_ESTIMATOR_TYPE_GPS = 4 , MAV_ESTIMATOR_TYPE_GPS_INS = 5 , MAV_ESTIMATOR_TYPE_MOCAP = 6 , MAV_ESTIMATOR_TYPE_LIDAR = 7 , MAV_ESTIMATOR_TYPE_AUTOPILOT = 8 , } impl Default for MavEstimatorType { fn default ( ) -> Self { MavEstimatorType :: MAV_ESTIMATOR_TYPE_UNKNOWN } } # [ derive ( Debug , Copy , Clone , PartialEq , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = \"serde\" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = \"serde\" , serde ( tag = \"type\" ) ) ] pub enum MavBatteryType { MAV_BATTERY_TYPE_UNKNOWN = 0 , MAV_BATTERY_TYPE_LIPO = 1 , MAV_BATTERY_TYPE_LIFE = 2 , MAV_BATTERY_TYPE_LION = 3 , MAV_BATTERY_TYPE_NIMH = 4 , } impl Default for MavBatteryType { fn default ( ) -> Self { MavBatteryType :: MAV_BATTERY_TYPE_UNKNOWN } } # [ derive ( Debug , Copy , Clone , PartialEq , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = \"serde\" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = \"serde\" , serde ( tag = \"type\" ) ) ] pub enum MavBatteryFunction { MAV_BATTERY_FUNCTION_UNKNOWN = 0 , MAV_BATTERY_FUNCTION_ALL = 1 , MAV_BATTERY_FUNCTION_PROPULSION = 2 , MAV_BATTERY_FUNCTION_AVIONICS = 3 , MAV_BATTERY_TYPE_PAYLOAD = 4 , } impl Default for MavBatteryFunction { fn default ( ) -> Self { MavBatteryFunction :: MAV_BATTERY_FUNCTION_UNKNOWN } } # [ derive ( Debug , Copy , Clone , PartialEq , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = \"serde\" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = \"serde\" , serde ( tag = \"type\" ) ) ] pub enum MavBatteryChargeState { MAV_BATTERY_CHARGE_STATE_UNDEFINED = 0 , MAV_BATTERY_CHARGE_STATE_OK = 1 , MAV_BATTERY_CHARGE_STATE_LOW = 2 , MAV_BATTERY_CHARGE_STATE_CRITICAL = 3 , MAV_BATTERY_CHARGE_STATE_EMERGENCY = 4 , MAV_BATTERY_CHARGE_STATE_FAILED = 5 , MAV_BATTERY_CHARGE_STATE_UNHEALTHY = 6 , MAV_BATTERY_CHARGE_STATE_CHARGING = 7 , } impl Default for MavBatteryChargeState { fn default ( ) -> Self { MavBatteryChargeState :: MAV_BATTERY_CHARGE_STATE_UNDEFINED } } bitflags ! { # [ cfg_attr ( feature = \"serde\" , derive ( Serialize , Deserialize ) ) ] pub struct MavSmartBatteryFault : i32 { const MAV_SMART_BATTERY_FAULT_DEEP_DISCHARGE = 1 ; const MAV_SMART_BATTERY_FAULT_SPIKES = 2 ; const MAV_SMART_BATTERY_FAULT_SINGLE_CELL_FAIL = 4 ; const MAV_SMART_BATTERY_FAULT_OVER_CURRENT = 8 ; const MAV_SMART_BATTERY_FAULT_OVER_TEMPERATURE = 16 ; const MAV_SMART_BATTERY_FAULT_UNDER_TEMPERATURE = 32 ; } } impl Default for MavSmartBatteryFault { fn default ( ) -> Self { MavSmartBatteryFault :: MAV_SMART_BATTERY_FAULT_DEEP_DISCHARGE } } bitflags ! { # [ cfg_attr ( feature = \"serde\" , derive ( Serialize , Deserialize ) ) ] pub struct MavGeneratorStatusFlag : u64 { const MAV_GENERATOR_STATUS_FLAG_OFF = 1 ; const MAV_GENERATOR_STATUS_FLAG_READY = 2 ; const MAV_GENERATOR_STATUS_FLAG_GENERATING = 4 ; const MAV_GENERATOR_STATUS_FLAG_CHARGING = 8 ; const MAV_GENERATOR_STATUS_FLAG_REDUCED_POWER = 16 ; const MAV_GENERATOR_STATUS_FLAG_MAXPOWER = 32 ; const MAV_GENERATOR_STATUS_FLAG_OVERTEMP_WARNING = 64 ; const MAV_GENERATOR_STATUS_FLAG_OVERTEMP_FAULT = 128 ; const MAV_GENERATOR_STATUS_FLAG_ELECTRONICS_OVERTEMP_WARNING = 256 ; const MAV_GENERATOR_STATUS_FLAG_ELECTRONICS_OVERTEMP_FAULT = 512 ; const MAV_GENERATOR_STATUS_FLAG_ELECTRONICS_FAULT = 1024 ; const MAV_GENERATOR_STATUS_FLAG_POWERSOURCE_FAULT = 2048 ; const MAV_GENERATOR_STATUS_FLAG_COMMUNICATION_WARNING = 4096 ; const MAV_GENERATOR_STATUS_FLAG_COOLING_WARNING = 8192 ; const MAV_GENERATOR_STATUS_FLAG_POWER_RAIL_FAULT = 16384 ; const MAV_GENERATOR_STATUS_FLAG_OVERCURRENT_FAULT = 32768 ; const MAV_GENERATOR_STATUS_FLAG_BATTERY_OVERCHARGE_CURRENT_FAULT = 65536 ; const MAV_GENERATOR_STATUS_FLAG_OVERVOLTAGE_FAULT = 131072 ; const MAV_GENERATOR_STATUS_FLAG_BATTERY_UNDERVOLT_FAULT = 262144 ; const MAV_GENERATOR_STATUS_FLAG_START_INHIBITED = 524288 ; const MAV_GENERATOR_STATUS_FLAG_MAINTENANCE_REQUIRED = 1048576 ; } } impl Default for MavGeneratorStatusFlag { fn default ( ) -> Self { MavGeneratorStatusFlag :: MAV_GENERATOR_STATUS_FLAG_OFF } } # [ derive ( Debug , Copy , Clone , PartialEq , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = \"serde\" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = \"serde\" , serde ( tag = \"type\" ) ) ] pub enum MavVtolState { MAV_VTOL_STATE_UNDEFINED = 0 , MAV_VTOL_STATE_TRANSITION_TO_FW = 1 , MAV_VTOL_STATE_TRANSITION_TO_MC = 2 , MAV_VTOL_STATE_MC = 3 , MAV_VTOL_STATE_FW = 4 , } impl Default for MavVtolState { fn default ( ) -> Self { MavVtolState :: MAV_VTOL_STATE_UNDEFINED } } # [ derive ( Debug , Copy , Clone , PartialEq , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = \"serde\" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = \"serde\" , serde ( tag = \"type\" ) ) ] pub enum MavLandedState { MAV_LANDED_STATE_UNDEFINED = 0 , MAV_LANDED_STATE_ON_GROUND = 1 , MAV_LANDED_STATE_IN_AIR = 2 , MAV_LANDED_STATE_TAKEOFF = 3 , MAV_LANDED_STATE_LANDING = 4 , } impl Default for MavLandedState { fn default ( ) -> Self { MavLandedState :: MAV_LANDED_STATE_UNDEFINED } } # [ derive ( Debug , Copy , Clone , PartialEq , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = \"serde\" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = \"serde\" , serde ( tag = \"type\" ) ) ] pub enum AdsbAltitudeType { ADSB_ALTITUDE_TYPE_PRESSURE_QNH = 0 , ADSB_ALTITUDE_TYPE_GEOMETRIC = 1 , } impl Default for AdsbAltitudeType { fn default ( ) -> Self { AdsbAltitudeType :: ADSB_ALTITUDE_TYPE_PRESSURE_QNH } } # [ derive ( Debug , Copy , Clone , PartialEq , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = \"serde\" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = \"serde\" , serde ( tag = \"type\" ) ) ] pub enum AdsbEmitterType { ADSB_EMITTER_TYPE_NO_INFO = 0 , ADSB_EMITTER_TYPE_LIGHT = 1 , ADSB_EMITTER_TYPE_SMALL = 2 , ADSB_EMITTER_TYPE_LARGE = 3 , ADSB_EMITTER_TYPE_HIGH_VORTEX_LARGE = 4 , ADSB_EMITTER_TYPE_HEAVY = 5 , ADSB_EMITTER_TYPE_HIGHLY_MANUV = 6 , ADSB_EMITTER_TYPE_ROTOCRAFT = 7 , ADSB_EMITTER_TYPE_UNASSIGNED = 8 , ADSB_EMITTER_TYPE_GLIDER = 9 , ADSB_EMITTER_TYPE_LIGHTER_AIR = 10 , ADSB_EMITTER_TYPE_PARACHUTE = 11 , ADSB_EMITTER_TYPE_ULTRA_LIGHT = 12 , ADSB_EMITTER_TYPE_UNASSIGNED2 = 13 , ADSB_EMITTER_TYPE_UAV = 14 , ADSB_EMITTER_TYPE_SPACE = 15 , ADSB_EMITTER_TYPE_UNASSGINED3 = 16 , ADSB_EMITTER_TYPE_EMERGENCY_SURFACE = 17 , ADSB_EMITTER_TYPE_SERVICE_SURFACE = 18 , ADSB_EMITTER_TYPE_POINT_OBSTACLE = 19 , } impl Default for AdsbEmitterType { fn default ( ) -> Self { AdsbEmitterType :: ADSB_EMITTER_TYPE_NO_INFO } } bitflags ! { # [ cfg_attr ( feature = \"serde\" , derive ( Serialize , Deserialize ) ) ] pub struct AdsbFlags : u16 { const ADSB_FLAGS_VALID_COORDS = 1 ; const ADSB_FLAGS_VALID_ALTITUDE = 2 ; const ADSB_FLAGS_VALID_HEADING = 4 ; const ADSB_FLAGS_VALID_VELOCITY = 8 ; const ADSB_FLAGS_VALID_CALLSIGN = 16 ; const ADSB_FLAGS_VALID_SQUAWK = 32 ; const ADSB_FLAGS_SIMULATED = 64 ; const ADSB_FLAGS_VERTICAL_VELOCITY_VALID = 128 ; const ADSB_FLAGS_BARO_VALID = 256 ; const ADSB_FLAGS_SOURCE_UAT = 32768 ; } } impl Default for AdsbFlags { fn default ( ) -> Self { AdsbFlags :: ADSB_FLAGS_VALID_COORDS } } # [ derive ( Debug , Copy , Clone , PartialEq , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = \"serde\" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = \"serde\" , serde ( tag = \"type\" ) ) ] pub enum MavDoRepositionFlags { MAV_DO_REPOSITION_FLAGS_CHANGE_MODE = 1 , } impl Default for MavDoRepositionFlags { fn default ( ) -> Self { MavDoRepositionFlags :: MAV_DO_REPOSITION_FLAGS_CHANGE_MODE } } bitflags ! { # [ cfg_attr ( feature = \"serde\" , derive ( Serialize , Deserialize ) ) ] pub struct EstimatorStatusFlags : u16 { const ESTIMATOR_ATTITUDE = 1 ; const ESTIMATOR_VELOCITY_HORIZ = 2 ; const ESTIMATOR_VELOCITY_VERT = 4 ; const ESTIMATOR_POS_HORIZ_REL = 8 ; const ESTIMATOR_POS_HORIZ_ABS = 16 ; const ESTIMATOR_POS_VERT_ABS = 32 ; const ESTIMATOR_POS_VERT_AGL = 64 ; const ESTIMATOR_CONST_POS_MODE = 128 ; const ESTIMATOR_PRED_POS_HORIZ_REL = 256 ; const ESTIMATOR_PRED_POS_HORIZ_ABS = 512 ; const ESTIMATOR_GPS_GLITCH = 1024 ; const ESTIMATOR_ACCEL_ERROR = 2048 ; } } impl Default for EstimatorStatusFlags { fn default ( ) -> Self { EstimatorStatusFlags :: ESTIMATOR_ATTITUDE } } # [ derive ( Debug , Copy , Clone , PartialEq , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = \"serde\" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = \"serde\" , serde ( tag = \"type\" ) ) ] pub enum MotorTestOrder { MOTOR_TEST_ORDER_DEFAULT = 0 , MOTOR_TEST_ORDER_SEQUENCE = 1 , MOTOR_TEST_ORDER_BOARD = 2 , } impl Default for MotorTestOrder { fn default ( ) -> Self { MotorTestOrder :: MOTOR_TEST_ORDER_DEFAULT } } # [ derive ( Debug , Copy , Clone , PartialEq , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = \"serde\" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = \"serde\" , serde ( tag = \"type\" ) ) ] pub enum MotorTestThrottleType { MOTOR_TEST_THROTTLE_PERCENT = 0 , MOTOR_TEST_THROTTLE_PWM = 1 , MOTOR_TEST_THROTTLE_PILOT = 2 , MOTOR_TEST_COMPASS_CAL = 3 , } impl Default for MotorTestThrottleType { fn default ( ) -> Self { MotorTestThrottleType :: MOTOR_TEST_THROTTLE_PERCENT } } bitflags ! { # [ cfg_attr ( feature = \"serde\" , derive ( Serialize , Deserialize ) ) ] pub struct GpsInputIgnoreFlags : u16 { const GPS_INPUT_IGNORE_FLAG_ALT = 1 ; const GPS_INPUT_IGNORE_FLAG_HDOP = 2 ; const GPS_INPUT_IGNORE_FLAG_VDOP = 4 ; const GPS_INPUT_IGNORE_FLAG_VEL_HORIZ = 8 ; const GPS_INPUT_IGNORE_FLAG_VEL_VERT = 16 ; const GPS_INPUT_IGNORE_FLAG_SPEED_ACCURACY = 32 ; const GPS_INPUT_IGNORE_FLAG_HORIZONTAL_ACCURACY = 64 ; const GPS_INPUT_IGNORE_FLAG_VERTICAL_ACCURACY = 128 ; } } impl Default for GpsInputIgnoreFlags { fn default ( ) -> Self { GpsInputIgnoreFlags :: GPS_INPUT_IGNORE_FLAG_ALT } } # [ derive ( Debug , Copy , Clone , PartialEq , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = \"serde\" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = \"serde\" , serde ( tag = \"type\" ) ) ] pub enum MavCollisionAction { MAV_COLLISION_ACTION_NONE = 0 , MAV_COLLISION_ACTION_REPORT = 1 , MAV_COLLISION_ACTION_ASCEND_OR_DESCEND = 2 , MAV_COLLISION_ACTION_MOVE_HORIZONTALLY = 3 , MAV_COLLISION_ACTION_MOVE_PERPENDICULAR = 4 , MAV_COLLISION_ACTION_RTL = 5 , MAV_COLLISION_ACTION_HOVER = 6 , } impl Default for MavCollisionAction { fn default ( ) -> Self { MavCollisionAction :: MAV_COLLISION_ACTION_NONE } } # [ derive ( Debug , Copy , Clone , PartialEq , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = \"serde\" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = \"serde\" , serde ( tag = \"type\" ) ) ] pub enum MavCollisionThreatLevel { MAV_COLLISION_THREAT_LEVEL_NONE = 0 , MAV_COLLISION_THREAT_LEVEL_LOW = 1 , MAV_COLLISION_THREAT_LEVEL_HIGH = 2 , } impl Default for MavCollisionThreatLevel { fn default ( ) -> Self { MavCollisionThreatLevel :: MAV_COLLISION_THREAT_LEVEL_NONE } } # [ derive ( Debug , Copy , Clone , PartialEq , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = \"serde\" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = \"serde\" , serde ( tag = \"type\" ) ) ] pub enum MavCollisionSrc { MAV_COLLISION_SRC_ADSB = 0 , MAV_COLLISION_SRC_MAVLINK_GPS_GLOBAL_INT = 1 , } impl Default for MavCollisionSrc { fn default ( ) -> Self { MavCollisionSrc :: MAV_COLLISION_SRC_ADSB } } # [ derive ( Debug , Copy , Clone , PartialEq , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = \"serde\" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = \"serde\" , serde ( tag = \"type\" ) ) ] pub enum GpsFixType { GPS_FIX_TYPE_NO_GPS = 0 , GPS_FIX_TYPE_NO_FIX = 1 , GPS_FIX_TYPE_2D_FIX = 2 , GPS_FIX_TYPE_3D_FIX = 3 , GPS_FIX_TYPE_DGPS = 4 , GPS_FIX_TYPE_RTK_FLOAT = 5 , GPS_FIX_TYPE_RTK_FIXED = 6 , GPS_FIX_TYPE_STATIC = 7 , GPS_FIX_TYPE_PPP = 8 , } impl Default for GpsFixType { fn default ( ) -> Self { GpsFixType :: GPS_FIX_TYPE_NO_GPS } } # [ derive ( Debug , Copy , Clone , PartialEq , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = \"serde\" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = \"serde\" , serde ( tag = \"type\" ) ) ] pub enum RtkBaselineCoordinateSystem { RTK_BASELINE_COORDINATE_SYSTEM_ECEF = 0 , RTK_BASELINE_COORDINATE_SYSTEM_NED = 1 , } impl Default for RtkBaselineCoordinateSystem { fn default ( ) -> Self { RtkBaselineCoordinateSystem :: RTK_BASELINE_COORDINATE_SYSTEM_ECEF } } # [ derive ( Debug , Copy , Clone , PartialEq , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = \"serde\" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = \"serde\" , serde ( tag = \"type\" ) ) ] pub enum LandingTargetType { LANDING_TARGET_TYPE_LIGHT_BEACON = 0 , LANDING_TARGET_TYPE_RADIO_BEACON = 1 , LANDING_TARGET_TYPE_VISION_FIDUCIAL = 2 , LANDING_TARGET_TYPE_VISION_OTHER = 3 , } impl Default for LandingTargetType { fn default ( ) -> Self { LandingTargetType :: LANDING_TARGET_TYPE_LIGHT_BEACON } } # [ derive ( Debug , Copy , Clone , PartialEq , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = \"serde\" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = \"serde\" , serde ( tag = \"type\" ) ) ] pub enum VtolTransitionHeading { VTOL_TRANSITION_HEADING_VEHICLE_DEFAULT = 0 , VTOL_TRANSITION_HEADING_NEXT_WAYPOINT = 1 , VTOL_TRANSITION_HEADING_TAKEOFF = 2 , VTOL_TRANSITION_HEADING_SPECIFIED = 3 , VTOL_TRANSITION_HEADING_ANY = 4 , } impl Default for VtolTransitionHeading { fn default ( ) -> Self { VtolTransitionHeading :: VTOL_TRANSITION_HEADING_VEHICLE_DEFAULT } } bitflags ! { # [ cfg_attr ( feature = \"serde\" , derive ( Serialize , Deserialize ) ) ] pub struct CameraCapFlags : u32 { const CAMERA_CAP_FLAGS_CAPTURE_VIDEO = 1 ; const CAMERA_CAP_FLAGS_CAPTURE_IMAGE = 2 ; const CAMERA_CAP_FLAGS_HAS_MODES = 4 ; const CAMERA_CAP_FLAGS_CAN_CAPTURE_IMAGE_IN_VIDEO_MODE = 8 ; const CAMERA_CAP_FLAGS_CAN_CAPTURE_VIDEO_IN_IMAGE_MODE = 16 ; const CAMERA_CAP_FLAGS_HAS_IMAGE_SURVEY_MODE = 32 ; const CAMERA_CAP_FLAGS_HAS_BASIC_ZOOM = 64 ; const CAMERA_CAP_FLAGS_HAS_BASIC_FOCUS = 128 ; const CAMERA_CAP_FLAGS_HAS_VIDEO_STREAM = 256 ; } } impl Default for CameraCapFlags { fn default ( ) -> Self { CameraCapFlags :: CAMERA_CAP_FLAGS_CAPTURE_VIDEO } } # [ derive ( Debug , Copy , Clone , PartialEq , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = \"serde\" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = \"serde\" , serde ( tag = \"type\" ) ) ] pub enum VideoStreamStatusFlags { VIDEO_STREAM_STATUS_FLAGS_RUNNING = 1 , VIDEO_STREAM_STATUS_FLAGS_THERMAL = 2 , } impl Default for VideoStreamStatusFlags { fn default ( ) -> Self { VideoStreamStatusFlags :: VIDEO_STREAM_STATUS_FLAGS_RUNNING } } # [ derive ( Debug , Copy , Clone , PartialEq , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = \"serde\" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = \"serde\" , serde ( tag = \"type\" ) ) ] pub enum VideoStreamType { VIDEO_STREAM_TYPE_RTSP = 0 , VIDEO_STREAM_TYPE_RTPUDP = 1 , VIDEO_STREAM_TYPE_TCP_MPEG = 2 , VIDEO_STREAM_TYPE_MPEG_TS_H264 = 3 , } impl Default for VideoStreamType { fn default ( ) -> Self { VideoStreamType :: VIDEO_STREAM_TYPE_RTSP } } # [ derive ( Debug , Copy , Clone , PartialEq , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = \"serde\" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = \"serde\" , serde ( tag = \"type\" ) ) ] pub enum CameraZoomType { ZOOM_TYPE_STEP = 0 , ZOOM_TYPE_CONTINUOUS = 1 , ZOOM_TYPE_RANGE = 2 , ZOOM_TYPE_FOCAL_LENGTH = 3 , } impl Default for CameraZoomType { fn default ( ) -> Self { CameraZoomType :: ZOOM_TYPE_STEP } } # [ derive ( Debug , Copy , Clone , PartialEq , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = \"serde\" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = \"serde\" , serde ( tag = \"type\" ) ) ] pub enum SetFocusType { FOCUS_TYPE_STEP = 0 , FOCUS_TYPE_CONTINUOUS = 1 , FOCUS_TYPE_RANGE = 2 , FOCUS_TYPE_METERS = 3 , } impl Default for SetFocusType { fn default ( ) -> Self { SetFocusType :: FOCUS_TYPE_STEP } } # [ derive ( Debug , Copy , Clone , PartialEq , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = \"serde\" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = \"serde\" , serde ( tag = \"type\" ) ) ] pub enum ParamAck { PARAM_ACK_ACCEPTED = 0 , PARAM_ACK_VALUE_UNSUPPORTED = 1 , PARAM_ACK_FAILED = 2 , PARAM_ACK_IN_PROGRESS = 3 , } impl Default for ParamAck { fn default ( ) -> Self { ParamAck :: PARAM_ACK_ACCEPTED } } # [ derive ( Debug , Copy , Clone , PartialEq , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = \"serde\" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = \"serde\" , serde ( tag = \"type\" ) ) ] pub enum CameraMode { CAMERA_MODE_IMAGE = 0 , CAMERA_MODE_VIDEO = 1 , CAMERA_MODE_IMAGE_SURVEY = 2 , } impl Default for CameraMode { fn default ( ) -> Self { CameraMode :: CAMERA_MODE_IMAGE } } # [ derive ( Debug , Copy , Clone , PartialEq , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = \"serde\" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = \"serde\" , serde ( tag = \"type\" ) ) ] pub enum MavArmAuthDeniedReason { MAV_ARM_AUTH_DENIED_REASON_GENERIC = 0 , MAV_ARM_AUTH_DENIED_REASON_NONE = 1 , MAV_ARM_AUTH_DENIED_REASON_INVALID_WAYPOINT = 2 , MAV_ARM_AUTH_DENIED_REASON_TIMEOUT = 3 , MAV_ARM_AUTH_DENIED_REASON_AIRSPACE_IN_USE = 4 , MAV_ARM_AUTH_DENIED_REASON_BAD_WEATHER = 5 , } impl Default for MavArmAuthDeniedReason { fn default ( ) -> Self { MavArmAuthDeniedReason :: MAV_ARM_AUTH_DENIED_REASON_GENERIC } } # [ derive ( Debug , Copy , Clone , PartialEq , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = \"serde\" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = \"serde\" , serde ( tag = \"type\" ) ) ] pub enum RcType { RC_TYPE_SPEKTRUM_DSM2 = 0 , RC_TYPE_SPEKTRUM_DSMX = 1 , } impl Default for RcType { fn default ( ) -> Self { RcType :: RC_TYPE_SPEKTRUM_DSM2 } } bitflags ! { # [ cfg_attr ( feature = \"serde\" , derive ( Serialize , Deserialize ) ) ] pub struct PositionTargetTypemask : u16 { const POSITION_TARGET_TYPEMASK_X_IGNORE = 1 ; const POSITION_TARGET_TYPEMASK_Y_IGNORE = 2 ; const POSITION_TARGET_TYPEMASK_Z_IGNORE = 4 ; const POSITION_TARGET_TYPEMASK_VX_IGNORE = 8 ; const POSITION_TARGET_TYPEMASK_VY_IGNORE = 16 ; const POSITION_TARGET_TYPEMASK_VZ_IGNORE = 32 ; const POSITION_TARGET_TYPEMASK_AX_IGNORE = 64 ; const POSITION_TARGET_TYPEMASK_AY_IGNORE = 128 ; const POSITION_TARGET_TYPEMASK_AZ_IGNORE = 256 ; const POSITION_TARGET_TYPEMASK_FORCE_SET = 512 ; const POSITION_TARGET_TYPEMASK_YAW_IGNORE = 1024 ; const POSITION_TARGET_TYPEMASK_YAW_RATE_IGNORE = 2048 ; } } impl Default for PositionTargetTypemask { fn default ( ) -> Self { PositionTargetTypemask :: POSITION_TARGET_TYPEMASK_X_IGNORE } } # [ derive ( Debug , Copy , Clone , PartialEq , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = \"serde\" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = \"serde\" , serde ( tag = \"type\" ) ) ] pub enum UtmFlightState { UTM_FLIGHT_STATE_UNKNOWN = 1 , UTM_FLIGHT_STATE_GROUND = 2 , UTM_FLIGHT_STATE_AIRBORNE = 3 , UTM_FLIGHT_STATE_EMERGENCY = 16 , UTM_FLIGHT_STATE_NOCTRL = 32 , } impl Default for UtmFlightState { fn default ( ) -> Self { UtmFlightState :: UTM_FLIGHT_STATE_UNKNOWN } } bitflags ! { # [ cfg_attr ( feature = \"serde\" , derive ( Serialize , Deserialize ) ) ] pub struct UtmDataAvailFlags : u8 { const UTM_DATA_AVAIL_FLAGS_TIME_VALID = 1 ; const UTM_DATA_AVAIL_FLAGS_UAS_ID_AVAILABLE = 2 ; const UTM_DATA_AVAIL_FLAGS_POSITION_AVAILABLE = 4 ; const UTM_DATA_AVAIL_FLAGS_ALTITUDE_AVAILABLE = 8 ; const UTM_DATA_AVAIL_FLAGS_RELATIVE_ALTITUDE_AVAILABLE = 16 ; const UTM_DATA_AVAIL_FLAGS_HORIZONTAL_VELO_AVAILABLE = 32 ; const UTM_DATA_AVAIL_FLAGS_VERTICAL_VELO_AVAILABLE = 64 ; const UTM_DATA_AVAIL_FLAGS_NEXT_WAYPOINT_AVAILABLE = 128 ; } } impl Default for UtmDataAvailFlags { fn default ( ) -> Self { UtmDataAvailFlags :: UTM_DATA_AVAIL_FLAGS_TIME_VALID } } # [ derive ( Debug , Copy , Clone , PartialEq , FromPrimitive , ToPrimitive ) ] # [ cfg_attr ( feature = \"serde\" , derive ( Serialize , Deserialize ) ) ] # [ cfg_attr ( feature = \"serde\" , serde ( tag = \"type\" [INFO] [stderr] error: could not compile `mavlink` (lib test); 163 warnings emitted [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/bin/rustc --crate-name mavlink --edition=2018 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,metadata -C embed-bitcode=no -C debuginfo=2 --test --cfg 'feature="common"' --cfg 'feature="default"' --cfg 'feature="direct-serial"' --cfg 'feature="serde"' --cfg 'feature="serial"' --cfg 'feature="std"' --cfg 'feature="tcp"' --cfg 'feature="udp"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("all-dialects", "ardupilotmega", "asluav", "autoquad", "common", "default", "direct-serial", "embedded", "embedded-hal", "emit-description", "emit-extensions", "icarous", "matrixpilot", "minimal", "nb", "paparazzi", "python_array_test", "serde", "serial", "slugs", "standard", "std", "tcp", "test", "ualberta", "uavionix", "udp"))' -C metadata=593ce83e9eff322d -C extra-filename=-3f4410641e32be92 --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern bitflags=/opt/rustwide/target/debug/deps/libbitflags-6dcfbc6bad33d8b2.rmeta --extern byteorder=/opt/rustwide/target/debug/deps/libbyteorder-4d231af3e0c2f894.rmeta --extern bytes=/opt/rustwide/target/debug/deps/libbytes-810e499bc229ede4.rmeta --extern crc_any=/opt/rustwide/target/debug/deps/libcrc_any-70ccac8cf3a4b64c.rmeta --extern num_derive=/opt/rustwide/target/debug/deps/libnum_derive-b04bd7e4c2a35dba.so --extern num_traits=/opt/rustwide/target/debug/deps/libnum_traits-167c1a5db5e18d69.rmeta --extern serde=/opt/rustwide/target/debug/deps/libserde-d298f9be79f76817.rmeta --extern serial=/opt/rustwide/target/debug/deps/libserial-b181baee48a0725b.rmeta --cap-lints=forbid` (signal: 9, SIGKILL: kill) [INFO] running `Command { std: "docker" "inspect" "2c523efec4c9d7cdf6e4d9239aac961557e9a6b48d8e022cdc7e01fb850c302b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2c523efec4c9d7cdf6e4d9239aac961557e9a6b48d8e022cdc7e01fb850c302b", kill_on_drop: false }` [INFO] [stdout] 2c523efec4c9d7cdf6e4d9239aac961557e9a6b48d8e022cdc7e01fb850c302b