dis-rust 0.2.10

A rust implementation of the DIS simulation protocol.
Documentation
Build #1817368 2025-02-28 21:13:21
# rustc version
rustc 1.87.0-nightly (96cfc7558 2025-02-27)# docs.rs version
docsrs 0.6.0 (d925d3c8 2025-02-27)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/dis-rust-0.2.10/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/dis-rust-0.2.10/source:/opt/rustwide/workdir:ro,Z" "-v" "/home/cratesfyi/workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/home/cratesfyi/workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "DOCS_RS=1" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "6442450944" "--cpus" "6" "--user" "1001:1001" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20250227-1.87.0-nightly-96cfc7558\", \"--static-root-path\", \"/-/rustdoc.static/\", \"--cap-lints\", \"warn\", \"--extern-html-root-takes-precedence\"]" "--offline" "-Zunstable-options" "--config=doc.extern-map.registries.crates-io=\"https://docs.rs/{pkg_name}/{version}/x86_64-unknown-linux-gnu\"" "-Zrustdoc-scrape-examples" "-j6" "--target" "x86_64-unknown-linux-gnu", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] fcec062525ca1717ecce16b10e24749ec4d2fdb9ee1561ed12746f7b4aa47595
[INFO] running `Command { std: "docker" "start" "-a" "fcec062525ca1717ecce16b10e24749ec4d2fdb9ee1561ed12746f7b4aa47595", kill_on_drop: false }`
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]    --> src/common/entity_type_record.rs:106:10
[INFO] [stderr]     |
[INFO] [stderr] 106 | #[derive(FromPrimitive, Debug, Copy, Clone, PartialEq, PartialOrd, Serialize, Deserialize)]
[INFO] [stderr]     |          ^------------
[INFO] [stderr]     |          |
[INFO] [stderr]     |          `FromPrimitive` is not local
[INFO] [stderr]     |          move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Kind`
[INFO] [stderr] 107 | /// Enum to represent the kind of entity.
[INFO] [stderr] 108 | pub enum Kind {
[INFO] [stderr]     |          ---- `Kind` is not local
[INFO] [stderr]     |
[INFO] [stderr]     = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]     = 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] [stderr]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stderr]     = note: `#[warn(non_local_definitions)]` on by default
[INFO] [stderr]     = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]    --> src/common/entity_type_record.rs:121:10
[INFO] [stderr]     |
[INFO] [stderr] 121 | #[derive(FromPrimitive, Debug,Copy, Clone, PartialEq, Serialize, Deserialize)]
[INFO] [stderr]     |          ^------------
[INFO] [stderr]     |          |
[INFO] [stderr]     |          `FromPrimitive` is not local
[INFO] [stderr]     |          move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Country`
[INFO] [stderr] 122 | /// Enum to represent the country of the entity.
[INFO] [stderr] 123 | pub enum Country {
[INFO] [stderr]     |          ------- `Country` is not local
[INFO] [stderr]     |
[INFO] [stderr]     = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]     = 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] [stderr]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stderr]     = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]    --> src/common/pdu_header_record.rs:149:30
[INFO] [stderr]     |
[INFO] [stderr] 149 | #[derive(Copy, Clone, Debug, FromPrimitive, PartialEq)]
[INFO] [stderr]     |                              ^------------
[INFO] [stderr]     |                              |
[INFO] [stderr]     |                              `FromPrimitive` is not local
[INFO] [stderr]     |                              move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_ProtocolFamily`
[INFO] [stderr] 150 | /// Enum to represent the Protocol Family the PDU header is recording.
[INFO] [stderr] 151 | pub enum ProtocolFamily {
[INFO] [stderr]     |          -------------- `ProtocolFamily` is not local
[INFO] [stderr]     |
[INFO] [stderr]     = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]     = 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] [stderr]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stderr]     = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]    --> src/common/pdu_header_record.rs:161:30
[INFO] [stderr]     |
[INFO] [stderr] 161 | #[derive(Copy, Clone, Debug, FromPrimitive, PartialEq)]
[INFO] [stderr]     |                              ^------------
[INFO] [stderr]     |                              |
[INFO] [stderr]     |                              `FromPrimitive` is not local
[INFO] [stderr]     |                              move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_ProtocolVersion`
[INFO] [stderr] ...
[INFO] [stderr] 164 | pub enum ProtocolVersion {
[INFO] [stderr]     |          --------------- `ProtocolVersion` is not local
[INFO] [stderr]     |
[INFO] [stderr]     = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]     = 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] [stderr]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stderr]     = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]    --> src/common/pdu_header_record.rs:173:30
[INFO] [stderr]     |
[INFO] [stderr] 173 | #[derive(Copy, Clone, Debug, FromPrimitive, PartialEq)]
[INFO] [stderr]     |                              ^------------
[INFO] [stderr]     |                              |
[INFO] [stderr]     |                              `FromPrimitive` is not local
[INFO] [stderr]     |                              move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_PDUType`
[INFO] [stderr] 174 | /// Enum to represent the PDU Type the PDU header is recording.
[INFO] [stderr] 175 | pub enum PDUType {
[INFO] [stderr]     |          ------- `PDUType` is not local
[INFO] [stderr]     |
[INFO] [stderr]     = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]     = 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] [stderr]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stderr]     = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]    --> src/entity_information/general_appearance_record.rs:110:17
[INFO] [stderr]     |
[INFO] [stderr] 110 | #[derive(Debug, FromPrimitive, PartialEq, Clone, Copy, Serialize, Deserialize)]
[INFO] [stderr]     |                 ^------------
[INFO] [stderr]     |                 |
[INFO] [stderr]     |                 `FromPrimitive` is not local
[INFO] [stderr]     |                 move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_EntityPaintScheme`
[INFO] [stderr] 111 | /// Enum to represent an entity's paint scheme.
[INFO] [stderr] 112 | pub enum EntityPaintScheme {
[INFO] [stderr]     |          ----------------- `EntityPaintScheme` is not local
[INFO] [stderr]     |
[INFO] [stderr]     = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]     = 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] [stderr]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stderr]     = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]    --> src/entity_information/general_appearance_record.rs:127:17
[INFO] [stderr]     |
[INFO] [stderr] 127 | #[derive(Debug, FromPrimitive, PartialEq, Clone, Copy, Serialize, Deserialize)]
[INFO] [stderr]     |                 ^------------
[INFO] [stderr]     |                 |
[INFO] [stderr]     |                 `FromPrimitive` is not local
[INFO] [stderr]     |                 move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_EntityMobilityKill`
[INFO] [stderr] 128 | /// Enum to represent an entity's mobility kill status.
[INFO] [stderr] 129 | pub enum EntityMobilityKill {
[INFO] [stderr]     |          ------------------ `EntityMobilityKill` is not local
[INFO] [stderr]     |
[INFO] [stderr]     = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]     = 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] [stderr]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stderr]     = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]    --> src/entity_information/general_appearance_record.rs:144:17
[INFO] [stderr]     |
[INFO] [stderr] 144 | #[derive(Debug, FromPrimitive, PartialEq, Clone, Copy, Serialize, Deserialize)]
[INFO] [stderr]     |                 ^------------
[INFO] [stderr]     |                 |
[INFO] [stderr]     |                 `FromPrimitive` is not local
[INFO] [stderr]     |                 move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_EntityFirePower`
[INFO] [stderr] 145 | /// Enum to represent an entity's firepower kill status.
[INFO] [stderr] 146 | pub enum EntityFirePower {
[INFO] [stderr]     |          --------------- `EntityFirePower` is not local
[INFO] [stderr]     |
[INFO] [stderr]     = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]     = 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] [stderr]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stderr]     = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]    --> src/entity_information/general_appearance_record.rs:161:17
[INFO] [stderr]     |
[INFO] [stderr] 161 | #[derive(Debug, FromPrimitive, PartialEq, Clone, Copy, Serialize, Deserialize)]
[INFO] [stderr]     |                 ^------------
[INFO] [stderr]     |                 |
[INFO] [stderr]     |                 `FromPrimitive` is not local
[INFO] [stderr]     |                 move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_EntityDamage`
[INFO] [stderr] 162 | /// Enum to represent an entity's damage.
[INFO] [stderr] 163 | pub enum EntityDamage {
[INFO] [stderr]     |          ------------ `EntityDamage` is not local
[INFO] [stderr]     |
[INFO] [stderr]     = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]     = 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] [stderr]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stderr]     = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]    --> src/entity_information/general_appearance_record.rs:182:17
[INFO] [stderr]     |
[INFO] [stderr] 182 | #[derive(Debug, FromPrimitive, PartialEq, Clone, Copy, Serialize, Deserialize)]
[INFO] [stderr]     |                 ^------------
[INFO] [stderr]     |                 |
[INFO] [stderr]     |                 `FromPrimitive` is not local
[INFO] [stderr]     |                 move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_EntitySmoke`
[INFO] [stderr] 183 | /// Enum to represent an entity's smoke effect.
[INFO] [stderr] 184 | pub enum EntitySmoke {
[INFO] [stderr]     |          ----------- `EntitySmoke` is not local
[INFO] [stderr]     |
[INFO] [stderr]     = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]     = 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] [stderr]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stderr]     = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]    --> src/entity_information/general_appearance_record.rs:202:17
[INFO] [stderr]     |
[INFO] [stderr] 202 | #[derive(Debug, FromPrimitive, PartialEq, Clone, Copy, Serialize, Deserialize)]
[INFO] [stderr]     |                 ^------------
[INFO] [stderr]     |                 |
[INFO] [stderr]     |                 `FromPrimitive` is not local
[INFO] [stderr]     |                 move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_EntityTrailingEffect`
[INFO] [stderr] 203 | /// Enum to represent an entity's trailing effect.
[INFO] [stderr] 204 | pub enum EntityTrailingEffect {
[INFO] [stderr]     |          -------------------- `EntityTrailingEffect` is not local
[INFO] [stderr]     |
[INFO] [stderr]     = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]     = 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] [stderr]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stderr]     = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]    --> src/entity_information/general_appearance_record.rs:222:17
[INFO] [stderr]     |
[INFO] [stderr] 222 | #[derive(Debug, FromPrimitive, PartialEq, Clone, Copy, Serialize, Deserialize)]
[INFO] [stderr]     |                 ^------------
[INFO] [stderr]     |                 |
[INFO] [stderr]     |                 `FromPrimitive` is not local
[INFO] [stderr]     |                 move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_EntityHatchState`
[INFO] [stderr] 223 | pub enum EntityHatchState {
[INFO] [stderr]     |          ---------------- `EntityHatchState` is not local
[INFO] [stderr]     |
[INFO] [stderr]     = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]     = 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] [stderr]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stderr]     = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]    --> src/entity_information/general_appearance_record.rs:245:17
[INFO] [stderr]     |
[INFO] [stderr] 245 | #[derive(Debug, FromPrimitive, PartialEq, Clone, Copy, Serialize, Deserialize)]
[INFO] [stderr]     |                 ^------------
[INFO] [stderr]     |                 |
[INFO] [stderr]     |                 `FromPrimitive` is not local
[INFO] [stderr]     |                 move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_EntityLights`
[INFO] [stderr] 246 | pub enum EntityLights {
[INFO] [stderr]     |          ------------ `EntityLights` is not local
[INFO] [stderr]     |
[INFO] [stderr]     = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]     = 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] [stderr]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stderr]     = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]    --> src/entity_information/general_appearance_record.rs:264:17
[INFO] [stderr]     |
[INFO] [stderr] 264 | #[derive(Debug, FromPrimitive, PartialEq, Clone, Copy, Serialize, Deserialize)]
[INFO] [stderr]     |                 ^------------
[INFO] [stderr]     |                 |
[INFO] [stderr]     |                 `FromPrimitive` is not local
[INFO] [stderr]     |                 move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_EntityFlamingEffect`
[INFO] [stderr] 265 | pub enum EntityFlamingEffect {
[INFO] [stderr]     |          ------------------- `EntityFlamingEffect` is not local
[INFO] [stderr]     |
[INFO] [stderr]     = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]     = 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] [stderr]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stderr]     = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]   --> src/entity_information/dead_reckoning_parameters_record.rs:66:17
[INFO] [stderr]    |
[INFO] [stderr] 66 | #[derive(Debug, FromPrimitive, PartialEq, Copy, Clone)]
[INFO] [stderr]    |                 ^------------
[INFO] [stderr]    |                 |
[INFO] [stderr]    |                 `FromPrimitive` is not local
[INFO] [stderr]    |                 move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_DeadReckoningAlgorithm`
[INFO] [stderr] 67 | /// Enum to capture the dead reckoning algorithm used by an entity.
[INFO] [stderr] 68 | pub enum DeadReckoningAlgorithm {
[INFO] [stderr]    |          ---------------------- `DeadReckoningAlgorithm` is not local
[INFO] [stderr]    |
[INFO] [stderr]    = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]    = 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] [stderr]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stderr]    = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]    --> src/warfare/burst_descriptor_record.rs:107:10
[INFO] [stderr]     |
[INFO] [stderr] 107 | #[derive(FromPrimitive, Debug, Copy, Clone, PartialEq, PartialOrd)]
[INFO] [stderr]     |          ^------------
[INFO] [stderr]     |          |
[INFO] [stderr]     |          `FromPrimitive` is not local
[INFO] [stderr]     |          move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Warhead`
[INFO] [stderr] 108 | /// Enum to represent the type of warhead that the munition is carrying.
[INFO] [stderr] 109 | pub enum Warhead {
[INFO] [stderr]     |          ------- `Warhead` is not local
[INFO] [stderr]     |
[INFO] [stderr]     = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]     = 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] [stderr]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stderr]     = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]    --> src/warfare/burst_descriptor_record.rs:166:10
[INFO] [stderr]     |
[INFO] [stderr] 166 | #[derive(FromPrimitive, Debug, Copy, Clone, PartialEq)]
[INFO] [stderr]     |          ^------------
[INFO] [stderr]     |          |
[INFO] [stderr]     |          `FromPrimitive` is not local
[INFO] [stderr]     |          move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Fuse`
[INFO] [stderr] 167 | /// Enum to represent the type of fuse that the munition is carrying.
[INFO] [stderr] 168 | pub enum Fuse {
[INFO] [stderr]     |          ---- `Fuse` is not local
[INFO] [stderr]     |
[INFO] [stderr]     = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]     = 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] [stderr]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stderr]     = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: `dis-rust` (lib) generated 17 warnings
[INFO] [stderr]     Scraping dis-rust v0.2.10 (/opt/rustwide/workdir)
[INFO] [stderr]  Documenting dis-rust v0.2.10 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.00s
[INFO] [stderr]    Generated /opt/rustwide/target/x86_64-unknown-linux-gnu/doc/dis_rust/index.html
[INFO] running `Command { std: "docker" "inspect" "fcec062525ca1717ecce16b10e24749ec4d2fdb9ee1561ed12746f7b4aa47595", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fcec062525ca1717ecce16b10e24749ec4d2fdb9ee1561ed12746f7b4aa47595", kill_on_drop: false }`
[INFO] [stdout] fcec062525ca1717ecce16b10e24749ec4d2fdb9ee1561ed12746f7b4aa47595