[INFO] fetching crate ref-ops 0.2.5... [INFO] checking ref-ops-0.2.5 against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393-1 [INFO] extracting crate ref-ops 0.2.5 into /workspace/builds/worker-7-tc1/source [INFO] validating manifest of crates.io crate ref-ops 0.2.5 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 ref-ops 0.2.5 [INFO] finished tweaking crates.io crate ref-ops 0.2.5 [INFO] tweaked toml for crates.io crate ref-ops 0.2.5 written to /workspace/builds/worker-7-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] 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] c53e47eff93a00d74d21c60044ff1e0288d6ab938b50628800b4c2440d5293e6 [INFO] running `Command { std: "docker" "start" "-a" "c53e47eff93a00d74d21c60044ff1e0288d6ab938b50628800b4c2440d5293e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c53e47eff93a00d74d21c60044ff1e0288d6ab938b50628800b4c2440d5293e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c53e47eff93a00d74d21c60044ff1e0288d6ab938b50628800b4c2440d5293e6", kill_on_drop: false }` [INFO] [stdout] c53e47eff93a00d74d21c60044ff1e0288d6ab938b50628800b4c2440d5293e6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 8479c3ed264f3674fcc2772f4f94a75f6adb3b0af87b2d878a0b120dae68723b [INFO] running `Command { std: "docker" "start" "-a" "8479c3ed264f3674fcc2772f4f94a75f6adb3b0af87b2d878a0b120dae68723b", kill_on_drop: false }` [INFO] [stderr] Checking ref-ops v0.2.5 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.14s [INFO] running `Command { std: "docker" "inspect" "8479c3ed264f3674fcc2772f4f94a75f6adb3b0af87b2d878a0b120dae68723b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8479c3ed264f3674fcc2772f4f94a75f6adb3b0af87b2d878a0b120dae68723b", kill_on_drop: false }` [INFO] [stdout] 8479c3ed264f3674fcc2772f4f94a75f6adb3b0af87b2d878a0b120dae68723b [INFO] checking ref-ops-0.2.5 against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393-1 [INFO] extracting crate ref-ops 0.2.5 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate ref-ops 0.2.5 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 ref-ops 0.2.5 [INFO] finished tweaking crates.io crate ref-ops 0.2.5 [INFO] tweaked toml for crates.io crate ref-ops 0.2.5 written to /workspace/builds/worker-7-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] Blocking waiting for file lock on package cache [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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 9b3679ae1680458d420f352e6f1f404512344c4fef871187befff99144ba0c05 [INFO] running `Command { std: "docker" "start" "-a" "9b3679ae1680458d420f352e6f1f404512344c4fef871187befff99144ba0c05", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9b3679ae1680458d420f352e6f1f404512344c4fef871187befff99144ba0c05", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9b3679ae1680458d420f352e6f1f404512344c4fef871187befff99144ba0c05", kill_on_drop: false }` [INFO] [stdout] 9b3679ae1680458d420f352e6f1f404512344c4fef871187befff99144ba0c05 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 6d4bae4f8259fd86bbdb16a1c478a055dd7a5673801210ebe65d652a982879ac [INFO] running `Command { std: "docker" "start" "-a" "6d4bae4f8259fd86bbdb16a1c478a055dd7a5673801210ebe65d652a982879ac", kill_on_drop: false }` [INFO] [stderr] Checking ref-ops v0.2.5 (/opt/rustwide/workdir) [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/ref_unary.rs:134:17 [INFO] [stdout] | [INFO] [stdout] 134 | / impl $Op for &A [INFO] [stdout] 135 | | where [INFO] [stdout] 136 | | T: ?Sized + $RefOp, [INFO] [stdout] 137 | | { [INFO] [stdout] ... | [INFO] [stdout] 142 | | } [INFO] [stdout] 143 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] ... [INFO] [stdout] 168 | / test_unary!( [INFO] [stdout] 169 | | test_neg, [INFO] [stdout] 170 | | Neg, [INFO] [stdout] 171 | | neg, [INFO] [stdout] ... | [INFO] [stdout] 175 | | 1.0 [INFO] [stdout] 176 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `test_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 `test_unary` (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/ref_unary.rs:134:17 [INFO] [stdout] | [INFO] [stdout] 134 | / impl $Op for &A [INFO] [stdout] 135 | | where [INFO] [stdout] 136 | | T: ?Sized + $RefOp, [INFO] [stdout] 137 | | { [INFO] [stdout] ... | [INFO] [stdout] 142 | | } [INFO] [stdout] 143 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] ... [INFO] [stdout] 177 | / test_unary!( [INFO] [stdout] 178 | | test_not, [INFO] [stdout] 179 | | Not, [INFO] [stdout] 180 | | not, [INFO] [stdout] ... | [INFO] [stdout] 184 | | true [INFO] [stdout] 185 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `test_not` [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 `test_unary` (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/ref_mut_unary.rs:156:17 [INFO] [stdout] | [INFO] [stdout] 156 | / impl $Op for &mut A [INFO] [stdout] 157 | | where [INFO] [stdout] 158 | | T: ?Sized + $RefOp, [INFO] [stdout] 159 | | { [INFO] [stdout] ... | [INFO] [stdout] 164 | | } [INFO] [stdout] 165 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] ... [INFO] [stdout] 190 | / test_unary!( [INFO] [stdout] 191 | | test_neg, [INFO] [stdout] 192 | | Neg, [INFO] [stdout] 193 | | neg, [INFO] [stdout] ... | [INFO] [stdout] 197 | | B(1.0) [INFO] [stdout] 198 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `test_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 `test_unary` (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/ref_mut_unary.rs:156:17 [INFO] [stdout] | [INFO] [stdout] 156 | / impl $Op for &mut A [INFO] [stdout] 157 | | where [INFO] [stdout] 158 | | T: ?Sized + $RefOp, [INFO] [stdout] 159 | | { [INFO] [stdout] ... | [INFO] [stdout] 164 | | } [INFO] [stdout] 165 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] ... [INFO] [stdout] 199 | / test_unary!( [INFO] [stdout] 200 | | test_not, [INFO] [stdout] 201 | | Not, [INFO] [stdout] 202 | | not, [INFO] [stdout] ... | [INFO] [stdout] 206 | | B(true) [INFO] [stdout] 207 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `test_not` [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 `test_unary` (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/ref_binary.rs:142:17 [INFO] [stdout] | [INFO] [stdout] 142 | / impl<'a, T, U> $Op<&'a A> for &A [INFO] [stdout] 143 | | where [INFO] [stdout] 144 | | T: ?Sized + $RefOp<&'a U>, [INFO] [stdout] 145 | | { [INFO] [stdout] ... | [INFO] [stdout] 150 | | } [INFO] [stdout] 151 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] ... [INFO] [stdout] 176 | / test_binary!( [INFO] [stdout] 177 | | test_add, [INFO] [stdout] 178 | | Add, [INFO] [stdout] 179 | | add, [INFO] [stdout] ... | [INFO] [stdout] 183 | | 1.0 [INFO] [stdout] 184 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `test_add` [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 `test_binary` (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/ref_binary.rs:142:17 [INFO] [stdout] | [INFO] [stdout] 142 | / impl<'a, T, U> $Op<&'a A> for &A [INFO] [stdout] 143 | | where [INFO] [stdout] 144 | | T: ?Sized + $RefOp<&'a U>, [INFO] [stdout] 145 | | { [INFO] [stdout] ... | [INFO] [stdout] 150 | | } [INFO] [stdout] 151 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] ... [INFO] [stdout] 185 | / test_binary!( [INFO] [stdout] 186 | | test_sub, [INFO] [stdout] 187 | | Sub, [INFO] [stdout] 188 | | sub, [INFO] [stdout] ... | [INFO] [stdout] 192 | | 1.0 [INFO] [stdout] 193 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `test_sub` [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 `test_binary` (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/ref_binary.rs:142:17 [INFO] [stdout] | [INFO] [stdout] 142 | / impl<'a, T, U> $Op<&'a A> for &A [INFO] [stdout] 143 | | where [INFO] [stdout] 144 | | T: ?Sized + $RefOp<&'a U>, [INFO] [stdout] 145 | | { [INFO] [stdout] ... | [INFO] [stdout] 150 | | } [INFO] [stdout] 151 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] ... [INFO] [stdout] 194 | / test_binary!( [INFO] [stdout] 195 | | test_mul, [INFO] [stdout] 196 | | Mul, [INFO] [stdout] 197 | | mul, [INFO] [stdout] ... | [INFO] [stdout] 201 | | 1.0 [INFO] [stdout] 202 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `test_mul` [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 `test_binary` (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/ref_binary.rs:142:17 [INFO] [stdout] | [INFO] [stdout] 142 | / impl<'a, T, U> $Op<&'a A> for &A [INFO] [stdout] 143 | | where [INFO] [stdout] 144 | | T: ?Sized + $RefOp<&'a U>, [INFO] [stdout] 145 | | { [INFO] [stdout] ... | [INFO] [stdout] 150 | | } [INFO] [stdout] 151 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] ... [INFO] [stdout] 203 | / test_binary!( [INFO] [stdout] 204 | | test_div, [INFO] [stdout] 205 | | Div, [INFO] [stdout] 206 | | div, [INFO] [stdout] ... | [INFO] [stdout] 210 | | 1.0 [INFO] [stdout] 211 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `test_div` [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 `test_binary` (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/ref_binary.rs:142:17 [INFO] [stdout] | [INFO] [stdout] 142 | / impl<'a, T, U> $Op<&'a A> for &A [INFO] [stdout] 143 | | where [INFO] [stdout] 144 | | T: ?Sized + $RefOp<&'a U>, [INFO] [stdout] 145 | | { [INFO] [stdout] ... | [INFO] [stdout] 150 | | } [INFO] [stdout] 151 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] ... [INFO] [stdout] 212 | / test_binary!( [INFO] [stdout] 213 | | test_rem, [INFO] [stdout] 214 | | Rem, [INFO] [stdout] 215 | | rem, [INFO] [stdout] ... | [INFO] [stdout] 219 | | 1.0 [INFO] [stdout] 220 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `test_rem` [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 `test_binary` (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/ref_binary.rs:142:17 [INFO] [stdout] | [INFO] [stdout] 142 | / impl<'a, T, U> $Op<&'a A> for &A [INFO] [stdout] 143 | | where [INFO] [stdout] 144 | | T: ?Sized + $RefOp<&'a U>, [INFO] [stdout] 145 | | { [INFO] [stdout] ... | [INFO] [stdout] 150 | | } [INFO] [stdout] 151 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] ... [INFO] [stdout] 221 | / test_binary!( [INFO] [stdout] 222 | | test_shl, [INFO] [stdout] 223 | | Shl, [INFO] [stdout] 224 | | shl, [INFO] [stdout] ... | [INFO] [stdout] 228 | | 1 [INFO] [stdout] 229 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `test_shl` [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 `test_binary` (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/ref_binary.rs:142:17 [INFO] [stdout] | [INFO] [stdout] 142 | / impl<'a, T, U> $Op<&'a A> for &A [INFO] [stdout] 143 | | where [INFO] [stdout] 144 | | T: ?Sized + $RefOp<&'a U>, [INFO] [stdout] 145 | | { [INFO] [stdout] ... | [INFO] [stdout] 150 | | } [INFO] [stdout] 151 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] ... [INFO] [stdout] 230 | / test_binary!( [INFO] [stdout] 231 | | test_shr, [INFO] [stdout] 232 | | Shr, [INFO] [stdout] 233 | | shr, [INFO] [stdout] ... | [INFO] [stdout] 237 | | 1 [INFO] [stdout] 238 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `test_shr` [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 `test_binary` (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/ref_binary.rs:142:17 [INFO] [stdout] | [INFO] [stdout] 142 | / impl<'a, T, U> $Op<&'a A> for &A [INFO] [stdout] 143 | | where [INFO] [stdout] 144 | | T: ?Sized + $RefOp<&'a U>, [INFO] [stdout] 145 | | { [INFO] [stdout] ... | [INFO] [stdout] 150 | | } [INFO] [stdout] 151 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] ... [INFO] [stdout] 239 | / test_binary!( [INFO] [stdout] 240 | | test_bitand, [INFO] [stdout] 241 | | BitAnd, [INFO] [stdout] 242 | | bitand, [INFO] [stdout] ... | [INFO] [stdout] 246 | | 1 [INFO] [stdout] 247 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `test_bitand` [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 `test_binary` (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/ref_binary.rs:142:17 [INFO] [stdout] | [INFO] [stdout] 142 | / impl<'a, T, U> $Op<&'a A> for &A [INFO] [stdout] 143 | | where [INFO] [stdout] 144 | | T: ?Sized + $RefOp<&'a U>, [INFO] [stdout] 145 | | { [INFO] [stdout] ... | [INFO] [stdout] 150 | | } [INFO] [stdout] 151 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] ... [INFO] [stdout] 248 | / test_binary!( [INFO] [stdout] 249 | | test_bitor, [INFO] [stdout] 250 | | BitOr, [INFO] [stdout] 251 | | bitor, [INFO] [stdout] ... | [INFO] [stdout] 255 | | 1 [INFO] [stdout] 256 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `test_bitor` [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 `test_binary` (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/ref_binary.rs:142:17 [INFO] [stdout] | [INFO] [stdout] 142 | / impl<'a, T, U> $Op<&'a A> for &A [INFO] [stdout] 143 | | where [INFO] [stdout] 144 | | T: ?Sized + $RefOp<&'a U>, [INFO] [stdout] 145 | | { [INFO] [stdout] ... | [INFO] [stdout] 150 | | } [INFO] [stdout] 151 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] ... [INFO] [stdout] 257 | / test_binary!( [INFO] [stdout] 258 | | test_bitxor, [INFO] [stdout] 259 | | BitXor, [INFO] [stdout] 260 | | bitxor, [INFO] [stdout] ... | [INFO] [stdout] 264 | | 1 [INFO] [stdout] 265 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `test_bitxor` [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 `test_binary` (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/ref_mut_binary.rs:174:17 [INFO] [stdout] | [INFO] [stdout] 174 | / impl<'a, T, U> $Op<&'a mut A> for &mut A [INFO] [stdout] 175 | | where [INFO] [stdout] 176 | | T: $RefOp<&'a mut U>, [INFO] [stdout] 177 | | { [INFO] [stdout] ... | [INFO] [stdout] 182 | | } [INFO] [stdout] 183 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] ... [INFO] [stdout] 208 | / test_binary!( [INFO] [stdout] 209 | | test_add, [INFO] [stdout] 210 | | Add, [INFO] [stdout] 211 | | add, [INFO] [stdout] ... | [INFO] [stdout] 215 | | B(1.0) [INFO] [stdout] 216 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `test_add` [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 `test_binary` (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/ref_mut_binary.rs:174:17 [INFO] [stdout] | [INFO] [stdout] 174 | / impl<'a, T, U> $Op<&'a mut A> for &mut A [INFO] [stdout] 175 | | where [INFO] [stdout] 176 | | T: $RefOp<&'a mut U>, [INFO] [stdout] 177 | | { [INFO] [stdout] ... | [INFO] [stdout] 182 | | } [INFO] [stdout] 183 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] ... [INFO] [stdout] 217 | / test_binary!( [INFO] [stdout] 218 | | test_sub, [INFO] [stdout] 219 | | Sub, [INFO] [stdout] 220 | | sub, [INFO] [stdout] ... | [INFO] [stdout] 224 | | B(1.0) [INFO] [stdout] 225 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `test_sub` [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 `test_binary` (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/ref_mut_binary.rs:174:17 [INFO] [stdout] | [INFO] [stdout] 174 | / impl<'a, T, U> $Op<&'a mut A> for &mut A [INFO] [stdout] 175 | | where [INFO] [stdout] 176 | | T: $RefOp<&'a mut U>, [INFO] [stdout] 177 | | { [INFO] [stdout] ... | [INFO] [stdout] 182 | | } [INFO] [stdout] 183 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] ... [INFO] [stdout] 226 | / test_binary!( [INFO] [stdout] 227 | | test_mul, [INFO] [stdout] 228 | | Mul, [INFO] [stdout] 229 | | mul, [INFO] [stdout] ... | [INFO] [stdout] 233 | | B(1.0) [INFO] [stdout] 234 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `test_mul` [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 `test_binary` (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/ref_mut_binary.rs:174:17 [INFO] [stdout] | [INFO] [stdout] 174 | / impl<'a, T, U> $Op<&'a mut A> for &mut A [INFO] [stdout] 175 | | where [INFO] [stdout] 176 | | T: $RefOp<&'a mut U>, [INFO] [stdout] 177 | | { [INFO] [stdout] ... | [INFO] [stdout] 182 | | } [INFO] [stdout] 183 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] ... [INFO] [stdout] 235 | / test_binary!( [INFO] [stdout] 236 | | test_div, [INFO] [stdout] 237 | | Div, [INFO] [stdout] 238 | | div, [INFO] [stdout] ... | [INFO] [stdout] 242 | | B(1.0) [INFO] [stdout] 243 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `test_div` [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 `test_binary` (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/ref_mut_binary.rs:174:17 [INFO] [stdout] | [INFO] [stdout] 174 | / impl<'a, T, U> $Op<&'a mut A> for &mut A [INFO] [stdout] 175 | | where [INFO] [stdout] 176 | | T: $RefOp<&'a mut U>, [INFO] [stdout] 177 | | { [INFO] [stdout] ... | [INFO] [stdout] 182 | | } [INFO] [stdout] 183 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] ... [INFO] [stdout] 244 | / test_binary!( [INFO] [stdout] 245 | | test_rem, [INFO] [stdout] 246 | | Rem, [INFO] [stdout] 247 | | rem, [INFO] [stdout] ... | [INFO] [stdout] 251 | | B(1.0) [INFO] [stdout] 252 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `test_rem` [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 `test_binary` (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/ref_mut_binary.rs:174:17 [INFO] [stdout] | [INFO] [stdout] 174 | / impl<'a, T, U> $Op<&'a mut A> for &mut A [INFO] [stdout] 175 | | where [INFO] [stdout] 176 | | T: $RefOp<&'a mut U>, [INFO] [stdout] 177 | | { [INFO] [stdout] ... | [INFO] [stdout] 182 | | } [INFO] [stdout] 183 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] ... [INFO] [stdout] 253 | / test_binary!( [INFO] [stdout] 254 | | test_shl, [INFO] [stdout] 255 | | Shl, [INFO] [stdout] 256 | | shl, [INFO] [stdout] ... | [INFO] [stdout] 260 | | B(1) [INFO] [stdout] 261 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `test_shl` [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 `test_binary` (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/ref_mut_binary.rs:174:17 [INFO] [stdout] | [INFO] [stdout] 174 | / impl<'a, T, U> $Op<&'a mut A> for &mut A [INFO] [stdout] 175 | | where [INFO] [stdout] 176 | | T: $RefOp<&'a mut U>, [INFO] [stdout] 177 | | { [INFO] [stdout] ... | [INFO] [stdout] 182 | | } [INFO] [stdout] 183 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] ... [INFO] [stdout] 262 | / test_binary!( [INFO] [stdout] 263 | | test_shr, [INFO] [stdout] 264 | | Shr, [INFO] [stdout] 265 | | shr, [INFO] [stdout] ... | [INFO] [stdout] 269 | | B(1) [INFO] [stdout] 270 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `test_shr` [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 `test_binary` (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/ref_mut_binary.rs:174:17 [INFO] [stdout] | [INFO] [stdout] 174 | / impl<'a, T, U> $Op<&'a mut A> for &mut A [INFO] [stdout] 175 | | where [INFO] [stdout] 176 | | T: $RefOp<&'a mut U>, [INFO] [stdout] 177 | | { [INFO] [stdout] ... | [INFO] [stdout] 182 | | } [INFO] [stdout] 183 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] ... [INFO] [stdout] 271 | / test_binary!( [INFO] [stdout] 272 | | test_bitand, [INFO] [stdout] 273 | | BitAnd, [INFO] [stdout] 274 | | bitand, [INFO] [stdout] ... | [INFO] [stdout] 278 | | B(1) [INFO] [stdout] 279 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `test_bitand` [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 `test_binary` (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/ref_mut_binary.rs:174:17 [INFO] [stdout] | [INFO] [stdout] 174 | / impl<'a, T, U> $Op<&'a mut A> for &mut A [INFO] [stdout] 175 | | where [INFO] [stdout] 176 | | T: $RefOp<&'a mut U>, [INFO] [stdout] 177 | | { [INFO] [stdout] ... | [INFO] [stdout] 182 | | } [INFO] [stdout] 183 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] ... [INFO] [stdout] 280 | / test_binary!( [INFO] [stdout] 281 | | test_bitor, [INFO] [stdout] 282 | | BitOr, [INFO] [stdout] 283 | | bitor, [INFO] [stdout] ... | [INFO] [stdout] 287 | | B(1) [INFO] [stdout] 288 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `test_bitor` [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 `test_binary` (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/ref_mut_binary.rs:174:17 [INFO] [stdout] | [INFO] [stdout] 174 | / impl<'a, T, U> $Op<&'a mut A> for &mut A [INFO] [stdout] 175 | | where [INFO] [stdout] 176 | | T: $RefOp<&'a mut U>, [INFO] [stdout] 177 | | { [INFO] [stdout] ... | [INFO] [stdout] 182 | | } [INFO] [stdout] 183 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] ... [INFO] [stdout] 289 | / test_binary!( [INFO] [stdout] 290 | | test_bitxor, [INFO] [stdout] 291 | | BitXor, [INFO] [stdout] 292 | | bitxor, [INFO] [stdout] ... | [INFO] [stdout] 296 | | B(1) [INFO] [stdout] 297 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `test_bitxor` [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 `test_binary` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 24 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ref-ops` (lib test) due to 25 previous errors [INFO] running `Command { std: "docker" "inspect" "6d4bae4f8259fd86bbdb16a1c478a055dd7a5673801210ebe65d652a982879ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6d4bae4f8259fd86bbdb16a1c478a055dd7a5673801210ebe65d652a982879ac", kill_on_drop: false }` [INFO] [stdout] 6d4bae4f8259fd86bbdb16a1c478a055dd7a5673801210ebe65d652a982879ac