[INFO] fetching crate xhci 0.9.2... [INFO] checking xhci-0.9.2 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate xhci 0.9.2 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate xhci 0.9.2 [INFO] finished tweaking crates.io crate xhci 0.9.2 [INFO] tweaked toml for crates.io crate xhci 0.9.2 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate xhci 0.9.2 on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 10 packages to latest compatible versions [INFO] [stderr] Adding num-derive v0.3.3 (available: v0.4.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 32247f5646957e9e7f82404194bb67020d6ef9fa9d833eaac3ce321d40775b99 [INFO] running `Command { std: "docker" "start" "-a" "32247f5646957e9e7f82404194bb67020d6ef9fa9d833eaac3ce321d40775b99", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "32247f5646957e9e7f82404194bb67020d6ef9fa9d833eaac3ce321d40775b99", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "32247f5646957e9e7f82404194bb67020d6ef9fa9d833eaac3ce321d40775b99", kill_on_drop: false }` [INFO] [stdout] 32247f5646957e9e7f82404194bb67020d6ef9fa9d833eaac3ce321d40775b99 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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 -Dunmustuse_in_always_ok" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9d5524cb72df65b5124a5de748c5ce606c50950a320ee0f8cd8ca087102d0baa [INFO] running `Command { std: "docker" "start" "-a" "9d5524cb72df65b5124a5de748c5ce606c50950a320ee0f8cd8ca087102d0baa", kill_on_drop: false }` [INFO] [stderr] Checking bit_field v0.10.3 [INFO] [stderr] Checking accessor v0.3.3 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Checking xhci v0.9.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: lint `pointer_structural_match` has been removed: converted into hard error, see RFC #3535 for more information [INFO] [stdout] --> src/lib.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | pointer_structural_match, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `pointer_structural_match` has been removed: converted into hard error, see RFC #3535 for more information [INFO] [stdout] --> src/lib.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | pointer_structural_match, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/context/macros.rs:80:56 [INFO] [stdout] | [INFO] [stdout] 80 | self.as_mut()[$offset].set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/context/mod.rs:219:5 [INFO] [stdout] | [INFO] [stdout] 219 | rw_field_cx!([7](0..=7), configuration_value, "Configuration Value", u8); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] = note: this error originates in the macro `field_setter_cx` which comes from the expansion of the macro `rw_field_cx` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/context/macros.rs:80:56 [INFO] [stdout] | [INFO] [stdout] 80 | self.as_mut()[$offset].set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/context/mod.rs:220:5 [INFO] [stdout] | [INFO] [stdout] 220 | rw_field_cx!([7](8..=15), interface_number, "Interface Number", u8); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter_cx` which comes from the expansion of the macro `rw_field_cx` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/context/macros.rs:80:56 [INFO] [stdout] | [INFO] [stdout] 80 | self.as_mut()[$offset].set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/context/mod.rs:221:5 [INFO] [stdout] | [INFO] [stdout] 221 | rw_field_cx!([7](16..=23), alternate_setting, "Alternate Setting", u8); [INFO] [stdout] | ---------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter_cx` which comes from the expansion of the macro `rw_field_cx` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/context/macros.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | self.as_ref()[$offset].get_bits($range).try_into().unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/context/mod.rs:357:5 [INFO] [stdout] | [INFO] [stdout] 357 | rw_field_cx!([0](0..=19), route_string, "Route String", u32); [INFO] [stdout] | ------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_getter_cx` which comes from the expansion of the macro `rw_field_cx` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/context/macros.rs:80:56 [INFO] [stdout] | [INFO] [stdout] 80 | self.as_mut()[$offset].set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/context/mod.rs:357:5 [INFO] [stdout] | [INFO] [stdout] 357 | rw_field_cx!([0](0..=19), route_string, "Route String", u32); [INFO] [stdout] | ------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter_cx` which comes from the expansion of the macro `rw_field_cx` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/context/macros.rs:80:56 [INFO] [stdout] | [INFO] [stdout] 80 | self.as_mut()[$offset].set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/context/mod.rs:358:5 [INFO] [stdout] | [INFO] [stdout] 358 | rw_field_cx!([0](20..=23), speed, "Speed", u8); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter_cx` which comes from the expansion of the macro `rw_field_cx` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/context/macros.rs:80:56 [INFO] [stdout] | [INFO] [stdout] 80 | self.as_mut()[$offset].set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/context/mod.rs:361:5 [INFO] [stdout] | [INFO] [stdout] 361 | rw_field_cx!([0](27..=31), context_entries, "Context Entries", u8); [INFO] [stdout] | ------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter_cx` which comes from the expansion of the macro `rw_field_cx` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/context/macros.rs:80:56 [INFO] [stdout] | [INFO] [stdout] 80 | self.as_mut()[$offset].set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/context/mod.rs:363:5 [INFO] [stdout] | [INFO] [stdout] 363 | rw_field_cx!([1](0..=15), max_exit_latency, "Max Exit Latency", u16); [INFO] [stdout] | -------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter_cx` which comes from the expansion of the macro `rw_field_cx` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/context/macros.rs:80:56 [INFO] [stdout] | [INFO] [stdout] 80 | self.as_mut()[$offset].set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/context/mod.rs:364:5 [INFO] [stdout] | [INFO] [stdout] 364 | / rw_field_cx!( [INFO] [stdout] 365 | | [1](16..=23), [INFO] [stdout] 366 | | root_hub_port_number, [INFO] [stdout] 367 | | "Root Hub Port Number", [INFO] [stdout] 368 | | u8 [INFO] [stdout] 369 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter_cx` which comes from the expansion of the macro `rw_field_cx` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/context/macros.rs:80:56 [INFO] [stdout] | [INFO] [stdout] 80 | self.as_mut()[$offset].set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/context/mod.rs:370:5 [INFO] [stdout] | [INFO] [stdout] 370 | rw_field_cx!([1](24..=31), number_of_ports, "Number of Ports", u8); [INFO] [stdout] | ------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter_cx` which comes from the expansion of the macro `rw_field_cx` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/context/macros.rs:80:56 [INFO] [stdout] | [INFO] [stdout] 80 | self.as_mut()[$offset].set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/context/mod.rs:372:5 [INFO] [stdout] | [INFO] [stdout] 372 | rw_field_cx!([2](0..=7), parent_hub_slot_id, "Parent Hub Slot ID", u8); [INFO] [stdout] | ---------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter_cx` which comes from the expansion of the macro `rw_field_cx` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/context/macros.rs:80:56 [INFO] [stdout] | [INFO] [stdout] 80 | self.as_mut()[$offset].set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/context/mod.rs:373:5 [INFO] [stdout] | [INFO] [stdout] 373 | rw_field_cx!([2](8..=15), parent_port_number, "Parent Port Number", u8); [INFO] [stdout] | ----------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter_cx` which comes from the expansion of the macro `rw_field_cx` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/context/macros.rs:80:56 [INFO] [stdout] | [INFO] [stdout] 80 | self.as_mut()[$offset].set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/context/mod.rs:374:5 [INFO] [stdout] | [INFO] [stdout] 374 | rw_field_cx!([2](16..=17), tt_think_time, "TT Think Time", u8); [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter_cx` which comes from the expansion of the macro `rw_field_cx` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/context/macros.rs:80:56 [INFO] [stdout] | [INFO] [stdout] 80 | self.as_mut()[$offset].set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/context/mod.rs:375:5 [INFO] [stdout] | [INFO] [stdout] 375 | rw_field_cx!([2](22..=31), interrupter_target, "Interrupter Target", u16); [INFO] [stdout] | ------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter_cx` which comes from the expansion of the macro `rw_field_cx` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/context/macros.rs:80:56 [INFO] [stdout] | [INFO] [stdout] 80 | self.as_mut()[$offset].set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/context/mod.rs:377:5 [INFO] [stdout] | [INFO] [stdout] 377 | rw_field_cx!([3](0..=7), usb_device_address, "USB Device Address", u8); [INFO] [stdout] | ---------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter_cx` which comes from the expansion of the macro `rw_field_cx` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/context/macros.rs:80:56 [INFO] [stdout] | [INFO] [stdout] 80 | self.as_mut()[$offset].set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/context/mod.rs:458:5 [INFO] [stdout] | [INFO] [stdout] 458 | rw_field_cx!([0](8..=9), mult, "Mult", u8); [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter_cx` which comes from the expansion of the macro `rw_field_cx` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/context/macros.rs:80:56 [INFO] [stdout] | [INFO] [stdout] 80 | self.as_mut()[$offset].set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/context/mod.rs:459:5 [INFO] [stdout] | [INFO] [stdout] 459 | rw_field_cx!([0](10..=14), max_primary_streams, "Max Primary Streams", u8); [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter_cx` which comes from the expansion of the macro `rw_field_cx` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/context/macros.rs:80:56 [INFO] [stdout] | [INFO] [stdout] 80 | self.as_mut()[$offset].set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/context/mod.rs:461:5 [INFO] [stdout] | [INFO] [stdout] 461 | rw_field_cx!([0](16..=23), interval, "Interval", u8); [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter_cx` which comes from the expansion of the macro `rw_field_cx` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/context/macros.rs:80:56 [INFO] [stdout] | [INFO] [stdout] 80 | self.as_mut()[$offset].set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/context/mod.rs:462:5 [INFO] [stdout] | [INFO] [stdout] 462 | / rw_field_cx!( [INFO] [stdout] 463 | | [0](24..=31), [INFO] [stdout] 464 | | max_endpoint_service_time_interval_payload_high, [INFO] [stdout] 465 | | "Max Endpoint Service Time Interval Payload High", [INFO] [stdout] 466 | | u8 [INFO] [stdout] 467 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter_cx` which comes from the expansion of the macro `rw_field_cx` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/context/macros.rs:80:56 [INFO] [stdout] | [INFO] [stdout] 80 | self.as_mut()[$offset].set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/context/mod.rs:469:5 [INFO] [stdout] | [INFO] [stdout] 469 | rw_field_cx!([1](1..=2), error_count, "Error Count", u8); [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter_cx` which comes from the expansion of the macro `rw_field_cx` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/context/macros.rs:80:56 [INFO] [stdout] | [INFO] [stdout] 80 | self.as_mut()[$offset].set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/context/mod.rs:484:5 [INFO] [stdout] | [INFO] [stdout] 484 | rw_field_cx!([1](8..=15), max_burst_size, "Max Burst Size", u8); [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter_cx` which comes from the expansion of the macro `rw_field_cx` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/context/macros.rs:80:56 [INFO] [stdout] | [INFO] [stdout] 80 | self.as_mut()[$offset].set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/context/mod.rs:485:5 [INFO] [stdout] | [INFO] [stdout] 485 | rw_field_cx!([1](16..=31), max_packet_size, "Max Packet Size", u16); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter_cx` which comes from the expansion of the macro `rw_field_cx` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/context/macros.rs:80:56 [INFO] [stdout] | [INFO] [stdout] 80 | self.as_mut()[$offset].set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/context/mod.rs:513:5 [INFO] [stdout] | [INFO] [stdout] 513 | rw_field_cx!([4](0..=15), average_trb_length, "Average TRB Length", u16); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter_cx` which comes from the expansion of the macro `rw_field_cx` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/context/macros.rs:80:56 [INFO] [stdout] | [INFO] [stdout] 80 | self.as_mut()[$offset].set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/context/mod.rs:514:5 [INFO] [stdout] | [INFO] [stdout] 514 | / rw_field_cx!( [INFO] [stdout] 515 | | [4](16..=31), [INFO] [stdout] 516 | | max_endpoint_service_time_interval_payload_low, [INFO] [stdout] 517 | | "Max Endpoint Service Time Interval Payload Low", [INFO] [stdout] 518 | | u16 [INFO] [stdout] 519 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter_cx` which comes from the expansion of the macro `rw_field_cx` (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/context/mod.rs:523:68 [INFO] [stdout] | [INFO] [stdout] 523 | #[derive(Copy, Clone, Debug, Ord, PartialOrd, Eq, PartialEq, Hash, 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_SlotState` [INFO] [stdout] 524 | pub enum SlotState { [INFO] [stdout] | --------- `SlotState` 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/context/mod.rs:538:68 [INFO] [stdout] | [INFO] [stdout] 538 | #[derive(Copy, Clone, Debug, Ord, PartialOrd, Eq, PartialEq, Hash, 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_EndpointState` [INFO] [stdout] 539 | pub enum EndpointState { [INFO] [stdout] | ------------- `EndpointState` 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 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/context/mod.rs:554:68 [INFO] [stdout] | [INFO] [stdout] 554 | #[derive(Copy, Clone, Debug, Ord, PartialOrd, Eq, PartialEq, Hash, 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_EndpointType` [INFO] [stdout] 555 | pub enum EndpointType { [INFO] [stdout] | ------------ `EndpointType` 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 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/extended_capabilities/mod.rs:285:68 [INFO] [stdout] | [INFO] [stdout] 285 | #[derive(Copy, Clone, Ord, PartialOrd, Eq, PartialEq, Hash, Debug, 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_Ty` [INFO] [stdout] 286 | enum Ty { [INFO] [stdout] | -- `Ty` 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 warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/macros.rs:244:40 [INFO] [stdout] | [INFO] [stdout] 244 | self.0.set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/extended_capabilities/hci_extended_power_management.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | rw_field!(9..=12, data_select, "Data_Select", u8); [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter` which comes from the expansion of the macro `rw_field` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/macros.rs:244:40 [INFO] [stdout] | [INFO] [stdout] 244 | self.0.set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/extended_capabilities/hci_extended_power_management.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 64 | rw_field!(0..=1, power_state, "PowerState", u8); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter` which comes from the expansion of the macro `rw_field` (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/extended_capabilities/xhci_supported_protocol.rs:227:68 [INFO] [stdout] | [INFO] [stdout] 227 | #[derive(Copy, Clone, PartialEq, Eq, PartialOrd, Ord, Hash, Debug, 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_BitRate` [INFO] [stdout] 228 | pub enum BitRate { [INFO] [stdout] | ------- `BitRate` 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 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/extended_capabilities/xhci_supported_protocol.rs:242:68 [INFO] [stdout] | [INFO] [stdout] 242 | #[derive(Copy, Clone, PartialEq, Eq, PartialOrd, Ord, Hash, Debug, 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_PsiType` [INFO] [stdout] 243 | pub enum PsiType { [INFO] [stdout] | ------- `PsiType` 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 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/extended_capabilities/xhci_supported_protocol.rs:261:68 [INFO] [stdout] | [INFO] [stdout] 261 | #[derive(Copy, Clone, PartialEq, Eq, PartialOrd, Ord, Hash, Debug, 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_LinkProtocol` [INFO] [stdout] 262 | pub enum LinkProtocol { [INFO] [stdout] | ------------ `LinkProtocol` 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 warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/macros.rs:244:40 [INFO] [stdout] | [INFO] [stdout] 244 | self.0.set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/registers/doorbell.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | rw_field!(0..=7, doorbell_target, "Doorbell Target", u8); [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter` which comes from the expansion of the macro `rw_field` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/macros.rs:244:40 [INFO] [stdout] | [INFO] [stdout] 244 | self.0.set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/registers/doorbell.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | rw_field!(16..=31, doorbell_stream_id, "Doorbell Stream ID", u16); [INFO] [stdout] | ----------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter` which comes from the expansion of the macro `rw_field` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/macros.rs:244:40 [INFO] [stdout] | [INFO] [stdout] 244 | self.0.set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/registers/operational.rs:271:5 [INFO] [stdout] | [INFO] [stdout] 271 | / rw_field!( [INFO] [stdout] 272 | | 0..=7, [INFO] [stdout] 273 | | max_device_slots_enabled, [INFO] [stdout] 274 | | "Max Device Slots Enabled", [INFO] [stdout] 275 | | u8 [INFO] [stdout] 276 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter` which comes from the expansion of the macro `rw_field` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/macros.rs:244:40 [INFO] [stdout] | [INFO] [stdout] 244 | self.0.set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/registers/operational.rs:347:5 [INFO] [stdout] | [INFO] [stdout] 347 | rw_field!(5..=8, port_link_state, "Port Link State", u8); [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter` which comes from the expansion of the macro `rw_field` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/macros.rs:244:40 [INFO] [stdout] | [INFO] [stdout] 244 | self.0.set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/registers/operational.rs:350:5 [INFO] [stdout] | [INFO] [stdout] 350 | / rw_field!( [INFO] [stdout] 351 | | 14..=15, [INFO] [stdout] 352 | | port_indicator_control, [INFO] [stdout] 353 | | "Port Indicator Control", [INFO] [stdout] 354 | | PortIndicator [INFO] [stdout] 355 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter` which comes from the expansion of the macro `rw_field` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/macros.rs:244:40 [INFO] [stdout] | [INFO] [stdout] 244 | self.0.set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/registers/operational.rs:416:5 [INFO] [stdout] | [INFO] [stdout] 416 | rw_field!(0..=7, u1_timeout, "U1 Timeout", u8); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter` which comes from the expansion of the macro `rw_field` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/macros.rs:244:40 [INFO] [stdout] | [INFO] [stdout] 244 | self.0.set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/registers/operational.rs:417:5 [INFO] [stdout] | [INFO] [stdout] 417 | rw_field!(8..=15, u2_timeout, "U2 Timeout", u8); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter` which comes from the expansion of the macro `rw_field` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/macros.rs:244:40 [INFO] [stdout] | [INFO] [stdout] 244 | self.0.set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/registers/operational.rs:432:5 [INFO] [stdout] | [INFO] [stdout] 432 | / rw_field!( [INFO] [stdout] 433 | | 4..=7, [INFO] [stdout] 434 | | best_effort_service_latency, [INFO] [stdout] 435 | | "Best Effort Service Latency", [INFO] [stdout] 436 | | u8 [INFO] [stdout] 437 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter` which comes from the expansion of the macro `rw_field` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/macros.rs:244:40 [INFO] [stdout] | [INFO] [stdout] 244 | self.0.set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/registers/operational.rs:438:5 [INFO] [stdout] | [INFO] [stdout] 438 | rw_field!(8..=15, l1_device_slot, "L1 Device Slot", u8); [INFO] [stdout] | ------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter` which comes from the expansion of the macro `rw_field` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/macros.rs:244:40 [INFO] [stdout] | [INFO] [stdout] 244 | self.0.set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/registers/operational.rs:477:5 [INFO] [stdout] | [INFO] [stdout] 477 | rw_field!(0..=15, link_error_count, "Link Error Count", u16); [INFO] [stdout] | ------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter` which comes from the expansion of the macro `rw_field` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/macros.rs:244:40 [INFO] [stdout] | [INFO] [stdout] 244 | self.0.set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/registers/operational.rs:496:5 [INFO] [stdout] | [INFO] [stdout] 496 | / rw_field!( [INFO] [stdout] 497 | | 0..=1, [INFO] [stdout] 498 | | host_initiated_resume_duration_mode, [INFO] [stdout] 499 | | "Host Initiated Resume Duration Mode", [INFO] [stdout] 500 | | u8 [INFO] [stdout] 501 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter` which comes from the expansion of the macro `rw_field` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/macros.rs:244:40 [INFO] [stdout] | [INFO] [stdout] 244 | self.0.set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/registers/operational.rs:502:5 [INFO] [stdout] | [INFO] [stdout] 502 | rw_field!(2..=9, l1_timeout, "L1 Timeout", u8); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter` which comes from the expansion of the macro `rw_field` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/macros.rs:244:40 [INFO] [stdout] | [INFO] [stdout] 244 | self.0.set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/registers/operational.rs:503:5 [INFO] [stdout] | [INFO] [stdout] 503 | / rw_field!( [INFO] [stdout] 504 | | 10..=13, [INFO] [stdout] 505 | | best_effort_service_latency_deep, [INFO] [stdout] 506 | | "Best Effort Service Latency Depp", [INFO] [stdout] 507 | | u8 [INFO] [stdout] 508 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter` which comes from the expansion of the macro `rw_field` (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/registers/operational.rs:519:68 [INFO] [stdout] | [INFO] [stdout] 519 | #[derive(Copy, Clone, PartialEq, Eq, PartialOrd, Ord, Hash, Debug, 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_PortIndicator` [INFO] [stdout] 520 | pub enum PortIndicator { [INFO] [stdout] | ------------- `PortIndicator` 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 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/registers/operational.rs:543:68 [INFO] [stdout] | [INFO] [stdout] 543 | #[derive(Copy, Clone, PartialEq, Eq, PartialOrd, Ord, Hash, Debug, 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_L1Status` [INFO] [stdout] 544 | pub enum L1Status { [INFO] [stdout] | -------- `L1Status` 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 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/registers/operational.rs:558:68 [INFO] [stdout] | [INFO] [stdout] 558 | #[derive(Copy, Clone, PartialEq, Eq, PartialOrd, Ord, Hash, Debug, 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_TestMode` [INFO] [stdout] 559 | pub enum TestMode { [INFO] [stdout] | -------- `TestMode` 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 warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/macros.rs:244:40 [INFO] [stdout] | [INFO] [stdout] 244 | self.0.set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/registers/runtime.rs:184:5 [INFO] [stdout] | [INFO] [stdout] 184 | / rw_field!( [INFO] [stdout] 185 | | 0..=15, [INFO] [stdout] 186 | | interrupt_moderation_interval, [INFO] [stdout] 187 | | "Interrupt Moderation Interval", [INFO] [stdout] 188 | | u16 [INFO] [stdout] 189 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter` which comes from the expansion of the macro `rw_field` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/macros.rs:244:40 [INFO] [stdout] | [INFO] [stdout] 244 | self.0.set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/registers/runtime.rs:190:5 [INFO] [stdout] | [INFO] [stdout] 190 | / rw_field!( [INFO] [stdout] 191 | | 16..=31, [INFO] [stdout] 192 | | interrupt_moderation_counter, [INFO] [stdout] 193 | | "Interrupt Moderation Counter", [INFO] [stdout] 194 | | u16 [INFO] [stdout] 195 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter` which comes from the expansion of the macro `rw_field` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/macros.rs:244:40 [INFO] [stdout] | [INFO] [stdout] 244 | self.0.set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/registers/runtime.rs:251:5 [INFO] [stdout] | [INFO] [stdout] 251 | / rw_field!( [INFO] [stdout] 252 | | 0..=2, [INFO] [stdout] 253 | | dequeue_erst_segment_index, [INFO] [stdout] 254 | | "Dequeue ERST Segment Index", [INFO] [stdout] 255 | | u8 [INFO] [stdout] 256 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter` which comes from the expansion of the macro `rw_field` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/macros.rs:206:13 [INFO] [stdout] | [INFO] [stdout] 206 | self.0[$offset].get_bits($range).try_into().unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ring/trb/mod.rs:234:5 [INFO] [stdout] | [INFO] [stdout] 234 | rw_field!([2](22..=31), interrupter_target, "Interrupter Target", u32); [INFO] [stdout] | ---------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_getter` which comes from the expansion of the macro `rw_field` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/macros.rs:231:49 [INFO] [stdout] | [INFO] [stdout] 231 | self.0[$offset].set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ring/trb/mod.rs:234:5 [INFO] [stdout] | [INFO] [stdout] 234 | rw_field!([2](22..=31), interrupter_target, "Interrupter Target", u32); [INFO] [stdout] | ---------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter` which comes from the expansion of the macro `rw_field` (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/ring/trb/mod.rs:248:68 [INFO] [stdout] | [INFO] [stdout] 248 | #[derive(Copy, Clone, Debug, Ord, PartialOrd, Eq, PartialEq, Hash, 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_Type` [INFO] [stdout] 249 | pub enum Type { [INFO] [stdout] | ---- `Type` 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 warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/macros.rs:231:49 [INFO] [stdout] | [INFO] [stdout] 231 | self.0[$offset].set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ring/trb/command.rs:97:5 [INFO] [stdout] | [INFO] [stdout] 97 | rw_field!([3](16..=20), slot_type, "Slot Type", u8); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter` which comes from the expansion of the macro `rw_field` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/macros.rs:231:49 [INFO] [stdout] | [INFO] [stdout] 231 | self.0[$offset].set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ring/trb/command.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 110 | rw_field!([3](24..=31), slot_id, "Slot ID", u8); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter` which comes from the expansion of the macro `rw_field` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/macros.rs:231:49 [INFO] [stdout] | [INFO] [stdout] 231 | self.0[$offset].set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ring/trb/command.rs:160:5 [INFO] [stdout] | [INFO] [stdout] 160 | rw_field!([3](24..=31), slot_id, "Slot ID", u8); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter` which comes from the expansion of the macro `rw_field` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/macros.rs:231:49 [INFO] [stdout] | [INFO] [stdout] 231 | self.0[$offset].set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ring/trb/command.rs:210:5 [INFO] [stdout] | [INFO] [stdout] 210 | rw_field!([3](24..=31), slot_id, "Slot ID", u8); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter` which comes from the expansion of the macro `rw_field` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/macros.rs:231:49 [INFO] [stdout] | [INFO] [stdout] 231 | self.0[$offset].set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ring/trb/command.rs:258:5 [INFO] [stdout] | [INFO] [stdout] 258 | rw_field!([3](24..=31), slot_id, "Slot ID", u8); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter` which comes from the expansion of the macro `rw_field` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/macros.rs:231:49 [INFO] [stdout] | [INFO] [stdout] 231 | self.0[$offset].set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ring/trb/command.rs:279:5 [INFO] [stdout] | [INFO] [stdout] 279 | rw_field!([3](16..=20), endpoint_id, "Endpoint ID", u8); [INFO] [stdout] | ------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter` which comes from the expansion of the macro `rw_field` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/macros.rs:231:49 [INFO] [stdout] | [INFO] [stdout] 231 | self.0[$offset].set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ring/trb/command.rs:280:5 [INFO] [stdout] | [INFO] [stdout] 280 | rw_field!([3](24..=31), slot_id, "Slot ID", u8); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter` which comes from the expansion of the macro `rw_field` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/macros.rs:231:49 [INFO] [stdout] | [INFO] [stdout] 231 | self.0[$offset].set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ring/trb/command.rs:301:5 [INFO] [stdout] | [INFO] [stdout] 301 | rw_field!([3](16..=20), endpoint_id, "Endpoint ID", u8); [INFO] [stdout] | ------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter` which comes from the expansion of the macro `rw_field` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/macros.rs:231:49 [INFO] [stdout] | [INFO] [stdout] 231 | self.0[$offset].set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ring/trb/command.rs:303:5 [INFO] [stdout] | [INFO] [stdout] 303 | rw_field!([3](24..=31), slot_id, "Slot ID", u8); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter` which comes from the expansion of the macro `rw_field` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/macros.rs:231:49 [INFO] [stdout] | [INFO] [stdout] 231 | self.0[$offset].set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ring/trb/command.rs:323:5 [INFO] [stdout] | [INFO] [stdout] 323 | rw_field!([0](1..=3), stream_context_type, "Stream Context Type", u8); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter` which comes from the expansion of the macro `rw_field` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/macros.rs:231:49 [INFO] [stdout] | [INFO] [stdout] 231 | self.0[$offset].set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ring/trb/command.rs:354:5 [INFO] [stdout] | [INFO] [stdout] 354 | rw_field!([2](16..=31), stream_id, "Stream ID", u16); [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter` which comes from the expansion of the macro `rw_field` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/macros.rs:231:49 [INFO] [stdout] | [INFO] [stdout] 231 | self.0[$offset].set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ring/trb/command.rs:355:5 [INFO] [stdout] | [INFO] [stdout] 355 | rw_field!([3](16..=20), endpoint_id, "Endpoint ID", u8); [INFO] [stdout] | ------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter` which comes from the expansion of the macro `rw_field` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/macros.rs:231:49 [INFO] [stdout] | [INFO] [stdout] 231 | self.0[$offset].set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ring/trb/command.rs:356:5 [INFO] [stdout] | [INFO] [stdout] 356 | rw_field!([3](24..=31), slot_id, "Slot ID", u8); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter` which comes from the expansion of the macro `rw_field` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/macros.rs:231:49 [INFO] [stdout] | [INFO] [stdout] 231 | self.0[$offset].set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ring/trb/command.rs:376:5 [INFO] [stdout] | [INFO] [stdout] 376 | rw_field!([3](24..=31), slot_id, "Slot ID", u8); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter` which comes from the expansion of the macro `rw_field` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/macros.rs:231:49 [INFO] [stdout] | [INFO] [stdout] 231 | self.0[$offset].set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ring/trb/command.rs:414:5 [INFO] [stdout] | [INFO] [stdout] 414 | / rw_field!( [INFO] [stdout] 415 | | [2](22..=31), [INFO] [stdout] 416 | | vf_interrupter_target, [INFO] [stdout] 417 | | "VF Interrupter Target", [INFO] [stdout] 418 | | u16 [INFO] [stdout] 419 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter` which comes from the expansion of the macro `rw_field` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/macros.rs:231:49 [INFO] [stdout] | [INFO] [stdout] 231 | self.0[$offset].set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ring/trb/command.rs:420:5 [INFO] [stdout] | [INFO] [stdout] 420 | rw_field!([3](16..=23), vf_id, "VF ID", u8); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter` which comes from the expansion of the macro `rw_field` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/macros.rs:231:49 [INFO] [stdout] | [INFO] [stdout] 231 | self.0[$offset].set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ring/trb/command.rs:441:5 [INFO] [stdout] | [INFO] [stdout] 441 | rw_field!([3](24..=31), slot_id, "Slot ID", u8); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter` which comes from the expansion of the macro `rw_field` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/macros.rs:231:49 [INFO] [stdout] | [INFO] [stdout] 231 | self.0[$offset].set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ring/trb/command.rs:458:5 [INFO] [stdout] | [INFO] [stdout] 458 | / rw_field!( [INFO] [stdout] 459 | | [3](16..=27), [INFO] [stdout] 460 | | best_effort_latency_tolerance_value, [INFO] [stdout] 461 | | "Best Effort Latency Tolerance Value", [INFO] [stdout] 462 | | u16 [INFO] [stdout] 463 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter` which comes from the expansion of the macro `rw_field` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/macros.rs:231:49 [INFO] [stdout] | [INFO] [stdout] 231 | self.0[$offset].set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ring/trb/command.rs:509:5 [INFO] [stdout] | [INFO] [stdout] 509 | rw_field!([3](16..=19), dev_speed, "Dev Speed", u8); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter` which comes from the expansion of the macro `rw_field` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/macros.rs:231:49 [INFO] [stdout] | [INFO] [stdout] 231 | self.0[$offset].set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ring/trb/command.rs:510:5 [INFO] [stdout] | [INFO] [stdout] 510 | rw_field!([3](24..=31), hub_slot_id, "Hub Slot ID", u8); [INFO] [stdout] | ------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter` which comes from the expansion of the macro `rw_field` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/macros.rs:231:49 [INFO] [stdout] | [INFO] [stdout] 231 | self.0[$offset].set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ring/trb/command.rs:524:5 [INFO] [stdout] | [INFO] [stdout] 524 | rw_field!([0](0..=4), packet_type, "Packet Type", u8); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter` which comes from the expansion of the macro `rw_field` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/macros.rs:231:49 [INFO] [stdout] | [INFO] [stdout] 231 | self.0[$offset].set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ring/trb/command.rs:549:5 [INFO] [stdout] | [INFO] [stdout] 549 | / rw_field!( [INFO] [stdout] 550 | | [3](24..=31), [INFO] [stdout] 551 | | root_hub_port_number, [INFO] [stdout] 552 | | "Root Hub Port Number", [INFO] [stdout] 553 | | u8 [INFO] [stdout] 554 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter` which comes from the expansion of the macro `rw_field` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/macros.rs:231:49 [INFO] [stdout] | [INFO] [stdout] 231 | self.0[$offset].set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ring/trb/command.rs:602:5 [INFO] [stdout] | [INFO] [stdout] 602 | / rw_field!( [INFO] [stdout] 603 | | [2](0..=15), [INFO] [stdout] 604 | | extended_capability_identifier, [INFO] [stdout] 605 | | "Extended Capability Identifier", [INFO] [stdout] 606 | | u16 [INFO] [stdout] 607 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter` which comes from the expansion of the macro `rw_field` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/macros.rs:231:49 [INFO] [stdout] | [INFO] [stdout] 231 | self.0[$offset].set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ring/trb/command.rs:608:5 [INFO] [stdout] | [INFO] [stdout] 608 | rw_field!([3](16..=18), command_sub_type, "Command Sub Type", u8); [INFO] [stdout] | ----------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter` which comes from the expansion of the macro `rw_field` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/macros.rs:231:49 [INFO] [stdout] | [INFO] [stdout] 231 | self.0[$offset].set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ring/trb/command.rs:609:5 [INFO] [stdout] | [INFO] [stdout] 609 | rw_field!([3](19..=23), endpoint_id, "Endpoint ID", u8); [INFO] [stdout] | ------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter` which comes from the expansion of the macro `rw_field` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/macros.rs:231:49 [INFO] [stdout] | [INFO] [stdout] 231 | self.0[$offset].set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ring/trb/command.rs:610:5 [INFO] [stdout] | [INFO] [stdout] 610 | rw_field!([3](24..=31), slot_id, "Slot ID", u8); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter` which comes from the expansion of the macro `rw_field` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/macros.rs:231:49 [INFO] [stdout] | [INFO] [stdout] 231 | self.0[$offset].set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ring/trb/command.rs:632:5 [INFO] [stdout] | [INFO] [stdout] 632 | / rw_field!( [INFO] [stdout] 633 | | [2](0..=15), [INFO] [stdout] 634 | | extended_capability_identifier, [INFO] [stdout] 635 | | "Extended Cpaability Identifier", [INFO] [stdout] 636 | | u16 [INFO] [stdout] 637 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter` which comes from the expansion of the macro `rw_field` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/macros.rs:231:49 [INFO] [stdout] | [INFO] [stdout] 231 | self.0[$offset].set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ring/trb/command.rs:638:5 [INFO] [stdout] | [INFO] [stdout] 638 | / rw_field!( [INFO] [stdout] 639 | | [2](16..=23), [INFO] [stdout] 640 | | capability_parameter, [INFO] [stdout] 641 | | "Capability Parameter", [INFO] [stdout] 642 | | u8 [INFO] [stdout] 643 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter` which comes from the expansion of the macro `rw_field` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/macros.rs:231:49 [INFO] [stdout] | [INFO] [stdout] 231 | self.0[$offset].set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ring/trb/command.rs:644:5 [INFO] [stdout] | [INFO] [stdout] 644 | rw_field!([3](16..=18), command_sub_type, "Command Sub Type", u8); [INFO] [stdout] | ----------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter` which comes from the expansion of the macro `rw_field` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/macros.rs:231:49 [INFO] [stdout] | [INFO] [stdout] 231 | self.0[$offset].set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ring/trb/command.rs:645:5 [INFO] [stdout] | [INFO] [stdout] 645 | rw_field!([3](19..=23), endpoint_id, "Endpoint ID", u8); [INFO] [stdout] | ------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter` which comes from the expansion of the macro `rw_field` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/macros.rs:231:49 [INFO] [stdout] | [INFO] [stdout] 231 | self.0[$offset].set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ring/trb/command.rs:646:5 [INFO] [stdout] | [INFO] [stdout] 646 | rw_field!([3](24..=31), slot_id, "Slot ID", u8); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter` which comes from the expansion of the macro `rw_field` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/macros.rs:206:13 [INFO] [stdout] | [INFO] [stdout] 206 | self.0[$offset].get_bits($range).try_into().unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ring/trb/event.rs:120:5 [INFO] [stdout] | [INFO] [stdout] 120 | ro_field!([2](0..=23), trb_transfer_length, "TRB Transfer Length", u32); [INFO] [stdout] | ----------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_getter` which comes from the expansion of the macro `ro_field` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/macros.rs:206:13 [INFO] [stdout] | [INFO] [stdout] 206 | self.0[$offset].get_bits($range).try_into().unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ring/trb/event.rs:152:5 [INFO] [stdout] | [INFO] [stdout] 152 | / ro_field!( [INFO] [stdout] 153 | | [2](0..=23), [INFO] [stdout] 154 | | command_completion_parameter, [INFO] [stdout] 155 | | "Command Completion Parameter", [INFO] [stdout] 156 | | u32 [INFO] [stdout] 157 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_getter` which comes from the expansion of the macro `ro_field` (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/ring/trb/event.rs:263:68 [INFO] [stdout] | [INFO] [stdout] 263 | #[derive(Copy, Clone, Debug, Ord, PartialOrd, Eq, PartialEq, Hash, 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_CompletionCode` [INFO] [stdout] 264 | pub enum CompletionCode { [INFO] [stdout] | -------------- `CompletionCode` 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 warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/macros.rs:206:13 [INFO] [stdout] | [INFO] [stdout] 206 | self.0[$offset].get_bits($range).try_into().unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ring/trb/transfer.rs:183:5 [INFO] [stdout] | [INFO] [stdout] 183 | rw_field!([2](0..=16), trb_transfer_length, "TRB Transfer Length", u32); [INFO] [stdout] | ----------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_getter` which comes from the expansion of the macro `rw_field` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/macros.rs:231:49 [INFO] [stdout] | [INFO] [stdout] 231 | self.0[$offset].set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ring/trb/transfer.rs:183:5 [INFO] [stdout] | [INFO] [stdout] 183 | rw_field!([2](0..=16), trb_transfer_length, "TRB Transfer Length", u32); [INFO] [stdout] | ----------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter` which comes from the expansion of the macro `rw_field` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/macros.rs:231:49 [INFO] [stdout] | [INFO] [stdout] 231 | self.0[$offset].set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ring/trb/transfer.rs:184:5 [INFO] [stdout] | [INFO] [stdout] 184 | rw_field!([2](17..=21), td_size, "TD Size", u8); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter` which comes from the expansion of the macro `rw_field` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/macros.rs:231:49 [INFO] [stdout] | [INFO] [stdout] 231 | self.0[$offset].set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ring/trb/transfer.rs:185:5 [INFO] [stdout] | [INFO] [stdout] 185 | rw_field!([2](22..=31), interrupter_target, "Interrupter Target", u16); [INFO] [stdout] | ---------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter` which comes from the expansion of the macro `rw_field` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/macros.rs:231:49 [INFO] [stdout] | [INFO] [stdout] 231 | self.0[$offset].set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ring/trb/transfer.rs:234:5 [INFO] [stdout] | [INFO] [stdout] 234 | rw_field!([0](0..=7), request_type, "bmRequestType", u8); [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter` which comes from the expansion of the macro `rw_field` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/macros.rs:231:49 [INFO] [stdout] | [INFO] [stdout] 231 | self.0[$offset].set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ring/trb/transfer.rs:235:5 [INFO] [stdout] | [INFO] [stdout] 235 | rw_field!([0](8..=15), request, "bRequest", u8); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter` which comes from the expansion of the macro `rw_field` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/macros.rs:231:49 [INFO] [stdout] | [INFO] [stdout] 231 | self.0[$offset].set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ring/trb/transfer.rs:236:5 [INFO] [stdout] | [INFO] [stdout] 236 | rw_field!([0](16..=31), value, "wValue", u16); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter` which comes from the expansion of the macro `rw_field` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/macros.rs:231:49 [INFO] [stdout] | [INFO] [stdout] 231 | self.0[$offset].set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ring/trb/transfer.rs:237:5 [INFO] [stdout] | [INFO] [stdout] 237 | rw_field!([1](0..=15), index, "wIndex", u16); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter` which comes from the expansion of the macro `rw_field` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/macros.rs:231:49 [INFO] [stdout] | [INFO] [stdout] 231 | self.0[$offset].set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ring/trb/transfer.rs:238:5 [INFO] [stdout] | [INFO] [stdout] 238 | rw_field!([1](16..=31), length, "wLength", u16); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter` which comes from the expansion of the macro `rw_field` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/macros.rs:231:49 [INFO] [stdout] | [INFO] [stdout] 231 | self.0[$offset].set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ring/trb/transfer.rs:239:5 [INFO] [stdout] | [INFO] [stdout] 239 | rw_field!([2](22..=31), interrupter_target, "Interrupter Target", u16); [INFO] [stdout] | ---------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter` which comes from the expansion of the macro `rw_field` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/macros.rs:206:13 [INFO] [stdout] | [INFO] [stdout] 206 | self.0[$offset].get_bits($range).try_into().unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ring/trb/transfer.rs:307:5 [INFO] [stdout] | [INFO] [stdout] 307 | rw_field!([2](0..=16), trb_transfer_length, "TRB Transfer Length", u32); [INFO] [stdout] | ----------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_getter` which comes from the expansion of the macro `rw_field` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/macros.rs:231:49 [INFO] [stdout] | [INFO] [stdout] 231 | self.0[$offset].set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ring/trb/transfer.rs:307:5 [INFO] [stdout] | [INFO] [stdout] 307 | rw_field!([2](0..=16), trb_transfer_length, "TRB Transfer Length", u32); [INFO] [stdout] | ----------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter` which comes from the expansion of the macro `rw_field` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/macros.rs:231:49 [INFO] [stdout] | [INFO] [stdout] 231 | self.0[$offset].set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ring/trb/transfer.rs:308:5 [INFO] [stdout] | [INFO] [stdout] 308 | rw_field!([2](17..=21), td_size, "TD Size", u8); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter` which comes from the expansion of the macro `rw_field` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/macros.rs:231:49 [INFO] [stdout] | [INFO] [stdout] 231 | self.0[$offset].set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ring/trb/transfer.rs:309:5 [INFO] [stdout] | [INFO] [stdout] 309 | rw_field!([2](22..=31), interrupter_target, "Interrupter Target", u16); [INFO] [stdout] | ---------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter` which comes from the expansion of the macro `rw_field` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/context/macros.rs:80:56 [INFO] [stdout] | [INFO] [stdout] 80 | self.as_mut()[$offset].set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/context/mod.rs:219:5 [INFO] [stdout] | [INFO] [stdout] 219 | rw_field_cx!([7](0..=7), configuration_value, "Configuration Value", u8); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] = note: this error originates in the macro `field_setter_cx` which comes from the expansion of the macro `rw_field_cx` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/macros.rs:231:49 [INFO] [stdout] | [INFO] [stdout] 231 | self.0[$offset].set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ring/trb/transfer.rs:356:5 [INFO] [stdout] | [INFO] [stdout] 356 | rw_field!([2](22..=31), interrupter_target, "Interrupter Target", u16); [INFO] [stdout] | ---------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter` which comes from the expansion of the macro `rw_field` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/macros.rs:206:13 [INFO] [stdout] | [INFO] [stdout] 206 | self.0[$offset].get_bits($range).try_into().unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ring/trb/transfer.rs:393:5 [INFO] [stdout] | [INFO] [stdout] 393 | rw_field!([2](0..=16), trb_transfer_length, "TRB Transfer Length", u32); [INFO] [stdout] | ----------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_getter` which comes from the expansion of the macro `rw_field` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/macros.rs:231:49 [INFO] [stdout] | [INFO] [stdout] 231 | self.0[$offset].set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ring/trb/transfer.rs:393:5 [INFO] [stdout] | [INFO] [stdout] 393 | rw_field!([2](0..=16), trb_transfer_length, "TRB Transfer Length", u32); [INFO] [stdout] | ----------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter` which comes from the expansion of the macro `rw_field` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/macros.rs:231:49 [INFO] [stdout] | [INFO] [stdout] 231 | self.0[$offset].set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ring/trb/transfer.rs:394:5 [INFO] [stdout] | [INFO] [stdout] 394 | rw_field!([2](17..=21), td_size_or_tbc, "TD Size/TBC", u8); [INFO] [stdout] | ---------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter` which comes from the expansion of the macro `rw_field` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/macros.rs:231:49 [INFO] [stdout] | [INFO] [stdout] 231 | self.0[$offset].set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ring/trb/transfer.rs:395:5 [INFO] [stdout] | [INFO] [stdout] 395 | rw_field!([2](22..=31), interrupter_target, "Interrupter Target", u16); [INFO] [stdout] | ---------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter` which comes from the expansion of the macro `rw_field` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/macros.rs:231:49 [INFO] [stdout] | [INFO] [stdout] 231 | self.0[$offset].set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ring/trb/transfer.rs:405:5 [INFO] [stdout] | [INFO] [stdout] 405 | rw_field!([3](7..=8), transfer_burst_count, "Transfer Burst Count", u8); [INFO] [stdout] | ----------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter` which comes from the expansion of the macro `rw_field` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/macros.rs:231:49 [INFO] [stdout] | [INFO] [stdout] 231 | self.0[$offset].set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ring/trb/transfer.rs:407:5 [INFO] [stdout] | [INFO] [stdout] 407 | / rw_field!( [INFO] [stdout] 408 | | [3](16..=19), [INFO] [stdout] 409 | | transfer_last_burst_packet_count, [INFO] [stdout] 410 | | "Transfer Last Burst Packet Count", [INFO] [stdout] 411 | | u8 [INFO] [stdout] 412 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter` which comes from the expansion of the macro `rw_field` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/macros.rs:231:49 [INFO] [stdout] | [INFO] [stdout] 231 | self.0[$offset].set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ring/trb/transfer.rs:413:5 [INFO] [stdout] | [INFO] [stdout] 413 | rw_field!([3](20..=30), frame_id, "Frame ID", u16); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter` which comes from the expansion of the macro `rw_field` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/macros.rs:231:49 [INFO] [stdout] | [INFO] [stdout] 231 | self.0[$offset].set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ring/trb/transfer.rs:460:5 [INFO] [stdout] | [INFO] [stdout] 460 | rw_field!([2](22..=31), interrupter_target, "Interrupter Target", u16); [INFO] [stdout] | ---------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter` which comes from the expansion of the macro `rw_field` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/macros.rs:231:49 [INFO] [stdout] | [INFO] [stdout] 231 | self.0[$offset].set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ring/trb/transfer.rs:483:5 [INFO] [stdout] | [INFO] [stdout] 483 | rw_field!([2](22..=31), interrupter_target, "Interrupter Target", u16); [INFO] [stdout] | ---------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter` which comes from the expansion of the macro `rw_field` (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/ring/trb/transfer.rs:494:68 [INFO] [stdout] | [INFO] [stdout] 494 | #[derive(Copy, Clone, Debug, Ord, PartialOrd, Eq, PartialEq, Hash, 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_Direction` [INFO] [stdout] 495 | pub enum Direction { [INFO] [stdout] | --------- `Direction` 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 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/ring/trb/transfer.rs:520:68 [INFO] [stdout] | [INFO] [stdout] 520 | #[derive(Copy, Clone, Debug, Ord, PartialOrd, Eq, PartialEq, Hash, 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_TransferType` [INFO] [stdout] 521 | #[allow(clippy::module_name_repetitions)] [INFO] [stdout] 522 | pub enum TransferType { [INFO] [stdout] | ------------ `TransferType` 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 warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/context/macros.rs:80:56 [INFO] [stdout] | [INFO] [stdout] 80 | self.as_mut()[$offset].set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/context/mod.rs:220:5 [INFO] [stdout] | [INFO] [stdout] 220 | rw_field_cx!([7](8..=15), interface_number, "Interface Number", u8); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter_cx` which comes from the expansion of the macro `rw_field_cx` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/context/macros.rs:80:56 [INFO] [stdout] | [INFO] [stdout] 80 | self.as_mut()[$offset].set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/context/mod.rs:221:5 [INFO] [stdout] | [INFO] [stdout] 221 | rw_field_cx!([7](16..=23), alternate_setting, "Alternate Setting", u8); [INFO] [stdout] | ---------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter_cx` which comes from the expansion of the macro `rw_field_cx` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/context/macros.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | self.as_ref()[$offset].get_bits($range).try_into().unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/context/mod.rs:357:5 [INFO] [stdout] | [INFO] [stdout] 357 | rw_field_cx!([0](0..=19), route_string, "Route String", u32); [INFO] [stdout] | ------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_getter_cx` which comes from the expansion of the macro `rw_field_cx` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/context/macros.rs:80:56 [INFO] [stdout] | [INFO] [stdout] 80 | self.as_mut()[$offset].set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/context/mod.rs:357:5 [INFO] [stdout] | [INFO] [stdout] 357 | rw_field_cx!([0](0..=19), route_string, "Route String", u32); [INFO] [stdout] | ------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter_cx` which comes from the expansion of the macro `rw_field_cx` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/context/macros.rs:80:56 [INFO] [stdout] | [INFO] [stdout] 80 | self.as_mut()[$offset].set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/context/mod.rs:358:5 [INFO] [stdout] | [INFO] [stdout] 358 | rw_field_cx!([0](20..=23), speed, "Speed", u8); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter_cx` which comes from the expansion of the macro `rw_field_cx` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/context/macros.rs:80:56 [INFO] [stdout] | [INFO] [stdout] 80 | self.as_mut()[$offset].set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/context/mod.rs:361:5 [INFO] [stdout] | [INFO] [stdout] 361 | rw_field_cx!([0](27..=31), context_entries, "Context Entries", u8); [INFO] [stdout] | ------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter_cx` which comes from the expansion of the macro `rw_field_cx` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/context/macros.rs:80:56 [INFO] [stdout] | [INFO] [stdout] 80 | self.as_mut()[$offset].set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/context/mod.rs:363:5 [INFO] [stdout] | [INFO] [stdout] 363 | rw_field_cx!([1](0..=15), max_exit_latency, "Max Exit Latency", u16); [INFO] [stdout] | -------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter_cx` which comes from the expansion of the macro `rw_field_cx` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/context/macros.rs:80:56 [INFO] [stdout] | [INFO] [stdout] 80 | self.as_mut()[$offset].set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/context/mod.rs:364:5 [INFO] [stdout] | [INFO] [stdout] 364 | / rw_field_cx!( [INFO] [stdout] 365 | | [1](16..=23), [INFO] [stdout] 366 | | root_hub_port_number, [INFO] [stdout] 367 | | "Root Hub Port Number", [INFO] [stdout] 368 | | u8 [INFO] [stdout] 369 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter_cx` which comes from the expansion of the macro `rw_field_cx` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/context/macros.rs:80:56 [INFO] [stdout] | [INFO] [stdout] 80 | self.as_mut()[$offset].set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/context/mod.rs:370:5 [INFO] [stdout] | [INFO] [stdout] 370 | rw_field_cx!([1](24..=31), number_of_ports, "Number of Ports", u8); [INFO] [stdout] | ------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter_cx` which comes from the expansion of the macro `rw_field_cx` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/context/macros.rs:80:56 [INFO] [stdout] | [INFO] [stdout] 80 | self.as_mut()[$offset].set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/context/mod.rs:372:5 [INFO] [stdout] | [INFO] [stdout] 372 | rw_field_cx!([2](0..=7), parent_hub_slot_id, "Parent Hub Slot ID", u8); [INFO] [stdout] | ---------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter_cx` which comes from the expansion of the macro `rw_field_cx` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/context/macros.rs:80:56 [INFO] [stdout] | [INFO] [stdout] 80 | self.as_mut()[$offset].set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/context/mod.rs:373:5 [INFO] [stdout] | [INFO] [stdout] 373 | rw_field_cx!([2](8..=15), parent_port_number, "Parent Port Number", u8); [INFO] [stdout] | ----------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter_cx` which comes from the expansion of the macro `rw_field_cx` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/context/macros.rs:80:56 [INFO] [stdout] | [INFO] [stdout] 80 | self.as_mut()[$offset].set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/context/mod.rs:374:5 [INFO] [stdout] | [INFO] [stdout] 374 | rw_field_cx!([2](16..=17), tt_think_time, "TT Think Time", u8); [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter_cx` which comes from the expansion of the macro `rw_field_cx` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/context/macros.rs:80:56 [INFO] [stdout] | [INFO] [stdout] 80 | self.as_mut()[$offset].set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/context/mod.rs:375:5 [INFO] [stdout] | [INFO] [stdout] 375 | rw_field_cx!([2](22..=31), interrupter_target, "Interrupter Target", u16); [INFO] [stdout] | ------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter_cx` which comes from the expansion of the macro `rw_field_cx` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/context/macros.rs:80:56 [INFO] [stdout] | [INFO] [stdout] 80 | self.as_mut()[$offset].set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/context/mod.rs:377:5 [INFO] [stdout] | [INFO] [stdout] 377 | rw_field_cx!([3](0..=7), usb_device_address, "USB Device Address", u8); [INFO] [stdout] | ---------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter_cx` which comes from the expansion of the macro `rw_field_cx` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/context/macros.rs:80:56 [INFO] [stdout] | [INFO] [stdout] 80 | self.as_mut()[$offset].set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/context/mod.rs:458:5 [INFO] [stdout] | [INFO] [stdout] 458 | rw_field_cx!([0](8..=9), mult, "Mult", u8); [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter_cx` which comes from the expansion of the macro `rw_field_cx` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/context/macros.rs:80:56 [INFO] [stdout] | [INFO] [stdout] 80 | self.as_mut()[$offset].set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/context/mod.rs:459:5 [INFO] [stdout] | [INFO] [stdout] 459 | rw_field_cx!([0](10..=14), max_primary_streams, "Max Primary Streams", u8); [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter_cx` which comes from the expansion of the macro `rw_field_cx` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/context/macros.rs:80:56 [INFO] [stdout] | [INFO] [stdout] 80 | self.as_mut()[$offset].set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/context/mod.rs:461:5 [INFO] [stdout] | [INFO] [stdout] 461 | rw_field_cx!([0](16..=23), interval, "Interval", u8); [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter_cx` which comes from the expansion of the macro `rw_field_cx` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/context/macros.rs:80:56 [INFO] [stdout] | [INFO] [stdout] 80 | self.as_mut()[$offset].set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/context/mod.rs:462:5 [INFO] [stdout] | [INFO] [stdout] 462 | / rw_field_cx!( [INFO] [stdout] 463 | | [0](24..=31), [INFO] [stdout] 464 | | max_endpoint_service_time_interval_payload_high, [INFO] [stdout] 465 | | "Max Endpoint Service Time Interval Payload High", [INFO] [stdout] 466 | | u8 [INFO] [stdout] 467 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter_cx` which comes from the expansion of the macro `rw_field_cx` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/context/macros.rs:80:56 [INFO] [stdout] | [INFO] [stdout] 80 | self.as_mut()[$offset].set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/context/mod.rs:469:5 [INFO] [stdout] | [INFO] [stdout] 469 | rw_field_cx!([1](1..=2), error_count, "Error Count", u8); [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter_cx` which comes from the expansion of the macro `rw_field_cx` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/context/macros.rs:80:56 [INFO] [stdout] | [INFO] [stdout] 80 | self.as_mut()[$offset].set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/context/mod.rs:484:5 [INFO] [stdout] | [INFO] [stdout] 484 | rw_field_cx!([1](8..=15), max_burst_size, "Max Burst Size", u8); [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter_cx` which comes from the expansion of the macro `rw_field_cx` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/context/macros.rs:80:56 [INFO] [stdout] | [INFO] [stdout] 80 | self.as_mut()[$offset].set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/context/mod.rs:485:5 [INFO] [stdout] | [INFO] [stdout] 485 | rw_field_cx!([1](16..=31), max_packet_size, "Max Packet Size", u16); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter_cx` which comes from the expansion of the macro `rw_field_cx` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/context/macros.rs:80:56 [INFO] [stdout] | [INFO] [stdout] 80 | self.as_mut()[$offset].set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/context/mod.rs:513:5 [INFO] [stdout] | [INFO] [stdout] 513 | rw_field_cx!([4](0..=15), average_trb_length, "Average TRB Length", u16); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter_cx` which comes from the expansion of the macro `rw_field_cx` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/context/macros.rs:80:56 [INFO] [stdout] | [INFO] [stdout] 80 | self.as_mut()[$offset].set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/context/mod.rs:514:5 [INFO] [stdout] | [INFO] [stdout] 514 | / rw_field_cx!( [INFO] [stdout] 515 | | [4](16..=31), [INFO] [stdout] 516 | | max_endpoint_service_time_interval_payload_low, [INFO] [stdout] 517 | | "Max Endpoint Service Time Interval Payload Low", [INFO] [stdout] 518 | | u16 [INFO] [stdout] 519 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter_cx` which comes from the expansion of the macro `rw_field_cx` (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/context/mod.rs:523:68 [INFO] [stdout] | [INFO] [stdout] 523 | #[derive(Copy, Clone, Debug, Ord, PartialOrd, Eq, PartialEq, Hash, 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_SlotState` [INFO] [stdout] 524 | pub enum SlotState { [INFO] [stdout] | --------- `SlotState` 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/context/mod.rs:538:68 [INFO] [stdout] | [INFO] [stdout] 538 | #[derive(Copy, Clone, Debug, Ord, PartialOrd, Eq, PartialEq, Hash, 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_EndpointState` [INFO] [stdout] 539 | pub enum EndpointState { [INFO] [stdout] | ------------- `EndpointState` 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 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/context/mod.rs:554:68 [INFO] [stdout] | [INFO] [stdout] 554 | #[derive(Copy, Clone, Debug, Ord, PartialOrd, Eq, PartialEq, Hash, 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_EndpointType` [INFO] [stdout] 555 | pub enum EndpointType { [INFO] [stdout] | ------------ `EndpointType` 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 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/extended_capabilities/mod.rs:285:68 [INFO] [stdout] | [INFO] [stdout] 285 | #[derive(Copy, Clone, Ord, PartialOrd, Eq, PartialEq, Hash, Debug, 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_Ty` [INFO] [stdout] 286 | enum Ty { [INFO] [stdout] | -- `Ty` 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 warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/macros.rs:244:40 [INFO] [stdout] | [INFO] [stdout] 244 | self.0.set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/extended_capabilities/hci_extended_power_management.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | rw_field!(9..=12, data_select, "Data_Select", u8); [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter` which comes from the expansion of the macro `rw_field` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/macros.rs:244:40 [INFO] [stdout] | [INFO] [stdout] 244 | self.0.set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/extended_capabilities/hci_extended_power_management.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 64 | rw_field!(0..=1, power_state, "PowerState", u8); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter` which comes from the expansion of the macro `rw_field` (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/extended_capabilities/xhci_supported_protocol.rs:227:68 [INFO] [stdout] | [INFO] [stdout] 227 | #[derive(Copy, Clone, PartialEq, Eq, PartialOrd, Ord, Hash, Debug, 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_BitRate` [INFO] [stdout] 228 | pub enum BitRate { [INFO] [stdout] | ------- `BitRate` 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 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/extended_capabilities/xhci_supported_protocol.rs:242:68 [INFO] [stdout] | [INFO] [stdout] 242 | #[derive(Copy, Clone, PartialEq, Eq, PartialOrd, Ord, Hash, Debug, 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_PsiType` [INFO] [stdout] 243 | pub enum PsiType { [INFO] [stdout] | ------- `PsiType` 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 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/extended_capabilities/xhci_supported_protocol.rs:261:68 [INFO] [stdout] | [INFO] [stdout] 261 | #[derive(Copy, Clone, PartialEq, Eq, PartialOrd, Ord, Hash, Debug, 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_LinkProtocol` [INFO] [stdout] 262 | pub enum LinkProtocol { [INFO] [stdout] | ------------ `LinkProtocol` 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 warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/macros.rs:244:40 [INFO] [stdout] | [INFO] [stdout] 244 | self.0.set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/registers/doorbell.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | rw_field!(0..=7, doorbell_target, "Doorbell Target", u8); [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter` which comes from the expansion of the macro `rw_field` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/macros.rs:244:40 [INFO] [stdout] | [INFO] [stdout] 244 | self.0.set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/registers/doorbell.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | rw_field!(16..=31, doorbell_stream_id, "Doorbell Stream ID", u16); [INFO] [stdout] | ----------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter` which comes from the expansion of the macro `rw_field` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/macros.rs:244:40 [INFO] [stdout] | [INFO] [stdout] 244 | self.0.set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/registers/operational.rs:271:5 [INFO] [stdout] | [INFO] [stdout] 271 | / rw_field!( [INFO] [stdout] 272 | | 0..=7, [INFO] [stdout] 273 | | max_device_slots_enabled, [INFO] [stdout] 274 | | "Max Device Slots Enabled", [INFO] [stdout] 275 | | u8 [INFO] [stdout] 276 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter` which comes from the expansion of the macro `rw_field` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/macros.rs:244:40 [INFO] [stdout] | [INFO] [stdout] 244 | self.0.set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/registers/operational.rs:347:5 [INFO] [stdout] | [INFO] [stdout] 347 | rw_field!(5..=8, port_link_state, "Port Link State", u8); [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter` which comes from the expansion of the macro `rw_field` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/macros.rs:244:40 [INFO] [stdout] | [INFO] [stdout] 244 | self.0.set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/registers/operational.rs:350:5 [INFO] [stdout] | [INFO] [stdout] 350 | / rw_field!( [INFO] [stdout] 351 | | 14..=15, [INFO] [stdout] 352 | | port_indicator_control, [INFO] [stdout] 353 | | "Port Indicator Control", [INFO] [stdout] 354 | | PortIndicator [INFO] [stdout] 355 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter` which comes from the expansion of the macro `rw_field` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/macros.rs:244:40 [INFO] [stdout] | [INFO] [stdout] 244 | self.0.set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/registers/operational.rs:416:5 [INFO] [stdout] | [INFO] [stdout] 416 | rw_field!(0..=7, u1_timeout, "U1 Timeout", u8); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter` which comes from the expansion of the macro `rw_field` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/macros.rs:244:40 [INFO] [stdout] | [INFO] [stdout] 244 | self.0.set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/registers/operational.rs:417:5 [INFO] [stdout] | [INFO] [stdout] 417 | rw_field!(8..=15, u2_timeout, "U2 Timeout", u8); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter` which comes from the expansion of the macro `rw_field` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/macros.rs:244:40 [INFO] [stdout] | [INFO] [stdout] 244 | self.0.set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/registers/operational.rs:432:5 [INFO] [stdout] | [INFO] [stdout] 432 | / rw_field!( [INFO] [stdout] 433 | | 4..=7, [INFO] [stdout] 434 | | best_effort_service_latency, [INFO] [stdout] 435 | | "Best Effort Service Latency", [INFO] [stdout] 436 | | u8 [INFO] [stdout] 437 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter` which comes from the expansion of the macro `rw_field` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/macros.rs:244:40 [INFO] [stdout] | [INFO] [stdout] 244 | self.0.set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/registers/operational.rs:438:5 [INFO] [stdout] | [INFO] [stdout] 438 | rw_field!(8..=15, l1_device_slot, "L1 Device Slot", u8); [INFO] [stdout] | ------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter` which comes from the expansion of the macro `rw_field` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/macros.rs:244:40 [INFO] [stdout] | [INFO] [stdout] 244 | self.0.set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/registers/operational.rs:477:5 [INFO] [stdout] | [INFO] [stdout] 477 | rw_field!(0..=15, link_error_count, "Link Error Count", u16); [INFO] [stdout] | ------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter` which comes from the expansion of the macro `rw_field` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/macros.rs:244:40 [INFO] [stdout] | [INFO] [stdout] 244 | self.0.set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/registers/operational.rs:496:5 [INFO] [stdout] | [INFO] [stdout] 496 | / rw_field!( [INFO] [stdout] 497 | | 0..=1, [INFO] [stdout] 498 | | host_initiated_resume_duration_mode, [INFO] [stdout] 499 | | "Host Initiated Resume Duration Mode", [INFO] [stdout] 500 | | u8 [INFO] [stdout] 501 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter` which comes from the expansion of the macro `rw_field` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/macros.rs:244:40 [INFO] [stdout] | [INFO] [stdout] 244 | self.0.set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/registers/operational.rs:502:5 [INFO] [stdout] | [INFO] [stdout] 502 | rw_field!(2..=9, l1_timeout, "L1 Timeout", u8); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter` which comes from the expansion of the macro `rw_field` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/macros.rs:244:40 [INFO] [stdout] | [INFO] [stdout] 244 | self.0.set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/registers/operational.rs:503:5 [INFO] [stdout] | [INFO] [stdout] 503 | / rw_field!( [INFO] [stdout] 504 | | 10..=13, [INFO] [stdout] 505 | | best_effort_service_latency_deep, [INFO] [stdout] 506 | | "Best Effort Service Latency Depp", [INFO] [stdout] 507 | | u8 [INFO] [stdout] 508 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter` which comes from the expansion of the macro `rw_field` (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/registers/operational.rs:519:68 [INFO] [stdout] | [INFO] [stdout] 519 | #[derive(Copy, Clone, PartialEq, Eq, PartialOrd, Ord, Hash, Debug, 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_PortIndicator` [INFO] [stdout] 520 | pub enum PortIndicator { [INFO] [stdout] | ------------- `PortIndicator` 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 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/registers/operational.rs:543:68 [INFO] [stdout] | [INFO] [stdout] 543 | #[derive(Copy, Clone, PartialEq, Eq, PartialOrd, Ord, Hash, Debug, 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_L1Status` [INFO] [stdout] 544 | pub enum L1Status { [INFO] [stdout] | -------- `L1Status` 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 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/registers/operational.rs:558:68 [INFO] [stdout] | [INFO] [stdout] 558 | #[derive(Copy, Clone, PartialEq, Eq, PartialOrd, Ord, Hash, Debug, 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_TestMode` [INFO] [stdout] 559 | pub enum TestMode { [INFO] [stdout] | -------- `TestMode` 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 warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/macros.rs:244:40 [INFO] [stdout] | [INFO] [stdout] 244 | self.0.set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/registers/runtime.rs:184:5 [INFO] [stdout] | [INFO] [stdout] 184 | / rw_field!( [INFO] [stdout] 185 | | 0..=15, [INFO] [stdout] 186 | | interrupt_moderation_interval, [INFO] [stdout] 187 | | "Interrupt Moderation Interval", [INFO] [stdout] 188 | | u16 [INFO] [stdout] 189 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter` which comes from the expansion of the macro `rw_field` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/macros.rs:244:40 [INFO] [stdout] | [INFO] [stdout] 244 | self.0.set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/registers/runtime.rs:190:5 [INFO] [stdout] | [INFO] [stdout] 190 | / rw_field!( [INFO] [stdout] 191 | | 16..=31, [INFO] [stdout] 192 | | interrupt_moderation_counter, [INFO] [stdout] 193 | | "Interrupt Moderation Counter", [INFO] [stdout] 194 | | u16 [INFO] [stdout] 195 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter` which comes from the expansion of the macro `rw_field` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/macros.rs:244:40 [INFO] [stdout] | [INFO] [stdout] 244 | self.0.set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/registers/runtime.rs:251:5 [INFO] [stdout] | [INFO] [stdout] 251 | / rw_field!( [INFO] [stdout] 252 | | 0..=2, [INFO] [stdout] 253 | | dequeue_erst_segment_index, [INFO] [stdout] 254 | | "Dequeue ERST Segment Index", [INFO] [stdout] 255 | | u8 [INFO] [stdout] 256 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter` which comes from the expansion of the macro `rw_field` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/macros.rs:206:13 [INFO] [stdout] | [INFO] [stdout] 206 | self.0[$offset].get_bits($range).try_into().unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ring/trb/mod.rs:234:5 [INFO] [stdout] | [INFO] [stdout] 234 | rw_field!([2](22..=31), interrupter_target, "Interrupter Target", u32); [INFO] [stdout] | ---------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_getter` which comes from the expansion of the macro `rw_field` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/macros.rs:231:49 [INFO] [stdout] | [INFO] [stdout] 231 | self.0[$offset].set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ring/trb/mod.rs:234:5 [INFO] [stdout] | [INFO] [stdout] 234 | rw_field!([2](22..=31), interrupter_target, "Interrupter Target", u32); [INFO] [stdout] | ---------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter` which comes from the expansion of the macro `rw_field` (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/ring/trb/mod.rs:248:68 [INFO] [stdout] | [INFO] [stdout] 248 | #[derive(Copy, Clone, Debug, Ord, PartialOrd, Eq, PartialEq, Hash, 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_Type` [INFO] [stdout] 249 | pub enum Type { [INFO] [stdout] | ---- `Type` 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 warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/macros.rs:231:49 [INFO] [stdout] | [INFO] [stdout] 231 | self.0[$offset].set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ring/trb/command.rs:97:5 [INFO] [stdout] | [INFO] [stdout] 97 | rw_field!([3](16..=20), slot_type, "Slot Type", u8); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter` which comes from the expansion of the macro `rw_field` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/macros.rs:231:49 [INFO] [stdout] | [INFO] [stdout] 231 | self.0[$offset].set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ring/trb/command.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 110 | rw_field!([3](24..=31), slot_id, "Slot ID", u8); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter` which comes from the expansion of the macro `rw_field` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/macros.rs:231:49 [INFO] [stdout] | [INFO] [stdout] 231 | self.0[$offset].set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ring/trb/command.rs:160:5 [INFO] [stdout] | [INFO] [stdout] 160 | rw_field!([3](24..=31), slot_id, "Slot ID", u8); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter` which comes from the expansion of the macro `rw_field` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/macros.rs:231:49 [INFO] [stdout] | [INFO] [stdout] 231 | self.0[$offset].set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ring/trb/command.rs:210:5 [INFO] [stdout] | [INFO] [stdout] 210 | rw_field!([3](24..=31), slot_id, "Slot ID", u8); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter` which comes from the expansion of the macro `rw_field` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/macros.rs:231:49 [INFO] [stdout] | [INFO] [stdout] 231 | self.0[$offset].set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ring/trb/command.rs:258:5 [INFO] [stdout] | [INFO] [stdout] 258 | rw_field!([3](24..=31), slot_id, "Slot ID", u8); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter` which comes from the expansion of the macro `rw_field` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/macros.rs:231:49 [INFO] [stdout] | [INFO] [stdout] 231 | self.0[$offset].set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ring/trb/command.rs:279:5 [INFO] [stdout] | [INFO] [stdout] 279 | rw_field!([3](16..=20), endpoint_id, "Endpoint ID", u8); [INFO] [stdout] | ------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter` which comes from the expansion of the macro `rw_field` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/macros.rs:231:49 [INFO] [stdout] | [INFO] [stdout] 231 | self.0[$offset].set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ring/trb/command.rs:280:5 [INFO] [stdout] | [INFO] [stdout] 280 | rw_field!([3](24..=31), slot_id, "Slot ID", u8); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter` which comes from the expansion of the macro `rw_field` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/macros.rs:231:49 [INFO] [stdout] | [INFO] [stdout] 231 | self.0[$offset].set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ring/trb/command.rs:301:5 [INFO] [stdout] | [INFO] [stdout] 301 | rw_field!([3](16..=20), endpoint_id, "Endpoint ID", u8); [INFO] [stdout] | ------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter` which comes from the expansion of the macro `rw_field` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/macros.rs:231:49 [INFO] [stdout] | [INFO] [stdout] 231 | self.0[$offset].set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ring/trb/command.rs:303:5 [INFO] [stdout] | [INFO] [stdout] 303 | rw_field!([3](24..=31), slot_id, "Slot ID", u8); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter` which comes from the expansion of the macro `rw_field` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/macros.rs:231:49 [INFO] [stdout] | [INFO] [stdout] 231 | self.0[$offset].set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ring/trb/command.rs:323:5 [INFO] [stdout] | [INFO] [stdout] 323 | rw_field!([0](1..=3), stream_context_type, "Stream Context Type", u8); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter` which comes from the expansion of the macro `rw_field` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/macros.rs:231:49 [INFO] [stdout] | [INFO] [stdout] 231 | self.0[$offset].set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ring/trb/command.rs:354:5 [INFO] [stdout] | [INFO] [stdout] 354 | rw_field!([2](16..=31), stream_id, "Stream ID", u16); [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter` which comes from the expansion of the macro `rw_field` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/macros.rs:231:49 [INFO] [stdout] | [INFO] [stdout] 231 | self.0[$offset].set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ring/trb/command.rs:355:5 [INFO] [stdout] | [INFO] [stdout] 355 | rw_field!([3](16..=20), endpoint_id, "Endpoint ID", u8); [INFO] [stdout] | ------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter` which comes from the expansion of the macro `rw_field` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/macros.rs:231:49 [INFO] [stdout] | [INFO] [stdout] 231 | self.0[$offset].set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ring/trb/command.rs:356:5 [INFO] [stdout] | [INFO] [stdout] 356 | rw_field!([3](24..=31), slot_id, "Slot ID", u8); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter` which comes from the expansion of the macro `rw_field` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/macros.rs:231:49 [INFO] [stdout] | [INFO] [stdout] 231 | self.0[$offset].set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ring/trb/command.rs:376:5 [INFO] [stdout] | [INFO] [stdout] 376 | rw_field!([3](24..=31), slot_id, "Slot ID", u8); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter` which comes from the expansion of the macro `rw_field` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/macros.rs:231:49 [INFO] [stdout] | [INFO] [stdout] 231 | self.0[$offset].set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ring/trb/command.rs:414:5 [INFO] [stdout] | [INFO] [stdout] 414 | / rw_field!( [INFO] [stdout] 415 | | [2](22..=31), [INFO] [stdout] 416 | | vf_interrupter_target, [INFO] [stdout] 417 | | "VF Interrupter Target", [INFO] [stdout] 418 | | u16 [INFO] [stdout] 419 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter` which comes from the expansion of the macro `rw_field` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/macros.rs:231:49 [INFO] [stdout] | [INFO] [stdout] 231 | self.0[$offset].set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ring/trb/command.rs:420:5 [INFO] [stdout] | [INFO] [stdout] 420 | rw_field!([3](16..=23), vf_id, "VF ID", u8); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter` which comes from the expansion of the macro `rw_field` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/macros.rs:231:49 [INFO] [stdout] | [INFO] [stdout] 231 | self.0[$offset].set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ring/trb/command.rs:441:5 [INFO] [stdout] | [INFO] [stdout] 441 | rw_field!([3](24..=31), slot_id, "Slot ID", u8); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter` which comes from the expansion of the macro `rw_field` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/macros.rs:231:49 [INFO] [stdout] | [INFO] [stdout] 231 | self.0[$offset].set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ring/trb/command.rs:458:5 [INFO] [stdout] | [INFO] [stdout] 458 | / rw_field!( [INFO] [stdout] 459 | | [3](16..=27), [INFO] [stdout] 460 | | best_effort_latency_tolerance_value, [INFO] [stdout] 461 | | "Best Effort Latency Tolerance Value", [INFO] [stdout] 462 | | u16 [INFO] [stdout] 463 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter` which comes from the expansion of the macro `rw_field` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/macros.rs:231:49 [INFO] [stdout] | [INFO] [stdout] 231 | self.0[$offset].set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ring/trb/command.rs:509:5 [INFO] [stdout] | [INFO] [stdout] 509 | rw_field!([3](16..=19), dev_speed, "Dev Speed", u8); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter` which comes from the expansion of the macro `rw_field` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/macros.rs:231:49 [INFO] [stdout] | [INFO] [stdout] 231 | self.0[$offset].set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ring/trb/command.rs:510:5 [INFO] [stdout] | [INFO] [stdout] 510 | rw_field!([3](24..=31), hub_slot_id, "Hub Slot ID", u8); [INFO] [stdout] | ------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter` which comes from the expansion of the macro `rw_field` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/macros.rs:231:49 [INFO] [stdout] | [INFO] [stdout] 231 | self.0[$offset].set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ring/trb/command.rs:524:5 [INFO] [stdout] | [INFO] [stdout] 524 | rw_field!([0](0..=4), packet_type, "Packet Type", u8); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter` which comes from the expansion of the macro `rw_field` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/macros.rs:231:49 [INFO] [stdout] | [INFO] [stdout] 231 | self.0[$offset].set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ring/trb/command.rs:549:5 [INFO] [stdout] | [INFO] [stdout] 549 | / rw_field!( [INFO] [stdout] 550 | | [3](24..=31), [INFO] [stdout] 551 | | root_hub_port_number, [INFO] [stdout] 552 | | "Root Hub Port Number", [INFO] [stdout] 553 | | u8 [INFO] [stdout] 554 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter` which comes from the expansion of the macro `rw_field` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/macros.rs:231:49 [INFO] [stdout] | [INFO] [stdout] 231 | self.0[$offset].set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ring/trb/command.rs:602:5 [INFO] [stdout] | [INFO] [stdout] 602 | / rw_field!( [INFO] [stdout] 603 | | [2](0..=15), [INFO] [stdout] 604 | | extended_capability_identifier, [INFO] [stdout] 605 | | "Extended Capability Identifier", [INFO] [stdout] 606 | | u16 [INFO] [stdout] 607 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter` which comes from the expansion of the macro `rw_field` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/macros.rs:231:49 [INFO] [stdout] | [INFO] [stdout] 231 | self.0[$offset].set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ring/trb/command.rs:608:5 [INFO] [stdout] | [INFO] [stdout] 608 | rw_field!([3](16..=18), command_sub_type, "Command Sub Type", u8); [INFO] [stdout] | ----------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter` which comes from the expansion of the macro `rw_field` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/macros.rs:231:49 [INFO] [stdout] | [INFO] [stdout] 231 | self.0[$offset].set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ring/trb/command.rs:609:5 [INFO] [stdout] | [INFO] [stdout] 609 | rw_field!([3](19..=23), endpoint_id, "Endpoint ID", u8); [INFO] [stdout] | ------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter` which comes from the expansion of the macro `rw_field` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/macros.rs:231:49 [INFO] [stdout] | [INFO] [stdout] 231 | self.0[$offset].set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ring/trb/command.rs:610:5 [INFO] [stdout] | [INFO] [stdout] 610 | rw_field!([3](24..=31), slot_id, "Slot ID", u8); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter` which comes from the expansion of the macro `rw_field` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/macros.rs:231:49 [INFO] [stdout] | [INFO] [stdout] 231 | self.0[$offset].set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ring/trb/command.rs:632:5 [INFO] [stdout] | [INFO] [stdout] 632 | / rw_field!( [INFO] [stdout] 633 | | [2](0..=15), [INFO] [stdout] 634 | | extended_capability_identifier, [INFO] [stdout] 635 | | "Extended Cpaability Identifier", [INFO] [stdout] 636 | | u16 [INFO] [stdout] 637 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter` which comes from the expansion of the macro `rw_field` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/macros.rs:231:49 [INFO] [stdout] | [INFO] [stdout] 231 | self.0[$offset].set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ring/trb/command.rs:638:5 [INFO] [stdout] | [INFO] [stdout] 638 | / rw_field!( [INFO] [stdout] 639 | | [2](16..=23), [INFO] [stdout] 640 | | capability_parameter, [INFO] [stdout] 641 | | "Capability Parameter", [INFO] [stdout] 642 | | u8 [INFO] [stdout] 643 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter` which comes from the expansion of the macro `rw_field` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/macros.rs:231:49 [INFO] [stdout] | [INFO] [stdout] 231 | self.0[$offset].set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ring/trb/command.rs:644:5 [INFO] [stdout] | [INFO] [stdout] 644 | rw_field!([3](16..=18), command_sub_type, "Command Sub Type", u8); [INFO] [stdout] | ----------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter` which comes from the expansion of the macro `rw_field` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/macros.rs:231:49 [INFO] [stdout] | [INFO] [stdout] 231 | self.0[$offset].set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ring/trb/command.rs:645:5 [INFO] [stdout] | [INFO] [stdout] 645 | rw_field!([3](19..=23), endpoint_id, "Endpoint ID", u8); [INFO] [stdout] | ------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter` which comes from the expansion of the macro `rw_field` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/macros.rs:231:49 [INFO] [stdout] | [INFO] [stdout] 231 | self.0[$offset].set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ring/trb/command.rs:646:5 [INFO] [stdout] | [INFO] [stdout] 646 | rw_field!([3](24..=31), slot_id, "Slot ID", u8); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter` which comes from the expansion of the macro `rw_field` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/macros.rs:206:13 [INFO] [stdout] | [INFO] [stdout] 206 | self.0[$offset].get_bits($range).try_into().unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ring/trb/event.rs:120:5 [INFO] [stdout] | [INFO] [stdout] 120 | ro_field!([2](0..=23), trb_transfer_length, "TRB Transfer Length", u32); [INFO] [stdout] | ----------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_getter` which comes from the expansion of the macro `ro_field` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/macros.rs:206:13 [INFO] [stdout] | [INFO] [stdout] 206 | self.0[$offset].get_bits($range).try_into().unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ring/trb/event.rs:152:5 [INFO] [stdout] | [INFO] [stdout] 152 | / ro_field!( [INFO] [stdout] 153 | | [2](0..=23), [INFO] [stdout] 154 | | command_completion_parameter, [INFO] [stdout] 155 | | "Command Completion Parameter", [INFO] [stdout] 156 | | u32 [INFO] [stdout] 157 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_getter` which comes from the expansion of the macro `ro_field` (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/ring/trb/event.rs:263:68 [INFO] [stdout] | [INFO] [stdout] 263 | #[derive(Copy, Clone, Debug, Ord, PartialOrd, Eq, PartialEq, Hash, 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_CompletionCode` [INFO] [stdout] 264 | pub enum CompletionCode { [INFO] [stdout] | -------------- `CompletionCode` 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 warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/macros.rs:206:13 [INFO] [stdout] | [INFO] [stdout] 206 | self.0[$offset].get_bits($range).try_into().unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ring/trb/transfer.rs:183:5 [INFO] [stdout] | [INFO] [stdout] 183 | rw_field!([2](0..=16), trb_transfer_length, "TRB Transfer Length", u32); [INFO] [stdout] | ----------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_getter` which comes from the expansion of the macro `rw_field` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/macros.rs:231:49 [INFO] [stdout] | [INFO] [stdout] 231 | self.0[$offset].set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ring/trb/transfer.rs:183:5 [INFO] [stdout] | [INFO] [stdout] 183 | rw_field!([2](0..=16), trb_transfer_length, "TRB Transfer Length", u32); [INFO] [stdout] | ----------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter` which comes from the expansion of the macro `rw_field` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/macros.rs:231:49 [INFO] [stdout] | [INFO] [stdout] 231 | self.0[$offset].set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ring/trb/transfer.rs:184:5 [INFO] [stdout] | [INFO] [stdout] 184 | rw_field!([2](17..=21), td_size, "TD Size", u8); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter` which comes from the expansion of the macro `rw_field` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/macros.rs:231:49 [INFO] [stdout] | [INFO] [stdout] 231 | self.0[$offset].set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ring/trb/transfer.rs:185:5 [INFO] [stdout] | [INFO] [stdout] 185 | rw_field!([2](22..=31), interrupter_target, "Interrupter Target", u16); [INFO] [stdout] | ---------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter` which comes from the expansion of the macro `rw_field` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/macros.rs:231:49 [INFO] [stdout] | [INFO] [stdout] 231 | self.0[$offset].set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ring/trb/transfer.rs:234:5 [INFO] [stdout] | [INFO] [stdout] 234 | rw_field!([0](0..=7), request_type, "bmRequestType", u8); [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter` which comes from the expansion of the macro `rw_field` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/macros.rs:231:49 [INFO] [stdout] | [INFO] [stdout] 231 | self.0[$offset].set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ring/trb/transfer.rs:235:5 [INFO] [stdout] | [INFO] [stdout] 235 | rw_field!([0](8..=15), request, "bRequest", u8); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter` which comes from the expansion of the macro `rw_field` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/macros.rs:231:49 [INFO] [stdout] | [INFO] [stdout] 231 | self.0[$offset].set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ring/trb/transfer.rs:236:5 [INFO] [stdout] | [INFO] [stdout] 236 | rw_field!([0](16..=31), value, "wValue", u16); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter` which comes from the expansion of the macro `rw_field` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/macros.rs:231:49 [INFO] [stdout] | [INFO] [stdout] 231 | self.0[$offset].set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ring/trb/transfer.rs:237:5 [INFO] [stdout] | [INFO] [stdout] 237 | rw_field!([1](0..=15), index, "wIndex", u16); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter` which comes from the expansion of the macro `rw_field` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/macros.rs:231:49 [INFO] [stdout] | [INFO] [stdout] 231 | self.0[$offset].set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ring/trb/transfer.rs:238:5 [INFO] [stdout] | [INFO] [stdout] 238 | rw_field!([1](16..=31), length, "wLength", u16); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter` which comes from the expansion of the macro `rw_field` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/macros.rs:231:49 [INFO] [stdout] | [INFO] [stdout] 231 | self.0[$offset].set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ring/trb/transfer.rs:239:5 [INFO] [stdout] | [INFO] [stdout] 239 | rw_field!([2](22..=31), interrupter_target, "Interrupter Target", u16); [INFO] [stdout] | ---------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter` which comes from the expansion of the macro `rw_field` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/macros.rs:206:13 [INFO] [stdout] | [INFO] [stdout] 206 | self.0[$offset].get_bits($range).try_into().unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ring/trb/transfer.rs:307:5 [INFO] [stdout] | [INFO] [stdout] 307 | rw_field!([2](0..=16), trb_transfer_length, "TRB Transfer Length", u32); [INFO] [stdout] | ----------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_getter` which comes from the expansion of the macro `rw_field` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/macros.rs:231:49 [INFO] [stdout] | [INFO] [stdout] 231 | self.0[$offset].set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ring/trb/transfer.rs:307:5 [INFO] [stdout] | [INFO] [stdout] 307 | rw_field!([2](0..=16), trb_transfer_length, "TRB Transfer Length", u32); [INFO] [stdout] | ----------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter` which comes from the expansion of the macro `rw_field` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/macros.rs:231:49 [INFO] [stdout] | [INFO] [stdout] 231 | self.0[$offset].set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ring/trb/transfer.rs:308:5 [INFO] [stdout] | [INFO] [stdout] 308 | rw_field!([2](17..=21), td_size, "TD Size", u8); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter` which comes from the expansion of the macro `rw_field` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/macros.rs:231:49 [INFO] [stdout] | [INFO] [stdout] 231 | self.0[$offset].set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ring/trb/transfer.rs:309:5 [INFO] [stdout] | [INFO] [stdout] 309 | rw_field!([2](22..=31), interrupter_target, "Interrupter Target", u16); [INFO] [stdout] | ---------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter` which comes from the expansion of the macro `rw_field` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/macros.rs:231:49 [INFO] [stdout] | [INFO] [stdout] 231 | self.0[$offset].set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ring/trb/transfer.rs:356:5 [INFO] [stdout] | [INFO] [stdout] 356 | rw_field!([2](22..=31), interrupter_target, "Interrupter Target", u16); [INFO] [stdout] | ---------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter` which comes from the expansion of the macro `rw_field` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/macros.rs:206:13 [INFO] [stdout] | [INFO] [stdout] 206 | self.0[$offset].get_bits($range).try_into().unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ring/trb/transfer.rs:393:5 [INFO] [stdout] | [INFO] [stdout] 393 | rw_field!([2](0..=16), trb_transfer_length, "TRB Transfer Length", u32); [INFO] [stdout] | ----------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_getter` which comes from the expansion of the macro `rw_field` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/macros.rs:231:49 [INFO] [stdout] | [INFO] [stdout] 231 | self.0[$offset].set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ring/trb/transfer.rs:393:5 [INFO] [stdout] | [INFO] [stdout] 393 | rw_field!([2](0..=16), trb_transfer_length, "TRB Transfer Length", u32); [INFO] [stdout] | ----------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter` which comes from the expansion of the macro `rw_field` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/macros.rs:231:49 [INFO] [stdout] | [INFO] [stdout] 231 | self.0[$offset].set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ring/trb/transfer.rs:394:5 [INFO] [stdout] | [INFO] [stdout] 394 | rw_field!([2](17..=21), td_size_or_tbc, "TD Size/TBC", u8); [INFO] [stdout] | ---------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter` which comes from the expansion of the macro `rw_field` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/macros.rs:231:49 [INFO] [stdout] | [INFO] [stdout] 231 | self.0[$offset].set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ring/trb/transfer.rs:395:5 [INFO] [stdout] | [INFO] [stdout] 395 | rw_field!([2](22..=31), interrupter_target, "Interrupter Target", u16); [INFO] [stdout] | ---------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter` which comes from the expansion of the macro `rw_field` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/macros.rs:231:49 [INFO] [stdout] | [INFO] [stdout] 231 | self.0[$offset].set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ring/trb/transfer.rs:405:5 [INFO] [stdout] | [INFO] [stdout] 405 | rw_field!([3](7..=8), transfer_burst_count, "Transfer Burst Count", u8); [INFO] [stdout] | ----------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter` which comes from the expansion of the macro `rw_field` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/macros.rs:231:49 [INFO] [stdout] | [INFO] [stdout] 231 | self.0[$offset].set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ring/trb/transfer.rs:407:5 [INFO] [stdout] | [INFO] [stdout] 407 | / rw_field!( [INFO] [stdout] 408 | | [3](16..=19), [INFO] [stdout] 409 | | transfer_last_burst_packet_count, [INFO] [stdout] 410 | | "Transfer Last Burst Packet Count", [INFO] [stdout] 411 | | u8 [INFO] [stdout] 412 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter` which comes from the expansion of the macro `rw_field` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/macros.rs:231:49 [INFO] [stdout] | [INFO] [stdout] 231 | self.0[$offset].set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ring/trb/transfer.rs:413:5 [INFO] [stdout] | [INFO] [stdout] 413 | rw_field!([3](20..=30), frame_id, "Frame ID", u16); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter` which comes from the expansion of the macro `rw_field` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/macros.rs:231:49 [INFO] [stdout] | [INFO] [stdout] 231 | self.0[$offset].set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ring/trb/transfer.rs:460:5 [INFO] [stdout] | [INFO] [stdout] 460 | rw_field!([2](22..=31), interrupter_target, "Interrupter Target", u16); [INFO] [stdout] | ---------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter` which comes from the expansion of the macro `rw_field` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/macros.rs:231:49 [INFO] [stdout] | [INFO] [stdout] 231 | self.0[$offset].set_bits($range,value.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ring/trb/transfer.rs:483:5 [INFO] [stdout] | [INFO] [stdout] 483 | rw_field!([2](22..=31), interrupter_target, "Interrupter Target", u16); [INFO] [stdout] | ---------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `field_setter` which comes from the expansion of the macro `rw_field` (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/ring/trb/transfer.rs:494:68 [INFO] [stdout] | [INFO] [stdout] 494 | #[derive(Copy, Clone, Debug, Ord, PartialOrd, Eq, PartialEq, Hash, 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_Direction` [INFO] [stdout] 495 | pub enum Direction { [INFO] [stdout] | --------- `Direction` 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 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/ring/trb/transfer.rs:520:68 [INFO] [stdout] | [INFO] [stdout] 520 | #[derive(Copy, Clone, Debug, Ord, PartialOrd, Eq, PartialEq, Hash, 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_TransferType` [INFO] [stdout] 521 | #[allow(clippy::module_name_repetitions)] [INFO] [stdout] 522 | pub enum TransferType { [INFO] [stdout] | ------------ `TransferType` 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 warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `xhci` (lib test) due to 101 previous errors; 15 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `xhci` (lib) due to 101 previous errors; 15 warnings emitted [INFO] running `Command { std: "docker" "inspect" "9d5524cb72df65b5124a5de748c5ce606c50950a320ee0f8cd8ca087102d0baa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9d5524cb72df65b5124a5de748c5ce606c50950a320ee0f8cd8ca087102d0baa", kill_on_drop: false }` [INFO] [stdout] 9d5524cb72df65b5124a5de748c5ce606c50950a320ee0f8cd8ca087102d0baa