[INFO] fetching crate fido-hid-rs 0.5.0-dev... [INFO] checking fido-hid-rs-0.5.0-dev against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393-1 [INFO] extracting crate fido-hid-rs 0.5.0-dev into /workspace/builds/worker-6-tc1/source [INFO] validating manifest of crates.io crate fido-hid-rs 0.5.0-dev 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 fido-hid-rs 0.5.0-dev [INFO] finished tweaking crates.io crate fido-hid-rs 0.5.0-dev [INFO] tweaked toml for crates.io crate fido-hid-rs 0.5.0-dev written to /workspace/builds/worker-6-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 memoffset v0.7.1 [INFO] [stderr] Downloaded matchers v0.1.0 [INFO] [stderr] Downloaded libudev-sys v0.1.4 [INFO] [stderr] Downloaded udev v0.7.0 [INFO] [stderr] Downloaded shlex v1.3.0 [INFO] [stderr] Downloaded hex v0.4.3 [INFO] [stderr] Downloaded cexpr v0.6.0 [INFO] [stderr] Downloaded tracing-log v0.2.0 [INFO] [stderr] Downloaded valuable v0.1.0 [INFO] [stderr] Downloaded sharded-slab v0.1.7 [INFO] [stderr] Downloaded prettyplease v0.2.16 [INFO] [stderr] Downloaded mach2 v0.4.2 [INFO] [stderr] Downloaded tracing-subscriber v0.3.18 [INFO] [stderr] Downloaded windows_i686_msvc v0.41.0 [INFO] [stderr] Downloaded windows_x86_64_gnu 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_x86_64_msvc v0.41.0 [INFO] [stderr] Downloaded windows_aarch64_gnullvm v0.41.0 [INFO] [stderr] Downloaded windows v0.41.0 [INFO] [stderr] Downloaded bindgen v0.65.1 [INFO] [stderr] Downloaded windows_x86_64_gnullvm v0.41.0 [INFO] [stderr] Downloaded overload v0.1.1 [INFO] [stderr] Downloaded tracing-attributes v0.1.27 [INFO] [stderr] Downloaded which v4.4.2 [INFO] [stderr] Downloaded regex-automata v0.1.10 [INFO] [stderr] Downloaded nu-ansi-term v0.46.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] bc0ae5a0df83ce02f6864347f1ef8b6739590a5bd5abec53116b8bbb1b4838bf [INFO] running `Command { std: "docker" "start" "-a" "bc0ae5a0df83ce02f6864347f1ef8b6739590a5bd5abec53116b8bbb1b4838bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bc0ae5a0df83ce02f6864347f1ef8b6739590a5bd5abec53116b8bbb1b4838bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bc0ae5a0df83ce02f6864347f1ef8b6739590a5bd5abec53116b8bbb1b4838bf", kill_on_drop: false }` [INFO] [stdout] bc0ae5a0df83ce02f6864347f1ef8b6739590a5bd5abec53116b8bbb1b4838bf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 87d654cfefe59a9a0d08c3bb9124cd833de5de4083ef8a5f6d311df1c9cebad0 [INFO] running `Command { std: "docker" "start" "-a" "87d654cfefe59a9a0d08c3bb9124cd833de5de4083ef8a5f6d311df1c9cebad0", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling rustix v0.38.31 [INFO] [stderr] Compiling prettyplease v0.2.16 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling linux-raw-sys v0.4.13 [INFO] [stderr] Compiling bitflags v2.4.2 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling libloading v0.8.1 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling clang-sys v1.7.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling bindgen v0.65.1 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Checking mio v0.8.10 [INFO] [stderr] Checking socket2 v0.5.5 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking tokio v1.36.0 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling regex-automata v0.4.5 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Compiling regex v1.10.3 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Compiling thiserror-impl v1.0.56 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking nix v0.26.4 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking udev v0.7.0 [INFO] [stderr] Checking tokio-stream v0.1.14 [INFO] [stderr] Checking thread_local v1.1.7 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Checking thiserror v1.0.56 [INFO] [stderr] Compiling fido-hid-rs v0.5.0-dev (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `vendor` and `product` are never read [INFO] [stdout] --> src/linux/mod.rs:175:5 [INFO] [stdout] | [INFO] [stdout] 173 | pub struct USBDeviceInfoImpl { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 174 | path: Box, [INFO] [stdout] 175 | vendor: u16, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 176 | 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: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `vendor` and `product` are never read [INFO] [stdout] --> src/linux/mod.rs:175:5 [INFO] [stdout] | [INFO] [stdout] 173 | pub struct USBDeviceInfoImpl { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 174 | path: Box, [INFO] [stdout] 175 | vendor: u16, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 176 | 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: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 29.60s [INFO] running `Command { std: "docker" "inspect" "87d654cfefe59a9a0d08c3bb9124cd833de5de4083ef8a5f6d311df1c9cebad0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "87d654cfefe59a9a0d08c3bb9124cd833de5de4083ef8a5f6d311df1c9cebad0", kill_on_drop: false }` [INFO] [stdout] 87d654cfefe59a9a0d08c3bb9124cd833de5de4083ef8a5f6d311df1c9cebad0 [INFO] checking fido-hid-rs-0.5.0-dev against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393-1 [INFO] extracting crate fido-hid-rs 0.5.0-dev into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate fido-hid-rs 0.5.0-dev 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 fido-hid-rs 0.5.0-dev [INFO] finished tweaking crates.io crate fido-hid-rs 0.5.0-dev [INFO] tweaked toml for crates.io crate fido-hid-rs 0.5.0-dev written to /workspace/builds/worker-6-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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] db45e1cff211060c9d9f611b66c94a977344c4f70cc912b92d8d596942e9bf99 [INFO] running `Command { std: "docker" "start" "-a" "db45e1cff211060c9d9f611b66c94a977344c4f70cc912b92d8d596942e9bf99", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "db45e1cff211060c9d9f611b66c94a977344c4f70cc912b92d8d596942e9bf99", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "db45e1cff211060c9d9f611b66c94a977344c4f70cc912b92d8d596942e9bf99", kill_on_drop: false }` [INFO] [stdout] db45e1cff211060c9d9f611b66c94a977344c4f70cc912b92d8d596942e9bf99 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] eddf9de19d3b980ec6c1f1c932963634efc426656b55de1414867cb01811c7a5 [INFO] running `Command { std: "docker" "start" "-a" "eddf9de19d3b980ec6c1f1c932963634efc426656b55de1414867cb01811c7a5", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling rustix v0.38.31 [INFO] [stderr] Compiling prettyplease v0.2.16 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling linux-raw-sys v0.4.13 [INFO] [stderr] Compiling bitflags v2.4.2 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling libloading v0.8.1 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling bindgen v0.65.1 [INFO] [stderr] Compiling clang-sys v1.7.0 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Checking socket2 v0.5.5 [INFO] [stderr] Checking mio v0.8.10 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling regex-automata v0.4.5 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking tokio v1.36.0 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Compiling regex v1.10.3 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Compiling thiserror-impl v1.0.56 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking nix v0.26.4 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking udev v0.7.0 [INFO] [stderr] Checking tokio-stream v0.1.14 [INFO] [stderr] Checking thread_local v1.1.7 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking thiserror v1.0.56 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling fido-hid-rs v0.5.0-dev (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `vendor` and `product` are never read [INFO] [stdout] --> src/linux/mod.rs:175:5 [INFO] [stdout] | [INFO] [stdout] 173 | pub struct USBDeviceInfoImpl { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 174 | path: Box, [INFO] [stdout] 175 | vendor: u16, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 176 | 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] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/descriptors.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(FromPrimitive)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_Tag` [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/linux/wrapper.rs:22:17 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Debug, FromPrimitive, PartialEq, Eq, PartialOrd, Ord)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_BusType` [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: aborting due to 2 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `fido-hid-rs` (lib) due to 3 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: fields `vendor` and `product` are never read [INFO] [stdout] --> src/linux/mod.rs:175:5 [INFO] [stdout] | [INFO] [stdout] 173 | pub struct USBDeviceInfoImpl { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 174 | path: Box, [INFO] [stdout] 175 | vendor: u16, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 176 | 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] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/descriptors.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(FromPrimitive)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_Tag` [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/linux/wrapper.rs:22:17 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Debug, FromPrimitive, PartialEq, Eq, PartialOrd, Ord)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_BusType` [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: aborting due to 2 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `fido-hid-rs` (lib test) due to 3 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "eddf9de19d3b980ec6c1f1c932963634efc426656b55de1414867cb01811c7a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eddf9de19d3b980ec6c1f1c932963634efc426656b55de1414867cb01811c7a5", kill_on_drop: false }` [INFO] [stdout] eddf9de19d3b980ec6c1f1c932963634efc426656b55de1414867cb01811c7a5