[INFO] fetching crate dcap-ql 0.3.7... [INFO] checking dcap-ql-0.3.7 against master#6a9758d4f38d4763bd437c48fa7e5246cecf8d04 for pr-124355 [INFO] extracting crate dcap-ql 0.3.7 into /workspace/builds/worker-4-tc1/source [INFO] validating manifest of crates.io crate dcap-ql 0.3.7 on toolchain 6a9758d4f38d4763bd437c48fa7e5246cecf8d04 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6a9758d4f38d4763bd437c48fa7e5246cecf8d04" "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-4-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6a9758d4f38d4763bd437c48fa7e5246cecf8d04" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 171 packages to latest compatible versions [INFO] [stderr] Adding addr2line v0.21.0 (latest: v0.22.0) [INFO] [stderr] Adding bindgen v0.65.1 (latest: v0.69.4) [INFO] [stderr] Adding bit-vec v0.5.1 (latest: v0.6.3) [INFO] [stderr] Adding bitflags v1.3.2 (latest: v2.5.0) [INFO] [stderr] Adding bytes v0.4.12 (latest: v1.6.0) [INFO] [stderr] Adding bytes v0.5.6 (latest: v1.6.0) [INFO] [stderr] Adding cfg-if v0.1.10 (latest: v1.0.0) [INFO] [stderr] Adding crossbeam v0.7.3 (latest: v0.8.4) [INFO] [stderr] Adding crossbeam-channel v0.4.4 (latest: v0.5.12) [INFO] [stderr] Adding crossbeam-deque v0.7.4 (latest: v0.8.5) [INFO] [stderr] Adding crossbeam-epoch v0.8.2 (latest: v0.9.18) [INFO] [stderr] Adding crossbeam-queue v0.2.3 (latest: v0.3.11) [INFO] [stderr] Adding crossbeam-utils v0.7.2 (latest: v0.8.19) [INFO] [stderr] Adding enclave-runner v0.5.1 (latest: v0.6.0) [INFO] [stderr] Adding foreign-types v0.3.2 (latest: v0.5.0) [INFO] [stderr] Adding foreign-types-shared v0.1.1 (latest: v0.3.1) [INFO] [stderr] Adding fortanix-sgx-abi v0.4.1 (latest: v0.5.0) [INFO] [stderr] Adding futures v0.1.31 (latest: v0.3.30) [INFO] [stderr] Adding gimli v0.28.1 (latest: v0.29.0) [INFO] [stderr] Adding ipc-queue v0.2.0 (latest: v0.3.0) [INFO] [stderr] Adding libloading v0.5.2 (latest: v0.8.3) [INFO] [stderr] Adding linux-raw-sys v0.4.13 (latest: v0.6.4) [INFO] [stderr] Adding mbedtls v0.9.3 (latest: v0.12.3) [INFO] [stderr] Adding memoffset v0.5.6 (latest: v0.9.1) [INFO] [stderr] Adding mio v0.6.23 (latest: v0.8.11) [INFO] [stderr] Adding miow v0.2.2 (latest: v0.6.0) [INFO] [stderr] Adding miow v0.3.7 (latest: v0.6.0) [INFO] [stderr] Adding nix v0.13.1 (latest: v0.28.0) [INFO] [stderr] Adding nix v0.15.0 (latest: v0.28.0) [INFO] [stderr] Adding num v0.2.1 (latest: v0.4.2) [INFO] [stderr] Adding num-bigint v0.2.6 (latest: v0.4.4) [INFO] [stderr] Adding num-complex v0.2.4 (latest: v0.4.5) [INFO] [stderr] Adding num-derive v0.2.5 (latest: v0.4.2) [INFO] [stderr] Adding num-rational v0.2.4 (latest: v0.4.1) [INFO] [stderr] Adding object v0.32.2 (latest: v0.35.0) [INFO] [stderr] Adding peeking_take_while v0.1.2 (latest: v1.0.0) [INFO] [stderr] Adding pin-project-lite v0.1.12 (latest: v0.2.14) [INFO] [stderr] Adding proc-macro2 v0.4.30 (latest: v1.0.81) [INFO] [stderr] Adding quote v0.6.13 (latest: v1.0.36) [INFO] [stderr] Adding report-test v0.3.3 (latest: v0.4.0) [INFO] [stderr] Adding sgxs v0.7.4 (latest: v0.8.0) [INFO] [stderr] Adding sgxs-loaders v0.3.3 (latest: v0.4.0) [INFO] [stderr] Adding syn v0.15.44 (latest: v2.0.60) [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.60) [INFO] [stderr] Adding synstructure v0.12.6 (latest: v0.13.1) [INFO] [stderr] Adding time v0.1.45 (latest: v0.3.36) [INFO] [stderr] Adding tokio v0.2.25 (latest: v1.37.0) [INFO] [stderr] Adding tokio-macros v0.2.6 (latest: v2.2.0) [INFO] [stderr] Adding unicode-xid v0.1.0 (latest: v0.2.4) [INFO] [stderr] Adding wasi v0.10.0+wasi-snapshot-preview1 (latest: v0.13.0+wasi-0.2.0) [INFO] [stderr] Adding which v4.4.2 (latest: v6.0.1) [INFO] [stderr] Adding winapi v0.2.8 (latest: v0.3.9) [INFO] [stderr] Adding windows-core v0.52.0 (latest: v0.56.0) [INFO] [stderr] Adding yasna v0.2.2 (latest: v0.5.2) [INFO] [stderr] Adding yasna v0.3.2 (latest: v0.5.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6a9758d4f38d4763bd437c48fa7e5246cecf8d04" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded yasna v0.3.2 [INFO] [stderr] Downloaded report-test v0.3.3 [INFO] [stderr] Downloaded sgxs-loaders v0.3.3 [INFO] [stderr] Downloaded fortanix-sgx-abi v0.4.1 [INFO] [stderr] Downloaded enclave-runner v0.5.1 [INFO] [stderr] Downloaded ipc-queue v0.2.0 [INFO] [stderr] Downloaded sgx-isa v0.4.1 [INFO] [stderr] Downloaded sgxs v0.7.4 [INFO] [stderr] Downloaded dcap-ql-sys v0.2.1 [INFO] [stderr] Downloaded mbedtls-platform-support v0.1.1 [INFO] [stderr] Downloaded bit-vec v0.5.1 [INFO] [stderr] Downloaded rs-libc v0.2.4 [INFO] [stderr] Downloaded yasna v0.2.2 [INFO] [stderr] Downloaded mbedtls v0.9.3 [INFO] [stderr] Downloaded mbedtls-sys-auto v2.28.7 [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:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+6a9758d4f38d4763bd437c48fa7e5246cecf8d04" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 928691eb9d3b0073352c33dd7506f6157423ab2dab334a19f2a7b758ef74c99a [INFO] running `Command { std: "docker" "start" "-a" "928691eb9d3b0073352c33dd7506f6157423ab2dab334a19f2a7b758ef74c99a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "928691eb9d3b0073352c33dd7506f6157423ab2dab334a19f2a7b758ef74c99a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "928691eb9d3b0073352c33dd7506f6157423ab2dab334a19f2a7b758ef74c99a", kill_on_drop: false }` [INFO] [stdout] 928691eb9d3b0073352c33dd7506f6157423ab2dab334a19f2a7b758ef74c99a [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:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+6a9758d4f38d4763bd437c48fa7e5246cecf8d04" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eb6ef6e1b583bbeea6451f946226dbca433d5e4003dbc8028c268273ddd8256c [INFO] running `Command { std: "docker" "start" "-a" "eb6ef6e1b583bbeea6451f946226dbca433d5e4003dbc8028c268273ddd8256c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.154 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling prettyplease v0.2.19 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.13 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling libloading v0.8.3 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling bindgen v0.65.1 [INFO] [stderr] Compiling either v1.11.0 [INFO] [stderr] Compiling syn v2.0.60 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Checking object v0.32.2 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling cmake v0.1.50 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Checking sgx-isa v0.4.1 [INFO] [stderr] Compiling clang-sys v1.7.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Checking futures v0.1.31 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling mbedtls-platform-support v0.1.1 [INFO] [stderr] Compiling nix v0.15.0 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Compiling nix v0.13.1 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling serde v1.0.199 [INFO] [stderr] Checking crossbeam-deque v0.7.4 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Checking crossbeam-channel v0.4.4 [INFO] [stderr] Checking fortanix-sgx-abi v0.4.1 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Compiling dcap-ql-sys v0.2.1 [INFO] [stderr] Checking pin-project-lite v0.1.12 [INFO] [stderr] Compiling enclave-runner v0.5.1 [INFO] [stderr] Checking ipc-queue v0.2.0 [INFO] [stderr] Compiling mbedtls v0.9.3 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking bit-vec v0.5.1 [INFO] [stderr] Checking crossbeam v0.7.3 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.39 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Checking tokio-io v0.1.13 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking yasna v0.2.2 [INFO] [stderr] Checking backtrace v0.3.71 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling tokio-macros v0.2.6 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling serde_derive v1.0.199 [INFO] [stderr] Checking tokio v0.2.25 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking sgxs v0.7.4 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking sgxs-loaders v0.3.3 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking dcap-ql v0.3.7 (/opt/rustwide/workdir) [INFO] [stdout] warning: 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 may impact type checking outside of that item. This can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 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 may impact type checking outside of that item. This can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 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 may impact type checking outside of that item. This can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 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 may impact type checking outside of that item. This can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling mbedtls-sys-auto v2.28.7 [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking report-test v0.3.3 [INFO] [stderr] Checking serde_json v1.0.116 [INFO] [stdout] warning: 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 may impact type checking outside of that item. This can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 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 may impact type checking outside of that item. This can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 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 may impact type checking outside of that item. This can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 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 may impact type checking outside of that item. This can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.25s [INFO] running `Command { std: "docker" "inspect" "eb6ef6e1b583bbeea6451f946226dbca433d5e4003dbc8028c268273ddd8256c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eb6ef6e1b583bbeea6451f946226dbca433d5e4003dbc8028c268273ddd8256c", kill_on_drop: false }` [INFO] [stdout] eb6ef6e1b583bbeea6451f946226dbca433d5e4003dbc8028c268273ddd8256c [INFO] checking dcap-ql-0.3.7 against try#99e7531f0d1cf95a50aff9cccb24863963e6bbe2 for pr-124355 [INFO] extracting crate dcap-ql 0.3.7 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate dcap-ql 0.3.7 on toolchain 99e7531f0d1cf95a50aff9cccb24863963e6bbe2 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+99e7531f0d1cf95a50aff9cccb24863963e6bbe2" "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-4-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+99e7531f0d1cf95a50aff9cccb24863963e6bbe2" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 171 packages to latest compatible versions [INFO] [stderr] Adding addr2line v0.21.0 (latest: v0.22.0) [INFO] [stderr] Adding bindgen v0.65.1 (latest: v0.69.4) [INFO] [stderr] Adding bit-vec v0.5.1 (latest: v0.6.3) [INFO] [stderr] Adding bitflags v1.3.2 (latest: v2.5.0) [INFO] [stderr] Adding bytes v0.4.12 (latest: v1.6.0) [INFO] [stderr] Adding bytes v0.5.6 (latest: v1.6.0) [INFO] [stderr] Adding cfg-if v0.1.10 (latest: v1.0.0) [INFO] [stderr] Adding crossbeam v0.7.3 (latest: v0.8.4) [INFO] [stderr] Adding crossbeam-channel v0.4.4 (latest: v0.5.12) [INFO] [stderr] Adding crossbeam-deque v0.7.4 (latest: v0.8.5) [INFO] [stderr] Adding crossbeam-epoch v0.8.2 (latest: v0.9.18) [INFO] [stderr] Adding crossbeam-queue v0.2.3 (latest: v0.3.11) [INFO] [stderr] Adding crossbeam-utils v0.7.2 (latest: v0.8.19) [INFO] [stderr] Adding enclave-runner v0.5.1 (latest: v0.6.0) [INFO] [stderr] Adding foreign-types v0.3.2 (latest: v0.5.0) [INFO] [stderr] Adding foreign-types-shared v0.1.1 (latest: v0.3.1) [INFO] [stderr] Adding fortanix-sgx-abi v0.4.1 (latest: v0.5.0) [INFO] [stderr] Adding futures v0.1.31 (latest: v0.3.30) [INFO] [stderr] Adding gimli v0.28.1 (latest: v0.29.0) [INFO] [stderr] Adding ipc-queue v0.2.0 (latest: v0.3.0) [INFO] [stderr] Adding libloading v0.5.2 (latest: v0.8.3) [INFO] [stderr] Adding linux-raw-sys v0.4.13 (latest: v0.6.4) [INFO] [stderr] Adding mbedtls v0.9.3 (latest: v0.12.3) [INFO] [stderr] Adding memoffset v0.5.6 (latest: v0.9.1) [INFO] [stderr] Adding mio v0.6.23 (latest: v0.8.11) [INFO] [stderr] Adding miow v0.2.2 (latest: v0.6.0) [INFO] [stderr] Adding miow v0.3.7 (latest: v0.6.0) [INFO] [stderr] Adding nix v0.13.1 (latest: v0.28.0) [INFO] [stderr] Adding nix v0.15.0 (latest: v0.28.0) [INFO] [stderr] Adding num v0.2.1 (latest: v0.4.2) [INFO] [stderr] Adding num-bigint v0.2.6 (latest: v0.4.4) [INFO] [stderr] Adding num-complex v0.2.4 (latest: v0.4.5) [INFO] [stderr] Adding num-derive v0.2.5 (latest: v0.4.2) [INFO] [stderr] Adding num-rational v0.2.4 (latest: v0.4.1) [INFO] [stderr] Adding object v0.32.2 (latest: v0.35.0) [INFO] [stderr] Adding peeking_take_while v0.1.2 (latest: v1.0.0) [INFO] [stderr] Adding pin-project-lite v0.1.12 (latest: v0.2.14) [INFO] [stderr] Adding proc-macro2 v0.4.30 (latest: v1.0.81) [INFO] [stderr] Adding quote v0.6.13 (latest: v1.0.36) [INFO] [stderr] Adding report-test v0.3.3 (latest: v0.4.0) [INFO] [stderr] Adding sgxs v0.7.4 (latest: v0.8.0) [INFO] [stderr] Adding sgxs-loaders v0.3.3 (latest: v0.4.0) [INFO] [stderr] Adding syn v0.15.44 (latest: v2.0.60) [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.60) [INFO] [stderr] Adding synstructure v0.12.6 (latest: v0.13.1) [INFO] [stderr] Adding time v0.1.45 (latest: v0.3.36) [INFO] [stderr] Adding tokio v0.2.25 (latest: v1.37.0) [INFO] [stderr] Adding tokio-macros v0.2.6 (latest: v2.2.0) [INFO] [stderr] Adding unicode-xid v0.1.0 (latest: v0.2.4) [INFO] [stderr] Adding wasi v0.10.0+wasi-snapshot-preview1 (latest: v0.13.0+wasi-0.2.0) [INFO] [stderr] Adding which v4.4.2 (latest: v6.0.1) [INFO] [stderr] Adding winapi v0.2.8 (latest: v0.3.9) [INFO] [stderr] Adding windows-core v0.52.0 (latest: v0.56.0) [INFO] [stderr] Adding yasna v0.2.2 (latest: v0.5.2) [INFO] [stderr] Adding yasna v0.3.2 (latest: v0.5.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+99e7531f0d1cf95a50aff9cccb24863963e6bbe2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+99e7531f0d1cf95a50aff9cccb24863963e6bbe2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0143bbe63094fc0592265bf446340e3aa2271948dec71ac6ebb2907b3b41e93b [INFO] running `Command { std: "docker" "start" "-a" "0143bbe63094fc0592265bf446340e3aa2271948dec71ac6ebb2907b3b41e93b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0143bbe63094fc0592265bf446340e3aa2271948dec71ac6ebb2907b3b41e93b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0143bbe63094fc0592265bf446340e3aa2271948dec71ac6ebb2907b3b41e93b", kill_on_drop: false }` [INFO] [stdout] 0143bbe63094fc0592265bf446340e3aa2271948dec71ac6ebb2907b3b41e93b [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" "-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:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+99e7531f0d1cf95a50aff9cccb24863963e6bbe2" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8cd1b71877ec428f4d8e10e6b855cbe62ee75aff045bde13ab7e587c317ad5a6 [INFO] running `Command { std: "docker" "start" "-a" "8cd1b71877ec428f4d8e10e6b855cbe62ee75aff045bde13ab7e587c317ad5a6", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.154 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling prettyplease v0.2.19 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling linux-raw-sys v0.4.13 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling libloading v0.8.3 [INFO] [stderr] Compiling either v1.11.0 [INFO] [stderr] Compiling syn v2.0.60 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling bindgen v0.65.1 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Checking object v0.32.2 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling cmake v0.1.50 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling clang-sys v1.7.0 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Checking sgx-isa v0.4.1 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking futures v0.1.31 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling mbedtls-platform-support v0.1.1 [INFO] [stderr] Compiling nix v0.15.0 [INFO] [stderr] Compiling serde v1.0.199 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling nix v0.13.1 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Checking crossbeam-deque v0.7.4 [INFO] [stderr] Checking crossbeam-channel v0.4.4 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking net2 v0.2.39 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Checking pin-project-lite v0.1.12 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Compiling dcap-ql-sys v0.2.1 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling enclave-runner v0.5.1 [INFO] [stderr] Checking fortanix-sgx-abi v0.4.1 [INFO] [stderr] Checking tokio-io v0.1.13 [INFO] [stderr] Checking ipc-queue v0.2.0 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Checking crossbeam v0.7.3 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Compiling mbedtls v0.9.3 [INFO] [stderr] Checking bit-vec v0.5.1 [INFO] [stderr] Checking yasna v0.2.2 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Checking backtrace v0.3.71 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling serde_derive v1.0.199 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling tokio-macros v0.2.6 [INFO] [stderr] Checking tokio v0.2.25 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking failure v0.1.8 [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] [stdout] warning: 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 may impact type checking outside of that item. This can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 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 may impact type checking outside of that item. This can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 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 may impact type checking outside of that item. This can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 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 may impact type checking outside of that item. This can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling mbedtls-sys-auto v2.28.7 [INFO] [stderr] Checking report-test v0.3.3 [INFO] [stderr] Checking serde_json v1.0.116 [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `chrono` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/mbedtls-platform-support-0.1.1/src/lib.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | use chrono::prelude::*; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `chrono` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `chrono` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/mbedtls-platform-support-0.1.1/src/lib.rs:103:21 [INFO] [stdout] | [INFO] [stdout] 103 | let timestamp = chrono::Utc::now().timestamp() as mbedtls_sys::types::time_t; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `chrono` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Utc` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/mbedtls-platform-support-0.1.1/src/lib.rs:79:26 [INFO] [stdout] | [INFO] [stdout] 79 | let utc = DateTime::::from_utc(naive, Utc); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 67 | pub unsafe extern "C" fn mbedtls_platform_gmtime_r(tt: *const mbedtls_sys::types::time_t, tp: *mut mbedtls_sys::types::tm) -> *mut mbedtls_sys::types::tm { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Utc` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/mbedtls-platform-support-0.1.1/src/lib.rs:79:48 [INFO] [stdout] | [INFO] [stdout] 79 | let utc = DateTime::::from_utc(naive, Utc); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NaiveDateTime` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/mbedtls-platform-support-0.1.1/src/lib.rs:74:15 [INFO] [stdout] | [INFO] [stdout] 74 | match NaiveDateTime::from_timestamp_opt(*tt, 0) { [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `NaiveDateTime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DateTime` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/mbedtls-platform-support-0.1.1/src/lib.rs:79:15 [INFO] [stdout] | [INFO] [stdout] 79 | let utc = DateTime::::from_utc(naive, Utc); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `DateTime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `mbedtls-platform-support` (lib) due to 7 previous errors [INFO] running `Command { std: "docker" "inspect" "8cd1b71877ec428f4d8e10e6b855cbe62ee75aff045bde13ab7e587c317ad5a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8cd1b71877ec428f4d8e10e6b855cbe62ee75aff045bde13ab7e587c317ad5a6", kill_on_drop: false }` [INFO] [stdout] 8cd1b71877ec428f4d8e10e6b855cbe62ee75aff045bde13ab7e587c317ad5a6