[INFO] fetching crate miniserde 0.1.34... [INFO] checking miniserde-0.1.34 against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393 [INFO] extracting crate miniserde 0.1.34 into /workspace/builds/worker-0-tc1/source [INFO] validating manifest of crates.io crate miniserde 0.1.34 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 miniserde 0.1.34 [INFO] finished tweaking crates.io crate miniserde 0.1.34 [INFO] tweaked toml for crates.io crate miniserde 0.1.34 written to /workspace/builds/worker-0-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 automod v1.0.14 [INFO] [stderr] Downloaded mini-internal v0.1.34 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] c6a3074aa7f77237e95130884ff66a3f41143f66ba3b1c487fc59144136daef7 [INFO] running `Command { std: "docker" "start" "-a" "c6a3074aa7f77237e95130884ff66a3f41143f66ba3b1c487fc59144136daef7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c6a3074aa7f77237e95130884ff66a3f41143f66ba3b1c487fc59144136daef7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c6a3074aa7f77237e95130884ff66a3f41143f66ba3b1c487fc59144136daef7", kill_on_drop: false }` [INFO] [stdout] c6a3074aa7f77237e95130884ff66a3f41143f66ba3b1c487fc59144136daef7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 5de918b338c37aa259a920d37cb3b7627d80c6dd4588b0b5da74cdbeaf69f343 [INFO] running `Command { std: "docker" "start" "-a" "5de918b338c37aa259a920d37cb3b7627d80c6dd4588b0b5da74cdbeaf69f343", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.196 [INFO] [stderr] Compiling serde_json v1.0.113 [INFO] [stderr] Compiling trybuild v1.0.89 [INFO] [stderr] Checking dissimilar v1.0.7 [INFO] [stderr] Checking glob v0.3.1 [INFO] [stderr] Compiling indoc v2.0.4 [INFO] [stderr] Compiling mini-internal v0.1.34 [INFO] [stderr] Compiling automod v1.0.14 [INFO] [stderr] Checking miniserde v0.1.34 (/opt/rustwide/workdir) [INFO] [stdout] warning: mutable reference of mutable static is discouraged [INFO] [stdout] --> src/ignore.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 8 | unsafe { &mut IGNORE } [INFO] [stdout] | ^^^^^^^^^^^ mutable reference of mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: reference of mutable static is a hard error from 2024 edition [INFO] [stdout] = note: mutable statics can be written to by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] = note: `#[warn(static_mut_ref)]` on by default [INFO] [stdout] help: mutable references are dangerous since if there's any other pointer or reference used for that static while the reference lives, that's UB; use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 8 | unsafe { addr_of_mut!(IGNORE) } [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking basic-toml v0.1.8 [INFO] [stdout] warning: mutable reference of mutable static is discouraged [INFO] [stdout] --> src/ignore.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 8 | unsafe { &mut IGNORE } [INFO] [stdout] | ^^^^^^^^^^^ mutable reference of mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: reference of mutable static is a hard error from 2024 edition [INFO] [stdout] = note: mutable statics can be written to by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] = note: `#[warn(static_mut_ref)]` on by default [INFO] [stdout] help: mutable references are dangerous since if there's any other pointer or reference used for that static while the reference lives, that's UB; use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 8 | unsafe { addr_of_mut!(IGNORE) } [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3.37s [INFO] running `Command { std: "docker" "inspect" "5de918b338c37aa259a920d37cb3b7627d80c6dd4588b0b5da74cdbeaf69f343", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5de918b338c37aa259a920d37cb3b7627d80c6dd4588b0b5da74cdbeaf69f343", kill_on_drop: false }` [INFO] [stdout] 5de918b338c37aa259a920d37cb3b7627d80c6dd4588b0b5da74cdbeaf69f343 [INFO] checking miniserde-0.1.34 against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393 [INFO] extracting crate miniserde 0.1.34 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate miniserde 0.1.34 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 miniserde 0.1.34 [INFO] finished tweaking crates.io crate miniserde 0.1.34 [INFO] tweaked toml for crates.io crate miniserde 0.1.34 written to /workspace/builds/worker-0-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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 0d1733da6e95dcb1d70e57fd67c291393326d0cb1ba92cc39e7ade86a2a1ce48 [INFO] running `Command { std: "docker" "start" "-a" "0d1733da6e95dcb1d70e57fd67c291393326d0cb1ba92cc39e7ade86a2a1ce48", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0d1733da6e95dcb1d70e57fd67c291393326d0cb1ba92cc39e7ade86a2a1ce48", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0d1733da6e95dcb1d70e57fd67c291393326d0cb1ba92cc39e7ade86a2a1ce48", kill_on_drop: false }` [INFO] [stdout] 0d1733da6e95dcb1d70e57fd67c291393326d0cb1ba92cc39e7ade86a2a1ce48 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 1986c7ace995549933c548fa520a71d421a5008c12113adfe4efa3413a45a09e [INFO] running `Command { std: "docker" "start" "-a" "1986c7ace995549933c548fa520a71d421a5008c12113adfe4efa3413a45a09e", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.196 [INFO] [stderr] Compiling serde_json v1.0.113 [INFO] [stderr] Compiling trybuild v1.0.89 [INFO] [stderr] Checking dissimilar v1.0.7 [INFO] [stderr] Checking glob v0.3.1 [INFO] [stderr] Compiling indoc v2.0.4 [INFO] [stderr] Compiling mini-internal v0.1.34 [INFO] [stderr] Compiling automod v1.0.14 [INFO] [stderr] Checking miniserde v0.1.34 (/opt/rustwide/workdir) [INFO] [stdout] warning: mutable reference of mutable static is discouraged [INFO] [stdout] --> src/ignore.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 8 | unsafe { &mut IGNORE } [INFO] [stdout] | ^^^^^^^^^^^ mutable reference of mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: reference of mutable static is a hard error from 2024 edition [INFO] [stdout] = note: mutable statics can be written to by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] = note: `#[warn(static_mut_ref)]` on by default [INFO] [stdout] help: mutable references are dangerous since if there's any other pointer or reference used for that static while the reference lives, that's UB; use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 8 | unsafe { addr_of_mut!(IGNORE) } [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/de/impls.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | / impl Visitor for Place<()> { [INFO] [stdout] 22 | | fn null(&mut self) -> Result<()> { [INFO] [stdout] 23 | | self.out = Some(()); [INFO] [stdout] 24 | | Ok(()) [INFO] [stdout] 25 | | } [INFO] [stdout] 26 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current associated function `begin` [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] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/de/impls.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | / impl Visitor for Place { [INFO] [stdout] 34 | | fn boolean(&mut self, b: bool) -> Result<()> { [INFO] [stdout] 35 | | self.out = Some(b); [INFO] [stdout] 36 | | Ok(()) [INFO] [stdout] 37 | | } [INFO] [stdout] 38 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current associated function `begin` [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] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/de/impls.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | / impl Visitor for Place { [INFO] [stdout] 46 | | fn string(&mut self, s: &str) -> Result<()> { [INFO] [stdout] 47 | | self.out = Some(s.to_owned()); [INFO] [stdout] 48 | | Ok(()) [INFO] [stdout] 49 | | } [INFO] [stdout] 50 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current associated function `begin` [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] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/de/impls.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 59 | / impl Visitor for Place<$ty> { [INFO] [stdout] 60 | | fn negative(&mut self, n: i64) -> Result<()> { [INFO] [stdout] 61 | | if n >= $ty::min_value() as i64 { [INFO] [stdout] 62 | | self.out = Some(n as $ty); [INFO] [stdout] ... | [INFO] [stdout] 76 | | } [INFO] [stdout] 77 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] ... [INFO] [stdout] 83 | signed!(i8); [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current associated function `begin` [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 `signed` (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/de/impls.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 59 | / impl Visitor for Place<$ty> { [INFO] [stdout] 60 | | fn negative(&mut self, n: i64) -> Result<()> { [INFO] [stdout] 61 | | if n >= $ty::min_value() as i64 { [INFO] [stdout] 62 | | self.out = Some(n as $ty); [INFO] [stdout] ... | [INFO] [stdout] 76 | | } [INFO] [stdout] 77 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] ... [INFO] [stdout] 84 | signed!(i16); [INFO] [stdout] | ------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current associated function `begin` [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 `signed` (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/de/impls.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 59 | / impl Visitor for Place<$ty> { [INFO] [stdout] 60 | | fn negative(&mut self, n: i64) -> Result<()> { [INFO] [stdout] 61 | | if n >= $ty::min_value() as i64 { [INFO] [stdout] 62 | | self.out = Some(n as $ty); [INFO] [stdout] ... | [INFO] [stdout] 76 | | } [INFO] [stdout] 77 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] ... [INFO] [stdout] 85 | signed!(i32); [INFO] [stdout] | ------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current associated function `begin` [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 `signed` (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/de/impls.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 59 | / impl Visitor for Place<$ty> { [INFO] [stdout] 60 | | fn negative(&mut self, n: i64) -> Result<()> { [INFO] [stdout] 61 | | if n >= $ty::min_value() as i64 { [INFO] [stdout] 62 | | self.out = Some(n as $ty); [INFO] [stdout] ... | [INFO] [stdout] 76 | | } [INFO] [stdout] 77 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] ... [INFO] [stdout] 86 | signed!(i64); [INFO] [stdout] | ------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current associated function `begin` [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 `signed` (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/de/impls.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 59 | / impl Visitor for Place<$ty> { [INFO] [stdout] 60 | | fn negative(&mut self, n: i64) -> Result<()> { [INFO] [stdout] 61 | | if n >= $ty::min_value() as i64 { [INFO] [stdout] 62 | | self.out = Some(n as $ty); [INFO] [stdout] ... | [INFO] [stdout] 76 | | } [INFO] [stdout] 77 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] ... [INFO] [stdout] 87 | signed!(isize); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current associated function `begin` [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 `signed` (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/de/impls.rs:93:17 [INFO] [stdout] | [INFO] [stdout] 93 | / impl Visitor for Place<$ty> { [INFO] [stdout] 94 | | fn nonnegative(&mut self, n: u64) -> Result<()> { [INFO] [stdout] 95 | | if n <= $ty::max_value() as u64 { [INFO] [stdout] 96 | | self.out = Some(n as $ty); [INFO] [stdout] ... | [INFO] [stdout] 101 | | } [INFO] [stdout] 102 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] ... [INFO] [stdout] 108 | unsigned!(u8); [INFO] [stdout] | ------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current associated function `begin` [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 `unsigned` (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/de/impls.rs:93:17 [INFO] [stdout] | [INFO] [stdout] 93 | / impl Visitor for Place<$ty> { [INFO] [stdout] 94 | | fn nonnegative(&mut self, n: u64) -> Result<()> { [INFO] [stdout] 95 | | if n <= $ty::max_value() as u64 { [INFO] [stdout] 96 | | self.out = Some(n as $ty); [INFO] [stdout] ... | [INFO] [stdout] 101 | | } [INFO] [stdout] 102 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] ... [INFO] [stdout] 109 | unsigned!(u16); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current associated function `begin` [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 `unsigned` (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/de/impls.rs:93:17 [INFO] [stdout] | [INFO] [stdout] 93 | / impl Visitor for Place<$ty> { [INFO] [stdout] 94 | | fn nonnegative(&mut self, n: u64) -> Result<()> { [INFO] [stdout] 95 | | if n <= $ty::max_value() as u64 { [INFO] [stdout] 96 | | self.out = Some(n as $ty); [INFO] [stdout] ... | [INFO] [stdout] 101 | | } [INFO] [stdout] 102 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] ... [INFO] [stdout] 110 | unsigned!(u32); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current associated function `begin` [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 `unsigned` (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/de/impls.rs:93:17 [INFO] [stdout] | [INFO] [stdout] 93 | / impl Visitor for Place<$ty> { [INFO] [stdout] 94 | | fn nonnegative(&mut self, n: u64) -> Result<()> { [INFO] [stdout] 95 | | if n <= $ty::max_value() as u64 { [INFO] [stdout] 96 | | self.out = Some(n as $ty); [INFO] [stdout] ... | [INFO] [stdout] 101 | | } [INFO] [stdout] 102 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] ... [INFO] [stdout] 111 | unsigned!(u64); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current associated function `begin` [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 `unsigned` (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/de/impls.rs:93:17 [INFO] [stdout] | [INFO] [stdout] 93 | / impl Visitor for Place<$ty> { [INFO] [stdout] 94 | | fn nonnegative(&mut self, n: u64) -> Result<()> { [INFO] [stdout] 95 | | if n <= $ty::max_value() as u64 { [INFO] [stdout] 96 | | self.out = Some(n as $ty); [INFO] [stdout] ... | [INFO] [stdout] 101 | | } [INFO] [stdout] 102 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] ... [INFO] [stdout] 112 | unsigned!(usize); [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current associated function `begin` [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 `unsigned` (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/de/impls.rs:118:17 [INFO] [stdout] | [INFO] [stdout] 118 | / impl Visitor for Place<$ty> { [INFO] [stdout] 119 | | fn negative(&mut self, n: i64) -> Result<()> { [INFO] [stdout] 120 | | self.out = Some(n as $ty); [INFO] [stdout] 121 | | Ok(()) [INFO] [stdout] ... | [INFO] [stdout] 132 | | } [INFO] [stdout] 133 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] ... [INFO] [stdout] 139 | float!(f32); [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current associated function `begin` [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 `float` (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/de/impls.rs:118:17 [INFO] [stdout] | [INFO] [stdout] 118 | / impl Visitor for Place<$ty> { [INFO] [stdout] 119 | | fn negative(&mut self, n: i64) -> Result<()> { [INFO] [stdout] 120 | | self.out = Some(n as $ty); [INFO] [stdout] 121 | | Ok(()) [INFO] [stdout] ... | [INFO] [stdout] 132 | | } [INFO] [stdout] 133 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] ... [INFO] [stdout] 140 | float!(f64); [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current associated function `begin` [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 `float` (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/de/impls.rs:144:9 [INFO] [stdout] | [INFO] [stdout] 144 | / impl Visitor for Place> { [INFO] [stdout] 145 | | fn null(&mut self) -> Result<()> { [INFO] [stdout] 146 | | let mut out = None; [INFO] [stdout] 147 | | Deserialize::begin(&mut out).null()?; [INFO] [stdout] ... | [INFO] [stdout] 205 | | } [INFO] [stdout] 206 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current associated function `begin` [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] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/de/impls.rs:270:9 [INFO] [stdout] | [INFO] [stdout] 270 | / impl Visitor for Place> { [INFO] [stdout] 271 | | fn null(&mut self) -> Result<()> { [INFO] [stdout] 272 | | self.out = Some(None); [INFO] [stdout] 273 | | Ok(()) [INFO] [stdout] ... | [INFO] [stdout] 309 | | } [INFO] [stdout] 310 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current associated function `begin` [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] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/de/impls.rs:318:9 [INFO] [stdout] | [INFO] [stdout] 318 | / impl Visitor for Place<(A, B)> { [INFO] [stdout] 319 | | fn seq(&mut self) -> Result> { [INFO] [stdout] 320 | | Ok(Box::new(TupleBuilder { [INFO] [stdout] 321 | | out: &mut self.out, [INFO] [stdout] ... | [INFO] [stdout] 324 | | } [INFO] [stdout] 325 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current associated function `begin` [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] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/de/impls.rs:359:9 [INFO] [stdout] | [INFO] [stdout] 359 | / impl Visitor for Place> { [INFO] [stdout] 360 | | fn seq(&mut self) -> Result> { [INFO] [stdout] 361 | | Ok(Box::new(VecBuilder { [INFO] [stdout] 362 | | out: &mut self.out, [INFO] [stdout] ... | [INFO] [stdout] 366 | | } [INFO] [stdout] 367 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current associated function `begin` [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] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/de/impls.rs:402:9 [INFO] [stdout] | [INFO] [stdout] 402 | / impl Visitor for Place<[T; N]> { [INFO] [stdout] 403 | | fn seq(&mut self) -> Result> { [INFO] [stdout] 404 | | Ok(Box::new(ArrayBuilder { [INFO] [stdout] 405 | | out: &mut self.out, [INFO] [stdout] ... | [INFO] [stdout] 410 | | } [INFO] [stdout] 411 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current associated function `begin` [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] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/de/impls.rs:472:9 [INFO] [stdout] | [INFO] [stdout] 472 | / impl Visitor for Place> [INFO] [stdout] 473 | | where [INFO] [stdout] 474 | | K: FromStr + Hash + Eq, [INFO] [stdout] 475 | | V: Deserialize, [INFO] [stdout] ... | [INFO] [stdout] 485 | | } [INFO] [stdout] 486 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current associated function `begin` [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] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/de/impls.rs:532:9 [INFO] [stdout] | [INFO] [stdout] 532 | / impl Visitor for Place> { [INFO] [stdout] 533 | | fn map(&mut self) -> Result> { [INFO] [stdout] 534 | | Ok(Box::new(MapBuilder { [INFO] [stdout] 535 | | out: &mut self.out, [INFO] [stdout] ... | [INFO] [stdout] 540 | | } [INFO] [stdout] 541 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current associated function `begin` [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] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/json/value.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | / impl Visitor for Place { [INFO] [stdout] 76 | | fn null(&mut self) -> Result<()> { [INFO] [stdout] 77 | | self.out = Some(Value::Null); [INFO] [stdout] 78 | | Ok(()) [INFO] [stdout] ... | [INFO] [stdout] 121 | | } [INFO] [stdout] 122 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current associated function `begin` [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] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/json/number.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | / impl Visitor for Place { [INFO] [stdout] 38 | | fn negative(&mut self, n: i64) -> Result<()> { [INFO] [stdout] 39 | | self.out = Some(Number::I64(n)); [INFO] [stdout] 40 | | Ok(()) [INFO] [stdout] ... | [INFO] [stdout] 51 | | } [INFO] [stdout] 52 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current associated function `begin` [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] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/json/array.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 104 | / impl Visitor for Place { [INFO] [stdout] 105 | | fn seq(&mut self) -> Result> { [INFO] [stdout] 106 | | Ok(Box::new(ArrayBuilder { [INFO] [stdout] 107 | | out: &mut self.out, [INFO] [stdout] ... | [INFO] [stdout] 111 | | } [INFO] [stdout] 112 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current associated function `begin` [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] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/json/object.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 119 | / impl Visitor for Place { [INFO] [stdout] 120 | | fn map(&mut self) -> Result> { [INFO] [stdout] 121 | | Ok(Box::new(ObjectBuilder { [INFO] [stdout] 122 | | out: &mut self.out, [INFO] [stdout] ... | [INFO] [stdout] 127 | | } [INFO] [stdout] 128 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current associated function `begin` [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] [INFO] [stdout] [INFO] [stdout] error: aborting due to 26 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `miniserde` (lib) due to 27 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "1986c7ace995549933c548fa520a71d421a5008c12113adfe4efa3413a45a09e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1986c7ace995549933c548fa520a71d421a5008c12113adfe4efa3413a45a09e", kill_on_drop: false }` [INFO] [stdout] 1986c7ace995549933c548fa520a71d421a5008c12113adfe4efa3413a45a09e