[INFO] cloning repository https://github.com/PaddyThePaddy/edk2-ffs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/PaddyThePaddy/edk2-ffs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPaddyThePaddy%2Fedk2-ffs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPaddyThePaddy%2Fedk2-ffs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 22b1ff99f350aed052a69168c73e2a80422eab1f [INFO] checking PaddyThePaddy/edk2-ffs against master#bca37a20bd376ce3fd138e7cdee7fe704e0f8814 for pr-139493-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPaddyThePaddy%2Fedk2-ffs" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/PaddyThePaddy/edk2-ffs [INFO] finished tweaking git repo https://github.com/PaddyThePaddy/edk2-ffs [INFO] tweaked toml for git repo https://github.com/PaddyThePaddy/edk2-ffs written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/PaddyThePaddy/edk2-ffs on toolchain bca37a20bd376ce3fd138e7cdee7fe704e0f8814 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/PaddyThePaddy/edk2-ffs already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Updating git repository `https://github.com/PaddyThePaddy/edk2-guid-process-sys` [INFO] [stderr] Updating git submodule `https://github.com/google/brotli` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded array-init v2.1.0 [INFO] [stderr] Downloaded custom_debug_derive v0.5.1 [INFO] [stderr] Downloaded getset v0.1.2 [INFO] [stderr] Downloaded binrw_derive v0.13.3 [INFO] [stderr] Downloaded custom_debug v0.5.1 [INFO] [stderr] Downloaded int-enum v1.1.2 [INFO] [stderr] Downloaded binrw v0.13.3 [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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4048105e69a4072177202c2d16ebd1907d8abecf1512f12a0a20409838a75f78 [INFO] running `Command { std: "docker" "start" "-a" "4048105e69a4072177202c2d16ebd1907d8abecf1512f12a0a20409838a75f78", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4048105e69a4072177202c2d16ebd1907d8abecf1512f12a0a20409838a75f78", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4048105e69a4072177202c2d16ebd1907d8abecf1512f12a0a20409838a75f78", kill_on_drop: false }` [INFO] [stdout] 4048105e69a4072177202c2d16ebd1907d8abecf1512f12a0a20409838a75f78 [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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 011f9c992c8a0916fcd0a90df80d5945628a6ea568376dd20ac73184c52e6741 [INFO] running `Command { std: "docker" "start" "-a" "011f9c992c8a0916fcd0a90df80d5945628a6ea568376dd20ac73184c52e6741", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.85 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling prettyplease v0.2.20 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling either v1.12.0 [INFO] [stderr] Compiling cc v1.0.99 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling libloading v0.8.3 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling bindgen v0.65.1 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling binrw_derive v0.13.3 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling backtrace v0.3.72 [INFO] [stderr] Compiling int-enum v1.1.2 [INFO] [stderr] Checking gimli v0.29.0 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling owo-colors v3.5.0 [INFO] [stderr] Compiling binrw v0.13.3 [INFO] [stderr] Checking miniz_oxide v0.7.3 [INFO] [stderr] Checking object v0.35.0 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Checking bytemuck v1.16.0 [INFO] [stderr] Checking rustc-demangle v0.1.24 [INFO] [stderr] Checking array-init v2.1.0 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking uuid v1.8.0 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Checking addr2line v0.22.0 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling custom_debug_derive v0.5.1 [INFO] [stderr] Compiling getset v0.1.2 [INFO] [stderr] Checking custom_debug v0.5.1 [INFO] [stderr] Checking thiserror v1.0.61 [INFO] [stderr] Compiling edk2-guid-process-sys v0.1.0 (https://github.com/PaddyThePaddy/edk2-guid-process-sys#cebc5b2e) [INFO] [stderr] Checking edk2-ffs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: this function depends on never type fallback being `()` [INFO] [stdout] --> src/fv.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | / fn write_options( [INFO] [stdout] 72 | | &self, [INFO] [stdout] 73 | | writer: &mut W, [INFO] [stdout] 74 | | endian: binrw::Endian, [INFO] [stdout] 75 | | _: Self::Args<'_>, [INFO] [stdout] 76 | | ) -> BinResult<()> { [INFO] [stdout] | |______________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromIterator<()>` will fail [INFO] [stdout] --> src/fv.rs:91:24 [INFO] [stdout] | [INFO] [stdout] 91 | .collect::>()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[deny(dependency_on_unit_never_type_fallback)]` (part of `#[deny(rust_2024_compatibility)]`) on by default [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 91 - .collect::>()?; [INFO] [stdout] 91 + .collect::>()?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this function depends on never type fallback being `()` [INFO] [stdout] --> src/fv.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | / fn write_options( [INFO] [stdout] 72 | | &self, [INFO] [stdout] 73 | | writer: &mut W, [INFO] [stdout] 74 | | endian: binrw::Endian, [INFO] [stdout] 75 | | _: Self::Args<'_>, [INFO] [stdout] 76 | | ) -> BinResult<()> { [INFO] [stdout] | |______________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromIterator<()>` will fail [INFO] [stdout] --> src/fv.rs:91:24 [INFO] [stdout] | [INFO] [stdout] 91 | .collect::>()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[deny(dependency_on_unit_never_type_fallback)]` (part of `#[deny(rust_2024_compatibility)]`) on by default [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 91 - .collect::>()?; [INFO] [stdout] 91 + .collect::>()?; [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] --> src/file.rs:135:10 [INFO] [stdout] | [INFO] [stdout] 135 | #[derive(custom_debug::Debug, Clone)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Debug` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_fmt_Debug_FOR_FilePayload` [INFO] [stdout] 136 | pub enum FilePayload { [INFO] [stdout] | ----------- `FilePayload` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `custom_debug::Debug` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `custom_debug::Debug` may come from an old version of the `custom_debug_derive` crate, try updating your dependency with `cargo update -p custom_debug_derive` [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: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `custom_debug::Debug` (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/file.rs:167:10 [INFO] [stdout] | [INFO] [stdout] 167 | #[derive(custom_debug::Debug, Clone, Getters, CopyGetters, MutGetters)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Debug` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_fmt_Debug_FOR_FileHdr` [INFO] [stdout] 168 | pub struct FileHdr { [INFO] [stdout] | ------- `FileHdr` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `custom_debug::Debug` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `custom_debug::Debug` may come from an old version of the `custom_debug_derive` crate, try updating your dependency with `cargo update -p custom_debug_derive` [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 warning originates in the derive macro `custom_debug::Debug` (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/fv.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(custom_debug::Debug, Clone, Getters, MutGetters)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Debug` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_fmt_Debug_FOR_Fv` [INFO] [stdout] 19 | pub struct Fv { [INFO] [stdout] | -- `Fv` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `custom_debug::Debug` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `custom_debug::Debug` may come from an old version of the `custom_debug_derive` crate, try updating your dependency with `cargo update -p custom_debug_derive` [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 warning originates in the derive macro `custom_debug::Debug` (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/fv.rs:139:39 [INFO] [stdout] | [INFO] [stdout] 139 | #[derive(Clone, Getters, CopyGetters, custom_debug::Debug, MutGetters)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Debug` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_fmt_Debug_FOR_FvHdr` [INFO] [stdout] 140 | #[br(stream = stream, map_stream = Checksum16::new, assert(stream.check() == 0))] [INFO] [stdout] 141 | pub struct FvHdr { [INFO] [stdout] | ----- `FvHdr` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `custom_debug::Debug` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `custom_debug::Debug` may come from an old version of the `custom_debug_derive` crate, try updating your dependency with `cargo update -p custom_debug_derive` [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 warning originates in the derive macro `custom_debug::Debug` (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/fv.rs:361:17 [INFO] [stdout] | [INFO] [stdout] 361 | #[derive(Clone, custom_debug::Debug, Getters)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Debug` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_fmt_Debug_FOR_FvExtHdr` [INFO] [stdout] 362 | pub struct FvExtHdr { [INFO] [stdout] | -------- `FvExtHdr` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `custom_debug::Debug` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `custom_debug::Debug` may come from an old version of the `custom_debug_derive` crate, try updating your dependency with `cargo update -p custom_debug_derive` [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 warning originates in the derive macro `custom_debug::Debug` (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/fv.rs:435:10 [INFO] [stdout] | [INFO] [stdout] 435 | #[derive(custom_debug::Debug, Clone, Getters)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Debug` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_fmt_Debug_FOR_FvExtEntryGuidType` [INFO] [stdout] 436 | pub struct FvExtEntryGuidType { [INFO] [stdout] | ------------------ `FvExtEntryGuidType` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `custom_debug::Debug` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `custom_debug::Debug` may come from an old version of the `custom_debug_derive` crate, try updating your dependency with `cargo update -p custom_debug_derive` [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 warning originates in the derive macro `custom_debug::Debug` (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/section.rs:81:10 [INFO] [stdout] | [INFO] [stdout] 81 | #[derive(custom_debug::Debug, Clone, CopyGetters, MutGetters)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Debug` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_fmt_Debug_FOR_SectionHdr` [INFO] [stdout] 82 | pub struct SectionHdr { [INFO] [stdout] | ---------- `SectionHdr` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `custom_debug::Debug` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `custom_debug::Debug` may come from an old version of the `custom_debug_derive` crate, try updating your dependency with `cargo update -p custom_debug_derive` [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 warning originates in the derive macro `custom_debug::Debug` (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/section.rs:252:10 [INFO] [stdout] | [INFO] [stdout] 252 | #[derive(custom_debug::Debug, Clone)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Debug` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_fmt_Debug_FOR_SectionPayload` [INFO] [stdout] 253 | pub enum SectionPayload { [INFO] [stdout] | -------------- `SectionPayload` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `custom_debug::Debug` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `custom_debug::Debug` may come from an old version of the `custom_debug_derive` crate, try updating your dependency with `cargo update -p custom_debug_derive` [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 warning originates in the derive macro `custom_debug::Debug` (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/section.rs:449:10 [INFO] [stdout] | [INFO] [stdout] 449 | #[derive(custom_debug::Debug, Clone)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Debug` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_fmt_Debug_FOR_GuidDefinedData` [INFO] [stdout] 450 | pub enum GuidDefinedData { [INFO] [stdout] | --------------- `GuidDefinedData` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `custom_debug::Debug` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `custom_debug::Debug` may come from an old version of the `custom_debug_derive` crate, try updating your dependency with `cargo update -p custom_debug_derive` [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 warning originates in the derive macro `custom_debug::Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `edk2-ffs` (lib) due to 2 previous errors; 9 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/file.rs:135:10 [INFO] [stdout] | [INFO] [stdout] 135 | #[derive(custom_debug::Debug, Clone)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Debug` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_fmt_Debug_FOR_FilePayload` [INFO] [stdout] 136 | pub enum FilePayload { [INFO] [stdout] | ----------- `FilePayload` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `custom_debug::Debug` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `custom_debug::Debug` may come from an old version of the `custom_debug_derive` crate, try updating your dependency with `cargo update -p custom_debug_derive` [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: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `custom_debug::Debug` (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/file.rs:167:10 [INFO] [stdout] | [INFO] [stdout] 167 | #[derive(custom_debug::Debug, Clone, Getters, CopyGetters, MutGetters)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Debug` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_fmt_Debug_FOR_FileHdr` [INFO] [stdout] 168 | pub struct FileHdr { [INFO] [stdout] | ------- `FileHdr` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `custom_debug::Debug` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `custom_debug::Debug` may come from an old version of the `custom_debug_derive` crate, try updating your dependency with `cargo update -p custom_debug_derive` [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 warning originates in the derive macro `custom_debug::Debug` (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/fv.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(custom_debug::Debug, Clone, Getters, MutGetters)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Debug` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_fmt_Debug_FOR_Fv` [INFO] [stdout] 19 | pub struct Fv { [INFO] [stdout] | -- `Fv` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `custom_debug::Debug` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `custom_debug::Debug` may come from an old version of the `custom_debug_derive` crate, try updating your dependency with `cargo update -p custom_debug_derive` [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 warning originates in the derive macro `custom_debug::Debug` (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/fv.rs:139:39 [INFO] [stdout] | [INFO] [stdout] 139 | #[derive(Clone, Getters, CopyGetters, custom_debug::Debug, MutGetters)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Debug` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_fmt_Debug_FOR_FvHdr` [INFO] [stdout] 140 | #[br(stream = stream, map_stream = Checksum16::new, assert(stream.check() == 0))] [INFO] [stdout] 141 | pub struct FvHdr { [INFO] [stdout] | ----- `FvHdr` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `custom_debug::Debug` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `custom_debug::Debug` may come from an old version of the `custom_debug_derive` crate, try updating your dependency with `cargo update -p custom_debug_derive` [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 warning originates in the derive macro `custom_debug::Debug` (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/fv.rs:361:17 [INFO] [stdout] | [INFO] [stdout] 361 | #[derive(Clone, custom_debug::Debug, Getters)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Debug` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_fmt_Debug_FOR_FvExtHdr` [INFO] [stdout] 362 | pub struct FvExtHdr { [INFO] [stdout] | -------- `FvExtHdr` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `custom_debug::Debug` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `custom_debug::Debug` may come from an old version of the `custom_debug_derive` crate, try updating your dependency with `cargo update -p custom_debug_derive` [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 warning originates in the derive macro `custom_debug::Debug` (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/fv.rs:435:10 [INFO] [stdout] | [INFO] [stdout] 435 | #[derive(custom_debug::Debug, Clone, Getters)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Debug` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_fmt_Debug_FOR_FvExtEntryGuidType` [INFO] [stdout] 436 | pub struct FvExtEntryGuidType { [INFO] [stdout] | ------------------ `FvExtEntryGuidType` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `custom_debug::Debug` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `custom_debug::Debug` may come from an old version of the `custom_debug_derive` crate, try updating your dependency with `cargo update -p custom_debug_derive` [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 warning originates in the derive macro `custom_debug::Debug` (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/section.rs:81:10 [INFO] [stdout] | [INFO] [stdout] 81 | #[derive(custom_debug::Debug, Clone, CopyGetters, MutGetters)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Debug` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_fmt_Debug_FOR_SectionHdr` [INFO] [stdout] 82 | pub struct SectionHdr { [INFO] [stdout] | ---------- `SectionHdr` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `custom_debug::Debug` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `custom_debug::Debug` may come from an old version of the `custom_debug_derive` crate, try updating your dependency with `cargo update -p custom_debug_derive` [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 warning originates in the derive macro `custom_debug::Debug` (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/section.rs:252:10 [INFO] [stdout] | [INFO] [stdout] 252 | #[derive(custom_debug::Debug, Clone)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Debug` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_fmt_Debug_FOR_SectionPayload` [INFO] [stdout] 253 | pub enum SectionPayload { [INFO] [stdout] | -------------- `SectionPayload` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `custom_debug::Debug` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `custom_debug::Debug` may come from an old version of the `custom_debug_derive` crate, try updating your dependency with `cargo update -p custom_debug_derive` [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 warning originates in the derive macro `custom_debug::Debug` (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/section.rs:449:10 [INFO] [stdout] | [INFO] [stdout] 449 | #[derive(custom_debug::Debug, Clone)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Debug` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_fmt_Debug_FOR_GuidDefinedData` [INFO] [stdout] 450 | pub enum GuidDefinedData { [INFO] [stdout] | --------------- `GuidDefinedData` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `custom_debug::Debug` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `custom_debug::Debug` may come from an old version of the `custom_debug_derive` crate, try updating your dependency with `cargo update -p custom_debug_derive` [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 warning originates in the derive macro `custom_debug::Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `edk2-ffs` (lib test) due to 2 previous errors; 9 warnings emitted [INFO] running `Command { std: "docker" "inspect" "011f9c992c8a0916fcd0a90df80d5945628a6ea568376dd20ac73184c52e6741", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "011f9c992c8a0916fcd0a90df80d5945628a6ea568376dd20ac73184c52e6741", kill_on_drop: false }` [INFO] [stdout] 011f9c992c8a0916fcd0a90df80d5945628a6ea568376dd20ac73184c52e6741