[INFO] fetching crate gs11n 0.3.1...
[INFO] checking gs11n-0.3.1 against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393
[INFO] extracting crate gs11n 0.3.1 into /workspace/builds/worker-0-tc1/source
[INFO] validating manifest of crates.io crate gs11n 0.3.1 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 gs11n 0.3.1
[INFO] finished tweaking crates.io crate gs11n 0.3.1
[INFO] tweaked toml for crates.io crate gs11n 0.3.1 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 cargo_metadata v0.9.1
[INFO] [stderr]   Downloaded test-cdylib v1.1.0
[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] b4e281cfbf6bf560eebc808c529956cc1aca725b7e9b8ab93a369ced04db25b2
[INFO] running `Command { std: "docker" "start" "-a" "b4e281cfbf6bf560eebc808c529956cc1aca725b7e9b8ab93a369ced04db25b2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b4e281cfbf6bf560eebc808c529956cc1aca725b7e9b8ab93a369ced04db25b2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b4e281cfbf6bf560eebc808c529956cc1aca725b7e9b8ab93a369ced04db25b2", kill_on_drop: false }`
[INFO] [stdout] b4e281cfbf6bf560eebc808c529956cc1aca725b7e9b8ab93a369ced04db25b2
[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] 5463e738c8c63f31ca23539e6fc63d43bb4bad5bb3b63db72883bf636ef06f15
[INFO] running `Command { std: "docker" "start" "-a" "5463e738c8c63f31ca23539e6fc63d43bb4bad5bb3b63db72883bf636ef06f15", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]     Checking semver-parser v0.7.0
[INFO] [stderr]     Checking rustc-hash v1.1.0
[INFO] [stderr]    Compiling quote v1.0.35
[INFO] [stderr]     Checking libloading v0.7.4
[INFO] [stderr]    Compiling syn v2.0.48
[INFO] [stderr]    Compiling serde_derive v1.0.196
[INFO] [stderr]    Compiling ctor v0.1.26
[INFO] [stderr]     Checking gs11n v0.3.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::mem::MaybeUninit`
[INFO] [stdout]  --> src/serialization/encoder.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::mem::MaybeUninit;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `MaybeUninit`
[INFO] [stdout]  --> src/types/string.rs:6:25
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::mem::{size_of, MaybeUninit};
[INFO] [stdout]   |                         ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking serde v1.0.196
[INFO] [stderr]     Checking serde_json v1.0.113
[INFO] [stderr]     Checking semver v0.9.0
[INFO] [stderr]     Checking toml v0.5.11
[INFO] [stderr]     Checking cargo_metadata v0.9.1
[INFO] [stderr]     Checking test-cdylib v1.1.0
[INFO] [stdout] warning: unused import: `std::mem::MaybeUninit`
[INFO] [stdout]  --> src/serialization/encoder.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::mem::MaybeUninit;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `MaybeUninit`
[INFO] [stdout]  --> src/types/string.rs:6:25
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::mem::{size_of, MaybeUninit};
[INFO] [stdout]   |                         ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 6.61s
[INFO] running `Command { std: "docker" "inspect" "5463e738c8c63f31ca23539e6fc63d43bb4bad5bb3b63db72883bf636ef06f15", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5463e738c8c63f31ca23539e6fc63d43bb4bad5bb3b63db72883bf636ef06f15", kill_on_drop: false }`
[INFO] [stdout] 5463e738c8c63f31ca23539e6fc63d43bb4bad5bb3b63db72883bf636ef06f15
[INFO] checking gs11n-0.3.1 against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393
[INFO] extracting crate gs11n 0.3.1 into /workspace/builds/worker-0-tc2/source
[INFO] validating manifest of crates.io crate gs11n 0.3.1 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 gs11n 0.3.1
[INFO] finished tweaking crates.io crate gs11n 0.3.1
[INFO] tweaked toml for crates.io crate gs11n 0.3.1 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] [stderr]     Blocking waiting for file lock on package cache
[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] 4e2615e4c1dc08bef8c1b5e0388e92ba81b6a9d23a7a8585eaceb021655fa983
[INFO] running `Command { std: "docker" "start" "-a" "4e2615e4c1dc08bef8c1b5e0388e92ba81b6a9d23a7a8585eaceb021655fa983", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4e2615e4c1dc08bef8c1b5e0388e92ba81b6a9d23a7a8585eaceb021655fa983", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4e2615e4c1dc08bef8c1b5e0388e92ba81b6a9d23a7a8585eaceb021655fa983", kill_on_drop: false }`
[INFO] [stdout] 4e2615e4c1dc08bef8c1b5e0388e92ba81b6a9d23a7a8585eaceb021655fa983
[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] bfa487047115f2445987bbb65e346003fac14479847b8e681327f338b11f2902
[INFO] running `Command { std: "docker" "start" "-a" "bfa487047115f2445987bbb65e346003fac14479847b8e681327f338b11f2902", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]     Checking semver-parser v0.7.0
[INFO] [stderr]     Checking rustc-hash v1.1.0
[INFO] [stderr]    Compiling quote v1.0.35
[INFO] [stderr]     Checking libloading v0.7.4
[INFO] [stderr]    Compiling syn v2.0.48
[INFO] [stderr]    Compiling serde_derive v1.0.196
[INFO] [stderr]    Compiling ctor v0.1.26
[INFO] [stderr]     Checking gs11n v0.3.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::mem::MaybeUninit`
[INFO] [stdout]  --> src/serialization/encoder.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::mem::MaybeUninit;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `MaybeUninit`
[INFO] [stdout]  --> src/types/string.rs:6:25
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::mem::{size_of, MaybeUninit};
[INFO] [stdout]   |                         ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking serde v1.0.196
[INFO] [stderr]     Checking semver v0.9.0
[INFO] [stderr]     Checking serde_json v1.0.113
[INFO] [stderr]     Checking toml v0.5.11
[INFO] [stderr]     Checking cargo_metadata v0.9.1
[INFO] [stderr]     Checking test-cdylib v1.1.0
[INFO] [stdout] warning: unused import: `std::mem::MaybeUninit`
[INFO] [stdout]  --> src/serialization/encoder.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::mem::MaybeUninit;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `MaybeUninit`
[INFO] [stdout]  --> src/types/string.rs:6:25
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::mem::{size_of, MaybeUninit};
[INFO] [stdout]   |                         ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> tests/plugin_test.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 20 | /     impl dyn ToString {
[INFO] [stdout] 21 | |         #[doc(hidden)]
[INFO] [stdout] 22 | |         pub fn register_type(id: usize, decoder: gs11n::dynamic::DecodeFn<dyn ToString>) {
[INFO] [stdout] 23 | |             let mut v_table = VTABLE.write().unwrap();
[INFO] [stdout] 24 | |             v_table.insert(id, decoder);
[INFO] [stdout] 25 | |         }
[INFO] [stdout] 26 | |     }
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_DYN_METADATA_FOR_TO_STRING`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: requested on the command line with `-D non-local-definitions`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> tests/plugin_test.rs:27:5
[INFO] [stdout]    |
[INFO] [stdout] 27 |     impl gs11n::WireTypeTrait for Box<dyn ToString> {}
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_DYN_METADATA_FOR_TO_STRING`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> tests/plugin_test.rs:28:5
[INFO] [stdout]    |
[INFO] [stdout] 28 | /     impl gs11n::Serialization for Box<dyn ToString> {
[INFO] [stdout] 29 | |         fn encode(&self, ptr: &mut *mut u8, meta_data: &mut gs11n::meta_data::Metadata) {
[INFO] [stdout] 30 | |             self.type_id().encode(ptr, meta_data);
[INFO] [stdout] 31 | |             self.dyn_encode(ptr, meta_data)
[INFO] [stdout] ...  |
[INFO] [stdout] 35 | |         }
[INFO] [stdout] 36 | |     }
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_DYN_METADATA_FOR_TO_STRING`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> tests/plugin_test.rs:37:5
[INFO] [stdout]    |
[INFO] [stdout] 37 | /     impl gs11n::DeSerialization for Box<dyn ToString> {
[INFO] [stdout] 38 | |         fn decode(
[INFO] [stdout] 39 | |             ptr: &mut *const u8,
[INFO] [stdout] 40 | |             ctx: &gs11n::decoder::DecodeContext,
[INFO] [stdout] ...  |
[INFO] [stdout] 53 | |         }
[INFO] [stdout] 54 | |     }
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_DYN_METADATA_FOR_TO_STRING`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> tests/dynamic_test.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 | /     impl dyn ToString {
[INFO] [stdout] 20 | |         #[doc(hidden)]
[INFO] [stdout] 21 | |         pub fn register_type(id: usize, decoder: gs11n::dynamic::DecodeFn<dyn ToString>) {
[INFO] [stdout] 22 | |             let mut v_table = VTABLE.write().unwrap();
[INFO] [stdout] 23 | |             v_table.insert(id, decoder);
[INFO] [stdout] 24 | |         }
[INFO] [stdout] 25 | |     }
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_DYN_METADATA_FOR_TO_STRING`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: requested on the command line with `-D non-local-definitions`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> tests/dynamic_test.rs:27:5
[INFO] [stdout]    |
[INFO] [stdout] 27 |     impl gs11n::WireTypeTrait for Box<dyn ToString> {}
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_DYN_METADATA_FOR_TO_STRING`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> tests/dynamic_test.rs:29:5
[INFO] [stdout]    |
[INFO] [stdout] 29 | /     impl gs11n::Serialization for Box<dyn ToString> {
[INFO] [stdout] 30 | |         fn encode(&self, ptr: &mut *mut u8, meta_data: &mut gs11n::meta_data::Metadata) {
[INFO] [stdout] 31 | |             self.type_id().encode(ptr, meta_data);
[INFO] [stdout] 32 | |             self.dyn_encode(ptr, meta_data)
[INFO] [stdout] ...  |
[INFO] [stdout] 36 | |         }
[INFO] [stdout] 37 | |     }
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_DYN_METADATA_FOR_TO_STRING`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> tests/dynamic_test.rs:39:5
[INFO] [stdout]    |
[INFO] [stdout] 39 | /     impl gs11n::DeSerialization for Box<dyn ToString> {
[INFO] [stdout] 40 | |         fn decode(
[INFO] [stdout] 41 | |             ptr: &mut *const u8,
[INFO] [stdout] 42 | |             ctx: &gs11n::decoder::DecodeContext,
[INFO] [stdout] ...  |
[INFO] [stdout] 55 | |         }
[INFO] [stdout] 56 | |     }
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_DYN_METADATA_FOR_TO_STRING`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `gs11n` (test "plugin_test") due to 5 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `gs11n` (test "dynamic_test") due to 5 previous errors
[INFO] [stdout] warning: 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "bfa487047115f2445987bbb65e346003fac14479847b8e681327f338b11f2902", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bfa487047115f2445987bbb65e346003fac14479847b8e681327f338b11f2902", kill_on_drop: false }`
[INFO] [stdout] bfa487047115f2445987bbb65e346003fac14479847b8e681327f338b11f2902
