[INFO] fetching crate integer_array 0.3.0... [INFO] checking integer_array-0.3.0 against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393 [INFO] extracting crate integer_array 0.3.0 into /workspace/builds/worker-4-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-4-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 microfft v0.5.1 [INFO] [stderr] Downloaded spectrum-analyzer v1.5.0 [INFO] [stderr] Downloaded fixed v1.24.0 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 71e3eb454aed0ad63d04dc75016adc93e1e4907a412b39d876d427f2294c6d07 [INFO] running `Command { std: "docker" "start" "-a" "71e3eb454aed0ad63d04dc75016adc93e1e4907a412b39d876d427f2294c6d07", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "71e3eb454aed0ad63d04dc75016adc93e1e4907a412b39d876d427f2294c6d07", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "71e3eb454aed0ad63d04dc75016adc93e1e4907a412b39d876d427f2294c6d07", kill_on_drop: false }` [INFO] [stdout] 71e3eb454aed0ad63d04dc75016adc93e1e4907a412b39d876d427f2294c6d07 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 326da0e55de11d638e9786a4e9ec9022d237324e1eafc62e4254854d19650c30 [INFO] running `Command { std: "docker" "start" "-a" "326da0e55de11d638e9786a4e9ec9022d237324e1eafc62e4254854d19650c30", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling fixed v1.24.0 [INFO] [stderr] Checking num-integer v0.1.45 [INFO] [stderr] Checking num-complex v0.4.4 [INFO] [stderr] Checking float-cmp v0.9.0 [INFO] [stderr] Checking num-rational v0.4.1 [INFO] [stderr] Checking num-iter v0.1.43 [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.94s [INFO] running `Command { std: "docker" "inspect" "326da0e55de11d638e9786a4e9ec9022d237324e1eafc62e4254854d19650c30", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "326da0e55de11d638e9786a4e9ec9022d237324e1eafc62e4254854d19650c30", kill_on_drop: false }` [INFO] [stdout] 326da0e55de11d638e9786a4e9ec9022d237324e1eafc62e4254854d19650c30 [INFO] checking integer_array-0.3.0 against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393 [INFO] extracting crate integer_array 0.3.0 into /workspace/builds/worker-4-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-4-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] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 88396a341123427649fc1e10cd5c0011fed645a702c923cadab0d4c2f473bb2d [INFO] running `Command { std: "docker" "start" "-a" "88396a341123427649fc1e10cd5c0011fed645a702c923cadab0d4c2f473bb2d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "88396a341123427649fc1e10cd5c0011fed645a702c923cadab0d4c2f473bb2d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "88396a341123427649fc1e10cd5c0011fed645a702c923cadab0d4c2f473bb2d", kill_on_drop: false }` [INFO] [stdout] 88396a341123427649fc1e10cd5c0011fed645a702c923cadab0d4c2f473bb2d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] c9f12ee365a0c9888a0e7d838543ae51c4919171af7827be0a686e48ff40569e [INFO] running `Command { std: "docker" "start" "-a" "c9f12ee365a0c9888a0e7d838543ae51c4919171af7827be0a686e48ff40569e", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling fixed v1.24.0 [INFO] [stderr] Checking num-complex v0.4.4 [INFO] [stderr] Checking num-integer v0.1.45 [INFO] [stderr] Checking float-cmp v0.9.0 [INFO] [stderr] Checking num-iter v0.1.43 [INFO] [stderr] Checking num-rational v0.4.1 [INFO] [stderr] Checking microfft v0.5.1 [INFO] [stderr] Checking num v0.4.1 [INFO] [stderr] Checking spectrum-analyzer v1.5.0 [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" "c9f12ee365a0c9888a0e7d838543ae51c4919171af7827be0a686e48ff40569e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c9f12ee365a0c9888a0e7d838543ae51c4919171af7827be0a686e48ff40569e", kill_on_drop: false }` [INFO] [stdout] c9f12ee365a0c9888a0e7d838543ae51c4919171af7827be0a686e48ff40569e