[INFO] fetching crate webauthn-authenticator-rs 0.5.1... [INFO] checking webauthn-authenticator-rs-0.5.1 against master#191df20fcad9331d3a948aa8e8556775ec3fe69d for pr-133502-3 [INFO] extracting crate webauthn-authenticator-rs 0.5.1 into /workspace/builds/worker-5-tc1/source [INFO] validating manifest of crates.io crate webauthn-authenticator-rs 0.5.1 on toolchain 191df20fcad9331d3a948aa8e8556775ec3fe69d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+191df20fcad9331d3a948aa8e8556775ec3fe69d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate webauthn-authenticator-rs 0.5.1 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate webauthn-authenticator-rs 0.5.1 [INFO] tweaked toml for crates.io crate webauthn-authenticator-rs 0.5.1 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate crates.io crate webauthn-authenticator-rs 0.5.1 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" "+191df20fcad9331d3a948aa8e8556775ec3fe69d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded devd-rs v0.3.6 [INFO] [stderr] Downloaded webauthn-rs-proto v0.5.1 [INFO] [stderr] Downloaded newtype_derive v0.1.6 [INFO] [stderr] Downloaded udev v0.7.0 [INFO] [stderr] Downloaded objc-sys v0.3.5 [INFO] [stderr] Downloaded bardecoder v0.4.0 [INFO] [stderr] Downloaded xml-rs v0.8.24 [INFO] [stderr] Downloaded dbus-tokio v0.7.6 [INFO] [stderr] Downloaded serde-xml-rs v0.6.0 [INFO] [stderr] Downloaded libudev v0.2.0 [INFO] [stderr] Downloaded objc2 v0.5.2 [INFO] [stderr] Downloaded rpassword v5.0.1 [INFO] [stderr] Downloaded bluez-generated v0.3.0 [INFO] [stderr] Downloaded anyhow v1.0.94 [INFO] [stderr] Downloaded uuid v1.11.0 [INFO] [stderr] Downloaded objc2-core-bluetooth v0.2.2 [INFO] [stderr] Downloaded windows_i686_msvc v0.41.0 [INFO] [stderr] Downloaded io-kit-sys v0.4.1 [INFO] [stderr] Downloaded runloop v0.1.0 [INFO] [stderr] Downloaded qrcode v0.12.0 [INFO] [stderr] Downloaded cpufeatures v0.2.16 [INFO] [stderr] Downloaded checked_int_cast v1.0.0 [INFO] [stderr] Downloaded windows_x86_64_gnu v0.41.0 [INFO] [stderr] Downloaded webauthn-rs-core v0.5.1 [INFO] [stderr] Downloaded windows_i686_gnu v0.41.0 [INFO] [stderr] Downloaded windows_x86_64_msvc v0.41.0 [INFO] [stderr] Downloaded windows_aarch64_msvc v0.41.0 [INFO] [stderr] Downloaded serde_cbor_2 v0.12.0-dev [INFO] [stderr] Downloaded dashmap v6.1.0 [INFO] [stderr] Downloaded libdbus-sys v0.2.5 [INFO] [stderr] Downloaded clap_derive v4.5.18 [INFO] [stderr] Downloaded fido-hid-rs v0.5.1 [INFO] [stderr] Downloaded libudev v0.3.0 [INFO] [stderr] Downloaded tokio-tungstenite v0.24.0 [INFO] [stderr] Downloaded unescaper v0.1.5 [INFO] [stderr] Downloaded rustc_version v0.1.7 [INFO] [stderr] Downloaded serialport v4.6.1 [INFO] [stderr] Downloaded windows_aarch64_gnullvm v0.41.0 [INFO] [stderr] Downloaded windows_x86_64_gnullvm v0.41.0 [INFO] [stderr] Downloaded objc2-foundation v0.2.2 [INFO] [stderr] Downloaded authenticator v0.4.1 [INFO] [stderr] Downloaded libudev-sys v0.1.4 [INFO] [stderr] Downloaded dbus v0.9.7 [INFO] [stderr] Downloaded clap_builder v4.5.23 [INFO] [stderr] Downloaded pcsc-sys v1.3.0 [INFO] [stderr] Downloaded pcsc v2.9.0 [INFO] [stderr] Downloaded webauthn-attestation-ca v0.5.1 [INFO] [stderr] Downloaded clap v4.5.23 [INFO] [stderr] Downloaded num-derive v0.3.3 [INFO] [stderr] Downloaded weezl v0.1.8 [INFO] [stderr] Downloaded tungstenite v0.24.0 [INFO] [stderr] Downloaded jni-utils v0.1.1 [INFO] [stderr] Downloaded compact_jwt v0.4.3 [INFO] [stderr] Downloaded bluez-async v0.7.2 [INFO] [stderr] Downloaded block2 v0.5.1 [INFO] [stderr] Downloaded objc2-encode v4.0.3 [INFO] [stderr] Downloaded base64urlsafedata v0.5.1 [INFO] [stderr] Downloaded btleplug v0.11.6 [INFO] [stderr] Downloaded bindgen v0.65.1 [INFO] [stderr] Downloaded windows v0.41.0 [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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+191df20fcad9331d3a948aa8e8556775ec3fe69d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2930bffebb5a2cf71869f03714a9f983b8cff6337ac9520497550e5b581b69fe [INFO] running `Command { std: "docker" "start" "-a" "2930bffebb5a2cf71869f03714a9f983b8cff6337ac9520497550e5b581b69fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2930bffebb5a2cf71869f03714a9f983b8cff6337ac9520497550e5b581b69fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2930bffebb5a2cf71869f03714a9f983b8cff6337ac9520497550e5b581b69fe", kill_on_drop: false }` [INFO] [stdout] 2930bffebb5a2cf71869f03714a9f983b8cff6337ac9520497550e5b581b69fe [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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+191df20fcad9331d3a948aa8e8556775ec3fe69d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dac6bb78c1cd41c343d5a6a128f0d695d47e1c85794f3373ee8390b03de53a34 [INFO] running `Command { std: "docker" "start" "-a" "dac6bb78c1cd41c343d5a6a128f0d695d47e1c85794f3373ee8390b03de53a34", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Checking litemap v0.7.4 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Checking pin-project-lite v0.2.15 [INFO] [stderr] Compiling serde v1.0.216 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking once_cell v1.20.2 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Compiling semver v0.1.20 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking weezl v0.1.8 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Compiling serde_json v1.0.133 [INFO] [stderr] Checking tracing-core v0.1.33 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking miniz_oxide v0.3.7 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Checking anstyle-parse v0.2.6 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Checking anstyle v1.0.10 [INFO] [stderr] Checking colorchoice v1.0.3 [INFO] [stderr] Checking anstyle-query v1.1.2 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Compiling rustix v0.38.42 [INFO] [stderr] Compiling rustc_version v0.1.7 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Compiling anyhow v1.0.94 [INFO] [stderr] Checking itoa v1.0.14 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Compiling newtype_derive v0.1.6 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Checking gif v0.11.4 [INFO] [stderr] Checking anstream v0.6.18 [INFO] [stderr] Checking tinyvec v1.8.1 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking png v0.16.8 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking clap_lex v0.7.4 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking half v1.8.3 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Compiling webauthn-authenticator-rs v0.5.1 (/opt/rustwide/workdir) [INFO] [stderr] Compiling syn v2.0.90 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking bytemuck v1.21.0 [INFO] [stderr] Checking clap_builder v4.5.23 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking uuid v1.11.0 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking unicode-normalization v0.1.24 [INFO] [stderr] Checking mio v1.0.3 [INFO] [stderr] Checking socket2 v0.5.8 [INFO] [stderr] Checking nix v0.26.4 [INFO] [stderr] Checking libudev v0.3.0 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking jpeg-decoder v0.1.22 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking tiff v0.6.1 [INFO] [stderr] Checking image v0.23.14 [INFO] [stderr] Checking tempfile v3.14.0 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling serde_derive v1.0.216 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Compiling clap_derive v4.5.18 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Checking async-stream v0.3.6 [INFO] [stderr] Checking tokio v1.42.0 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking tracing-subscriber v0.3.19 [INFO] [stderr] Checking zerofrom v0.1.5 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking yoke v0.7.5 [INFO] [stderr] Checking unescaper v0.1.5 [INFO] [stderr] Checking bardecoder v0.4.0 [INFO] [stderr] Checking serialport v4.6.1 [INFO] [stderr] Checking zerovec v0.10.4 [INFO] [stderr] Checking clap v4.5.23 [INFO] [stderr] Checking tinystr v0.7.6 [INFO] [stderr] Checking icu_collections v1.5.0 [INFO] [stderr] Checking icu_locid v1.5.0 [INFO] [stderr] Checking icu_provider v1.5.0 [INFO] [stderr] Checking icu_locid_transform v1.5.0 [INFO] [stderr] Checking icu_properties v1.5.1 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking icu_normalizer v1.5.0 [INFO] [stderr] Checking idna_adapter v1.2.0 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking base64urlsafedata v0.5.1 [INFO] [stderr] Checking serde_cbor_2 v0.12.0-dev [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking webauthn-rs-proto v0.5.1 [INFO] [stdout] warning: unused import: `base64::engine::general_purpose::URL_SAFE_NO_PAD as BASE64_ENGINE` [INFO] [stdout] --> src/lib.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 108 | use base64::engine::general_purpose::URL_SAFE_NO_PAD as BASE64_ENGINE; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `base64::engine::general_purpose::URL_SAFE_NO_PAD as BASE64_ENGINE` [INFO] [stdout] --> src/lib.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 108 | use base64::engine::general_purpose::URL_SAFE_NO_PAD as BASE64_ENGINE; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `AuthenticatorBackendHashedClientData` is never used [INFO] [stdout] --> src/authenticator_hashed.rs:74:11 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait AuthenticatorBackendHashedClientData { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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/types.rs:52:10 [INFO] [stdout] | [INFO] [stdout] 52 | #[derive(FromPrimitive, ToPrimitive, Debug, PartialEq, Eq)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_EnrollSampleStatus` [INFO] [stdout] 53 | #[repr(u8)] [INFO] [stdout] 54 | pub enum EnrollSampleStatus { [INFO] [stdout] | ------------------ `EnrollSampleStatus` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [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: 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 `FromPrimitive` (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/types.rs:52:25 [INFO] [stdout] | [INFO] [stdout] 52 | #[derive(FromPrimitive, ToPrimitive, Debug, PartialEq, Eq)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_EnrollSampleStatus` [INFO] [stdout] 53 | #[repr(u8)] [INFO] [stdout] 54 | pub enum EnrollSampleStatus { [INFO] [stdout] | ------------------ `EnrollSampleStatus` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [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: 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 `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `AuthenticatorBackendHashedClientData` is never used [INFO] [stdout] --> src/authenticator_hashed.rs:74:11 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait AuthenticatorBackendHashedClientData { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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/types.rs:52:10 [INFO] [stdout] | [INFO] [stdout] 52 | #[derive(FromPrimitive, ToPrimitive, Debug, PartialEq, Eq)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_EnrollSampleStatus` [INFO] [stdout] 53 | #[repr(u8)] [INFO] [stdout] 54 | pub enum EnrollSampleStatus { [INFO] [stdout] | ------------------ `EnrollSampleStatus` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [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: 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 `FromPrimitive` (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/types.rs:52:25 [INFO] [stdout] | [INFO] [stdout] 52 | #[derive(FromPrimitive, ToPrimitive, Debug, PartialEq, Eq)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_EnrollSampleStatus` [INFO] [stdout] 53 | #[repr(u8)] [INFO] [stdout] 54 | pub enum EnrollSampleStatus { [INFO] [stdout] | ------------------ `EnrollSampleStatus` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [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: 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 `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 29.53s [INFO] running `Command { std: "docker" "inspect" "dac6bb78c1cd41c343d5a6a128f0d695d47e1c85794f3373ee8390b03de53a34", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dac6bb78c1cd41c343d5a6a128f0d695d47e1c85794f3373ee8390b03de53a34", kill_on_drop: false }` [INFO] [stdout] dac6bb78c1cd41c343d5a6a128f0d695d47e1c85794f3373ee8390b03de53a34