[INFO] fetching crate dis-rust 0.2.10... [INFO] testing dis-rust-0.2.10 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate dis-rust 0.2.10 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate dis-rust 0.2.10 [INFO] finished tweaking crates.io crate dis-rust 0.2.10 [INFO] tweaked toml for crates.io crate dis-rust 0.2.10 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate dis-rust 0.2.10 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate dis-rust 0.2.10 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_derive v1.0.138 [INFO] [stderr] Downloaded serde v1.0.138 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f5f319d0b6f0342f2bc58feca6368ef12fa79b3bcd1dcea37c62d03fe39ccc5e [INFO] running `Command { std: "docker" "start" "-a" "f5f319d0b6f0342f2bc58feca6368ef12fa79b3bcd1dcea37c62d03fe39ccc5e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f5f319d0b6f0342f2bc58feca6368ef12fa79b3bcd1dcea37c62d03fe39ccc5e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f5f319d0b6f0342f2bc58feca6368ef12fa79b3bcd1dcea37c62d03fe39ccc5e", kill_on_drop: false }` [INFO] [stdout] f5f319d0b6f0342f2bc58feca6368ef12fa79b3bcd1dcea37c62d03fe39ccc5e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] af1fb139697bd3220b1945f234c395243c707a04948feb83f23573d33909a1e9 [INFO] running `Command { std: "docker" "start" "-a" "af1fb139697bd3220b1945f234c395243c707a04948feb83f23573d33909a1e9", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.40 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Compiling unicode-ident v1.0.1 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Compiling serde_derive v1.0.138 [INFO] [stderr] Compiling serde v1.0.138 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling dis-rust v0.2.10 (/opt/rustwide/workdir) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/common/entity_type_record.rs:106:10 [INFO] [stdout] | [INFO] [stdout] 106 | #[derive(FromPrimitive, Debug, Copy, Clone, PartialEq, PartialOrd, Serialize, Deserialize)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Kind` [INFO] [stdout] 107 | /// Enum to represent the kind of entity. [INFO] [stdout] 108 | pub enum Kind { [INFO] [stdout] | ---- `Kind` is not local [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] --> src/common/entity_type_record.rs:121:10 [INFO] [stdout] | [INFO] [stdout] 121 | #[derive(FromPrimitive, Debug,Copy, Clone, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Country` [INFO] [stdout] 122 | /// Enum to represent the country of the entity. [INFO] [stdout] 123 | pub enum Country { [INFO] [stdout] | ------- `Country` is not local [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] --> src/common/pdu_header_record.rs:149:30 [INFO] [stdout] | [INFO] [stdout] 149 | #[derive(Copy, Clone, Debug, FromPrimitive, PartialEq)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_ProtocolFamily` [INFO] [stdout] 150 | /// Enum to represent the Protocol Family the PDU header is recording. [INFO] [stdout] 151 | pub enum ProtocolFamily { [INFO] [stdout] | -------------- `ProtocolFamily` is not local [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] --> src/common/pdu_header_record.rs:161:30 [INFO] [stdout] | [INFO] [stdout] 161 | #[derive(Copy, Clone, Debug, FromPrimitive, PartialEq)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_ProtocolVersion` [INFO] [stdout] ... [INFO] [stdout] 164 | pub enum ProtocolVersion { [INFO] [stdout] | --------------- `ProtocolVersion` is not local [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] --> src/common/pdu_header_record.rs:173:30 [INFO] [stdout] | [INFO] [stdout] 173 | #[derive(Copy, Clone, Debug, FromPrimitive, PartialEq)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_PDUType` [INFO] [stdout] 174 | /// Enum to represent the PDU Type the PDU header is recording. [INFO] [stdout] 175 | pub enum PDUType { [INFO] [stdout] | ------- `PDUType` is not local [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] --> src/entity_information/general_appearance_record.rs:110:17 [INFO] [stdout] | [INFO] [stdout] 110 | #[derive(Debug, FromPrimitive, PartialEq, Clone, Copy, Serialize, Deserialize)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_EntityPaintScheme` [INFO] [stdout] 111 | /// Enum to represent an entity's paint scheme. [INFO] [stdout] 112 | pub enum EntityPaintScheme { [INFO] [stdout] | ----------------- `EntityPaintScheme` is not local [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] --> src/entity_information/general_appearance_record.rs:127:17 [INFO] [stdout] | [INFO] [stdout] 127 | #[derive(Debug, FromPrimitive, PartialEq, Clone, Copy, Serialize, Deserialize)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_EntityMobilityKill` [INFO] [stdout] 128 | /// Enum to represent an entity's mobility kill status. [INFO] [stdout] 129 | pub enum EntityMobilityKill { [INFO] [stdout] | ------------------ `EntityMobilityKill` is not local [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] --> src/entity_information/general_appearance_record.rs:144:17 [INFO] [stdout] | [INFO] [stdout] 144 | #[derive(Debug, FromPrimitive, PartialEq, Clone, Copy, Serialize, Deserialize)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_EntityFirePower` [INFO] [stdout] 145 | /// Enum to represent an entity's firepower kill status. [INFO] [stdout] 146 | pub enum EntityFirePower { [INFO] [stdout] | --------------- `EntityFirePower` is not local [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] --> src/entity_information/general_appearance_record.rs:161:17 [INFO] [stdout] | [INFO] [stdout] 161 | #[derive(Debug, FromPrimitive, PartialEq, Clone, Copy, Serialize, Deserialize)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_EntityDamage` [INFO] [stdout] 162 | /// Enum to represent an entity's damage. [INFO] [stdout] 163 | pub enum EntityDamage { [INFO] [stdout] | ------------ `EntityDamage` is not local [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] --> src/entity_information/general_appearance_record.rs:182:17 [INFO] [stdout] | [INFO] [stdout] 182 | #[derive(Debug, FromPrimitive, PartialEq, Clone, Copy, Serialize, Deserialize)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_EntitySmoke` [INFO] [stdout] 183 | /// Enum to represent an entity's smoke effect. [INFO] [stdout] 184 | pub enum EntitySmoke { [INFO] [stdout] | ----------- `EntitySmoke` is not local [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] --> src/entity_information/general_appearance_record.rs:202:17 [INFO] [stdout] | [INFO] [stdout] 202 | #[derive(Debug, FromPrimitive, PartialEq, Clone, Copy, Serialize, Deserialize)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_EntityTrailingEffect` [INFO] [stdout] 203 | /// Enum to represent an entity's trailing effect. [INFO] [stdout] 204 | pub enum EntityTrailingEffect { [INFO] [stdout] | -------------------- `EntityTrailingEffect` is not local [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] --> src/entity_information/general_appearance_record.rs:222:17 [INFO] [stdout] | [INFO] [stdout] 222 | #[derive(Debug, FromPrimitive, PartialEq, Clone, Copy, Serialize, Deserialize)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_EntityHatchState` [INFO] [stdout] 223 | pub enum EntityHatchState { [INFO] [stdout] | ---------------- `EntityHatchState` is not local [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] --> src/entity_information/general_appearance_record.rs:245:17 [INFO] [stdout] | [INFO] [stdout] 245 | #[derive(Debug, FromPrimitive, PartialEq, Clone, Copy, Serialize, Deserialize)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_EntityLights` [INFO] [stdout] 246 | pub enum EntityLights { [INFO] [stdout] | ------------ `EntityLights` is not local [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] --> src/entity_information/general_appearance_record.rs:264:17 [INFO] [stdout] | [INFO] [stdout] 264 | #[derive(Debug, FromPrimitive, PartialEq, Clone, Copy, Serialize, Deserialize)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_EntityFlamingEffect` [INFO] [stdout] 265 | pub enum EntityFlamingEffect { [INFO] [stdout] | ------------------- `EntityFlamingEffect` is not local [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] --> src/entity_information/dead_reckoning_parameters_record.rs:66:17 [INFO] [stdout] | [INFO] [stdout] 66 | #[derive(Debug, FromPrimitive, PartialEq, Copy, Clone)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_DeadReckoningAlgorithm` [INFO] [stdout] 67 | /// Enum to capture the dead reckoning algorithm used by an entity. [INFO] [stdout] 68 | pub enum DeadReckoningAlgorithm { [INFO] [stdout] | ---------------------- `DeadReckoningAlgorithm` is not local [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] --> src/warfare/burst_descriptor_record.rs:107:10 [INFO] [stdout] | [INFO] [stdout] 107 | #[derive(FromPrimitive, Debug, Copy, Clone, PartialEq, PartialOrd)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Warhead` [INFO] [stdout] 108 | /// Enum to represent the type of warhead that the munition is carrying. [INFO] [stdout] 109 | pub enum Warhead { [INFO] [stdout] | ------- `Warhead` is not local [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] --> src/warfare/burst_descriptor_record.rs:166:10 [INFO] [stdout] | [INFO] [stdout] 166 | #[derive(FromPrimitive, Debug, Copy, Clone, PartialEq)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Fuse` [INFO] [stdout] 167 | /// Enum to represent the type of fuse that the munition is carrying. [INFO] [stdout] 168 | pub enum Fuse { [INFO] [stdout] | ---- `Fuse` is not local [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] Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.21s [INFO] running `Command { std: "docker" "inspect" "af1fb139697bd3220b1945f234c395243c707a04948feb83f23573d33909a1e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "af1fb139697bd3220b1945f234c395243c707a04948feb83f23573d33909a1e9", kill_on_drop: false }` [INFO] [stdout] af1fb139697bd3220b1945f234c395243c707a04948feb83f23573d33909a1e9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a4e67c04732cded24bf8c305ade85d56dbe93c53aab901f0d8bac0eeb4450c85 [INFO] running `Command { std: "docker" "start" "-a" "a4e67c04732cded24bf8c305ade85d56dbe93c53aab901f0d8bac0eeb4450c85", kill_on_drop: false }` [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/common/entity_type_record.rs:106:10 [INFO] [stdout] | [INFO] [stdout] 106 | #[derive(FromPrimitive, Debug, Copy, Clone, PartialEq, PartialOrd, Serialize, Deserialize)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Kind` [INFO] [stdout] 107 | /// Enum to represent the kind of entity. [INFO] [stdout] 108 | pub enum Kind { [INFO] [stdout] | ---- `Kind` is not local [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] --> src/common/entity_type_record.rs:121:10 [INFO] [stdout] | [INFO] [stdout] 121 | #[derive(FromPrimitive, Debug,Copy, Clone, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Country` [INFO] [stdout] 122 | /// Enum to represent the country of the entity. [INFO] [stdout] 123 | pub enum Country { [INFO] [stdout] | ------- `Country` is not local [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] --> src/common/pdu_header_record.rs:149:30 [INFO] [stdout] | [INFO] [stdout] 149 | #[derive(Copy, Clone, Debug, FromPrimitive, PartialEq)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_ProtocolFamily` [INFO] [stdout] 150 | /// Enum to represent the Protocol Family the PDU header is recording. [INFO] [stdout] 151 | pub enum ProtocolFamily { [INFO] [stdout] | -------------- `ProtocolFamily` is not local [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] --> src/common/pdu_header_record.rs:161:30 [INFO] [stdout] | [INFO] [stdout] 161 | #[derive(Copy, Clone, Debug, FromPrimitive, PartialEq)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_ProtocolVersion` [INFO] [stdout] ... [INFO] [stdout] 164 | pub enum ProtocolVersion { [INFO] [stdout] | --------------- `ProtocolVersion` is not local [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] --> src/common/pdu_header_record.rs:173:30 [INFO] [stdout] | [INFO] [stdout] 173 | #[derive(Copy, Clone, Debug, FromPrimitive, PartialEq)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_PDUType` [INFO] [stdout] 174 | /// Enum to represent the PDU Type the PDU header is recording. [INFO] [stdout] 175 | pub enum PDUType { [INFO] [stdout] | ------- `PDUType` is not local [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] --> src/entity_information/general_appearance_record.rs:110:17 [INFO] [stdout] | [INFO] [stdout] 110 | #[derive(Debug, FromPrimitive, PartialEq, Clone, Copy, Serialize, Deserialize)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_EntityPaintScheme` [INFO] [stdout] 111 | /// Enum to represent an entity's paint scheme. [INFO] [stdout] 112 | pub enum EntityPaintScheme { [INFO] [stdout] | ----------------- `EntityPaintScheme` is not local [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] --> src/entity_information/general_appearance_record.rs:127:17 [INFO] [stdout] | [INFO] [stdout] 127 | #[derive(Debug, FromPrimitive, PartialEq, Clone, Copy, Serialize, Deserialize)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_EntityMobilityKill` [INFO] [stdout] 128 | /// Enum to represent an entity's mobility kill status. [INFO] [stdout] 129 | pub enum EntityMobilityKill { [INFO] [stdout] | ------------------ `EntityMobilityKill` is not local [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] --> src/entity_information/general_appearance_record.rs:144:17 [INFO] [stdout] | [INFO] [stdout] 144 | #[derive(Debug, FromPrimitive, PartialEq, Clone, Copy, Serialize, Deserialize)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_EntityFirePower` [INFO] [stdout] 145 | /// Enum to represent an entity's firepower kill status. [INFO] [stdout] 146 | pub enum EntityFirePower { [INFO] [stdout] | --------------- `EntityFirePower` is not local [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] --> src/entity_information/general_appearance_record.rs:161:17 [INFO] [stdout] | [INFO] [stdout] 161 | #[derive(Debug, FromPrimitive, PartialEq, Clone, Copy, Serialize, Deserialize)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_EntityDamage` [INFO] [stdout] 162 | /// Enum to represent an entity's damage. [INFO] [stdout] 163 | pub enum EntityDamage { [INFO] [stdout] | ------------ `EntityDamage` is not local [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] --> src/entity_information/general_appearance_record.rs:182:17 [INFO] [stdout] | [INFO] [stdout] 182 | #[derive(Debug, FromPrimitive, PartialEq, Clone, Copy, Serialize, Deserialize)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_EntitySmoke` [INFO] [stdout] 183 | /// Enum to represent an entity's smoke effect. [INFO] [stdout] 184 | pub enum EntitySmoke { [INFO] [stdout] | ----------- `EntitySmoke` is not local [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] --> src/entity_information/general_appearance_record.rs:202:17 [INFO] [stdout] | [INFO] [stdout] 202 | #[derive(Debug, FromPrimitive, PartialEq, Clone, Copy, Serialize, Deserialize)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_EntityTrailingEffect` [INFO] [stdout] 203 | /// Enum to represent an entity's trailing effect. [INFO] [stdout] 204 | pub enum EntityTrailingEffect { [INFO] [stdout] | -------------------- `EntityTrailingEffect` is not local [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] --> src/entity_information/general_appearance_record.rs:222:17 [INFO] [stdout] | [INFO] [stdout] 222 | #[derive(Debug, FromPrimitive, PartialEq, Clone, Copy, Serialize, Deserialize)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_EntityHatchState` [INFO] [stdout] 223 | pub enum EntityHatchState { [INFO] [stdout] | ---------------- `EntityHatchState` is not local [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] --> src/entity_information/general_appearance_record.rs:245:17 [INFO] [stdout] | [INFO] [stdout] 245 | #[derive(Debug, FromPrimitive, PartialEq, Clone, Copy, Serialize, Deserialize)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_EntityLights` [INFO] [stdout] 246 | pub enum EntityLights { [INFO] [stdout] | ------------ `EntityLights` is not local [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] --> src/entity_information/general_appearance_record.rs:264:17 [INFO] [stdout] | [INFO] [stdout] 264 | #[derive(Debug, FromPrimitive, PartialEq, Clone, Copy, Serialize, Deserialize)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_EntityFlamingEffect` [INFO] [stdout] 265 | pub enum EntityFlamingEffect { [INFO] [stdout] | ------------------- `EntityFlamingEffect` is not local [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] --> src/entity_information/dead_reckoning_parameters_record.rs:66:17 [INFO] [stdout] | [INFO] [stdout] 66 | #[derive(Debug, FromPrimitive, PartialEq, Copy, Clone)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_DeadReckoningAlgorithm` [INFO] [stdout] 67 | /// Enum to capture the dead reckoning algorithm used by an entity. [INFO] [stdout] 68 | pub enum DeadReckoningAlgorithm { [INFO] [stdout] | ---------------------- `DeadReckoningAlgorithm` is not local [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] --> src/warfare/burst_descriptor_record.rs:107:10 [INFO] [stdout] | [INFO] [stdout] 107 | #[derive(FromPrimitive, Debug, Copy, Clone, PartialEq, PartialOrd)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Warhead` [INFO] [stdout] 108 | /// Enum to represent the type of warhead that the munition is carrying. [INFO] [stdout] 109 | pub enum Warhead { [INFO] [stdout] | ------- `Warhead` is not local [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] --> src/warfare/burst_descriptor_record.rs:166:10 [INFO] [stdout] | [INFO] [stdout] 166 | #[derive(FromPrimitive, Debug, Copy, Clone, PartialEq)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Fuse` [INFO] [stdout] 167 | /// Enum to represent the type of fuse that the munition is carrying. [INFO] [stdout] 168 | pub enum Fuse { [INFO] [stdout] | ---- `Fuse` is not local [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] Compiling dis-rust v0.2.10 (/opt/rustwide/workdir) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/common/entity_type_record.rs:106:10 [INFO] [stdout] | [INFO] [stdout] 106 | #[derive(FromPrimitive, Debug, Copy, Clone, PartialEq, PartialOrd, Serialize, Deserialize)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Kind` [INFO] [stdout] 107 | /// Enum to represent the kind of entity. [INFO] [stdout] 108 | pub enum Kind { [INFO] [stdout] | ---- `Kind` is not local [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] --> src/common/entity_type_record.rs:121:10 [INFO] [stdout] | [INFO] [stdout] 121 | #[derive(FromPrimitive, Debug,Copy, Clone, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Country` [INFO] [stdout] 122 | /// Enum to represent the country of the entity. [INFO] [stdout] 123 | pub enum Country { [INFO] [stdout] | ------- `Country` is not local [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] --> src/common/pdu_header_record.rs:149:30 [INFO] [stdout] | [INFO] [stdout] 149 | #[derive(Copy, Clone, Debug, FromPrimitive, PartialEq)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_ProtocolFamily` [INFO] [stdout] 150 | /// Enum to represent the Protocol Family the PDU header is recording. [INFO] [stdout] 151 | pub enum ProtocolFamily { [INFO] [stdout] | -------------- `ProtocolFamily` is not local [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] --> src/common/pdu_header_record.rs:161:30 [INFO] [stdout] | [INFO] [stdout] 161 | #[derive(Copy, Clone, Debug, FromPrimitive, PartialEq)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_ProtocolVersion` [INFO] [stdout] ... [INFO] [stdout] 164 | pub enum ProtocolVersion { [INFO] [stdout] | --------------- `ProtocolVersion` is not local [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] --> src/common/pdu_header_record.rs:173:30 [INFO] [stdout] | [INFO] [stdout] 173 | #[derive(Copy, Clone, Debug, FromPrimitive, PartialEq)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_PDUType` [INFO] [stdout] 174 | /// Enum to represent the PDU Type the PDU header is recording. [INFO] [stdout] 175 | pub enum PDUType { [INFO] [stdout] | ------- `PDUType` is not local [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] --> src/entity_information/general_appearance_record.rs:110:17 [INFO] [stdout] | [INFO] [stdout] 110 | #[derive(Debug, FromPrimitive, PartialEq, Clone, Copy, Serialize, Deserialize)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_EntityPaintScheme` [INFO] [stdout] 111 | /// Enum to represent an entity's paint scheme. [INFO] [stdout] 112 | pub enum EntityPaintScheme { [INFO] [stdout] | ----------------- `EntityPaintScheme` is not local [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] --> src/entity_information/general_appearance_record.rs:127:17 [INFO] [stdout] | [INFO] [stdout] 127 | #[derive(Debug, FromPrimitive, PartialEq, Clone, Copy, Serialize, Deserialize)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_EntityMobilityKill` [INFO] [stdout] 128 | /// Enum to represent an entity's mobility kill status. [INFO] [stdout] 129 | pub enum EntityMobilityKill { [INFO] [stdout] | ------------------ `EntityMobilityKill` is not local [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] --> src/entity_information/general_appearance_record.rs:144:17 [INFO] [stdout] | [INFO] [stdout] 144 | #[derive(Debug, FromPrimitive, PartialEq, Clone, Copy, Serialize, Deserialize)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_EntityFirePower` [INFO] [stdout] 145 | /// Enum to represent an entity's firepower kill status. [INFO] [stdout] 146 | pub enum EntityFirePower { [INFO] [stdout] | --------------- `EntityFirePower` is not local [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] --> src/entity_information/general_appearance_record.rs:161:17 [INFO] [stdout] | [INFO] [stdout] 161 | #[derive(Debug, FromPrimitive, PartialEq, Clone, Copy, Serialize, Deserialize)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_EntityDamage` [INFO] [stdout] 162 | /// Enum to represent an entity's damage. [INFO] [stdout] 163 | pub enum EntityDamage { [INFO] [stdout] | ------------ `EntityDamage` is not local [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] --> src/entity_information/general_appearance_record.rs:182:17 [INFO] [stdout] | [INFO] [stdout] 182 | #[derive(Debug, FromPrimitive, PartialEq, Clone, Copy, Serialize, Deserialize)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_EntitySmoke` [INFO] [stdout] 183 | /// Enum to represent an entity's smoke effect. [INFO] [stdout] 184 | pub enum EntitySmoke { [INFO] [stdout] | ----------- `EntitySmoke` is not local [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] --> src/entity_information/general_appearance_record.rs:202:17 [INFO] [stdout] | [INFO] [stdout] 202 | #[derive(Debug, FromPrimitive, PartialEq, Clone, Copy, Serialize, Deserialize)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_EntityTrailingEffect` [INFO] [stdout] 203 | /// Enum to represent an entity's trailing effect. [INFO] [stdout] 204 | pub enum EntityTrailingEffect { [INFO] [stdout] | -------------------- `EntityTrailingEffect` is not local [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] --> src/entity_information/general_appearance_record.rs:222:17 [INFO] [stdout] | [INFO] [stdout] 222 | #[derive(Debug, FromPrimitive, PartialEq, Clone, Copy, Serialize, Deserialize)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_EntityHatchState` [INFO] [stdout] 223 | pub enum EntityHatchState { [INFO] [stdout] | ---------------- `EntityHatchState` is not local [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] --> src/entity_information/general_appearance_record.rs:245:17 [INFO] [stdout] | [INFO] [stdout] 245 | #[derive(Debug, FromPrimitive, PartialEq, Clone, Copy, Serialize, Deserialize)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_EntityLights` [INFO] [stdout] 246 | pub enum EntityLights { [INFO] [stdout] | ------------ `EntityLights` is not local [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] --> src/entity_information/general_appearance_record.rs:264:17 [INFO] [stdout] | [INFO] [stdout] 264 | #[derive(Debug, FromPrimitive, PartialEq, Clone, Copy, Serialize, Deserialize)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_EntityFlamingEffect` [INFO] [stdout] 265 | pub enum EntityFlamingEffect { [INFO] [stdout] | ------------------- `EntityFlamingEffect` is not local [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] --> src/entity_information/dead_reckoning_parameters_record.rs:66:17 [INFO] [stdout] | [INFO] [stdout] 66 | #[derive(Debug, FromPrimitive, PartialEq, Copy, Clone)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_DeadReckoningAlgorithm` [INFO] [stdout] 67 | /// Enum to capture the dead reckoning algorithm used by an entity. [INFO] [stdout] 68 | pub enum DeadReckoningAlgorithm { [INFO] [stdout] | ---------------------- `DeadReckoningAlgorithm` is not local [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] --> src/warfare/burst_descriptor_record.rs:107:10 [INFO] [stdout] | [INFO] [stdout] 107 | #[derive(FromPrimitive, Debug, Copy, Clone, PartialEq, PartialOrd)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Warhead` [INFO] [stdout] 108 | /// Enum to represent the type of warhead that the munition is carrying. [INFO] [stdout] 109 | pub enum Warhead { [INFO] [stdout] | ------- `Warhead` is not local [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] --> src/warfare/burst_descriptor_record.rs:166:10 [INFO] [stdout] | [INFO] [stdout] 166 | #[derive(FromPrimitive, Debug, Copy, Clone, PartialEq)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Fuse` [INFO] [stdout] 167 | /// Enum to represent the type of fuse that the munition is carrying. [INFO] [stdout] 168 | pub enum Fuse { [INFO] [stdout] | ---- `Fuse` is not local [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] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.11s [INFO] running `Command { std: "docker" "inspect" "a4e67c04732cded24bf8c305ade85d56dbe93c53aab901f0d8bac0eeb4450c85", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a4e67c04732cded24bf8c305ade85d56dbe93c53aab901f0d8bac0eeb4450c85", kill_on_drop: false }` [INFO] [stdout] a4e67c04732cded24bf8c305ade85d56dbe93c53aab901f0d8bac0eeb4450c85 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 5953897c00de3d8bfd540832da56e27e9d4393002fcd7a0ebf906aa3c4d7e48d [INFO] running `Command { std: "docker" "start" "-a" "5953897c00de3d8bfd540832da56e27e9d4393002fcd7a0ebf906aa3c4d7e48d", 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] warning: `dis-rust` (lib test) generated 17 warnings (17 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.10s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/dis_rust-e2d178db1443799e) [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test entity_information::entity_state_pdu::tests::header_deserialise ... ok [INFO] [stdout] test warfare::detonation_pdu::tests::header_creation ... ok [INFO] [stdout] test warfare::fire_pdu::tests::header_deserialise ... ok [INFO] [stdout] test warfare::fire_pdu::tests::header_creation ... ok [INFO] [stdout] test simulation_management::event_report_pdu::tests::header_creation ... ok [INFO] [stdout] test entity_information::entity_state_pdu::tests::header_creation ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Doc-tests dis_rust [INFO] [stdout] [INFO] [stdout] running 21 tests [INFO] [stdout] test src/common/euler_angles_record.rs - common::euler_angles_record::EulerAnglesRecord::new (line 27) ... FAILED [INFO] [stdout] test src/common/entity_id_record.rs - common::entity_id_record::EntityIDRecord::default (line 52) ... FAILED [INFO] [stdout] test src/common/entity_id_record.rs - common::entity_id_record::EntityIDRecord::new (line 27) ... FAILED [INFO] [stdout] test src/common/angular_velocity_vector_record.rs - common::angular_velocity_vector_record::AngularVelocityRecord::new (line 26) ... FAILED [INFO] [stdout] test src/common/linear_velocity_record.rs - common::linear_velocity_record::LinearVelocityRecord::new (line 27) ... FAILED [INFO] [stdout] test src/common/linear_acceleration_record.rs - common::linear_acceleration_record::LinearAccelerationRecord::new (line 27) ... FAILED [INFO] [stdout] test src/common/simulation_address_record.rs - common::simulation_address_record::SimulationAddressRecord::default (line 53) ... FAILED [INFO] [stdout] test src/common/event_id_record.rs - common::event_id_record::EventIDRecord::new (line 27) ... FAILED [INFO] [stdout] test src/common/simulation_address_record.rs - common::simulation_address_record::SimulationAddressRecord::new (line 26) ... FAILED [INFO] [stdout] test src/common/event_id_record.rs - common::event_id_record::EventIDRecord::default (line 48) ... FAILED [INFO] [stdout] test src/common/world_coordinate_record.rs - common::world_coordinate_record::WorldCoordinateRecord::new (line 27) ... FAILED [INFO] [stdout] test src/common/velocity_vector_record.rs - common::velocity_vector_record::VelocityVectorRecord::new (line 27) ... FAILED [INFO] [stdout] test src/common/entity_coordinate_vector_record.rs - common::entity_coordinate_vector_record::EntityCoordinateVectorRecord::new (line 26) ... FAILED [INFO] [stdout] test src/warfare/burst_descriptor_record.rs - warfare::burst_descriptor_record::BurstDescriptorRecord::new (line 32) ... FAILED [INFO] [stdout] test src/simulation_management/event_report_pdu.rs - simulation_management::event_report_pdu::EventReportPDU::default (line 36) ... FAILED [INFO] [stdout] test src/warfare/burst_descriptor_record.rs - warfare::burst_descriptor_record::BurstDescriptorRecord::default (line 65) ... FAILED [INFO] [stdout] test src/warfare/detonation_pdu.rs - warfare::detonation_pdu::DetonationPDU::default (line 50) ... FAILED [INFO] [stdout] test src/entity_information/entity_marking_record.rs - entity_information::entity_marking_record::EntityMarkingRecord::default (line 36) ... FAILED [INFO] [stdout] test src/warfare/detonation_pdu.rs - warfare::detonation_pdu::DetonationPDU::default (line 43) ... FAILED [INFO] [stdout] test src/warfare/fire_pdu.rs - warfare::fire_pdu::FirePDU::default (line 44) ... FAILED [INFO] [stdout] test src/warfare/fire_pdu.rs - warfare::fire_pdu::FirePDU::default (line 38) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/common/euler_angles_record.rs - common::euler_angles_record::EulerAnglesRecord::new (line 27) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EulerAnglesRecord` [INFO] [stdout] --> src/common/euler_angles_record.rs:28:27 [INFO] [stdout] | [INFO] [stdout] 3 | let euler_angles_record = EulerAnglesRecord::new{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `EulerAnglesRecord` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use dis_rust::common::euler_angles_record::EulerAnglesRecord; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/common/entity_id_record.rs - common::entity_id_record::EntityIDRecord::default (line 52) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EntityIDRecord` [INFO] [stdout] --> src/common/entity_id_record.rs:53:24 [INFO] [stdout] | [INFO] [stdout] 3 | let entity_id_record = EntityIDRecord::default(2); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `EntityIDRecord` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use dis_rust::common::entity_id_record::EntityIDRecord; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/common/entity_id_record.rs - common::entity_id_record::EntityIDRecord::new (line 27) stdout ---- [INFO] [stdout] error: expected one of `,`, `.`, `?`, `}`, or an operator, found `entity_identifier_field` [INFO] [stdout] --> src/common/entity_id_record.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 3 | let entity_id_record = EntityIDRecord::new{ [INFO] [stdout] | ------------------- while parsing this struct [INFO] [stdout] 4 | site_identifier_field: 1, [INFO] [stdout] 5 | application_identifier_field: 1 [INFO] [stdout] | - [INFO] [stdout] | | [INFO] [stdout] | expected one of `,`, `.`, `?`, `}`, or an operator [INFO] [stdout] | help: try adding a comma: `,` [INFO] [stdout] 6 | entity_identifier_field: 1 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ unexpected token [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EntityIDRecord` [INFO] [stdout] --> src/common/entity_id_record.rs:28:24 [INFO] [stdout] | [INFO] [stdout] 3 | let entity_id_record = EntityIDRecord::new{ [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `EntityIDRecord` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use dis_rust::common::entity_id_record::EntityIDRecord; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/common/angular_velocity_vector_record.rs - common::angular_velocity_vector_record::AngularVelocityRecord::new (line 26) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AngularVelocityRecord` [INFO] [stdout] --> src/common/angular_velocity_vector_record.rs:27:31 [INFO] [stdout] | [INFO] [stdout] 3 | let angular_velocity_record = AngularVelocityRecord::new{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `AngularVelocityRecord` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use dis_rust::common::angular_velocity_vector_record::AngularVelocityRecord; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/common/linear_velocity_record.rs - common::linear_velocity_record::LinearVelocityRecord::new (line 27) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LinearVelocityRecord` [INFO] [stdout] --> src/common/linear_velocity_record.rs:28:30 [INFO] [stdout] | [INFO] [stdout] 3 | let linear_velocity_record = LinearVelocityRecord::new{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared type `LinearVelocityRecord` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use dis_rust::common::linear_velocity_record::LinearVelocityRecord; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/common/linear_acceleration_record.rs - common::linear_acceleration_record::LinearAccelerationRecord::new (line 27) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LinearAccelerationRecord` [INFO] [stdout] --> src/common/linear_acceleration_record.rs:28:34 [INFO] [stdout] | [INFO] [stdout] 3 | let linear_acceleration_record = LinearAccelerationRecord::new{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `LinearAccelerationRecord` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use dis_rust::common::linear_acceleration_record::LinearAccelerationRecord; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/common/simulation_address_record.rs - common::simulation_address_record::SimulationAddressRecord::default (line 53) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SimulationAddressRecord` [INFO] [stdout] --> src/common/simulation_address_record.rs:54:33 [INFO] [stdout] | [INFO] [stdout] 3 | let simulation_address_record = SimulationAddressRecord::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `SimulationAddressRecord` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use dis_rust::common::simulation_address_record::SimulationAddressRecord; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/common/event_id_record.rs - common::event_id_record::EventIDRecord::new (line 27) stdout ---- [INFO] [stdout] error: expected one of `,`, `.`, `?`, `}`, or an operator, found `event_identifier_field` [INFO] [stdout] --> src/common/event_id_record.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 3 | let event_id_record = EventIDRecord::new{ [INFO] [stdout] | ------------------ while parsing this struct [INFO] [stdout] 4 | site_identifier_field: 1, [INFO] [stdout] 5 | application_identifier_field: 1 [INFO] [stdout] | - [INFO] [stdout] | | [INFO] [stdout] | expected one of `,`, `.`, `?`, `}`, or an operator [INFO] [stdout] | help: try adding a comma: `,` [INFO] [stdout] 6 | event_identifier_field: 1 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ unexpected token [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EventIDRecord` [INFO] [stdout] --> src/common/event_id_record.rs:28:23 [INFO] [stdout] | [INFO] [stdout] 3 | let event_id_record = EventIDRecord::new{ [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `EventIDRecord` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use dis_rust::common::event_id_record::EventIDRecord; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/common/simulation_address_record.rs - common::simulation_address_record::SimulationAddressRecord::new (line 26) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SimulationAddressRecord` [INFO] [stdout] --> src/common/simulation_address_record.rs:27:33 [INFO] [stdout] | [INFO] [stdout] 3 | let simulation_address_record = SimulationAddressRecord::new{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `SimulationAddressRecord` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use dis_rust::common::simulation_address_record::SimulationAddressRecord; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/common/event_id_record.rs - common::event_id_record::EventIDRecord::default (line 48) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EventIDRecord` [INFO] [stdout] --> src/common/event_id_record.rs:49:23 [INFO] [stdout] | [INFO] [stdout] 3 | let event_id_record = EventIDRecord::default(2); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `EventIDRecord` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use dis_rust::common::event_id_record::EventIDRecord; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/common/world_coordinate_record.rs - common::world_coordinate_record::WorldCoordinateRecord::new (line 27) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WorldCoordinateRecord` [INFO] [stdout] --> src/common/world_coordinate_record.rs:28:31 [INFO] [stdout] | [INFO] [stdout] 3 | let world_coordinate_record = WorldCoordinateRecord::new{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `WorldCoordinateRecord` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use dis_rust::common::world_coordinate_record::WorldCoordinateRecord; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/common/velocity_vector_record.rs - common::velocity_vector_record::VelocityVectorRecord::new (line 27) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VelocityVectorRecord` [INFO] [stdout] --> src/common/velocity_vector_record.rs:28:30 [INFO] [stdout] | [INFO] [stdout] 3 | let velocity_vector_record = VelocityVectorRecord::new{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared type `VelocityVectorRecord` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use dis_rust::common::velocity_vector_record::VelocityVectorRecord; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/common/entity_coordinate_vector_record.rs - common::entity_coordinate_vector_record::EntityCoordinateVectorRecord::new (line 26) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EntityCoordinateVectorRecord` [INFO] [stdout] --> src/common/entity_coordinate_vector_record.rs:27:32 [INFO] [stdout] | [INFO] [stdout] 3 | let entity_coordinate_record = EntityCoordinateVectorRecord::new{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `EntityCoordinateVectorRecord` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use dis_rust::common::entity_coordinate_vector_record::EntityCoordinateVectorRecord; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/warfare/burst_descriptor_record.rs - warfare::burst_descriptor_record::BurstDescriptorRecord::new (line 32) stdout ---- [INFO] [stdout] error: invalid `struct` delimiters or `fn` call arguments [INFO] [stdout] --> src/warfare/burst_descriptor_record.rs:33:31 [INFO] [stdout] | [INFO] [stdout] 3 | let burst_descriptor_record = BurstDescriptorRecord::new( [INFO] [stdout] | _______________________________^ [INFO] [stdout] 4 | | munition_record: EntityTypeRecord::default(), [INFO] [stdout] 5 | | warhead: Warhead::HighExplosive, [INFO] [stdout] 6 | | fuse: Fuse::Contact, [INFO] [stdout] 7 | | quantity: 1, [INFO] [stdout] 8 | | rate: 1 [INFO] [stdout] 9 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] help: if `BurstDescriptorRecord::new` is a struct, use braces as delimiters [INFO] [stdout] | [INFO] [stdout] 3 ~ let burst_descriptor_record = BurstDescriptorRecord::new { [INFO] [stdout] 4 | munition_record: EntityTypeRecord::default(), [INFO] [stdout] ... [INFO] [stdout] 8 | rate: 1 [INFO] [stdout] 9 ~ }; [INFO] [stdout] | [INFO] [stdout] help: if `BurstDescriptorRecord::new` is a function, use the arguments directly [INFO] [stdout] | [INFO] [stdout] 4 ~ EntityTypeRecord::default(), [INFO] [stdout] 5 ~ Warhead::HighExplosive, [INFO] [stdout] 6 ~ Fuse::Contact, [INFO] [stdout] 7 ~ 1, [INFO] [stdout] 8 ~ 1 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/simulation_management/event_report_pdu.rs - simulation_management::event_report_pdu::EventReportPDU::default (line 36) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EventReportPDU` [INFO] [stdout] --> src/simulation_management/event_report_pdu.rs:37:24 [INFO] [stdout] | [INFO] [stdout] 3 | let event_report_pdu = EventReportPDU::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `EventReportPDU` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use dis_rust::simulation_management::event_report_pdu::EventReportPDU; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/warfare/burst_descriptor_record.rs - warfare::burst_descriptor_record::BurstDescriptorRecord::default (line 65) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BurstDescriptorRecord` [INFO] [stdout] --> src/warfare/burst_descriptor_record.rs:66:31 [INFO] [stdout] | [INFO] [stdout] 3 | let burst_descriptor_record = BurstDescriptorRecord::deafault(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `BurstDescriptorRecord` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use dis_rust::warfare::burst_descriptor_record::BurstDescriptorRecord; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/warfare/detonation_pdu.rs - warfare::detonation_pdu::DetonationPDU::default (line 50) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DetonationPDU` [INFO] [stdout] --> src/warfare/detonation_pdu.rs:51:26 [INFO] [stdout] | [INFO] [stdout] 3 | let mut detonation_pdu = DetonationPDU::default(); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `DetonationPDU` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use dis_rust::warfare::detonation_pdu::DetonationPDU; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EntityIDRecord` [INFO] [stdout] --> src/warfare/detonation_pdu.rs:52:42 [INFO] [stdout] | [INFO] [stdout] 4 | detonation_pdu.firing_entity_id_record = EntityIDRecord::default(2); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `EntityIDRecord` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use dis_rust::common::entity_id_record::EntityIDRecord; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/entity_information/entity_marking_record.rs - entity_information::entity_marking_record::EntityMarkingRecord::default (line 36) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EntityMarkingRecord` [INFO] [stdout] --> src/entity_information/entity_marking_record.rs:37:29 [INFO] [stdout] | [INFO] [stdout] 3 | let entity_marking_record = EntityMarkingRecord::default("TEST".to_string()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `EntityMarkingRecord` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use dis_rust::entity_information::entity_marking_record::EntityMarkingRecord; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/warfare/detonation_pdu.rs - warfare::detonation_pdu::DetonationPDU::default (line 43) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DetonationPDU` [INFO] [stdout] --> src/warfare/detonation_pdu.rs:44:22 [INFO] [stdout] | [INFO] [stdout] 3 | let detonation_pdu = DetonationPDU::default(); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `DetonationPDU` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use dis_rust::warfare::detonation_pdu::DetonationPDU; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/warfare/fire_pdu.rs - warfare::fire_pdu::FirePDU::default (line 44) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FirePDU` [INFO] [stdout] --> src/warfare/fire_pdu.rs:45:20 [INFO] [stdout] | [INFO] [stdout] 3 | let mut fire_pdu = FirePDU::default(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `FirePDU` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use dis_rust::warfare::fire_pdu::FirePDU; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EntityIDRecord` [INFO] [stdout] --> src/warfare/fire_pdu.rs:46:36 [INFO] [stdout] | [INFO] [stdout] 4 | fire_pdu.firing_entity_id_record = EntityIDRecord::default(2); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `EntityIDRecord` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use dis_rust::common::entity_id_record::EntityIDRecord; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/warfare/fire_pdu.rs - warfare::fire_pdu::FirePDU::default (line 38) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FirePDU` [INFO] [stdout] --> src/warfare/fire_pdu.rs:39:16 [INFO] [stdout] | [INFO] [stdout] 3 | let fire_pdu = FirePDU::default(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `FirePDU` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use dis_rust::warfare::fire_pdu::FirePDU; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/common/angular_velocity_vector_record.rs - common::angular_velocity_vector_record::AngularVelocityRecord::new (line 26) [INFO] [stdout] src/common/entity_coordinate_vector_record.rs - common::entity_coordinate_vector_record::EntityCoordinateVectorRecord::new (line 26) [INFO] [stdout] src/common/entity_id_record.rs - common::entity_id_record::EntityIDRecord::default (line 52) [INFO] [stdout] src/common/entity_id_record.rs - common::entity_id_record::EntityIDRecord::new (line 27) [INFO] [stdout] src/common/euler_angles_record.rs - common::euler_angles_record::EulerAnglesRecord::new (line 27) [INFO] [stdout] src/common/event_id_record.rs - common::event_id_record::EventIDRecord::default (line 48) [INFO] [stdout] src/common/event_id_record.rs - common::event_id_record::EventIDRecord::new (line 27) [INFO] [stdout] src/common/linear_acceleration_record.rs - common::linear_acceleration_record::LinearAccelerationRecord::new (line 27) [INFO] [stdout] src/common/linear_velocity_record.rs - common::linear_velocity_record::LinearVelocityRecord::new (line 27) [INFO] [stdout] src/common/simulation_address_record.rs - common::simulation_address_record::SimulationAddressRecord::default (line 53) [INFO] [stdout] src/common/simulation_address_record.rs - common::simulation_address_record::SimulationAddressRecord::new (line 26) [INFO] [stdout] src/common/velocity_vector_record.rs - common::velocity_vector_record::VelocityVectorRecord::new (line 27) [INFO] [stdout] src/common/world_coordinate_record.rs - common::world_coordinate_record::WorldCoordinateRecord::new (line 27) [INFO] [stdout] src/entity_information/entity_marking_record.rs - entity_information::entity_marking_record::EntityMarkingRecord::default (line 36) [INFO] [stdout] src/simulation_management/event_report_pdu.rs - simulation_management::event_report_pdu::EventReportPDU::default (line 36) [INFO] [stdout] src/warfare/burst_descriptor_record.rs - warfare::burst_descriptor_record::BurstDescriptorRecord::default (line 65) [INFO] [stdout] src/warfare/burst_descriptor_record.rs - warfare::burst_descriptor_record::BurstDescriptorRecord::new (line 32) [INFO] [stdout] src/warfare/detonation_pdu.rs - warfare::detonation_pdu::DetonationPDU::default (line 43) [INFO] [stdout] src/warfare/detonation_pdu.rs - warfare::detonation_pdu::DetonationPDU::default (line 50) [INFO] [stdout] src/warfare/fire_pdu.rs - warfare::fire_pdu::FirePDU::default (line 38) [INFO] [stdout] src/warfare/fire_pdu.rs - warfare::fire_pdu::FirePDU::default (line 44) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 21 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.23s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "5953897c00de3d8bfd540832da56e27e9d4393002fcd7a0ebf906aa3c4d7e48d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5953897c00de3d8bfd540832da56e27e9d4393002fcd7a0ebf906aa3c4d7e48d", kill_on_drop: false }` [INFO] [stdout] 5953897c00de3d8bfd540832da56e27e9d4393002fcd7a0ebf906aa3c4d7e48d