[INFO] fetching crate gs11n 0.3.1... [INFO] checking gs11n-0.3.1 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate gs11n 0.3.1 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate gs11n 0.3.1 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 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-1-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] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 24 packages to latest compatible versions [INFO] [stderr] Adding cargo_metadata v0.9.1 (available: v0.18.1) [INFO] [stderr] Adding ctor v0.1.26 (available: v0.2.8) [INFO] [stderr] Adding libloading v0.7.4 (available: v0.8.5) [INFO] [stderr] Adding rustc-hash v1.1.0 (available: v2.0.0) [INFO] [stderr] Adding semver v0.9.0 (available: v1.0.23) [INFO] [stderr] Adding semver-parser v0.7.0 (available: v0.10.2) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.79) [INFO] [stderr] Adding toml v0.5.11 (available: v0.8.19) [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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 0a0209d0f5c9aed2f4807beb237fdfbac51cf1b43ce397c6d495406ea93dac8f [INFO] running `Command { std: "docker" "start" "-a" "0a0209d0f5c9aed2f4807beb237fdfbac51cf1b43ce397c6d495406ea93dac8f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0a0209d0f5c9aed2f4807beb237fdfbac51cf1b43ce397c6d495406ea93dac8f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0a0209d0f5c9aed2f4807beb237fdfbac51cf1b43ce397c6d495406ea93dac8f", kill_on_drop: false }` [INFO] [stdout] 0a0209d0f5c9aed2f4807beb237fdfbac51cf1b43ce397c6d495406ea93dac8f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 59ea7fc856489e7f22017d3081ba888dfd364f45cd179221a424762bf1efab54 [INFO] running `Command { std: "docker" "start" "-a" "59ea7fc856489e7f22017d3081ba888dfd364f45cd179221a424762bf1efab54", 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.37 [INFO] [stderr] Checking libloading v0.7.4 [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Compiling serde_derive v1.0.210 [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: unexpected `cfg` condition name: `has_i128` [INFO] [stdout] --> src/types/signed.rs:42:7 [INFO] [stdout] | [INFO] [stdout] 42 | #[cfg(has_i128)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(has_i128)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_i128)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `has_i128` [INFO] [stdout] --> src/types/signed.rs:73:7 [INFO] [stdout] | [INFO] [stdout] 73 | #[cfg(has_i128)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(has_i128)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_i128)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [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: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking serde v1.0.210 [INFO] [stderr] Checking semver v0.9.0 [INFO] [stderr] Checking serde_json v1.0.128 [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: unexpected `cfg` condition name: `has_i128` [INFO] [stdout] --> src/types/signed.rs:42:7 [INFO] [stdout] | [INFO] [stdout] 42 | #[cfg(has_i128)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(has_i128)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_i128)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `has_i128` [INFO] [stdout] --> src/types/signed.rs:73:7 [INFO] [stdout] | [INFO] [stdout] 73 | #[cfg(has_i128)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(has_i128)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_i128)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [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: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/dynamic_test.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 14 | const _DYN_METADATA_FOR_TO_STRING: () = { [INFO] [stdout] | ------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | help: use a const-anon item to suppress this lint: `_` [INFO] [stdout] | move the `impl` block outside of this constant `_DYN_METADATA_FOR_TO_STRING` [INFO] [stdout] ... [INFO] [stdout] 19 | impl dyn ToString { [INFO] [stdout] | ^^^^^^^^^-------- [INFO] [stdout] | | [INFO] [stdout] | `ToString` 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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [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] --> tests/dynamic_test.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 14 | const _DYN_METADATA_FOR_TO_STRING: () = { [INFO] [stdout] | ------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | help: use a const-anon item to suppress this lint: `_` [INFO] [stdout] | move the `impl` block outside of this constant `_DYN_METADATA_FOR_TO_STRING` [INFO] [stdout] ... [INFO] [stdout] 27 | impl gs11n::WireTypeTrait for Box {} [INFO] [stdout] | ^^^^^--------------------^^^^^---^^^^^--------^ [INFO] [stdout] | | | | [INFO] [stdout] | | | `ToString` is not local [INFO] [stdout] | | `Box` is not local [INFO] [stdout] | `WireTypeTrait` 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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [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] --> tests/dynamic_test.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 14 | const _DYN_METADATA_FOR_TO_STRING: () = { [INFO] [stdout] | ------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | help: use a const-anon item to suppress this lint: `_` [INFO] [stdout] | move the `impl` block outside of this constant `_DYN_METADATA_FOR_TO_STRING` [INFO] [stdout] ... [INFO] [stdout] 29 | impl gs11n::Serialization for Box { [INFO] [stdout] | ^^^^^--------------------^^^^^---^^^^^--------^ [INFO] [stdout] | | | | [INFO] [stdout] | | | `ToString` is not local [INFO] [stdout] | | `Box` is not local [INFO] [stdout] | `Serialization` 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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [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] --> tests/dynamic_test.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 14 | const _DYN_METADATA_FOR_TO_STRING: () = { [INFO] [stdout] | ------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | help: use a const-anon item to suppress this lint: `_` [INFO] [stdout] | move the `impl` block outside of this constant `_DYN_METADATA_FOR_TO_STRING` [INFO] [stdout] ... [INFO] [stdout] 39 | impl gs11n::DeSerialization for Box { [INFO] [stdout] | ^^^^^----------------------^^^^^---^^^^^--------^ [INFO] [stdout] | | | | [INFO] [stdout] | | | `ToString` is not local [INFO] [stdout] | | `Box` is not local [INFO] [stdout] | `DeSerialization` 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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [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] --> tests/plugin_test.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 15 | const _DYN_METADATA_FOR_TO_STRING: () = { [INFO] [stdout] | ------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | help: use a const-anon item to suppress this lint: `_` [INFO] [stdout] | move the `impl` block outside of this constant `_DYN_METADATA_FOR_TO_STRING` [INFO] [stdout] ... [INFO] [stdout] 20 | impl dyn ToString { [INFO] [stdout] | ^^^^^^^^^-------- [INFO] [stdout] | | [INFO] [stdout] | `ToString` 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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [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] --> tests/plugin_test.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 15 | const _DYN_METADATA_FOR_TO_STRING: () = { [INFO] [stdout] | ------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | help: use a const-anon item to suppress this lint: `_` [INFO] [stdout] | move the `impl` block outside of this constant `_DYN_METADATA_FOR_TO_STRING` [INFO] [stdout] ... [INFO] [stdout] 27 | impl gs11n::WireTypeTrait for Box {} [INFO] [stdout] | ^^^^^--------------------^^^^^---^^^^^--------^ [INFO] [stdout] | | | | [INFO] [stdout] | | | `ToString` is not local [INFO] [stdout] | | `Box` is not local [INFO] [stdout] | `WireTypeTrait` 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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [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] --> tests/plugin_test.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 15 | const _DYN_METADATA_FOR_TO_STRING: () = { [INFO] [stdout] | ------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | help: use a const-anon item to suppress this lint: `_` [INFO] [stdout] | move the `impl` block outside of this constant `_DYN_METADATA_FOR_TO_STRING` [INFO] [stdout] ... [INFO] [stdout] 28 | impl gs11n::Serialization for Box { [INFO] [stdout] | ^^^^^--------------------^^^^^---^^^^^--------^ [INFO] [stdout] | | | | [INFO] [stdout] | | | `ToString` is not local [INFO] [stdout] | | `Box` is not local [INFO] [stdout] | `Serialization` 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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [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] --> tests/plugin_test.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 15 | const _DYN_METADATA_FOR_TO_STRING: () = { [INFO] [stdout] | ------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | help: use a const-anon item to suppress this lint: `_` [INFO] [stdout] | move the `impl` block outside of this constant `_DYN_METADATA_FOR_TO_STRING` [INFO] [stdout] ... [INFO] [stdout] 37 | impl gs11n::DeSerialization for Box { [INFO] [stdout] | ^^^^^----------------------^^^^^---^^^^^--------^ [INFO] [stdout] | | | | [INFO] [stdout] | | | `ToString` is not local [INFO] [stdout] | | `Box` is not local [INFO] [stdout] | `DeSerialization` 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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [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: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.06s [INFO] running `Command { std: "docker" "inspect" "59ea7fc856489e7f22017d3081ba888dfd364f45cd179221a424762bf1efab54", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "59ea7fc856489e7f22017d3081ba888dfd364f45cd179221a424762bf1efab54", kill_on_drop: false }` [INFO] [stdout] 59ea7fc856489e7f22017d3081ba888dfd364f45cd179221a424762bf1efab54