[INFO] fetching crate integer_array 0.3.0... [INFO] checking integer_array-0.3.0 against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393-1 [INFO] extracting crate integer_array 0.3.0 into /workspace/builds/worker-2-tc1/source [INFO] validating manifest of crates.io crate integer_array 0.3.0 on toolchain 5518eaa946291f00471af8b254b2a1715f234882 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate integer_array 0.3.0 [INFO] finished tweaking crates.io crate integer_array 0.3.0 [INFO] tweaked toml for crates.io crate integer_array 0.3.0 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded az v1.2.1 [INFO] [stderr] Downloaded bytemuck v1.14.1 [INFO] [stderr] Downloaded microfft v0.5.1 [INFO] [stderr] Downloaded fixed v1.24.0 [INFO] [stderr] Downloaded spectrum-analyzer v1.5.0 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 98eaa3bf335f69cff40567ad2c259c793b40ab5aaf25cb3e85f9bdbee9d20107 [INFO] running `Command { std: "docker" "start" "-a" "98eaa3bf335f69cff40567ad2c259c793b40ab5aaf25cb3e85f9bdbee9d20107", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "98eaa3bf335f69cff40567ad2c259c793b40ab5aaf25cb3e85f9bdbee9d20107", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "98eaa3bf335f69cff40567ad2c259c793b40ab5aaf25cb3e85f9bdbee9d20107", kill_on_drop: false }` [INFO] [stdout] 98eaa3bf335f69cff40567ad2c259c793b40ab5aaf25cb3e85f9bdbee9d20107 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 54a8174f725c63f4315c3090ad22708e6395a88872818cbd6fac2af97a8d9fca [INFO] running `Command { std: "docker" "start" "-a" "54a8174f725c63f4315c3090ad22708e6395a88872818cbd6fac2af97a8d9fca", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling az v1.2.1 [INFO] [stderr] Compiling fixed v1.24.0 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking half v2.3.1 [INFO] [stderr] Checking bytemuck v1.14.1 [INFO] [stderr] Checking num-complex v0.4.4 [INFO] [stderr] Checking float-cmp v0.9.0 [INFO] [stderr] Checking microfft v0.5.1 [INFO] [stderr] Checking spectrum-analyzer v1.5.0 [INFO] [stderr] Checking num v0.4.1 [INFO] [stderr] Checking integer_array v0.3.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 5.72s [INFO] running `Command { std: "docker" "inspect" "54a8174f725c63f4315c3090ad22708e6395a88872818cbd6fac2af97a8d9fca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "54a8174f725c63f4315c3090ad22708e6395a88872818cbd6fac2af97a8d9fca", kill_on_drop: false }` [INFO] [stdout] 54a8174f725c63f4315c3090ad22708e6395a88872818cbd6fac2af97a8d9fca [INFO] checking integer_array-0.3.0 against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393-1 [INFO] extracting crate integer_array 0.3.0 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate integer_array 0.3.0 on toolchain 7622c0f807a4e13c4db886a1681bf343795692df [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate integer_array 0.3.0 [INFO] finished tweaking crates.io crate integer_array 0.3.0 [INFO] tweaked toml for crates.io crate integer_array 0.3.0 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 51f56a440865a488b2b3a708ad023d11417c838931c7b209c257b2772de5079e [INFO] running `Command { std: "docker" "start" "-a" "51f56a440865a488b2b3a708ad023d11417c838931c7b209c257b2772de5079e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "51f56a440865a488b2b3a708ad023d11417c838931c7b209c257b2772de5079e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "51f56a440865a488b2b3a708ad023d11417c838931c7b209c257b2772de5079e", kill_on_drop: false }` [INFO] [stdout] 51f56a440865a488b2b3a708ad023d11417c838931c7b209c257b2772de5079e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dnon_local_definitions" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d10fd2ed3acc9fac58c3c68211e44834530f3eb8ce8caefa594b304e78c7d3be [INFO] running `Command { std: "docker" "start" "-a" "d10fd2ed3acc9fac58c3c68211e44834530f3eb8ce8caefa594b304e78c7d3be", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling az v1.2.1 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Compiling fixed v1.24.0 [INFO] [stderr] Checking half v2.3.1 [INFO] [stderr] Checking bytemuck v1.14.1 [INFO] [stderr] Checking num-complex v0.4.4 [INFO] [stderr] Checking float-cmp v0.9.0 [INFO] [stderr] Checking microfft v0.5.1 [INFO] [stderr] Checking spectrum-analyzer v1.5.0 [INFO] [stderr] Checking num v0.4.1 [INFO] [stderr] Checking integer_array v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> tests/integration_test.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | integer_array::declare_array_real!( Arr11, 11, FixedI32 ); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `create_type_real` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: requested on the command line with `-D non-local-definitions` [INFO] [stdout] = note: this error originates in the macro `integer_array::declare_array_real` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> tests/integration_test.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | integer_array::declare_array_real!( Arr11, 11, FixedI32 ); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `create_type_real` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the macro `integer_array::declare_array_real` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> tests/integration_test.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | integer_array::declare_array_real!( Arr11, 11, FixedI32 ); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `create_type_real` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the macro `integer_array::declare_array_real` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `integer_array` (test "integration_test") due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/real/array.rs:839:9 [INFO] [stdout] | [INFO] [stdout] 839 | / impl core::ops::Div<$name> for i32 { [INFO] [stdout] 840 | | type Output = $name; [INFO] [stdout] 841 | | fn div( self, other:$name ) -> $name { [INFO] [stdout] 842 | | let mut r_array = other.clone(); [INFO] [stdout] ... | [INFO] [stdout] 858 | | } [INFO] [stdout] 859 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] ... [INFO] [stdout] 1280 | declare_array_real!( Arr4, 4, FixedI32 ); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `neg` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: requested on the command line with `-D non-local-definitions` [INFO] [stdout] = note: this error originates in the macro `declare_array_real` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/real/array.rs:883:9 [INFO] [stdout] | [INFO] [stdout] 883 | / impl core::ops::Div<$name> for f32 { [INFO] [stdout] 884 | | type Output = $name; [INFO] [stdout] 885 | | fn div( self, other:$name ) -> $name { [INFO] [stdout] 886 | | let mut r_array = other.clone(); [INFO] [stdout] ... | [INFO] [stdout] 902 | | } [INFO] [stdout] 903 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] ... [INFO] [stdout] 1280 | declare_array_real!( Arr4, 4, FixedI32 ); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `neg` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the macro `declare_array_real` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/real/array.rs:1014:9 [INFO] [stdout] | [INFO] [stdout] 1014 | / impl core::ops::Sub<$name> for i32 { [INFO] [stdout] 1015 | | type Output = $name; [INFO] [stdout] 1016 | | fn sub( self, other: $name ) -> $name { [INFO] [stdout] 1017 | | return -other + self; [INFO] [stdout] 1018 | | } [INFO] [stdout] 1019 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] ... [INFO] [stdout] 1280 | declare_array_real!( Arr4, 4, FixedI32 ); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `neg` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the macro `declare_array_real` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/real/array.rs:839:9 [INFO] [stdout] | [INFO] [stdout] 839 | / impl core::ops::Div<$name> for i32 { [INFO] [stdout] 840 | | type Output = $name; [INFO] [stdout] 841 | | fn div( self, other:$name ) -> $name { [INFO] [stdout] 842 | | let mut r_array = other.clone(); [INFO] [stdout] ... | [INFO] [stdout] 858 | | } [INFO] [stdout] 859 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] ... [INFO] [stdout] 1291 | declare_array_real!( Arr4, 4, FixedI32 ); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `zero_divide` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the macro `declare_array_real` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/real/array.rs:883:9 [INFO] [stdout] | [INFO] [stdout] 883 | / impl core::ops::Div<$name> for f32 { [INFO] [stdout] 884 | | type Output = $name; [INFO] [stdout] 885 | | fn div( self, other:$name ) -> $name { [INFO] [stdout] 886 | | let mut r_array = other.clone(); [INFO] [stdout] ... | [INFO] [stdout] 902 | | } [INFO] [stdout] 903 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] ... [INFO] [stdout] 1291 | declare_array_real!( Arr4, 4, FixedI32 ); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `zero_divide` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the macro `declare_array_real` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/real/array.rs:1014:9 [INFO] [stdout] | [INFO] [stdout] 1014 | / impl core::ops::Sub<$name> for i32 { [INFO] [stdout] 1015 | | type Output = $name; [INFO] [stdout] 1016 | | fn sub( self, other: $name ) -> $name { [INFO] [stdout] 1017 | | return -other + self; [INFO] [stdout] 1018 | | } [INFO] [stdout] 1019 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] ... [INFO] [stdout] 1291 | declare_array_real!( Arr4, 4, FixedI32 ); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `zero_divide` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the macro `declare_array_real` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/real/array.rs:839:9 [INFO] [stdout] | [INFO] [stdout] 839 | / impl core::ops::Div<$name> for i32 { [INFO] [stdout] 840 | | type Output = $name; [INFO] [stdout] 841 | | fn div( self, other:$name ) -> $name { [INFO] [stdout] 842 | | let mut r_array = other.clone(); [INFO] [stdout] ... | [INFO] [stdout] 858 | | } [INFO] [stdout] 859 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] ... [INFO] [stdout] 1303 | declare_array_real!( Arr4, 8, FixedI32 ); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `sybtract_by_array` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the macro `declare_array_real` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/real/array.rs:883:9 [INFO] [stdout] | [INFO] [stdout] 883 | / impl core::ops::Div<$name> for f32 { [INFO] [stdout] 884 | | type Output = $name; [INFO] [stdout] 885 | | fn div( self, other:$name ) -> $name { [INFO] [stdout] 886 | | let mut r_array = other.clone(); [INFO] [stdout] ... | [INFO] [stdout] 902 | | } [INFO] [stdout] 903 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] ... [INFO] [stdout] 1303 | declare_array_real!( Arr4, 8, FixedI32 ); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `sybtract_by_array` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the macro `declare_array_real` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/real/array.rs:1014:9 [INFO] [stdout] | [INFO] [stdout] 1014 | / impl core::ops::Sub<$name> for i32 { [INFO] [stdout] 1015 | | type Output = $name; [INFO] [stdout] 1016 | | fn sub( self, other: $name ) -> $name { [INFO] [stdout] 1017 | | return -other + self; [INFO] [stdout] 1018 | | } [INFO] [stdout] 1019 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] ... [INFO] [stdout] 1303 | declare_array_real!( Arr4, 8, FixedI32 ); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `sybtract_by_array` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the macro `declare_array_real` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/real/array.rs:839:9 [INFO] [stdout] | [INFO] [stdout] 839 | / impl core::ops::Div<$name> for i32 { [INFO] [stdout] 840 | | type Output = $name; [INFO] [stdout] 841 | | fn div( self, other:$name ) -> $name { [INFO] [stdout] 842 | | let mut r_array = other.clone(); [INFO] [stdout] ... | [INFO] [stdout] 858 | | } [INFO] [stdout] 859 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/complex/array.rs:256:9 [INFO] [stdout] | [INFO] [stdout] 256 | declare_array_complex!( CArr4, Arr4, 4, FixedI32 ); [INFO] [stdout] | ------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `new` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the macro `integer_array::declare_array_real` which comes from the expansion of the macro `declare_array_complex` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/real/array.rs:883:9 [INFO] [stdout] | [INFO] [stdout] 883 | / impl core::ops::Div<$name> for f32 { [INFO] [stdout] 884 | | type Output = $name; [INFO] [stdout] 885 | | fn div( self, other:$name ) -> $name { [INFO] [stdout] 886 | | let mut r_array = other.clone(); [INFO] [stdout] ... | [INFO] [stdout] 902 | | } [INFO] [stdout] 903 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/complex/array.rs:256:9 [INFO] [stdout] | [INFO] [stdout] 256 | declare_array_complex!( CArr4, Arr4, 4, FixedI32 ); [INFO] [stdout] | ------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `new` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the macro `integer_array::declare_array_real` which comes from the expansion of the macro `declare_array_complex` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/real/array.rs:1014:9 [INFO] [stdout] | [INFO] [stdout] 1014 | / impl core::ops::Sub<$name> for i32 { [INFO] [stdout] 1015 | | type Output = $name; [INFO] [stdout] 1016 | | fn sub( self, other: $name ) -> $name { [INFO] [stdout] 1017 | | return -other + self; [INFO] [stdout] 1018 | | } [INFO] [stdout] 1019 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/complex/array.rs:256:9 [INFO] [stdout] | [INFO] [stdout] 256 | declare_array_complex!( CArr4, Arr4, 4, FixedI32 ); [INFO] [stdout] | ------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `new` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the macro `integer_array::declare_array_real` which comes from the expansion of the macro `declare_array_complex` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/real/array.rs:839:9 [INFO] [stdout] | [INFO] [stdout] 839 | / impl core::ops::Div<$name> for i32 { [INFO] [stdout] 840 | | type Output = $name; [INFO] [stdout] 841 | | fn div( self, other:$name ) -> $name { [INFO] [stdout] 842 | | let mut r_array = other.clone(); [INFO] [stdout] ... | [INFO] [stdout] 858 | | } [INFO] [stdout] 859 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/complex/array.rs:265:9 [INFO] [stdout] | [INFO] [stdout] 265 | integer_array::declare_array_complex!( CArr4, Arr4, 4, FixedI32 ); [INFO] [stdout] | ---------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `real` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the macro `integer_array::declare_array_real` which comes from the expansion of the macro `integer_array::declare_array_complex` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/real/array.rs:883:9 [INFO] [stdout] | [INFO] [stdout] 883 | / impl core::ops::Div<$name> for f32 { [INFO] [stdout] 884 | | type Output = $name; [INFO] [stdout] 885 | | fn div( self, other:$name ) -> $name { [INFO] [stdout] 886 | | let mut r_array = other.clone(); [INFO] [stdout] ... | [INFO] [stdout] 902 | | } [INFO] [stdout] 903 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/complex/array.rs:265:9 [INFO] [stdout] | [INFO] [stdout] 265 | integer_array::declare_array_complex!( CArr4, Arr4, 4, FixedI32 ); [INFO] [stdout] | ---------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `real` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the macro `integer_array::declare_array_real` which comes from the expansion of the macro `integer_array::declare_array_complex` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/real/array.rs:1014:9 [INFO] [stdout] | [INFO] [stdout] 1014 | / impl core::ops::Sub<$name> for i32 { [INFO] [stdout] 1015 | | type Output = $name; [INFO] [stdout] 1016 | | fn sub( self, other: $name ) -> $name { [INFO] [stdout] 1017 | | return -other + self; [INFO] [stdout] 1018 | | } [INFO] [stdout] 1019 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/complex/array.rs:265:9 [INFO] [stdout] | [INFO] [stdout] 265 | integer_array::declare_array_complex!( CArr4, Arr4, 4, FixedI32 ); [INFO] [stdout] | ---------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `real` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the macro `integer_array::declare_array_real` which comes from the expansion of the macro `integer_array::declare_array_complex` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 15 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `integer_array` (lib test) due to 16 previous errors [INFO] running `Command { std: "docker" "inspect" "d10fd2ed3acc9fac58c3c68211e44834530f3eb8ce8caefa594b304e78c7d3be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d10fd2ed3acc9fac58c3c68211e44834530f3eb8ce8caefa594b304e78c7d3be", kill_on_drop: false }` [INFO] [stdout] d10fd2ed3acc9fac58c3c68211e44834530f3eb8ce8caefa594b304e78c7d3be