[INFO] fetching crate mc-sgx-dcap-quoteverify 0.9.0... [INFO] checking mc-sgx-dcap-quoteverify-0.9.0 against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393 [INFO] extracting crate mc-sgx-dcap-quoteverify 0.9.0 into /workspace/builds/worker-4-tc1/source [INFO] validating manifest of crates.io crate mc-sgx-dcap-quoteverify 0.9.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 mc-sgx-dcap-quoteverify 0.9.0 [INFO] finished tweaking crates.io crate mc-sgx-dcap-quoteverify 0.9.0 [INFO] tweaked toml for crates.io crate mc-sgx-dcap-quoteverify 0.9.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 yare-macro v1.0.1 [INFO] [stderr] Downloaded mc-sgx-dcap-quoteverify-sys-types v0.9.0 [INFO] [stderr] Downloaded serde_with_macros v3.6.0 [INFO] [stderr] Downloaded mc-sgx-core-types v0.9.0 [INFO] [stderr] Downloaded mc-sgx-util v0.9.0 [INFO] [stderr] Downloaded mc-sgx-core-sys-types v0.9.0 [INFO] [stderr] Downloaded mc-sgx-dcap-sys-types v0.9.0 [INFO] [stderr] Downloaded flagset v0.4.4 [INFO] [stderr] Downloaded cargo-emit v0.2.1 [INFO] [stderr] Downloaded mc-sgx-dcap-quoteverify-types v0.9.0 [INFO] [stderr] Downloaded der_derive v0.7.2 [INFO] [stderr] Downloaded yare v1.0.2 [INFO] [stderr] Downloaded serde_with v3.6.0 [INFO] [stderr] Downloaded x509-cert v0.2.5 [INFO] [stderr] Downloaded mc-sgx-core-build v0.9.0 [INFO] [stderr] Downloaded mc-sgx-dcap-types v0.9.0 [INFO] [stderr] Downloaded mc-sgx-dcap-quoteverify-sys v0.9.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] 81dd8c673565b67212e3f808c44afa5050369f236659bdb02aeb958b2b45e53f [INFO] running `Command { std: "docker" "start" "-a" "81dd8c673565b67212e3f808c44afa5050369f236659bdb02aeb958b2b45e53f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "81dd8c673565b67212e3f808c44afa5050369f236659bdb02aeb958b2b45e53f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "81dd8c673565b67212e3f808c44afa5050369f236659bdb02aeb958b2b45e53f", kill_on_drop: false }` [INFO] [stdout] 81dd8c673565b67212e3f808c44afa5050369f236659bdb02aeb958b2b45e53f [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] f7dc15b2e364a50cd2c2c356f49398b798e22f42b3bf281ed946a5cd5452f7e6 [INFO] running `Command { std: "docker" "start" "-a" "f7dc15b2e364a50cd2c2c356f49398b798e22f42b3bf281ed946a5cd5452f7e6", kill_on_drop: false }` [INFO] [stderr] Compiling rustix v0.38.30 [INFO] [stderr] Compiling prettyplease v0.2.16 [INFO] [stderr] Compiling libc v0.2.152 [INFO] [stderr] Compiling linux-raw-sys v0.4.13 [INFO] [stderr] Compiling bitflags v2.4.2 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling bindgen v0.66.1 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Checking zeroize v1.7.0 [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling clang-sys v1.7.0 [INFO] [stderr] Compiling regex-automata v0.4.5 [INFO] [stderr] Compiling libloading v0.8.1 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking subtle v2.5.0 [INFO] [stderr] Compiling cargo-emit v0.2.1 [INFO] [stderr] Checking const-oid v0.9.6 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling serde v1.0.196 [INFO] [stderr] Checking base64ct v1.6.0 [INFO] [stderr] Checking flagset v0.4.4 [INFO] [stderr] Checking base16ct v0.2.0 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Checking ff v0.13.0 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking group v0.13.0 [INFO] [stderr] Checking pem-rfc7468 v0.7.0 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking mc-sgx-util v0.9.0 [INFO] [stderr] Checking smallvec v1.13.1 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Checking fastrand v2.0.1 [INFO] [stderr] Checking dashmap v5.5.3 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Compiling regex v1.10.3 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-bigint v0.5.5 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking rfc6979 v0.4.0 [INFO] [stderr] Checking tempfile v3.9.0 [INFO] [stderr] Compiling darling_core v0.20.5 [INFO] [stderr] Compiling yare-macro v1.0.1 [INFO] [stderr] Checking yare v1.0.2 [INFO] [stderr] Compiling der_derive v0.7.2 [INFO] [stderr] Compiling serde_derive v1.0.196 [INFO] [stderr] Compiling displaydoc v0.2.4 [INFO] [stderr] Compiling serial_test_derive v2.0.0 [INFO] [stderr] Checking serial_test v2.0.0 [INFO] [stderr] Compiling darling_macro v0.20.5 [INFO] [stderr] Checking der v0.7.8 [INFO] [stderr] Compiling darling v0.20.5 [INFO] [stderr] Compiling serde_with_macros v3.6.0 [INFO] [stderr] Checking sec1 v0.7.3 [INFO] [stderr] Checking spki v0.7.3 [INFO] [stderr] Checking x509-cert v0.2.5 [INFO] [stderr] Checking elliptic-curve v0.13.8 [INFO] [stderr] Checking primeorder v0.13.6 [INFO] [stderr] Checking ecdsa v0.16.9 [INFO] [stderr] Checking p256 v0.13.2 [INFO] [stderr] Compiling mc-sgx-core-build v0.9.0 [INFO] [stderr] Compiling mc-sgx-core-sys-types v0.9.0 [INFO] [stderr] Compiling mc-sgx-dcap-sys-types v0.9.0 [INFO] [stderr] Compiling mc-sgx-dcap-quoteverify-sys-types v0.9.0 [INFO] [stderr] Compiling mc-sgx-dcap-quoteverify-sys v0.9.0 [INFO] [stderr] Checking serde_with v3.6.0 [INFO] [stderr] Checking mc-sgx-core-types v0.9.0 [INFO] [stderr] Checking mc-sgx-dcap-types v0.9.0 [INFO] [stderr] Checking mc-sgx-dcap-quoteverify-types v0.9.0 [INFO] [stderr] Checking mc-sgx-dcap-quoteverify v0.9.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 9.57s [INFO] running `Command { std: "docker" "inspect" "f7dc15b2e364a50cd2c2c356f49398b798e22f42b3bf281ed946a5cd5452f7e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f7dc15b2e364a50cd2c2c356f49398b798e22f42b3bf281ed946a5cd5452f7e6", kill_on_drop: false }` [INFO] [stdout] f7dc15b2e364a50cd2c2c356f49398b798e22f42b3bf281ed946a5cd5452f7e6 [INFO] checking mc-sgx-dcap-quoteverify-0.9.0 against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393 [INFO] extracting crate mc-sgx-dcap-quoteverify 0.9.0 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate mc-sgx-dcap-quoteverify 0.9.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 mc-sgx-dcap-quoteverify 0.9.0 [INFO] finished tweaking crates.io crate mc-sgx-dcap-quoteverify 0.9.0 [INFO] tweaked toml for crates.io crate mc-sgx-dcap-quoteverify 0.9.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] 63d42d1c9da0fef0d27072e9e1547461558317ceff28dda76abd51769cec9d61 [INFO] running `Command { std: "docker" "start" "-a" "63d42d1c9da0fef0d27072e9e1547461558317ceff28dda76abd51769cec9d61", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "63d42d1c9da0fef0d27072e9e1547461558317ceff28dda76abd51769cec9d61", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "63d42d1c9da0fef0d27072e9e1547461558317ceff28dda76abd51769cec9d61", kill_on_drop: false }` [INFO] [stdout] 63d42d1c9da0fef0d27072e9e1547461558317ceff28dda76abd51769cec9d61 [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] 428cbe433568b565b1f9559ea93b5f176e532ebd7db496232dcf17773aadb9c7 [INFO] running `Command { std: "docker" "start" "-a" "428cbe433568b565b1f9559ea93b5f176e532ebd7db496232dcf17773aadb9c7", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.152 [INFO] [stderr] Compiling rustix v0.38.30 [INFO] [stderr] Compiling prettyplease v0.2.16 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling linux-raw-sys v0.4.13 [INFO] [stderr] Compiling bitflags v2.4.2 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling bindgen v0.66.1 [INFO] [stderr] Checking zeroize v1.7.0 [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling clang-sys v1.7.0 [INFO] [stderr] Compiling libloading v0.8.1 [INFO] [stderr] Compiling regex-automata v0.4.5 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling cargo-emit v0.2.1 [INFO] [stderr] Checking subtle v2.5.0 [INFO] [stderr] Checking const-oid v0.9.6 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling serde v1.0.196 [INFO] [stderr] Checking base64ct v1.6.0 [INFO] [stderr] Checking flagset v0.4.4 [INFO] [stderr] Checking base16ct v0.2.0 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Checking ff v0.13.0 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Checking group v0.13.0 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking pem-rfc7468 v0.7.0 [INFO] [stderr] Checking smallvec v1.13.1 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking mc-sgx-util v0.9.0 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Checking fastrand v2.0.1 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking dashmap v5.5.3 [INFO] [stderr] Compiling regex v1.10.3 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-bigint v0.5.5 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking rfc6979 v0.4.0 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Checking tempfile v3.9.0 [INFO] [stderr] Compiling darling_core v0.20.5 [INFO] [stderr] Compiling yare-macro v1.0.1 [INFO] [stderr] Checking yare v1.0.2 [INFO] [stderr] Compiling der_derive v0.7.2 [INFO] [stderr] Compiling serde_derive v1.0.196 [INFO] [stderr] Compiling displaydoc v0.2.4 [INFO] [stderr] Compiling serial_test_derive v2.0.0 [INFO] [stderr] Checking serial_test v2.0.0 [INFO] [stderr] Compiling darling_macro v0.20.5 [INFO] [stderr] Checking der v0.7.8 [INFO] [stderr] Compiling darling v0.20.5 [INFO] [stderr] Compiling serde_with_macros v3.6.0 [INFO] [stderr] Checking sec1 v0.7.3 [INFO] [stderr] Checking spki v0.7.3 [INFO] [stderr] Checking x509-cert v0.2.5 [INFO] [stderr] Checking elliptic-curve v0.13.8 [INFO] [stderr] Checking primeorder v0.13.6 [INFO] [stderr] Checking ecdsa v0.16.9 [INFO] [stderr] Checking p256 v0.13.2 [INFO] [stderr] Compiling mc-sgx-core-build v0.9.0 [INFO] [stderr] Compiling mc-sgx-core-sys-types v0.9.0 [INFO] [stderr] Compiling mc-sgx-dcap-sys-types v0.9.0 [INFO] [stderr] Compiling mc-sgx-dcap-quoteverify-sys-types v0.9.0 [INFO] [stderr] Compiling mc-sgx-dcap-quoteverify-sys v0.9.0 [INFO] [stderr] Checking serde_with v3.6.0 [INFO] [stderr] Checking mc-sgx-core-types v0.9.0 [INFO] [stderr] Checking mc-sgx-dcap-quoteverify-types v0.9.0 [INFO] [stderr] Checking mc-sgx-dcap-types v0.9.0 [INFO] [stderr] Checking mc-sgx-dcap-quoteverify v0.9.0 (/opt/rustwide/workdir) [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/lib.rs:16:24 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Clone, Debug, displaydoc::Display, Eq, PartialEq)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_DERIVE_Display_FOR_Error` [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 `displaydoc::Display` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mc-sgx-dcap-quoteverify` (lib) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/lib.rs:16:24 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Clone, Debug, displaydoc::Display, Eq, PartialEq)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_DERIVE_Display_FOR_Error` [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 `displaydoc::Display` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mc-sgx-dcap-quoteverify` (lib test) due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "428cbe433568b565b1f9559ea93b5f176e532ebd7db496232dcf17773aadb9c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "428cbe433568b565b1f9559ea93b5f176e532ebd7db496232dcf17773aadb9c7", kill_on_drop: false }` [INFO] [stdout] 428cbe433568b565b1f9559ea93b5f176e532ebd7db496232dcf17773aadb9c7