[INFO] fetching crate option-operations 0.5.0...
[INFO] checking option-operations-0.5.0 against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393
[INFO] extracting crate option-operations 0.5.0 into /workspace/builds/worker-2-tc1/source
[INFO] validating manifest of crates.io crate option-operations 0.5.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 option-operations 0.5.0
[INFO] finished tweaking crates.io crate option-operations 0.5.0
[INFO] tweaked toml for crates.io crate option-operations 0.5.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] 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] 6f4724b53480d46ee33f04535b934ca556ee06c5a9506beafd44662e009a2bb3
[INFO] running `Command { std: "docker" "start" "-a" "6f4724b53480d46ee33f04535b934ca556ee06c5a9506beafd44662e009a2bb3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6f4724b53480d46ee33f04535b934ca556ee06c5a9506beafd44662e009a2bb3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6f4724b53480d46ee33f04535b934ca556ee06c5a9506beafd44662e009a2bb3", kill_on_drop: false }`
[INFO] [stdout] 6f4724b53480d46ee33f04535b934ca556ee06c5a9506beafd44662e009a2bb3
[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] 9990225ef1d15bdfe4c680cdced15dd17332bb8264734781a997c661ed7daca2
[INFO] running `Command { std: "docker" "start" "-a" "9990225ef1d15bdfe4c680cdced15dd17332bb8264734781a997c661ed7daca2", kill_on_drop: false }`
[INFO] [stderr]     Checking option-operations v0.5.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 0.80s
[INFO] running `Command { std: "docker" "inspect" "9990225ef1d15bdfe4c680cdced15dd17332bb8264734781a997c661ed7daca2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9990225ef1d15bdfe4c680cdced15dd17332bb8264734781a997c661ed7daca2", kill_on_drop: false }`
[INFO] [stdout] 9990225ef1d15bdfe4c680cdced15dd17332bb8264734781a997c661ed7daca2
[INFO] checking option-operations-0.5.0 against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393
[INFO] extracting crate option-operations 0.5.0 into /workspace/builds/worker-2-tc2/source
[INFO] validating manifest of crates.io crate option-operations 0.5.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 option-operations 0.5.0
[INFO] finished tweaking crates.io crate option-operations 0.5.0
[INFO] tweaked toml for crates.io crate option-operations 0.5.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] 4b201c96ead51fa95a011213b8ba08149a4c2249bae729b1e6d58380cee1bede
[INFO] running `Command { std: "docker" "start" "-a" "4b201c96ead51fa95a011213b8ba08149a4c2249bae729b1e6d58380cee1bede", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4b201c96ead51fa95a011213b8ba08149a4c2249bae729b1e6d58380cee1bede", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4b201c96ead51fa95a011213b8ba08149a4c2249bae729b1e6d58380cee1bede", kill_on_drop: false }`
[INFO] [stdout] 4b201c96ead51fa95a011213b8ba08149a4c2249bae729b1e6d58380cee1bede
[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] 123e47a9bad0a06991abfa11739795f4ab3b243e8660cc86509e17c05436c0a7
[INFO] running `Command { std: "docker" "start" "-a" "123e47a9bad0a06991abfa11739795f4ab3b243e8660cc86509e17c05436c0a7", kill_on_drop: false }`
[INFO] [stderr]     Checking option-operations v0.5.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/add.rs:203:9
[INFO] [stdout]     |
[INFO] [stdout] 203 | /         impl OptionCheckedAdd for MyInt {
[INFO] [stdout] 204 | |             type Output = MyInt;
[INFO] [stdout] 205 | |             fn opt_checked_add(self, rhs: MyInt) -> Result<Option<Self::Output>, Error> {
[INFO] [stdout] 206 | |                 self.0.opt_checked_add(rhs.0).map(|ok| ok.map(MyInt))
[INFO] [stdout] 207 | |             }
[INFO] [stdout] 208 | |         }
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current function `checked_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 <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: requested on the command line with `-D non-local-definitions`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/add.rs:210:9
[INFO] [stdout]     |
[INFO] [stdout] 210 | /         impl OptionCheckedAdd<u64> for MyInt {
[INFO] [stdout] 211 | |             type Output = MyInt;
[INFO] [stdout] 212 | |             fn opt_checked_add(self, rhs: u64) -> Result<Option<Self::Output>, Error> {
[INFO] [stdout] 213 | |                 self.0.opt_checked_add(rhs).map(|ok| ok.map(MyInt))
[INFO] [stdout] 214 | |             }
[INFO] [stdout] 215 | |         }
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current function `checked_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 <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/add.rs:236:9
[INFO] [stdout]     |
[INFO] [stdout] 236 | /         impl OptionSaturatingAdd for MyInt {
[INFO] [stdout] 237 | |             type Output = MyInt;
[INFO] [stdout] 238 | |             fn opt_saturating_add(self, rhs: MyInt) -> Option<Self::Output> {
[INFO] [stdout] 239 | |                 self.0.opt_saturating_add(rhs.0).map(MyInt)
[INFO] [stdout] 240 | |             }
[INFO] [stdout] 241 | |         }
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current function `saturating_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 <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/add.rs:243:9
[INFO] [stdout]     |
[INFO] [stdout] 243 | /         impl OptionSaturatingAdd<u64> for MyInt {
[INFO] [stdout] 244 | |             type Output = MyInt;
[INFO] [stdout] 245 | |             fn opt_saturating_add(self, rhs: u64) -> Option<Self::Output> {
[INFO] [stdout] 246 | |                 self.0.opt_saturating_add(rhs).map(MyInt)
[INFO] [stdout] 247 | |             }
[INFO] [stdout] 248 | |         }
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current function `saturating_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 <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/add.rs:264:9
[INFO] [stdout]     |
[INFO] [stdout] 264 | /         impl OptionOverflowingAdd for MyInt {
[INFO] [stdout] 265 | |             type Output = MyInt;
[INFO] [stdout] 266 | |             fn opt_overflowing_add(self, rhs: MyInt) -> Option<(Self::Output, bool)> {
[INFO] [stdout] 267 | |                 self.0
[INFO] [stdout] ...   |
[INFO] [stdout] 270 | |             }
[INFO] [stdout] 271 | |         }
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current function `overflowing_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 <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/add.rs:273:9
[INFO] [stdout]     |
[INFO] [stdout] 273 | /         impl OptionOverflowingAdd<u64> for MyInt {
[INFO] [stdout] 274 | |             type Output = MyInt;
[INFO] [stdout] 275 | |             fn opt_overflowing_add(self, rhs: u64) -> Option<(Self::Output, bool)> {
[INFO] [stdout] 276 | |                 self.0
[INFO] [stdout] ...   |
[INFO] [stdout] 279 | |             }
[INFO] [stdout] 280 | |         }
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current function `overflowing_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 <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/add.rs:296:9
[INFO] [stdout]     |
[INFO] [stdout] 296 | /         impl OptionWrappingAdd for MyInt {
[INFO] [stdout] 297 | |             type Output = MyInt;
[INFO] [stdout] 298 | |             fn opt_wrapping_add(self, rhs: MyInt) -> Option<Self::Output> {
[INFO] [stdout] 299 | |                 self.0.opt_wrapping_add(rhs.0).map(MyInt)
[INFO] [stdout] 300 | |             }
[INFO] [stdout] 301 | |         }
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current function `wrapping_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 <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/add.rs:303:9
[INFO] [stdout]     |
[INFO] [stdout] 303 | /         impl OptionWrappingAdd<u64> for MyInt {
[INFO] [stdout] 304 | |             type Output = MyInt;
[INFO] [stdout] 305 | |             fn opt_wrapping_add(self, rhs: u64) -> Option<Self::Output> {
[INFO] [stdout] 306 | |                 self.0.opt_wrapping_add(rhs).map(MyInt)
[INFO] [stdout] 307 | |             }
[INFO] [stdout] 308 | |         }
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current function `wrapping_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 <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/div.rs:248:9
[INFO] [stdout]     |
[INFO] [stdout] 248 | /         impl OptionCheckedDiv for MyInt {
[INFO] [stdout] 249 | |             type Output = MyInt;
[INFO] [stdout] 250 | |             fn opt_checked_div(self, rhs: MyInt) -> Result<Option<Self::Output>, Error> {
[INFO] [stdout] 251 | |                 self.0.opt_checked_div(rhs.0).map(|ok| ok.map(MyInt))
[INFO] [stdout] 252 | |             }
[INFO] [stdout] 253 | |         }
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current function `checked_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 <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/div.rs:255:9
[INFO] [stdout]     |
[INFO] [stdout] 255 | /         impl OptionCheckedDiv<i64> for MyInt {
[INFO] [stdout] 256 | |             type Output = MyInt;
[INFO] [stdout] 257 | |             fn opt_checked_div(self, rhs: i64) -> Result<Option<Self::Output>, Error> {
[INFO] [stdout] 258 | |                 self.0.opt_checked_div(rhs).map(|ok| ok.map(MyInt))
[INFO] [stdout] 259 | |             }
[INFO] [stdout] 260 | |         }
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current function `checked_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 <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/div.rs:291:9
[INFO] [stdout]     |
[INFO] [stdout] 291 | /         impl OptionOverflowingDiv for MyInt {
[INFO] [stdout] 292 | |             type Output = MyInt;
[INFO] [stdout] 293 | |             fn opt_overflowing_div(self, rhs: MyInt) -> Option<(Self::Output, bool)> {
[INFO] [stdout] 294 | |                 self.0
[INFO] [stdout] ...   |
[INFO] [stdout] 297 | |             }
[INFO] [stdout] 298 | |         }
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current function `overflowing_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 <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/div.rs:300:9
[INFO] [stdout]     |
[INFO] [stdout] 300 | /         impl OptionOverflowingDiv<i64> for MyInt {
[INFO] [stdout] 301 | |             type Output = MyInt;
[INFO] [stdout] 302 | |             fn opt_overflowing_div(self, rhs: i64) -> Option<(Self::Output, bool)> {
[INFO] [stdout] 303 | |                 self.0
[INFO] [stdout] ...   |
[INFO] [stdout] 306 | |             }
[INFO] [stdout] 307 | |         }
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current function `overflowing_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 <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/div.rs:337:9
[INFO] [stdout]     |
[INFO] [stdout] 337 | /         impl OptionWrappingDiv for MyInt {
[INFO] [stdout] 338 | |             type Output = MyInt;
[INFO] [stdout] 339 | |             fn opt_wrapping_div(self, rhs: MyInt) -> Option<Self::Output> {
[INFO] [stdout] 340 | |                 self.0.opt_wrapping_div(rhs.0).map(MyInt)
[INFO] [stdout] 341 | |             }
[INFO] [stdout] 342 | |         }
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current function `wrapping_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 <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/div.rs:344:9
[INFO] [stdout]     |
[INFO] [stdout] 344 | /         impl OptionWrappingDiv<i64> for MyInt {
[INFO] [stdout] 345 | |             type Output = MyInt;
[INFO] [stdout] 346 | |             fn opt_wrapping_div(self, rhs: i64) -> Option<Self::Output> {
[INFO] [stdout] 347 | |                 self.0.opt_wrapping_div(rhs).map(MyInt)
[INFO] [stdout] 348 | |             }
[INFO] [stdout] 349 | |         }
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current function `wrapping_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 <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/mul.rs:221:9
[INFO] [stdout]     |
[INFO] [stdout] 221 | /         impl OptionCheckedMul for MyInt {
[INFO] [stdout] 222 | |             type Output = MyInt;
[INFO] [stdout] 223 | |             fn opt_checked_mul(self, rhs: MyInt) -> Result<Option<Self::Output>, Error> {
[INFO] [stdout] 224 | |                 self.0.opt_checked_mul(rhs.0).map(|ok| ok.map(MyInt))
[INFO] [stdout] 225 | |             }
[INFO] [stdout] 226 | |         }
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current function `checked_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 <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/mul.rs:228:9
[INFO] [stdout]     |
[INFO] [stdout] 228 | /         impl OptionCheckedMul<u64> for MyInt {
[INFO] [stdout] 229 | |             type Output = MyInt;
[INFO] [stdout] 230 | |             fn opt_checked_mul(self, rhs: u64) -> Result<Option<Self::Output>, Error> {
[INFO] [stdout] 231 | |                 self.0.opt_checked_mul(rhs).map(|ok| ok.map(MyInt))
[INFO] [stdout] 232 | |             }
[INFO] [stdout] 233 | |         }
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current function `checked_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 <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/mul.rs:256:9
[INFO] [stdout]     |
[INFO] [stdout] 256 | /         impl OptionSaturatingMul for MyInt {
[INFO] [stdout] 257 | |             type Output = MyInt;
[INFO] [stdout] 258 | |             fn opt_saturating_mul(self, rhs: MyInt) -> Option<Self::Output> {
[INFO] [stdout] 259 | |                 self.0.opt_saturating_mul(rhs.0).map(MyInt)
[INFO] [stdout] 260 | |             }
[INFO] [stdout] 261 | |         }
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current function `saturating_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 <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/mul.rs:263:9
[INFO] [stdout]     |
[INFO] [stdout] 263 | /         impl OptionSaturatingMul<u64> for MyInt {
[INFO] [stdout] 264 | |             type Output = MyInt;
[INFO] [stdout] 265 | |             fn opt_saturating_mul(self, rhs: u64) -> Option<Self::Output> {
[INFO] [stdout] 266 | |                 self.0.opt_saturating_mul(rhs).map(MyInt)
[INFO] [stdout] 267 | |             }
[INFO] [stdout] 268 | |         }
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current function `saturating_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 <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/mul.rs:285:9
[INFO] [stdout]     |
[INFO] [stdout] 285 | /         impl OptionOverflowingMul for MyInt {
[INFO] [stdout] 286 | |             type Output = MyInt;
[INFO] [stdout] 287 | |             fn opt_overflowing_mul(self, rhs: MyInt) -> Option<(Self::Output, bool)> {
[INFO] [stdout] 288 | |                 self.0
[INFO] [stdout] ...   |
[INFO] [stdout] 291 | |             }
[INFO] [stdout] 292 | |         }
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current function `overflowing_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 <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/mul.rs:294:9
[INFO] [stdout]     |
[INFO] [stdout] 294 | /         impl OptionOverflowingMul<u64> for MyInt {
[INFO] [stdout] 295 | |             type Output = MyInt;
[INFO] [stdout] 296 | |             fn opt_overflowing_mul(self, rhs: u64) -> Option<(Self::Output, bool)> {
[INFO] [stdout] 297 | |                 self.0
[INFO] [stdout] ...   |
[INFO] [stdout] 300 | |             }
[INFO] [stdout] 301 | |         }
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current function `overflowing_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 <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/mul.rs:339:9
[INFO] [stdout]     |
[INFO] [stdout] 339 | /         impl OptionWrappingMul for MyInt {
[INFO] [stdout] 340 | |             type Output = MyInt;
[INFO] [stdout] 341 | |             fn opt_wrapping_mul(self, rhs: MyInt) -> Option<Self::Output> {
[INFO] [stdout] 342 | |                 self.0.opt_wrapping_mul(rhs.0).map(MyInt)
[INFO] [stdout] 343 | |             }
[INFO] [stdout] 344 | |         }
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current function `wrapping_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 <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/mul.rs:346:9
[INFO] [stdout]     |
[INFO] [stdout] 346 | /         impl OptionWrappingMul<u64> for MyInt {
[INFO] [stdout] 347 | |             type Output = MyInt;
[INFO] [stdout] 348 | |             fn opt_wrapping_mul(self, rhs: u64) -> Option<Self::Output> {
[INFO] [stdout] 349 | |                 self.0.opt_wrapping_mul(rhs).map(MyInt)
[INFO] [stdout] 350 | |             }
[INFO] [stdout] 351 | |         }
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current function `wrapping_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 <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/rem.rs:236:9
[INFO] [stdout]     |
[INFO] [stdout] 236 | /         impl OptionCheckedRem for MyInt {
[INFO] [stdout] 237 | |             type Output = MyInt;
[INFO] [stdout] 238 | |             fn opt_checked_rem(self, rhs: MyInt) -> Result<Option<Self::Output>, Error> {
[INFO] [stdout] 239 | |                 self.0.opt_checked_rem(rhs.0).map(|ok| ok.map(MyInt))
[INFO] [stdout] 240 | |             }
[INFO] [stdout] 241 | |         }
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current function `checked_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 <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/rem.rs:243:9
[INFO] [stdout]     |
[INFO] [stdout] 243 | /         impl OptionCheckedRem<i64> for MyInt {
[INFO] [stdout] 244 | |             type Output = MyInt;
[INFO] [stdout] 245 | |             fn opt_checked_rem(self, rhs: i64) -> Result<Option<Self::Output>, Error> {
[INFO] [stdout] 246 | |                 self.0.opt_checked_rem(rhs).map(|ok| ok.map(MyInt))
[INFO] [stdout] 247 | |             }
[INFO] [stdout] 248 | |         }
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current function `checked_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 <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/rem.rs:279:9
[INFO] [stdout]     |
[INFO] [stdout] 279 | /         impl OptionOverflowingRem for MyInt {
[INFO] [stdout] 280 | |             type Output = MyInt;
[INFO] [stdout] 281 | |             fn opt_overflowing_rem(self, rhs: MyInt) -> Option<(Self::Output, bool)> {
[INFO] [stdout] 282 | |                 self.0
[INFO] [stdout] ...   |
[INFO] [stdout] 285 | |             }
[INFO] [stdout] 286 | |         }
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current function `overflowing_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 <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/rem.rs:288:9
[INFO] [stdout]     |
[INFO] [stdout] 288 | /         impl OptionOverflowingRem<i64> for MyInt {
[INFO] [stdout] 289 | |             type Output = MyInt;
[INFO] [stdout] 290 | |             fn opt_overflowing_rem(self, rhs: i64) -> Option<(Self::Output, bool)> {
[INFO] [stdout] 291 | |                 self.0
[INFO] [stdout] ...   |
[INFO] [stdout] 294 | |             }
[INFO] [stdout] 295 | |         }
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current function `overflowing_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 <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/rem.rs:316:9
[INFO] [stdout]     |
[INFO] [stdout] 316 | /         impl OptionWrappingRem for MyInt {
[INFO] [stdout] 317 | |             type Output = MyInt;
[INFO] [stdout] 318 | |             fn opt_wrapping_rem(self, rhs: MyInt) -> Option<Self::Output> {
[INFO] [stdout] 319 | |                 self.0.opt_wrapping_rem(rhs.0).map(MyInt)
[INFO] [stdout] 320 | |             }
[INFO] [stdout] 321 | |         }
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current function `wrapping_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 <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/rem.rs:323:9
[INFO] [stdout]     |
[INFO] [stdout] 323 | /         impl OptionWrappingRem<i64> for MyInt {
[INFO] [stdout] 324 | |             type Output = MyInt;
[INFO] [stdout] 325 | |             fn opt_wrapping_rem(self, rhs: i64) -> Option<Self::Output> {
[INFO] [stdout] 326 | |                 self.0.opt_wrapping_rem(rhs).map(MyInt)
[INFO] [stdout] 327 | |             }
[INFO] [stdout] 328 | |         }
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current function `wrapping_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 <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/sub.rs:205:9
[INFO] [stdout]     |
[INFO] [stdout] 205 | /         impl OptionCheckedSub for MyInt {
[INFO] [stdout] 206 | |             type Output = MyInt;
[INFO] [stdout] 207 | |             fn opt_checked_sub(self, rhs: MyInt) -> Result<Option<Self::Output>, Error> {
[INFO] [stdout] 208 | |                 self.0.opt_checked_sub(rhs.0).map(|ok| ok.map(MyInt))
[INFO] [stdout] 209 | |             }
[INFO] [stdout] 210 | |         }
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current function `checked_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 <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/sub.rs:212:9
[INFO] [stdout]     |
[INFO] [stdout] 212 | /         impl OptionCheckedSub<u64> for MyInt {
[INFO] [stdout] 213 | |             type Output = MyInt;
[INFO] [stdout] 214 | |             fn opt_checked_sub(self, rhs: u64) -> Result<Option<Self::Output>, Error> {
[INFO] [stdout] 215 | |                 self.0.opt_checked_sub(rhs).map(|ok| ok.map(MyInt))
[INFO] [stdout] 216 | |             }
[INFO] [stdout] 217 | |         }
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current function `checked_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 <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/sub.rs:238:9
[INFO] [stdout]     |
[INFO] [stdout] 238 | /         impl OptionSaturatingSub for MyInt {
[INFO] [stdout] 239 | |             type Output = MyInt;
[INFO] [stdout] 240 | |             fn opt_saturating_sub(self, rhs: MyInt) -> Option<Self::Output> {
[INFO] [stdout] 241 | |                 self.0.opt_saturating_sub(rhs.0).map(MyInt)
[INFO] [stdout] 242 | |             }
[INFO] [stdout] 243 | |         }
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current function `saturating_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 <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/sub.rs:245:9
[INFO] [stdout]     |
[INFO] [stdout] 245 | /         impl OptionSaturatingSub<u64> for MyInt {
[INFO] [stdout] 246 | |             type Output = MyInt;
[INFO] [stdout] 247 | |             fn opt_saturating_sub(self, rhs: u64) -> Option<Self::Output> {
[INFO] [stdout] 248 | |                 self.0.opt_saturating_sub(rhs).map(MyInt)
[INFO] [stdout] 249 | |             }
[INFO] [stdout] 250 | |         }
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current function `saturating_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 <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/sub.rs:266:9
[INFO] [stdout]     |
[INFO] [stdout] 266 | /         impl OptionOverflowingSub for MyInt {
[INFO] [stdout] 267 | |             type Output = MyInt;
[INFO] [stdout] 268 | |             fn opt_overflowing_sub(self, rhs: MyInt) -> Option<(Self::Output, bool)> {
[INFO] [stdout] 269 | |                 self.0
[INFO] [stdout] ...   |
[INFO] [stdout] 272 | |             }
[INFO] [stdout] 273 | |         }
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current function `overflowing_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 <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/sub.rs:275:9
[INFO] [stdout]     |
[INFO] [stdout] 275 | /         impl OptionOverflowingSub<u64> for MyInt {
[INFO] [stdout] 276 | |             type Output = MyInt;
[INFO] [stdout] 277 | |             fn opt_overflowing_sub(self, rhs: u64) -> Option<(Self::Output, bool)> {
[INFO] [stdout] 278 | |                 self.0
[INFO] [stdout] ...   |
[INFO] [stdout] 281 | |             }
[INFO] [stdout] 282 | |         }
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current function `overflowing_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 <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/sub.rs:298:9
[INFO] [stdout]     |
[INFO] [stdout] 298 | /         impl OptionWrappingSub for MyInt {
[INFO] [stdout] 299 | |             type Output = MyInt;
[INFO] [stdout] 300 | |             fn opt_wrapping_sub(self, rhs: MyInt) -> Option<Self::Output> {
[INFO] [stdout] 301 | |                 self.0.opt_wrapping_sub(rhs.0).map(MyInt)
[INFO] [stdout] 302 | |             }
[INFO] [stdout] 303 | |         }
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current function `wrapping_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 <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/sub.rs:305:9
[INFO] [stdout]     |
[INFO] [stdout] 305 | /         impl OptionWrappingSub<u64> for MyInt {
[INFO] [stdout] 306 | |             type Output = MyInt;
[INFO] [stdout] 307 | |             fn opt_wrapping_sub(self, rhs: u64) -> Option<Self::Output> {
[INFO] [stdout] 308 | |                 self.0.opt_wrapping_sub(rhs).map(MyInt)
[INFO] [stdout] 309 | |             }
[INFO] [stdout] 310 | |         }
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current function `wrapping_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 <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 36 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `option-operations` (lib test) due to 37 previous errors
[INFO] running `Command { std: "docker" "inspect" "123e47a9bad0a06991abfa11739795f4ab3b243e8660cc86509e17c05436c0a7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "123e47a9bad0a06991abfa11739795f4ab3b243e8660cc86509e17c05436c0a7", kill_on_drop: false }`
[INFO] [stdout] 123e47a9bad0a06991abfa11739795f4ab3b243e8660cc86509e17c05436c0a7
