[INFO] fetching crate fido-hid-rs 0.5.0... [INFO] checking fido-hid-rs-0.5.0 against master#38352b01ae4af9300be03b805d6db68c45e51068 for pr-129864 [INFO] extracting crate fido-hid-rs 0.5.0 into /workspace/builds/worker-2-tc1/source [INFO] validating manifest of crates.io crate fido-hid-rs 0.5.0 on toolchain 38352b01ae4af9300be03b805d6db68c45e51068 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+38352b01ae4af9300be03b805d6db68c45e51068" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate fido-hid-rs 0.5.0 [INFO] finished tweaking crates.io crate fido-hid-rs 0.5.0 [INFO] tweaked toml for crates.io crate fido-hid-rs 0.5.0 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+38352b01ae4af9300be03b805d6db68c45e51068" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 113 packages to latest compatible versions [INFO] [stderr] Adding bindgen v0.65.1 (available: v0.70.1) [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.6.0) [INFO] [stderr] Adding core-foundation v0.9.4 (available: v0.10.0) [INFO] [stderr] Adding hermit-abi v0.3.9 (available: v0.4.0) [INFO] [stderr] Adding linux-raw-sys v0.4.14 (available: v0.6.5) [INFO] [stderr] Adding matchers v0.1.0 (available: v0.2.0) [INFO] [stderr] Adding memoffset v0.7.1 (available: v0.9.1) [INFO] [stderr] Adding nix v0.26.4 (available: v0.29.0) [INFO] [stderr] Adding nu-ansi-term v0.46.0 (available: v0.50.1) [INFO] [stderr] Adding num-derive v0.3.3 (available: v0.4.2) [INFO] [stderr] Adding peeking_take_while v0.1.2 (available: v1.0.0) [INFO] [stderr] Adding regex-automata v0.1.10 (available: v0.4.7) [INFO] [stderr] Adding regex-syntax v0.6.29 (available: v0.8.4) [INFO] [stderr] Adding rustc-hash v1.1.0 (available: v2.0.0) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.77) [INFO] [stderr] Adding udev v0.7.0 (available: v0.9.0) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (available: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding which v4.4.2 (available: v6.0.3) [INFO] [stderr] Adding windows v0.41.0 (available: v0.58.0) [INFO] [stderr] Adding windows-sys v0.52.0 (available: v0.59.0) [INFO] [stderr] Adding windows_aarch64_gnullvm v0.41.0 (available: v0.52.6) [INFO] [stderr] Adding windows_aarch64_msvc v0.41.0 (available: v0.52.6) [INFO] [stderr] Adding windows_i686_gnu v0.41.0 (available: v0.52.6) [INFO] [stderr] Adding windows_i686_msvc v0.41.0 (available: v0.52.6) [INFO] [stderr] Adding windows_x86_64_gnu v0.41.0 (available: v0.52.6) [INFO] [stderr] Adding windows_x86_64_gnullvm v0.41.0 (available: v0.52.6) [INFO] [stderr] Adding windows_x86_64_msvc v0.41.0 (available: v0.52.6) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+38352b01ae4af9300be03b805d6db68c45e51068" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded matchers v0.1.0 [INFO] [stderr] Downloaded peeking_take_while v0.1.2 [INFO] [stderr] Downloaded libudev-sys v0.1.4 [INFO] [stderr] Downloaded memoffset v0.7.1 [INFO] [stderr] Downloaded cexpr v0.6.0 [INFO] [stderr] Downloaded libloading v0.8.5 [INFO] [stderr] Downloaded clang-sys v1.8.1 [INFO] [stderr] Downloaded prettyplease v0.2.22 [INFO] [stderr] Downloaded lazycell v1.3.0 [INFO] [stderr] Downloaded which v4.4.2 [INFO] [stderr] Downloaded regex-automata v0.1.10 [INFO] [stderr] Downloaded mach2 v0.4.2 [INFO] [stderr] Downloaded num-derive v0.3.3 [INFO] [stderr] Downloaded udev v0.7.0 [INFO] [stderr] Downloaded bindgen v0.65.1 [INFO] [stderr] Downloaded windows_x86_64_gnullvm v0.41.0 [INFO] [stderr] Downloaded windows_aarch64_gnullvm v0.41.0 [INFO] [stderr] Downloaded windows_x86_64_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 windows_i686_gnu v0.41.0 [INFO] [stderr] Downloaded windows_i686_msvc v0.41.0 [INFO] [stderr] Downloaded windows v0.41.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+38352b01ae4af9300be03b805d6db68c45e51068" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fb61a09c177afcdb81d1c38475a25a6fad204544358153600ec00a9ed5f1f33b [INFO] running `Command { std: "docker" "start" "-a" "fb61a09c177afcdb81d1c38475a25a6fad204544358153600ec00a9ed5f1f33b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fb61a09c177afcdb81d1c38475a25a6fad204544358153600ec00a9ed5f1f33b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fb61a09c177afcdb81d1c38475a25a6fad204544358153600ec00a9ed5f1f33b", kill_on_drop: false }` [INFO] [stdout] fb61a09c177afcdb81d1c38475a25a6fad204544358153600ec00a9ed5f1f33b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+38352b01ae4af9300be03b805d6db68c45e51068" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e811346632e354f877d9922bc95a97fdc61e1d2d60d449b6ff1933242c41aa8d [INFO] running `Command { std: "docker" "start" "-a" "e811346632e354f877d9922bc95a97fdc61e1d2d60d449b6ff1933242c41aa8d", kill_on_drop: false }` [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling prettyplease v0.2.22 [INFO] [stderr] Compiling rustix v0.38.37 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling bindgen v0.65.1 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling libloading v0.8.5 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Checking nix v0.26.4 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking tokio v1.40.0 [INFO] [stderr] Checking udev v0.7.0 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking thiserror v1.0.64 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Checking tokio-util v0.7.12 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking tokio-stream v0.1.16 [INFO] [stderr] Compiling fido-hid-rs v0.5.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `vendor` and `product` are never read [INFO] [stdout] --> src/linux/mod.rs:176:5 [INFO] [stdout] | [INFO] [stdout] 174 | pub struct USBDeviceInfoImpl { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 175 | path: Box, [INFO] [stdout] 176 | vendor: u16, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 177 | product: u16, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `USBDeviceInfoImpl` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [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/descriptors.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(FromPrimitive)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Tag` [INFO] [stdout] 25 | #[repr(u8)] [INFO] [stdout] 26 | enum Tag { [INFO] [stdout] | --- `Tag` 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: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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/linux/wrapper.rs:22:17 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Debug, FromPrimitive, PartialEq, Eq, PartialOrd, Ord)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_BusType` [INFO] [stdout] 23 | #[repr(u32)] [INFO] [stdout] 24 | pub enum BusType { [INFO] [stdout] | ------- `BusType` 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: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `vendor` and `product` are never read [INFO] [stdout] --> src/linux/mod.rs:176:5 [INFO] [stdout] | [INFO] [stdout] 174 | pub struct USBDeviceInfoImpl { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 175 | path: Box, [INFO] [stdout] 176 | vendor: u16, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 177 | product: u16, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `USBDeviceInfoImpl` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [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/descriptors.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(FromPrimitive)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Tag` [INFO] [stdout] 25 | #[repr(u8)] [INFO] [stdout] 26 | enum Tag { [INFO] [stdout] | --- `Tag` 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: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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/linux/wrapper.rs:22:17 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Debug, FromPrimitive, PartialEq, Eq, PartialOrd, Ord)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_BusType` [INFO] [stdout] 23 | #[repr(u32)] [INFO] [stdout] 24 | pub enum BusType { [INFO] [stdout] | ------- `BusType` 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: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 23.21s [INFO] running `Command { std: "docker" "inspect" "e811346632e354f877d9922bc95a97fdc61e1d2d60d449b6ff1933242c41aa8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e811346632e354f877d9922bc95a97fdc61e1d2d60d449b6ff1933242c41aa8d", kill_on_drop: false }` [INFO] [stdout] e811346632e354f877d9922bc95a97fdc61e1d2d60d449b6ff1933242c41aa8d