[INFO] fetching crate serde_with 3.4.0... [INFO] checking serde_with-3.4.0 against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393 [INFO] extracting crate serde_with 3.4.0 into /workspace/builds/worker-6-tc1/source [INFO] validating manifest of crates.io crate serde_with 3.4.0 on toolchain 5518eaa946291f00471af8b254b2a1715f234882 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate serde_with 3.4.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate serde_with 3.4.0 [INFO] tweaked toml for crates.io crate serde_with 3.4.0 written to /workspace/builds/worker-6-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] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded xml-rs v0.8.14 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 8880f592f59db2850ca7c51c38faaf58a593cc1926434dddfd35e40d2bcb72c3 [INFO] running `Command { std: "docker" "start" "-a" "8880f592f59db2850ca7c51c38faaf58a593cc1926434dddfd35e40d2bcb72c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8880f592f59db2850ca7c51c38faaf58a593cc1926434dddfd35e40d2bcb72c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8880f592f59db2850ca7c51c38faaf58a593cc1926434dddfd35e40d2bcb72c3", kill_on_drop: false }` [INFO] [stdout] 8880f592f59db2850ca7c51c38faaf58a593cc1926434dddfd35e40d2bcb72c3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 70a8517096487f74730f66353312995904abe56d1927574e5033f965965bbea9 [INFO] running `Command { std: "docker" "start" "-a" "70a8517096487f74730f66353312995904abe56d1927574e5033f965965bbea9", kill_on_drop: false }` [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Checking unicode-ident v1.0.12 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Checking winnow v0.5.36 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling pulldown-cmark v0.9.6 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Compiling semver v1.0.21 [INFO] [stderr] Compiling serde_json v1.0.113 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking yansi v0.5.1 [INFO] [stderr] Checking dissimilar v1.0.7 [INFO] [stderr] Checking xml-rs v0.8.14 [INFO] [stderr] Checking unsafe-libyaml v0.2.10 [INFO] [stderr] Checking glob v0.3.1 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking pretty_assertions v1.4.0 [INFO] [stderr] Checking expect-test v1.4.1 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking indexmap v2.2.1 [INFO] [stderr] Checking quote v1.0.35 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Checking rmp v0.8.12 [INFO] [stderr] Checking regex-automata v0.4.5 [INFO] [stderr] Checking regex v1.10.3 [INFO] [stderr] Compiling darling_core v0.20.5 [INFO] [stderr] Compiling serde_derive v1.0.196 [INFO] [stderr] Compiling thiserror-impl v1.0.56 [INFO] [stderr] Compiling darling_macro v0.20.5 [INFO] [stderr] Checking thiserror v1.0.56 [INFO] [stderr] Compiling darling v0.20.5 [INFO] [stderr] Compiling serde_with_macros v3.4.0 [INFO] [stderr] Checking serde v1.0.196 [INFO] [stderr] Checking serde_spanned v0.6.5 [INFO] [stderr] Checking toml_datetime v0.6.5 [INFO] [stderr] Checking bitflags v2.4.2 [INFO] [stderr] Checking serde-xml-rs v0.6.0 [INFO] [stderr] Checking serde_test v1.0.176 [INFO] [stderr] Checking serde_yaml v0.9.31 [INFO] [stderr] Checking rmp-serde v1.1.2 [INFO] [stderr] Checking serde_with v3.4.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking toml_edit v0.19.15 [INFO] [stderr] Checking ron v0.8.1 [INFO] [stderr] Checking toml v0.7.8 [INFO] [stderr] Checking version-sync v0.9.5 [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 9.79s [INFO] running `Command { std: "docker" "inspect" "70a8517096487f74730f66353312995904abe56d1927574e5033f965965bbea9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "70a8517096487f74730f66353312995904abe56d1927574e5033f965965bbea9", kill_on_drop: false }` [INFO] [stdout] 70a8517096487f74730f66353312995904abe56d1927574e5033f965965bbea9 [INFO] checking serde_with-3.4.0 against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393 [INFO] extracting crate serde_with 3.4.0 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate serde_with 3.4.0 on toolchain 7622c0f807a4e13c4db886a1681bf343795692df [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate serde_with 3.4.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate serde_with 3.4.0 [INFO] tweaked toml for crates.io crate serde_with 3.4.0 written to /workspace/builds/worker-6-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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] c83aa8362abe07cf4d108812e9c15aff67f4a700cbb3dd26368b444d2d986bb5 [INFO] running `Command { std: "docker" "start" "-a" "c83aa8362abe07cf4d108812e9c15aff67f4a700cbb3dd26368b444d2d986bb5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c83aa8362abe07cf4d108812e9c15aff67f4a700cbb3dd26368b444d2d986bb5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c83aa8362abe07cf4d108812e9c15aff67f4a700cbb3dd26368b444d2d986bb5", kill_on_drop: false }` [INFO] [stdout] c83aa8362abe07cf4d108812e9c15aff67f4a700cbb3dd26368b444d2d986bb5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 5e1f689899c87d014d87be61bcc985b657a2fd7203ee4fa12c4cb3e0b5173a6d [INFO] running `Command { std: "docker" "start" "-a" "5e1f689899c87d014d87be61bcc985b657a2fd7203ee4fa12c4cb3e0b5173a6d", kill_on_drop: false }` [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Checking unicode-ident v1.0.12 [INFO] [stderr] Checking winnow v0.5.36 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling pulldown-cmark v0.9.6 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Compiling semver v1.0.21 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Compiling serde_json v1.0.113 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking yansi v0.5.1 [INFO] [stderr] Checking unsafe-libyaml v0.2.10 [INFO] [stderr] Checking xml-rs v0.8.14 [INFO] [stderr] Checking dissimilar v1.0.7 [INFO] [stderr] Checking glob v0.3.1 [INFO] [stderr] Checking pretty_assertions v1.4.0 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking expect-test v1.4.1 [INFO] [stderr] Checking indexmap v2.2.1 [INFO] [stderr] Checking quote v1.0.35 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Checking rmp v0.8.12 [INFO] [stderr] Checking regex-automata v0.4.5 [INFO] [stderr] Compiling darling_core v0.20.5 [INFO] [stderr] Checking regex v1.10.3 [INFO] [stderr] Compiling serde_derive v1.0.196 [INFO] [stderr] Compiling thiserror-impl v1.0.56 [INFO] [stderr] Compiling darling_macro v0.20.5 [INFO] [stderr] Checking thiserror v1.0.56 [INFO] [stderr] Compiling darling v0.20.5 [INFO] [stderr] Compiling serde_with_macros v3.4.0 [INFO] [stderr] Checking serde v1.0.196 [INFO] [stderr] Checking bitflags v2.4.2 [INFO] [stderr] Checking toml_datetime v0.6.5 [INFO] [stderr] Checking serde_spanned v0.6.5 [INFO] [stderr] Checking serde_test v1.0.176 [INFO] [stderr] Checking serde_yaml v0.9.31 [INFO] [stderr] Checking rmp-serde v1.1.2 [INFO] [stderr] Checking serde-xml-rs v0.6.0 [INFO] [stderr] Checking serde_with v3.4.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking ron v0.8.1 [INFO] [stderr] Checking toml_edit v0.19.15 [INFO] [stderr] Checking toml v0.7.8 [INFO] [stderr] Checking version-sync v0.9.5 [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> tests/serde_as/map_tuple_list.rs:392:5 [INFO] [stdout] | [INFO] [stdout] 392 | / impl<'a> Serializer for &'a mut TestSerializer { [INFO] [stdout] 393 | | type Ok = (); [INFO] [stdout] 394 | | type Error = TestError; [INFO] [stdout] 395 | | type SerializeSeq = Self; [INFO] [stdout] ... | [INFO] [stdout] 557 | | } [INFO] [stdout] 558 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `test_map_as_tuple_list_works_with_serializer_that_needs_length_to_serialize_sequence` [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] --> tests/serde_as/map_tuple_list.rs:560:5 [INFO] [stdout] | [INFO] [stdout] 560 | / impl<'a> SerializeMap for &'a mut TestSerializer { [INFO] [stdout] 561 | | type Ok = (); [INFO] [stdout] 562 | | type Error = TestError; [INFO] [stdout] 563 | | [INFO] [stdout] ... | [INFO] [stdout] 580 | | } [INFO] [stdout] 581 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `test_map_as_tuple_list_works_with_serializer_that_needs_length_to_serialize_sequence` [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] --> tests/serde_as/map_tuple_list.rs:583:5 [INFO] [stdout] | [INFO] [stdout] 583 | / impl<'a> SerializeSeq for &'a mut TestSerializer { [INFO] [stdout] 584 | | type Ok = (); [INFO] [stdout] 585 | | type Error = TestError; [INFO] [stdout] 586 | | [INFO] [stdout] ... | [INFO] [stdout] 596 | | } [INFO] [stdout] 597 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `test_map_as_tuple_list_works_with_serializer_that_needs_length_to_serialize_sequence` [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] --> tests/serde_as/map_tuple_list.rs:599:5 [INFO] [stdout] | [INFO] [stdout] 599 | / impl<'a> SerializeStruct for &'a mut TestSerializer { [INFO] [stdout] 600 | | type Ok = (); [INFO] [stdout] 601 | | type Error = TestError; [INFO] [stdout] 602 | | [INFO] [stdout] ... | [INFO] [stdout] 612 | | } [INFO] [stdout] 613 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `test_map_as_tuple_list_works_with_serializer_that_needs_length_to_serialize_sequence` [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] --> tests/serde_as/map_tuple_list.rs:615:5 [INFO] [stdout] | [INFO] [stdout] 615 | / impl<'a> SerializeStructVariant for &'a mut TestSerializer { [INFO] [stdout] 616 | | type Ok = (); [INFO] [stdout] 617 | | type Error = TestError; [INFO] [stdout] 618 | | [INFO] [stdout] ... | [INFO] [stdout] 628 | | } [INFO] [stdout] 629 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `test_map_as_tuple_list_works_with_serializer_that_needs_length_to_serialize_sequence` [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] --> tests/serde_as/map_tuple_list.rs:631:5 [INFO] [stdout] | [INFO] [stdout] 631 | / impl<'a> SerializeTuple for &'a mut TestSerializer { [INFO] [stdout] 632 | | type Ok = (); [INFO] [stdout] 633 | | type Error = TestError; [INFO] [stdout] 634 | | [INFO] [stdout] ... | [INFO] [stdout] 644 | | } [INFO] [stdout] 645 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `test_map_as_tuple_list_works_with_serializer_that_needs_length_to_serialize_sequence` [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] --> tests/serde_as/map_tuple_list.rs:647:5 [INFO] [stdout] | [INFO] [stdout] 647 | / impl<'a> SerializeTupleStruct for &'a mut TestSerializer { [INFO] [stdout] 648 | | type Ok = (); [INFO] [stdout] 649 | | type Error = TestError; [INFO] [stdout] 650 | | [INFO] [stdout] ... | [INFO] [stdout] 660 | | } [INFO] [stdout] 661 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `test_map_as_tuple_list_works_with_serializer_that_needs_length_to_serialize_sequence` [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] --> tests/serde_as/map_tuple_list.rs:663:5 [INFO] [stdout] | [INFO] [stdout] 663 | / impl<'a> SerializeTupleVariant for &'a mut TestSerializer { [INFO] [stdout] 664 | | type Ok = (); [INFO] [stdout] 665 | | type Error = TestError; [INFO] [stdout] 666 | | [INFO] [stdout] ... | [INFO] [stdout] 676 | | } [INFO] [stdout] 677 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `test_map_as_tuple_list_works_with_serializer_that_needs_length_to_serialize_sequence` [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 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `serde_with` (test "serde_as") due to 9 previous errors [INFO] running `Command { std: "docker" "inspect" "5e1f689899c87d014d87be61bcc985b657a2fd7203ee4fa12c4cb3e0b5173a6d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e1f689899c87d014d87be61bcc985b657a2fd7203ee4fa12c4cb3e0b5173a6d", kill_on_drop: false }` [INFO] [stdout] 5e1f689899c87d014d87be61bcc985b657a2fd7203ee4fa12c4cb3e0b5173a6d