[INFO] fetching crate ledb 0.4.0... [INFO] checking ledb-0.4.0 against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393-1 [INFO] extracting crate ledb 0.4.0 into /workspace/builds/worker-4-tc1/source [INFO] validating manifest of crates.io crate ledb 0.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 ledb 0.4.0 [INFO] finished tweaking crates.io crate ledb 0.4.0 [INFO] tweaked toml for crates.io crate ledb 0.4.0 written to /workspace/builds/worker-4-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 libredox v0.0.1 [INFO] [stderr] Downloaded gcc v0.3.55 [INFO] [stderr] Downloaded dunce v1.0.4 [INFO] [stderr] Downloaded ron v0.6.6 [INFO] [stderr] Downloaded dirs-sys v0.3.7 [INFO] [stderr] Downloaded supercow v0.1.0 [INFO] [stderr] Downloaded ordered-float v1.1.1 [INFO] [stderr] Downloaded lmdb-zero v0.4.4 [INFO] [stderr] Downloaded liblmdb-sys v0.2.2 [INFO] [stderr] Downloaded serde_cbor v0.11.2 [INFO] [stderr] Downloaded redox_users v0.4.4 [INFO] [stderr] Downloaded ledb-derive v0.4.0 [INFO] [stderr] Downloaded ledb-types v0.4.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] e30dc590b42ba0f3dad965acb4cb4c9a2894f19f6d2cf9711500824580b468c0 [INFO] running `Command { std: "docker" "start" "-a" "e30dc590b42ba0f3dad965acb4cb4c9a2894f19f6d2cf9711500824580b468c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e30dc590b42ba0f3dad965acb4cb4c9a2894f19f6d2cf9711500824580b468c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e30dc590b42ba0f3dad965acb4cb4c9a2894f19f6d2cf9711500824580b468c0", kill_on_drop: false }` [INFO] [stdout] e30dc590b42ba0f3dad965acb4cb4c9a2894f19f6d2cf9711500824580b468c0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 97fe6ae38f5310376ce8a35fc8558d913baca9575d079c382714e4f1bcb70a0a [INFO] running `Command { std: "docker" "start" "-a" "97fe6ae38f5310376ce8a35fc8558d913baca9575d079c382714e4f1bcb70a0a", kill_on_drop: false }` [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Checking half v1.8.2 [INFO] [stderr] Checking bitflags v0.9.1 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Checking supercow v0.1.0 [INFO] [stderr] Checking dunce v1.0.4 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Checking dirs-sys v0.3.7 [INFO] [stderr] Compiling ledb-derive v0.4.0 [INFO] [stderr] Checking dirs v2.0.2 [INFO] [stderr] Compiling liblmdb-sys v0.2.2 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Checking regex-automata v0.4.5 [INFO] [stderr] Compiling serde_derive v1.0.196 [INFO] [stderr] Checking regex v1.10.3 [INFO] [stderr] Checking lmdb-zero v0.4.4 [INFO] [stderr] Checking serde v1.0.196 [INFO] [stderr] Checking serde_cbor v0.11.2 [INFO] [stderr] Checking serde_json v1.0.113 [INFO] [stderr] Checking ron v0.6.6 [INFO] [stderr] Checking ordered-float v1.1.1 [INFO] [stderr] Checking ledb-types v0.4.0 [INFO] [stderr] Checking ledb v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `ledb_derive::*` [INFO] [stdout] --> src/lib.rs:367:9 [INFO] [stdout] | [INFO] [stdout] 367 | pub use ledb_derive::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `macros::*` [INFO] [stdout] --> src/lib.rs:373:9 [INFO] [stdout] | [INFO] [stdout] 373 | pub use macros::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: shared reference of mutable static is discouraged [INFO] [stdout] --> src/pool.rs:24:38 [INFO] [stdout] | [INFO] [stdout] 24 | if let Some(storages) = unsafe { &STORAGES } { [INFO] [stdout] | ^^^^^^^^^ shared reference of mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: reference of mutable static is a hard error from 2024 edition [INFO] [stdout] = note: mutable statics can be written to by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] = note: `#[warn(static_mut_ref)]` on by default [INFO] [stdout] help: shared references are dangerous since if there's any kind of mutation of that static while the reference lives, that's UB; use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 24 | if let Some(storages) = unsafe { addr_of!(STORAGES) } { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ledb_derive::*` [INFO] [stdout] --> src/lib.rs:367:9 [INFO] [stdout] | [INFO] [stdout] 367 | pub use ledb_derive::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `macros::*` [INFO] [stdout] --> src/lib.rs:373:9 [INFO] [stdout] | [INFO] [stdout] 373 | pub use macros::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: shared reference of mutable static is discouraged [INFO] [stdout] --> src/pool.rs:24:38 [INFO] [stdout] | [INFO] [stdout] 24 | if let Some(storages) = unsafe { &STORAGES } { [INFO] [stdout] | ^^^^^^^^^ shared reference of mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: reference of mutable static is a hard error from 2024 edition [INFO] [stdout] = note: mutable statics can be written to by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] = note: `#[warn(static_mut_ref)]` on by default [INFO] [stdout] help: shared references are dangerous since if there's any kind of mutation of that static while the reference lives, that's UB; use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 24 | if let Some(storages) = unsafe { addr_of!(STORAGES) } { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 6.76s [INFO] running `Command { std: "docker" "inspect" "97fe6ae38f5310376ce8a35fc8558d913baca9575d079c382714e4f1bcb70a0a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "97fe6ae38f5310376ce8a35fc8558d913baca9575d079c382714e4f1bcb70a0a", kill_on_drop: false }` [INFO] [stdout] 97fe6ae38f5310376ce8a35fc8558d913baca9575d079c382714e4f1bcb70a0a [INFO] checking ledb-0.4.0 against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393-1 [INFO] extracting crate ledb 0.4.0 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate ledb 0.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 ledb 0.4.0 [INFO] finished tweaking crates.io crate ledb 0.4.0 [INFO] tweaked toml for crates.io crate ledb 0.4.0 written to /workspace/builds/worker-4-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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] eadb80ba5b84fd7143318b1ec8d7d7035f38b38fd8da92b85355a39e127a4db2 [INFO] running `Command { std: "docker" "start" "-a" "eadb80ba5b84fd7143318b1ec8d7d7035f38b38fd8da92b85355a39e127a4db2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "eadb80ba5b84fd7143318b1ec8d7d7035f38b38fd8da92b85355a39e127a4db2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eadb80ba5b84fd7143318b1ec8d7d7035f38b38fd8da92b85355a39e127a4db2", kill_on_drop: false }` [INFO] [stdout] eadb80ba5b84fd7143318b1ec8d7d7035f38b38fd8da92b85355a39e127a4db2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] bc94c6f76cd04cb65752e0fc84cb0abda5f381fe871c0160d15b85ecd8658bf3 [INFO] running `Command { std: "docker" "start" "-a" "bc94c6f76cd04cb65752e0fc84cb0abda5f381fe871c0160d15b85ecd8658bf3", kill_on_drop: false }` [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Checking half v1.8.2 [INFO] [stderr] Checking bitflags v0.9.1 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Checking supercow v0.1.0 [INFO] [stderr] Checking dunce v1.0.4 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Checking dirs-sys v0.3.7 [INFO] [stderr] Compiling ledb-derive v0.4.0 [INFO] [stderr] Checking dirs v2.0.2 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Compiling liblmdb-sys v0.2.2 [INFO] [stderr] Checking regex-automata v0.4.5 [INFO] [stderr] Compiling serde_derive v1.0.196 [INFO] [stderr] Checking regex v1.10.3 [INFO] [stderr] Checking lmdb-zero v0.4.4 [INFO] [stderr] Checking serde v1.0.196 [INFO] [stderr] Checking serde_json v1.0.113 [INFO] [stderr] Checking serde_cbor v0.11.2 [INFO] [stderr] Checking ordered-float v1.1.1 [INFO] [stderr] Checking ron v0.6.6 [INFO] [stderr] Checking ledb-types v0.4.0 [INFO] [stderr] Checking ledb v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `ledb_derive::*` [INFO] [stdout] --> src/lib.rs:367:9 [INFO] [stdout] | [INFO] [stdout] 367 | pub use ledb_derive::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `macros::*` [INFO] [stdout] --> src/lib.rs:373:9 [INFO] [stdout] | [INFO] [stdout] 373 | pub use macros::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: shared reference of mutable static is discouraged [INFO] [stdout] --> src/pool.rs:24:38 [INFO] [stdout] | [INFO] [stdout] 24 | if let Some(storages) = unsafe { &STORAGES } { [INFO] [stdout] | ^^^^^^^^^ shared reference of mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: reference of mutable static is a hard error from 2024 edition [INFO] [stdout] = note: mutable statics can be written to by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] = note: `#[warn(static_mut_ref)]` on by default [INFO] [stdout] help: shared references are dangerous since if there's any kind of mutation of that static while the reference lives, that's UB; use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 24 | if let Some(storages) = unsafe { addr_of!(STORAGES) } { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ledb_derive::*` [INFO] [stdout] --> src/lib.rs:367:9 [INFO] [stdout] | [INFO] [stdout] 367 | pub use ledb_derive::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `macros::*` [INFO] [stdout] --> src/lib.rs:373:9 [INFO] [stdout] | [INFO] [stdout] 373 | pub use macros::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: shared reference of mutable static is discouraged [INFO] [stdout] --> src/pool.rs:24:38 [INFO] [stdout] | [INFO] [stdout] 24 | if let Some(storages) = unsafe { &STORAGES } { [INFO] [stdout] | ^^^^^^^^^ shared reference of mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: reference of mutable static is a hard error from 2024 edition [INFO] [stdout] = note: mutable statics can be written to by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] = note: `#[warn(static_mut_ref)]` on by default [INFO] [stdout] help: shared references are dangerous since if there's any kind of mutation of that static while the reference lives, that's UB; use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 24 | if let Some(storages) = unsafe { addr_of!(STORAGES) } { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/lib.rs:809:52 [INFO] [stdout] | [INFO] [stdout] 809 | #[derive(Debug, Clone, Serialize, Deserialize, Document)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_DOCUMENT_FOR_RootDoc` [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] = note: this error originates in the derive macro `Document` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/lib.rs:824:52 [INFO] [stdout] | [INFO] [stdout] 824 | #[derive(Debug, Clone, Serialize, Deserialize, Document)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_DOCUMENT_FOR_MetaData` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `Document` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/lib.rs:833:52 [INFO] [stdout] | [INFO] [stdout] 833 | #[derive(Debug, Clone, Serialize, Deserialize, Document)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_DOCUMENT_FOR_LinkData` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `Document` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ledb` (lib test) due to 4 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "bc94c6f76cd04cb65752e0fc84cb0abda5f381fe871c0160d15b85ecd8658bf3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bc94c6f76cd04cb65752e0fc84cb0abda5f381fe871c0160d15b85ecd8658bf3", kill_on_drop: false }` [INFO] [stdout] bc94c6f76cd04cb65752e0fc84cb0abda5f381fe871c0160d15b85ecd8658bf3