[INFO] fetching crate microserde 0.1.13... [INFO] checking microserde-0.1.13 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate microserde 0.1.13 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate microserde 0.1.13 on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate microserde 0.1.13 [INFO] finished tweaking crates.io crate microserde 0.1.13 [INFO] tweaked toml for crates.io crate microserde 0.1.13 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" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 7 packages to latest compatible versions [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.79) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 35f49a3ed2f4fa7bb575968a3c930322353e822866fba0f3452115d07e6724a9 [INFO] running `Command { std: "docker" "start" "-a" "35f49a3ed2f4fa7bb575968a3c930322353e822866fba0f3452115d07e6724a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "35f49a3ed2f4fa7bb575968a3c930322353e822866fba0f3452115d07e6724a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "35f49a3ed2f4fa7bb575968a3c930322353e822866fba0f3452115d07e6724a9", kill_on_drop: false }` [INFO] [stdout] 35f49a3ed2f4fa7bb575968a3c930322353e822866fba0f3452115d07e6724a9 [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 -Dtail_expr_drop_order" "-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2c601457d26a9a35368924a201004ae77281fe86a8353ac9361cf12b88fc9a09 [INFO] running `Command { std: "docker" "start" "-a" "2c601457d26a9a35368924a201004ae77281fe86a8353ac9361cf12b88fc9a09", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling automod v1.0.14 [INFO] [stderr] Compiling microserde-derive v0.1.13 [INFO] [stderr] Checking microserde v0.1.13 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ignore.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | Ok(Visitor::ignore()) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 48 | Ok(::ignore()) [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ignore.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 58 | Ok(Visitor::ignore()) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 58 | Ok(::ignore()) [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ignore.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | Ok(Visitor::ignore()) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 48 | Ok(::ignore()) [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ignore.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 58 | Ok(Visitor::ignore()) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 58 | Ok(::ignore()) [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Box` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/json/ser.rs:67:27 [INFO] [stdout] | [INFO] [stdout] 50 | let mut serializer = Serializer { stack: Vec::new() }; [INFO] [stdout] | -------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 51 | let mut fragment = value.begin(); [INFO] [stdout] | ------------ [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 67 | Fragment::Seq(mut seq) => { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Box` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/json/ser.rs:67:27 [INFO] [stdout] | [INFO] [stdout] 50 | let mut serializer = Serializer { stack: Vec::new() }; [INFO] [stdout] | -------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 51 | let mut fragment = value.begin(); [INFO] [stdout] | ------------ [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 67 | Fragment::Seq(mut seq) => { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/de/impls.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 11 | fn begin(out: &mut Option) -> &mut dyn Visitor { [INFO] [stdout] | ---------------------------------------------------- move the `impl` block outside of this associated function `begin` [INFO] [stdout] 12 | impl Visitor for Place<()> { [INFO] [stdout] | ^^^^^-------^^^^^-----^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `Place` is not local [INFO] [stdout] | `Visitor` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/de/impls.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 23 | fn begin(out: &mut Option) -> &mut dyn Visitor { [INFO] [stdout] | ---------------------------------------------------- move the `impl` block outside of this associated function `begin` [INFO] [stdout] 24 | impl Visitor for Place { [INFO] [stdout] | ^^^^^-------^^^^^-----^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `Place` is not local [INFO] [stdout] | `Visitor` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [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] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/de/impls.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 35 | fn begin(out: &mut Option) -> &mut dyn Visitor { [INFO] [stdout] | ---------------------------------------------------- move the `impl` block outside of this associated function `begin` [INFO] [stdout] 36 | impl Visitor for Place { [INFO] [stdout] | ^^^^^-------^^^^^-----^------^ [INFO] [stdout] | | | | [INFO] [stdout] | | | `String` is not local [INFO] [stdout] | | `Place` is not local [INFO] [stdout] | `Visitor` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [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] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/de/impls.rs:50:17 [INFO] [stdout] | [INFO] [stdout] 49 | fn begin(out: &mut Option) -> &mut dyn Visitor { [INFO] [stdout] | ---------------------------------------------------- move the `impl` block outside of this associated function `begin` [INFO] [stdout] 50 | impl Visitor for Place<$ty> { [INFO] [stdout] | ^^^^^-------^^^^^-----^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `Place` is not local [INFO] [stdout] | `Visitor` is not local [INFO] [stdout] ... [INFO] [stdout] 74 | signed!(i8); [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `signed` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the macro `signed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/de/impls.rs:50:17 [INFO] [stdout] | [INFO] [stdout] 49 | fn begin(out: &mut Option) -> &mut dyn Visitor { [INFO] [stdout] | ---------------------------------------------------- move the `impl` block outside of this associated function `begin` [INFO] [stdout] 50 | impl Visitor for Place<$ty> { [INFO] [stdout] | ^^^^^-------^^^^^-----^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `Place` is not local [INFO] [stdout] | `Visitor` is not local [INFO] [stdout] ... [INFO] [stdout] 75 | signed!(i16); [INFO] [stdout] | ------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `signed` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the macro `signed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/de/impls.rs:50:17 [INFO] [stdout] | [INFO] [stdout] 49 | fn begin(out: &mut Option) -> &mut dyn Visitor { [INFO] [stdout] | ---------------------------------------------------- move the `impl` block outside of this associated function `begin` [INFO] [stdout] 50 | impl Visitor for Place<$ty> { [INFO] [stdout] | ^^^^^-------^^^^^-----^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `Place` is not local [INFO] [stdout] | `Visitor` is not local [INFO] [stdout] ... [INFO] [stdout] 76 | signed!(i32); [INFO] [stdout] | ------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `signed` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the macro `signed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/de/impls.rs:50:17 [INFO] [stdout] | [INFO] [stdout] 49 | fn begin(out: &mut Option) -> &mut dyn Visitor { [INFO] [stdout] | ---------------------------------------------------- move the `impl` block outside of this associated function `begin` [INFO] [stdout] 50 | impl Visitor for Place<$ty> { [INFO] [stdout] | ^^^^^-------^^^^^-----^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `Place` is not local [INFO] [stdout] | `Visitor` is not local [INFO] [stdout] ... [INFO] [stdout] 77 | signed!(i64); [INFO] [stdout] | ------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `signed` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the macro `signed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/de/impls.rs:50:17 [INFO] [stdout] | [INFO] [stdout] 49 | fn begin(out: &mut Option) -> &mut dyn Visitor { [INFO] [stdout] | ---------------------------------------------------- move the `impl` block outside of this associated function `begin` [INFO] [stdout] 50 | impl Visitor for Place<$ty> { [INFO] [stdout] | ^^^^^-------^^^^^-----^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `Place` is not local [INFO] [stdout] | `Visitor` is not local [INFO] [stdout] ... [INFO] [stdout] 78 | signed!(isize); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `signed` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the macro `signed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/de/impls.rs:84:17 [INFO] [stdout] | [INFO] [stdout] 83 | fn begin(out: &mut Option) -> &mut dyn Visitor { [INFO] [stdout] | ---------------------------------------------------- move the `impl` block outside of this associated function `begin` [INFO] [stdout] 84 | impl Visitor for Place<$ty> { [INFO] [stdout] | ^^^^^-------^^^^^-----^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `Place` is not local [INFO] [stdout] | `Visitor` is not local [INFO] [stdout] ... [INFO] [stdout] 99 | unsigned!(u8); [INFO] [stdout] | ------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `unsigned` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the macro `unsigned` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/de/impls.rs:84:17 [INFO] [stdout] | [INFO] [stdout] 83 | fn begin(out: &mut Option) -> &mut dyn Visitor { [INFO] [stdout] | ---------------------------------------------------- move the `impl` block outside of this associated function `begin` [INFO] [stdout] 84 | impl Visitor for Place<$ty> { [INFO] [stdout] | ^^^^^-------^^^^^-----^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `Place` is not local [INFO] [stdout] | `Visitor` is not local [INFO] [stdout] ... [INFO] [stdout] 100 | unsigned!(u16); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `unsigned` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the macro `unsigned` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/de/impls.rs:84:17 [INFO] [stdout] | [INFO] [stdout] 83 | fn begin(out: &mut Option) -> &mut dyn Visitor { [INFO] [stdout] | ---------------------------------------------------- move the `impl` block outside of this associated function `begin` [INFO] [stdout] 84 | impl Visitor for Place<$ty> { [INFO] [stdout] | ^^^^^-------^^^^^-----^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `Place` is not local [INFO] [stdout] | `Visitor` is not local [INFO] [stdout] ... [INFO] [stdout] 101 | unsigned!(u32); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `unsigned` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the macro `unsigned` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/de/impls.rs:84:17 [INFO] [stdout] | [INFO] [stdout] 83 | fn begin(out: &mut Option) -> &mut dyn Visitor { [INFO] [stdout] | ---------------------------------------------------- move the `impl` block outside of this associated function `begin` [INFO] [stdout] 84 | impl Visitor for Place<$ty> { [INFO] [stdout] | ^^^^^-------^^^^^-----^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `Place` is not local [INFO] [stdout] | `Visitor` is not local [INFO] [stdout] ... [INFO] [stdout] 102 | unsigned!(u64); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `unsigned` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the macro `unsigned` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/de/impls.rs:84:17 [INFO] [stdout] | [INFO] [stdout] 83 | fn begin(out: &mut Option) -> &mut dyn Visitor { [INFO] [stdout] | ---------------------------------------------------- move the `impl` block outside of this associated function `begin` [INFO] [stdout] 84 | impl Visitor for Place<$ty> { [INFO] [stdout] | ^^^^^-------^^^^^-----^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `Place` is not local [INFO] [stdout] | `Visitor` is not local [INFO] [stdout] ... [INFO] [stdout] 103 | unsigned!(usize); [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `unsigned` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the macro `unsigned` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/de/impls.rs:109:17 [INFO] [stdout] | [INFO] [stdout] 108 | fn begin(out: &mut Option) -> &mut dyn Visitor { [INFO] [stdout] | ---------------------------------------------------- move the `impl` block outside of this associated function `begin` [INFO] [stdout] 109 | impl Visitor for Place<$ty> { [INFO] [stdout] | ^^^^^-------^^^^^-----^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `Place` is not local [INFO] [stdout] | `Visitor` is not local [INFO] [stdout] ... [INFO] [stdout] 130 | float!(f32); [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `float` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the macro `float` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/de/impls.rs:109:17 [INFO] [stdout] | [INFO] [stdout] 108 | fn begin(out: &mut Option) -> &mut dyn Visitor { [INFO] [stdout] | ---------------------------------------------------- move the `impl` block outside of this associated function `begin` [INFO] [stdout] 109 | impl Visitor for Place<$ty> { [INFO] [stdout] | ^^^^^-------^^^^^-----^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `Place` is not local [INFO] [stdout] | `Visitor` is not local [INFO] [stdout] ... [INFO] [stdout] 131 | float!(f64); [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `float` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the macro `float` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/de/impls.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 134 | fn begin(out: &mut Option) -> &mut dyn Visitor { [INFO] [stdout] | ---------------------------------------------------- move the `impl` block outside of this associated function `begin` [INFO] [stdout] 135 | impl Visitor for Place> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^-------^^^^^-----^---^^^^ [INFO] [stdout] | | | | [INFO] [stdout] | | | `Box` is not local [INFO] [stdout] | | `Place` is not local [INFO] [stdout] | `Visitor` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [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] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/de/impls.rs:245:9 [INFO] [stdout] | [INFO] [stdout] 244 | fn begin(out: &mut Option) -> &mut dyn Visitor { [INFO] [stdout] | ---------------------------------------------------- move the `impl` block outside of this associated function `begin` [INFO] [stdout] 245 | impl Visitor for Place> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^-------^^^^^-----^------^^^^ [INFO] [stdout] | | | | [INFO] [stdout] | | | `Option` is not local [INFO] [stdout] | | `Place` is not local [INFO] [stdout] | `Visitor` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [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] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/de/impls.rs:293:9 [INFO] [stdout] | [INFO] [stdout] 292 | fn begin(out: &mut Option) -> &mut dyn Visitor { [INFO] [stdout] | ---------------------------------------------------- move the `impl` block outside of this associated function `begin` [INFO] [stdout] 293 | impl Visitor for Place<(A, B)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-------^^^^^-----^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `Place` is not local [INFO] [stdout] | `Visitor` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [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] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/de/impls.rs:334:9 [INFO] [stdout] | [INFO] [stdout] 333 | fn begin(out: &mut Option) -> &mut dyn Visitor { [INFO] [stdout] | ---------------------------------------------------- move the `impl` block outside of this associated function `begin` [INFO] [stdout] 334 | impl Visitor for Place> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^-------^^^^^-----^---^^^^ [INFO] [stdout] | | | | [INFO] [stdout] | | | `Vec` is not local [INFO] [stdout] | | `Place` is not local [INFO] [stdout] | `Visitor` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [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] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/de/impls.rs:382:9 [INFO] [stdout] | [INFO] [stdout] 381 | fn begin(out: &mut Option) -> &mut dyn Visitor { [INFO] [stdout] | ---------------------------------------------------- move the `impl` block outside of this associated function `begin` [INFO] [stdout] 382 | impl Visitor for Place> [INFO] [stdout] | ^^^^^^^^^^^^^^-------^^^^^-----^-------^^^^^^^^^^ [INFO] [stdout] | | | | [INFO] [stdout] | | | `HashMap` is not local [INFO] [stdout] | | `Place` is not local [INFO] [stdout] | `Visitor` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [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] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/de/impls.rs:442:9 [INFO] [stdout] | [INFO] [stdout] 441 | fn begin(out: &mut Option) -> &mut dyn Visitor { [INFO] [stdout] | ---------------------------------------------------- move the `impl` block outside of this associated function `begin` [INFO] [stdout] 442 | impl Visitor for Place> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-------^^^^^-----^--------^^^^^^^ [INFO] [stdout] | | | | [INFO] [stdout] | | | `BTreeMap` is not local [INFO] [stdout] | | `Place` is not local [INFO] [stdout] | `Visitor` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [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] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/json/value.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 60 | fn begin(out: &mut Option) -> &mut dyn Visitor { [INFO] [stdout] | ---------------------------------------------------- move the `impl` block outside of this associated function `begin` [INFO] [stdout] 61 | impl Visitor for Place { [INFO] [stdout] | ^^^^^-------^^^^^-----^-----^ [INFO] [stdout] | | | | [INFO] [stdout] | | | `Value` is not local [INFO] [stdout] | | `Place` is not local [INFO] [stdout] | `Visitor` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [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 1 previous error; 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `microserde` (lib test) due to 2 previous errors; 24 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/de/impls.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 11 | fn begin(out: &mut Option) -> &mut dyn Visitor { [INFO] [stdout] | ---------------------------------------------------- move the `impl` block outside of this associated function `begin` [INFO] [stdout] 12 | impl Visitor for Place<()> { [INFO] [stdout] | ^^^^^-------^^^^^-----^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `Place` is not local [INFO] [stdout] | `Visitor` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/de/impls.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 23 | fn begin(out: &mut Option) -> &mut dyn Visitor { [INFO] [stdout] | ---------------------------------------------------- move the `impl` block outside of this associated function `begin` [INFO] [stdout] 24 | impl Visitor for Place { [INFO] [stdout] | ^^^^^-------^^^^^-----^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `Place` is not local [INFO] [stdout] | `Visitor` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [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] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/de/impls.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 35 | fn begin(out: &mut Option) -> &mut dyn Visitor { [INFO] [stdout] | ---------------------------------------------------- move the `impl` block outside of this associated function `begin` [INFO] [stdout] 36 | impl Visitor for Place { [INFO] [stdout] | ^^^^^-------^^^^^-----^------^ [INFO] [stdout] | | | | [INFO] [stdout] | | | `String` is not local [INFO] [stdout] | | `Place` is not local [INFO] [stdout] | `Visitor` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [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] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/de/impls.rs:50:17 [INFO] [stdout] | [INFO] [stdout] 49 | fn begin(out: &mut Option) -> &mut dyn Visitor { [INFO] [stdout] | ---------------------------------------------------- move the `impl` block outside of this associated function `begin` [INFO] [stdout] 50 | impl Visitor for Place<$ty> { [INFO] [stdout] | ^^^^^-------^^^^^-----^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `Place` is not local [INFO] [stdout] | `Visitor` is not local [INFO] [stdout] ... [INFO] [stdout] 74 | signed!(i8); [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `signed` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the macro `signed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/de/impls.rs:50:17 [INFO] [stdout] | [INFO] [stdout] 49 | fn begin(out: &mut Option) -> &mut dyn Visitor { [INFO] [stdout] | ---------------------------------------------------- move the `impl` block outside of this associated function `begin` [INFO] [stdout] 50 | impl Visitor for Place<$ty> { [INFO] [stdout] | ^^^^^-------^^^^^-----^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `Place` is not local [INFO] [stdout] | `Visitor` is not local [INFO] [stdout] ... [INFO] [stdout] 75 | signed!(i16); [INFO] [stdout] | ------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `signed` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the macro `signed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/de/impls.rs:50:17 [INFO] [stdout] | [INFO] [stdout] 49 | fn begin(out: &mut Option) -> &mut dyn Visitor { [INFO] [stdout] | ---------------------------------------------------- move the `impl` block outside of this associated function `begin` [INFO] [stdout] 50 | impl Visitor for Place<$ty> { [INFO] [stdout] | ^^^^^-------^^^^^-----^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `Place` is not local [INFO] [stdout] | `Visitor` is not local [INFO] [stdout] ... [INFO] [stdout] 76 | signed!(i32); [INFO] [stdout] | ------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `signed` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the macro `signed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/de/impls.rs:50:17 [INFO] [stdout] | [INFO] [stdout] 49 | fn begin(out: &mut Option) -> &mut dyn Visitor { [INFO] [stdout] | ---------------------------------------------------- move the `impl` block outside of this associated function `begin` [INFO] [stdout] 50 | impl Visitor for Place<$ty> { [INFO] [stdout] | ^^^^^-------^^^^^-----^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `Place` is not local [INFO] [stdout] | `Visitor` is not local [INFO] [stdout] ... [INFO] [stdout] 77 | signed!(i64); [INFO] [stdout] | ------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `signed` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the macro `signed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/de/impls.rs:50:17 [INFO] [stdout] | [INFO] [stdout] 49 | fn begin(out: &mut Option) -> &mut dyn Visitor { [INFO] [stdout] | ---------------------------------------------------- move the `impl` block outside of this associated function `begin` [INFO] [stdout] 50 | impl Visitor for Place<$ty> { [INFO] [stdout] | ^^^^^-------^^^^^-----^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `Place` is not local [INFO] [stdout] | `Visitor` is not local [INFO] [stdout] ... [INFO] [stdout] 78 | signed!(isize); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `signed` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the macro `signed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/de/impls.rs:84:17 [INFO] [stdout] | [INFO] [stdout] 83 | fn begin(out: &mut Option) -> &mut dyn Visitor { [INFO] [stdout] | ---------------------------------------------------- move the `impl` block outside of this associated function `begin` [INFO] [stdout] 84 | impl Visitor for Place<$ty> { [INFO] [stdout] | ^^^^^-------^^^^^-----^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `Place` is not local [INFO] [stdout] | `Visitor` is not local [INFO] [stdout] ... [INFO] [stdout] 99 | unsigned!(u8); [INFO] [stdout] | ------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `unsigned` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the macro `unsigned` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/de/impls.rs:84:17 [INFO] [stdout] | [INFO] [stdout] 83 | fn begin(out: &mut Option) -> &mut dyn Visitor { [INFO] [stdout] | ---------------------------------------------------- move the `impl` block outside of this associated function `begin` [INFO] [stdout] 84 | impl Visitor for Place<$ty> { [INFO] [stdout] | ^^^^^-------^^^^^-----^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `Place` is not local [INFO] [stdout] | `Visitor` is not local [INFO] [stdout] ... [INFO] [stdout] 100 | unsigned!(u16); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `unsigned` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the macro `unsigned` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/de/impls.rs:84:17 [INFO] [stdout] | [INFO] [stdout] 83 | fn begin(out: &mut Option) -> &mut dyn Visitor { [INFO] [stdout] | ---------------------------------------------------- move the `impl` block outside of this associated function `begin` [INFO] [stdout] 84 | impl Visitor for Place<$ty> { [INFO] [stdout] | ^^^^^-------^^^^^-----^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `Place` is not local [INFO] [stdout] | `Visitor` is not local [INFO] [stdout] ... [INFO] [stdout] 101 | unsigned!(u32); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `unsigned` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the macro `unsigned` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/de/impls.rs:84:17 [INFO] [stdout] | [INFO] [stdout] 83 | fn begin(out: &mut Option) -> &mut dyn Visitor { [INFO] [stdout] | ---------------------------------------------------- move the `impl` block outside of this associated function `begin` [INFO] [stdout] 84 | impl Visitor for Place<$ty> { [INFO] [stdout] | ^^^^^-------^^^^^-----^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `Place` is not local [INFO] [stdout] | `Visitor` is not local [INFO] [stdout] ... [INFO] [stdout] 102 | unsigned!(u64); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `unsigned` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the macro `unsigned` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/de/impls.rs:84:17 [INFO] [stdout] | [INFO] [stdout] 83 | fn begin(out: &mut Option) -> &mut dyn Visitor { [INFO] [stdout] | ---------------------------------------------------- move the `impl` block outside of this associated function `begin` [INFO] [stdout] 84 | impl Visitor for Place<$ty> { [INFO] [stdout] | ^^^^^-------^^^^^-----^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `Place` is not local [INFO] [stdout] | `Visitor` is not local [INFO] [stdout] ... [INFO] [stdout] 103 | unsigned!(usize); [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `unsigned` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the macro `unsigned` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/de/impls.rs:109:17 [INFO] [stdout] | [INFO] [stdout] 108 | fn begin(out: &mut Option) -> &mut dyn Visitor { [INFO] [stdout] | ---------------------------------------------------- move the `impl` block outside of this associated function `begin` [INFO] [stdout] 109 | impl Visitor for Place<$ty> { [INFO] [stdout] | ^^^^^-------^^^^^-----^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `Place` is not local [INFO] [stdout] | `Visitor` is not local [INFO] [stdout] ... [INFO] [stdout] 130 | float!(f32); [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `float` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the macro `float` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/de/impls.rs:109:17 [INFO] [stdout] | [INFO] [stdout] 108 | fn begin(out: &mut Option) -> &mut dyn Visitor { [INFO] [stdout] | ---------------------------------------------------- move the `impl` block outside of this associated function `begin` [INFO] [stdout] 109 | impl Visitor for Place<$ty> { [INFO] [stdout] | ^^^^^-------^^^^^-----^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `Place` is not local [INFO] [stdout] | `Visitor` is not local [INFO] [stdout] ... [INFO] [stdout] 131 | float!(f64); [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `float` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the macro `float` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/de/impls.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 134 | fn begin(out: &mut Option) -> &mut dyn Visitor { [INFO] [stdout] | ---------------------------------------------------- move the `impl` block outside of this associated function `begin` [INFO] [stdout] 135 | impl Visitor for Place> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^-------^^^^^-----^---^^^^ [INFO] [stdout] | | | | [INFO] [stdout] | | | `Box` is not local [INFO] [stdout] | | `Place` is not local [INFO] [stdout] | `Visitor` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [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] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/de/impls.rs:245:9 [INFO] [stdout] | [INFO] [stdout] 244 | fn begin(out: &mut Option) -> &mut dyn Visitor { [INFO] [stdout] | ---------------------------------------------------- move the `impl` block outside of this associated function `begin` [INFO] [stdout] 245 | impl Visitor for Place> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^-------^^^^^-----^------^^^^ [INFO] [stdout] | | | | [INFO] [stdout] | | | `Option` is not local [INFO] [stdout] | | `Place` is not local [INFO] [stdout] | `Visitor` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [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] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/de/impls.rs:293:9 [INFO] [stdout] | [INFO] [stdout] 292 | fn begin(out: &mut Option) -> &mut dyn Visitor { [INFO] [stdout] | ---------------------------------------------------- move the `impl` block outside of this associated function `begin` [INFO] [stdout] 293 | impl Visitor for Place<(A, B)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-------^^^^^-----^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `Place` is not local [INFO] [stdout] | `Visitor` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [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] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/de/impls.rs:334:9 [INFO] [stdout] | [INFO] [stdout] 333 | fn begin(out: &mut Option) -> &mut dyn Visitor { [INFO] [stdout] | ---------------------------------------------------- move the `impl` block outside of this associated function `begin` [INFO] [stdout] 334 | impl Visitor for Place> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^-------^^^^^-----^---^^^^ [INFO] [stdout] | | | | [INFO] [stdout] | | | `Vec` is not local [INFO] [stdout] | | `Place` is not local [INFO] [stdout] | `Visitor` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [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] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/de/impls.rs:382:9 [INFO] [stdout] | [INFO] [stdout] 381 | fn begin(out: &mut Option) -> &mut dyn Visitor { [INFO] [stdout] | ---------------------------------------------------- move the `impl` block outside of this associated function `begin` [INFO] [stdout] 382 | impl Visitor for Place> [INFO] [stdout] | ^^^^^^^^^^^^^^-------^^^^^-----^-------^^^^^^^^^^ [INFO] [stdout] | | | | [INFO] [stdout] | | | `HashMap` is not local [INFO] [stdout] | | `Place` is not local [INFO] [stdout] | `Visitor` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [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] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/de/impls.rs:442:9 [INFO] [stdout] | [INFO] [stdout] 441 | fn begin(out: &mut Option) -> &mut dyn Visitor { [INFO] [stdout] | ---------------------------------------------------- move the `impl` block outside of this associated function `begin` [INFO] [stdout] 442 | impl Visitor for Place> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-------^^^^^-----^--------^^^^^^^ [INFO] [stdout] | | | | [INFO] [stdout] | | | `BTreeMap` is not local [INFO] [stdout] | | `Place` is not local [INFO] [stdout] | `Visitor` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [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] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/json/value.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 60 | fn begin(out: &mut Option) -> &mut dyn Visitor { [INFO] [stdout] | ---------------------------------------------------- move the `impl` block outside of this associated function `begin` [INFO] [stdout] 61 | impl Visitor for Place { [INFO] [stdout] | ^^^^^-------^^^^^-----^-----^ [INFO] [stdout] | | | | [INFO] [stdout] | | | `Value` is not local [INFO] [stdout] | | `Place` is not local [INFO] [stdout] | `Visitor` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [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 1 previous error; 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `microserde` (lib) due to 2 previous errors; 24 warnings emitted [INFO] running `Command { std: "docker" "inspect" "2c601457d26a9a35368924a201004ae77281fe86a8353ac9361cf12b88fc9a09", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2c601457d26a9a35368924a201004ae77281fe86a8353ac9361cf12b88fc9a09", kill_on_drop: false }` [INFO] [stdout] 2c601457d26a9a35368924a201004ae77281fe86a8353ac9361cf12b88fc9a09