[INFO] fetching crate dcap-ql 0.3.7... [INFO] checking dcap-ql-0.3.7 against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393 [INFO] extracting crate dcap-ql 0.3.7 into /workspace/builds/worker-5-tc1/source [INFO] validating manifest of crates.io crate dcap-ql 0.3.7 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 dcap-ql 0.3.7 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate dcap-ql 0.3.7 [INFO] tweaked toml for crates.io crate dcap-ql 0.3.7 written to /workspace/builds/worker-5-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 bit-vec v0.5.1 [INFO] [stderr] Downloaded sgxs-loaders v0.3.3 [INFO] [stderr] Downloaded rs-libc v0.2.4 [INFO] [stderr] Downloaded yasna v0.2.2 [INFO] [stderr] Downloaded ipc-queue v0.2.0 [INFO] [stderr] Downloaded sgx-isa v0.4.0 [INFO] [stderr] Downloaded enclave-runner v0.5.1 [INFO] [stderr] Downloaded fortanix-sgx-abi v0.4.1 [INFO] [stderr] Downloaded mbedtls-platform-support v0.1.1 [INFO] [stderr] Downloaded sgxs v0.7.4 [INFO] [stderr] Downloaded yasna v0.3.2 [INFO] [stderr] Downloaded nix v0.13.1 [INFO] [stderr] Downloaded mbedtls v0.9.3 [INFO] [stderr] Downloaded nix v0.15.0 [INFO] [stderr] Downloaded mbedtls-sys-auto v2.28.7 [INFO] [stderr] Downloaded report-test v0.3.3 [INFO] [stderr] Downloaded dcap-ql-sys v0.2.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 457c3c9b7997b56affe83ac1f4d2cf936e8bbfc000015c46b719709545afaf43 [INFO] running `Command { std: "docker" "start" "-a" "457c3c9b7997b56affe83ac1f4d2cf936e8bbfc000015c46b719709545afaf43", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "457c3c9b7997b56affe83ac1f4d2cf936e8bbfc000015c46b719709545afaf43", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "457c3c9b7997b56affe83ac1f4d2cf936e8bbfc000015c46b719709545afaf43", kill_on_drop: false }` [INFO] [stdout] 457c3c9b7997b56affe83ac1f4d2cf936e8bbfc000015c46b719709545afaf43 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 41f9fe9e56fdab9e07248d9631d1db740e233006b75db7cd6bc6f84676b4e893 [INFO] running `Command { std: "docker" "start" "-a" "41f9fe9e56fdab9e07248d9631d1db740e233006b75db7cd6bc6f84676b4e893", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.152 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling bindgen v0.65.1 [INFO] [stderr] Checking gimli v0.28.1 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Checking object v0.32.2 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Checking rustc-demangle v0.1.23 [INFO] [stderr] Checking sgx-isa v0.4.0 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Checking futures v0.1.31 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking net2 v0.2.39 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Compiling nix v0.13.1 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling nix v0.15.0 [INFO] [stderr] Compiling tokio-macros v0.2.6 [INFO] [stderr] Checking crossbeam-channel v0.4.4 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking crossbeam-deque v0.7.4 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking fortanix-sgx-abi v0.4.1 [INFO] [stderr] Checking pin-project-lite v0.1.12 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Compiling dcap-ql-sys v0.2.1 [INFO] [stderr] Compiling enclave-runner v0.5.1 [INFO] [stderr] Checking ipc-queue v0.2.0 [INFO] [stderr] Checking crossbeam v0.7.3 [INFO] [stderr] Checking bit-vec v0.5.1 [INFO] [stderr] Checking tokio-io v0.1.13 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling clang-sys v1.7.0 [INFO] [stderr] Checking tokio v0.2.25 [INFO] [stderr] Checking yasna v0.2.2 [INFO] [stderr] Compiling cmake v0.1.50 [INFO] [stderr] Compiling openssl-sys v0.9.99 [INFO] [stderr] Compiling backtrace v0.3.69 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling mbedtls-platform-support v0.1.1 [INFO] [stderr] Compiling mbedtls v0.9.3 [INFO] [stderr] Checking addr2line v0.21.0 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling openssl v0.10.63 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Compiling prettyplease v0.2.16 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling serde_derive v1.0.196 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking serde v1.0.196 [INFO] [stderr] Checking sgxs v0.7.4 [INFO] [stderr] Checking sgxs-loaders v0.3.3 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking dcap-ql v0.3.7 (/opt/rustwide/workdir) [INFO] [stderr] Compiling mbedtls-sys-auto v2.28.7 [INFO] [stderr] Checking report-test v0.3.3 [INFO] [stderr] Checking serde_json v1.0.113 [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 13.16s [INFO] running `Command { std: "docker" "inspect" "41f9fe9e56fdab9e07248d9631d1db740e233006b75db7cd6bc6f84676b4e893", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "41f9fe9e56fdab9e07248d9631d1db740e233006b75db7cd6bc6f84676b4e893", kill_on_drop: false }` [INFO] [stdout] 41f9fe9e56fdab9e07248d9631d1db740e233006b75db7cd6bc6f84676b4e893 [INFO] checking dcap-ql-0.3.7 against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393 [INFO] extracting crate dcap-ql 0.3.7 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate dcap-ql 0.3.7 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 dcap-ql 0.3.7 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate dcap-ql 0.3.7 [INFO] tweaked toml for crates.io crate dcap-ql 0.3.7 written to /workspace/builds/worker-5-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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 77a716808e832f2e742f41397bcc6d29b0f449401ac4b2edc5edec18c575e099 [INFO] running `Command { std: "docker" "start" "-a" "77a716808e832f2e742f41397bcc6d29b0f449401ac4b2edc5edec18c575e099", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "77a716808e832f2e742f41397bcc6d29b0f449401ac4b2edc5edec18c575e099", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "77a716808e832f2e742f41397bcc6d29b0f449401ac4b2edc5edec18c575e099", kill_on_drop: false }` [INFO] [stdout] 77a716808e832f2e742f41397bcc6d29b0f449401ac4b2edc5edec18c575e099 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 2bba8d8af344e67b66f5d094a44bc8168a63f90ba8e531ff3ea674738404488c [INFO] running `Command { std: "docker" "start" "-a" "2bba8d8af344e67b66f5d094a44bc8168a63f90ba8e531ff3ea674738404488c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.152 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling bindgen v0.65.1 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Checking gimli v0.28.1 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Checking object v0.32.2 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Checking rustc-demangle v0.1.23 [INFO] [stderr] Checking sgx-isa v0.4.0 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking futures v0.1.31 [INFO] [stderr] Checking net2 v0.2.39 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Compiling nix v0.15.0 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Compiling nix v0.13.1 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Checking crossbeam-channel v0.4.4 [INFO] [stderr] Compiling tokio-macros v0.2.6 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking crossbeam-deque v0.7.4 [INFO] [stderr] Compiling dcap-ql-sys v0.2.1 [INFO] [stderr] Compiling enclave-runner v0.5.1 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking fortanix-sgx-abi v0.4.1 [INFO] [stderr] Checking pin-project-lite v0.1.12 [INFO] [stderr] Checking ipc-queue v0.2.0 [INFO] [stderr] Checking crossbeam v0.7.3 [INFO] [stderr] Checking bit-vec v0.5.1 [INFO] [stderr] Checking tokio-io v0.1.13 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling clang-sys v1.7.0 [INFO] [stderr] Checking tokio v0.2.25 [INFO] [stderr] Compiling cmake v0.1.50 [INFO] [stderr] Checking yasna v0.2.2 [INFO] [stderr] Checking addr2line v0.21.0 [INFO] [stderr] Compiling openssl-sys v0.9.99 [INFO] [stderr] Compiling backtrace v0.3.69 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling mbedtls-platform-support v0.1.1 [INFO] [stderr] Compiling mbedtls v0.9.3 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling openssl v0.10.63 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Compiling prettyplease v0.2.16 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling serde_derive v1.0.196 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking serde v1.0.196 [INFO] [stderr] Checking sgxs v0.7.4 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking sgxs-loaders v0.3.3 [INFO] [stderr] Checking dcap-ql v0.3.7 (/opt/rustwide/workdir) [INFO] [stderr] Compiling mbedtls-sys-auto v2.28.7 [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/quote.rs:46:51 [INFO] [stdout] | [INFO] [stdout] 46 | #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash, FromPrimitive, ToPrimitive)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_Quote3AttestationKeyType` [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 `FromPrimitive` (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/quote.rs:46:66 [INFO] [stdout] | [INFO] [stdout] 46 | #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash, FromPrimitive, ToPrimitive)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_NUM_ToPrimitive_FOR_Quote3AttestationKeyType` [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 `ToPrimitive` (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/quote.rs:70:51 [INFO] [stdout] | [INFO] [stdout] 70 | #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash, FromPrimitive, ToPrimitive)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_CertificationDataType` [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 `FromPrimitive` (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/quote.rs:70:66 [INFO] [stdout] | [INFO] [stdout] 70 | #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash, FromPrimitive, ToPrimitive)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_NUM_ToPrimitive_FOR_CertificationDataType` [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 `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `dcap-ql` (lib) due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "2bba8d8af344e67b66f5d094a44bc8168a63f90ba8e531ff3ea674738404488c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2bba8d8af344e67b66f5d094a44bc8168a63f90ba8e531ff3ea674738404488c", kill_on_drop: false }` [INFO] [stdout] 2bba8d8af344e67b66f5d094a44bc8168a63f90ba8e531ff3ea674738404488c