[INFO] fetching crate pizarra 3.0.0... [INFO] checking pizarra-3.0.0 against master#a3f76a26e045a760bb1163b7eab36872985242d5 for pr-130930 [INFO] extracting crate pizarra 3.0.0 into /workspace/builds/worker-4-tc1/source [INFO] validating manifest of crates.io crate pizarra 3.0.0 on toolchain a3f76a26e045a760bb1163b7eab36872985242d5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a3f76a26e045a760bb1163b7eab36872985242d5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate pizarra 3.0.0 [INFO] finished tweaking crates.io crate pizarra 3.0.0 [INFO] tweaked toml for crates.io crate pizarra 3.0.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a3f76a26e045a760bb1163b7eab36872985242d5" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 45 packages to latest compatible versions [INFO] [stderr] Adding darling v0.13.4 (available: v0.20.10) [INFO] [stderr] Adding darling_core v0.13.4 (available: v0.20.10) [INFO] [stderr] Adding darling_macro v0.13.4 (available: v0.20.10) [INFO] [stderr] Adding hash32 v0.2.1 (available: v0.3.1) [INFO] [stderr] Adding heapless v0.7.17 (available: v0.8.0) [INFO] [stderr] Adding num-derive v0.3.3 (available: v0.4.2) [INFO] [stderr] Adding rstar v0.9.3 (available: v0.12.0) [INFO] [stderr] Adding serde_with v1.14.0 (available: v3.9.0) [INFO] [stderr] Adding serde_with_macros v1.5.2 (available: v3.9.0) [INFO] [stderr] Adding strsim v0.10.0 (available: v0.11.1) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.79) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a3f76a26e045a760bb1163b7eab36872985242d5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rstar v0.9.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+a3f76a26e045a760bb1163b7eab36872985242d5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b56bbfe2c67b2b4be7c284ff37c02a360d37855214f97be9b27a5ace99a70c5c [INFO] running `Command { std: "docker" "start" "-a" "b56bbfe2c67b2b4be7c284ff37c02a360d37855214f97be9b27a5ace99a70c5c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b56bbfe2c67b2b4be7c284ff37c02a360d37855214f97be9b27a5ace99a70c5c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b56bbfe2c67b2b4be7c284ff37c02a360d37855214f97be9b27a5ace99a70c5c", kill_on_drop: false }` [INFO] [stdout] b56bbfe2c67b2b4be7c284ff37c02a360d37855214f97be9b27a5ace99a70c5c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+a3f76a26e045a760bb1163b7eab36872985242d5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bc21f6b877c536d8aaeb0494e6f7762d52b38c5408be6c0d717e84c923368083 [INFO] running `Command { std: "docker" "start" "-a" "bc21f6b877c536d8aaeb0494e6f7762d52b38c5408be6c0d717e84c923368083", kill_on_drop: false }` [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking hash32 v0.2.1 [INFO] [stderr] Checking xml-rs v0.8.22 [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Checking yansi v1.0.1 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling darling_core v0.13.4 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Checking pretty_assertions v1.4.1 [INFO] [stderr] Compiling heapless v0.7.17 [INFO] [stderr] Checking rstar v0.9.3 [INFO] [stderr] Compiling darling_macro v0.13.4 [INFO] [stderr] Compiling darling v0.13.4 [INFO] [stderr] Compiling serde_with_macros v1.5.2 [INFO] [stderr] Checking serde_with v1.14.0 [INFO] [stderr] Checking pizarra v3.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/app.rs:346:13 [INFO] [stdout] | [INFO] [stdout] 346 | / /// a vector from the top-left corner of the screen to the origin [INFO] [stdout] 347 | | /// of coordinates in the storage [INFO] [stdout] | |_____________________________________________^ [INFO] [stdout] 348 | transform: Transform::default_for_viewport(dimensions), [INFO] [stdout] | ------------------------------------------------------ rustdoc does not generate documentation for expression fields [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/app.rs:346:13 [INFO] [stdout] | [INFO] [stdout] 346 | / /// a vector from the top-left corner of the screen to the origin [INFO] [stdout] 347 | | /// of coordinates in the storage [INFO] [stdout] | |_____________________________________________^ [INFO] [stdout] 348 | transform: Transform::default_for_viewport(dimensions), [INFO] [stdout] | ------------------------------------------------------ rustdoc does not generate documentation for expression fields [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [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/point.rs:12:62 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Copy, Clone, Debug, Default, PartialEq, PartialOrd, Zero, One, Num, ToPrimitive, NumCast, Float, Serialize, Deserialize)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Zero` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_Zero_FOR_ScreenUnit` [INFO] [stdout] 13 | pub struct ScreenUnit(f64); [INFO] [stdout] | ---------- `ScreenUnit` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Zero` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Zero` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Zero` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [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/point.rs:12:68 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Copy, Clone, Debug, Default, PartialEq, PartialOrd, Zero, One, Num, ToPrimitive, NumCast, Float, Serialize, Deserialize)] [INFO] [stdout] | ^-- [INFO] [stdout] | | [INFO] [stdout] | `One` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_One_FOR_ScreenUnit` [INFO] [stdout] 13 | pub struct ScreenUnit(f64); [INFO] [stdout] | ---------- `ScreenUnit` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `One` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `One` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `One` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [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/point.rs:12:73 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Copy, Clone, Debug, Default, PartialEq, PartialOrd, Zero, One, Num, ToPrimitive, NumCast, Float, Serialize, Deserialize)] [INFO] [stdout] | ^-- [INFO] [stdout] | | [INFO] [stdout] | `Num` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_Num_FOR_ScreenUnit` [INFO] [stdout] 13 | pub struct ScreenUnit(f64); [INFO] [stdout] | ---------- `ScreenUnit` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Num` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Num` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Num` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [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/point.rs:12:78 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Copy, Clone, Debug, Default, PartialEq, PartialOrd, Zero, One, Num, ToPrimitive, NumCast, Float, Serialize, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_ScreenUnit` [INFO] [stdout] 13 | pub struct ScreenUnit(f64); [INFO] [stdout] | ---------- `ScreenUnit` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/point.rs:12:91 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Copy, Clone, Debug, Default, PartialEq, PartialOrd, Zero, One, Num, ToPrimitive, NumCast, Float, Serialize, Deserialize)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `NumCast` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_NumCast_FOR_ScreenUnit` [INFO] [stdout] 13 | pub struct ScreenUnit(f64); [INFO] [stdout] | ---------- `ScreenUnit` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `NumCast` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `NumCast` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `NumCast` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [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/point.rs:12:100 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Copy, Clone, Debug, Default, PartialEq, PartialOrd, Zero, One, Num, ToPrimitive, NumCast, Float, Serialize, Deserialize)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Float` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_Float_FOR_ScreenUnit` [INFO] [stdout] 13 | pub struct ScreenUnit(f64); [INFO] [stdout] | ---------- `ScreenUnit` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Float` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Float` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Float` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [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/point.rs:14:62 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Copy, Clone, Debug, Default, PartialEq, PartialOrd, Zero, One, Num, ToPrimitive, NumCast, Float, Serialize, Deserialize)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Zero` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_Zero_FOR_WorldUnit` [INFO] [stdout] 15 | pub struct WorldUnit(f64); [INFO] [stdout] | --------- `WorldUnit` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Zero` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Zero` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Zero` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [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/point.rs:14:68 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Copy, Clone, Debug, Default, PartialEq, PartialOrd, Zero, One, Num, ToPrimitive, NumCast, Float, Serialize, Deserialize)] [INFO] [stdout] | ^-- [INFO] [stdout] | | [INFO] [stdout] | `One` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_One_FOR_WorldUnit` [INFO] [stdout] 15 | pub struct WorldUnit(f64); [INFO] [stdout] | --------- `WorldUnit` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `One` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `One` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `One` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [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/point.rs:14:73 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Copy, Clone, Debug, Default, PartialEq, PartialOrd, Zero, One, Num, ToPrimitive, NumCast, Float, Serialize, Deserialize)] [INFO] [stdout] | ^-- [INFO] [stdout] | | [INFO] [stdout] | `Num` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_Num_FOR_WorldUnit` [INFO] [stdout] 15 | pub struct WorldUnit(f64); [INFO] [stdout] | --------- `WorldUnit` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Num` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Num` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Num` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [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/point.rs:14:78 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Copy, Clone, Debug, Default, PartialEq, PartialOrd, Zero, One, Num, ToPrimitive, NumCast, Float, Serialize, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_WorldUnit` [INFO] [stdout] 15 | pub struct WorldUnit(f64); [INFO] [stdout] | --------- `WorldUnit` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/point.rs:14:91 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Copy, Clone, Debug, Default, PartialEq, PartialOrd, Zero, One, Num, ToPrimitive, NumCast, Float, Serialize, Deserialize)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `NumCast` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_NumCast_FOR_WorldUnit` [INFO] [stdout] 15 | pub struct WorldUnit(f64); [INFO] [stdout] | --------- `WorldUnit` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `NumCast` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `NumCast` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `NumCast` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [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/point.rs:14:100 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Copy, Clone, Debug, Default, PartialEq, PartialOrd, Zero, One, Num, ToPrimitive, NumCast, Float, Serialize, Deserialize)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Float` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_Float_FOR_WorldUnit` [INFO] [stdout] 15 | pub struct WorldUnit(f64); [INFO] [stdout] | --------- `WorldUnit` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Float` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Float` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Float` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [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/point.rs:16:62 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Copy, Clone, Debug, Default, PartialEq, PartialOrd, Zero, One, Num, ToPrimitive, NumCast, Float, Serialize, Deserialize)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Zero` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_Zero_FOR_Unittless` [INFO] [stdout] 17 | pub struct Unittless(f64); [INFO] [stdout] | --------- `Unittless` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Zero` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Zero` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Zero` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [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/point.rs:16:68 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Copy, Clone, Debug, Default, PartialEq, PartialOrd, Zero, One, Num, ToPrimitive, NumCast, Float, Serialize, Deserialize)] [INFO] [stdout] | ^-- [INFO] [stdout] | | [INFO] [stdout] | `One` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_One_FOR_Unittless` [INFO] [stdout] 17 | pub struct Unittless(f64); [INFO] [stdout] | --------- `Unittless` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `One` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `One` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `One` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [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/point.rs:16:73 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Copy, Clone, Debug, Default, PartialEq, PartialOrd, Zero, One, Num, ToPrimitive, NumCast, Float, Serialize, Deserialize)] [INFO] [stdout] | ^-- [INFO] [stdout] | | [INFO] [stdout] | `Num` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_Num_FOR_Unittless` [INFO] [stdout] 17 | pub struct Unittless(f64); [INFO] [stdout] | --------- `Unittless` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Num` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Num` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Num` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [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/point.rs:16:78 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Copy, Clone, Debug, Default, PartialEq, PartialOrd, Zero, One, Num, ToPrimitive, NumCast, Float, Serialize, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_Unittless` [INFO] [stdout] 17 | pub struct Unittless(f64); [INFO] [stdout] | --------- `Unittless` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/point.rs:16:91 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Copy, Clone, Debug, Default, PartialEq, PartialOrd, Zero, One, Num, ToPrimitive, NumCast, Float, Serialize, Deserialize)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `NumCast` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_NumCast_FOR_Unittless` [INFO] [stdout] 17 | pub struct Unittless(f64); [INFO] [stdout] | --------- `Unittless` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `NumCast` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `NumCast` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `NumCast` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [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/point.rs:16:100 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Copy, Clone, Debug, Default, PartialEq, PartialOrd, Zero, One, Num, ToPrimitive, NumCast, Float, Serialize, Deserialize)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Float` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_Float_FOR_Unittless` [INFO] [stdout] 17 | pub struct Unittless(f64); [INFO] [stdout] | --------- `Unittless` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Float` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Float` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Float` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [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/point.rs:12:62 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Copy, Clone, Debug, Default, PartialEq, PartialOrd, Zero, One, Num, ToPrimitive, NumCast, Float, Serialize, Deserialize)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Zero` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_Zero_FOR_ScreenUnit` [INFO] [stdout] 13 | pub struct ScreenUnit(f64); [INFO] [stdout] | ---------- `ScreenUnit` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Zero` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Zero` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Zero` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [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/point.rs:12:68 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Copy, Clone, Debug, Default, PartialEq, PartialOrd, Zero, One, Num, ToPrimitive, NumCast, Float, Serialize, Deserialize)] [INFO] [stdout] | ^-- [INFO] [stdout] | | [INFO] [stdout] | `One` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_One_FOR_ScreenUnit` [INFO] [stdout] 13 | pub struct ScreenUnit(f64); [INFO] [stdout] | ---------- `ScreenUnit` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `One` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `One` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `One` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [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/point.rs:12:73 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Copy, Clone, Debug, Default, PartialEq, PartialOrd, Zero, One, Num, ToPrimitive, NumCast, Float, Serialize, Deserialize)] [INFO] [stdout] | ^-- [INFO] [stdout] | | [INFO] [stdout] | `Num` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_Num_FOR_ScreenUnit` [INFO] [stdout] 13 | pub struct ScreenUnit(f64); [INFO] [stdout] | ---------- `ScreenUnit` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Num` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Num` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Num` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [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/point.rs:12:78 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Copy, Clone, Debug, Default, PartialEq, PartialOrd, Zero, One, Num, ToPrimitive, NumCast, Float, Serialize, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_ScreenUnit` [INFO] [stdout] 13 | pub struct ScreenUnit(f64); [INFO] [stdout] | ---------- `ScreenUnit` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/point.rs:12:91 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Copy, Clone, Debug, Default, PartialEq, PartialOrd, Zero, One, Num, ToPrimitive, NumCast, Float, Serialize, Deserialize)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `NumCast` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_NumCast_FOR_ScreenUnit` [INFO] [stdout] 13 | pub struct ScreenUnit(f64); [INFO] [stdout] | ---------- `ScreenUnit` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `NumCast` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `NumCast` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `NumCast` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [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/point.rs:12:100 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Copy, Clone, Debug, Default, PartialEq, PartialOrd, Zero, One, Num, ToPrimitive, NumCast, Float, Serialize, Deserialize)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Float` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_Float_FOR_ScreenUnit` [INFO] [stdout] 13 | pub struct ScreenUnit(f64); [INFO] [stdout] | ---------- `ScreenUnit` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Float` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Float` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Float` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [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/point.rs:14:62 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Copy, Clone, Debug, Default, PartialEq, PartialOrd, Zero, One, Num, ToPrimitive, NumCast, Float, Serialize, Deserialize)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Zero` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_Zero_FOR_WorldUnit` [INFO] [stdout] 15 | pub struct WorldUnit(f64); [INFO] [stdout] | --------- `WorldUnit` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Zero` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Zero` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Zero` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [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/point.rs:14:68 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Copy, Clone, Debug, Default, PartialEq, PartialOrd, Zero, One, Num, ToPrimitive, NumCast, Float, Serialize, Deserialize)] [INFO] [stdout] | ^-- [INFO] [stdout] | | [INFO] [stdout] | `One` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_One_FOR_WorldUnit` [INFO] [stdout] 15 | pub struct WorldUnit(f64); [INFO] [stdout] | --------- `WorldUnit` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `One` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `One` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `One` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [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/point.rs:14:73 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Copy, Clone, Debug, Default, PartialEq, PartialOrd, Zero, One, Num, ToPrimitive, NumCast, Float, Serialize, Deserialize)] [INFO] [stdout] | ^-- [INFO] [stdout] | | [INFO] [stdout] | `Num` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_Num_FOR_WorldUnit` [INFO] [stdout] 15 | pub struct WorldUnit(f64); [INFO] [stdout] | --------- `WorldUnit` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Num` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Num` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Num` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [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/point.rs:14:78 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Copy, Clone, Debug, Default, PartialEq, PartialOrd, Zero, One, Num, ToPrimitive, NumCast, Float, Serialize, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_WorldUnit` [INFO] [stdout] 15 | pub struct WorldUnit(f64); [INFO] [stdout] | --------- `WorldUnit` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/point.rs:14:91 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Copy, Clone, Debug, Default, PartialEq, PartialOrd, Zero, One, Num, ToPrimitive, NumCast, Float, Serialize, Deserialize)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `NumCast` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_NumCast_FOR_WorldUnit` [INFO] [stdout] 15 | pub struct WorldUnit(f64); [INFO] [stdout] | --------- `WorldUnit` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `NumCast` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `NumCast` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `NumCast` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [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/point.rs:14:100 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Copy, Clone, Debug, Default, PartialEq, PartialOrd, Zero, One, Num, ToPrimitive, NumCast, Float, Serialize, Deserialize)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Float` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_Float_FOR_WorldUnit` [INFO] [stdout] 15 | pub struct WorldUnit(f64); [INFO] [stdout] | --------- `WorldUnit` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Float` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Float` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Float` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [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/point.rs:16:62 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Copy, Clone, Debug, Default, PartialEq, PartialOrd, Zero, One, Num, ToPrimitive, NumCast, Float, Serialize, Deserialize)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Zero` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_Zero_FOR_Unittless` [INFO] [stdout] 17 | pub struct Unittless(f64); [INFO] [stdout] | --------- `Unittless` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Zero` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Zero` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Zero` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [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/point.rs:16:68 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Copy, Clone, Debug, Default, PartialEq, PartialOrd, Zero, One, Num, ToPrimitive, NumCast, Float, Serialize, Deserialize)] [INFO] [stdout] | ^-- [INFO] [stdout] | | [INFO] [stdout] | `One` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_One_FOR_Unittless` [INFO] [stdout] 17 | pub struct Unittless(f64); [INFO] [stdout] | --------- `Unittless` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `One` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `One` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `One` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [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/point.rs:16:73 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Copy, Clone, Debug, Default, PartialEq, PartialOrd, Zero, One, Num, ToPrimitive, NumCast, Float, Serialize, Deserialize)] [INFO] [stdout] | ^-- [INFO] [stdout] | | [INFO] [stdout] | `Num` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_Num_FOR_Unittless` [INFO] [stdout] 17 | pub struct Unittless(f64); [INFO] [stdout] | --------- `Unittless` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Num` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Num` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Num` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [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/point.rs:16:78 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Copy, Clone, Debug, Default, PartialEq, PartialOrd, Zero, One, Num, ToPrimitive, NumCast, Float, Serialize, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_Unittless` [INFO] [stdout] 17 | pub struct Unittless(f64); [INFO] [stdout] | --------- `Unittless` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/point.rs:16:91 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Copy, Clone, Debug, Default, PartialEq, PartialOrd, Zero, One, Num, ToPrimitive, NumCast, Float, Serialize, Deserialize)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `NumCast` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_NumCast_FOR_Unittless` [INFO] [stdout] 17 | pub struct Unittless(f64); [INFO] [stdout] | --------- `Unittless` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `NumCast` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `NumCast` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `NumCast` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [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/point.rs:16:100 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Copy, Clone, Debug, Default, PartialEq, PartialOrd, Zero, One, Num, ToPrimitive, NumCast, Float, Serialize, Deserialize)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Float` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_Float_FOR_Unittless` [INFO] [stdout] 17 | pub struct Unittless(f64); [INFO] [stdout] | --------- `Unittless` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Float` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Float` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Float` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.69s [INFO] running `Command { std: "docker" "inspect" "bc21f6b877c536d8aaeb0494e6f7762d52b38c5408be6c0d717e84c923368083", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bc21f6b877c536d8aaeb0494e6f7762d52b38c5408be6c0d717e84c923368083", kill_on_drop: false }` [INFO] [stdout] bc21f6b877c536d8aaeb0494e6f7762d52b38c5408be6c0d717e84c923368083