[INFO] updating cached repository https://github.com/redox-os/drivers [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8e1f91137efddc04010bad9f63aad1c708e3977d [INFO] checking redox-os/drivers/8e1f91137efddc04010bad9f63aad1c708e3977d against master#df20355fa9fa5e9fb89be4e4bfee8a643bb7a23e for pr-95474 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fredox-os%2Fdrivers" "/workspace/builds/worker-15/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-15/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/redox-os/drivers on toolchain df20355fa9fa5e9fb89be4e4bfee8a643bb7a23e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+df20355fa9fa5e9fb89be4e4bfee8a643bb7a23e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/redox-os/drivers [INFO] finished tweaking git repo https://github.com/redox-os/drivers [INFO] tweaked toml for git repo https://github.com/redox-os/drivers written to /workspace/builds/worker-15/source/Cargo.toml [INFO] crate git repo https://github.com/redox-os/drivers already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+df20355fa9fa5e9fb89be4e4bfee8a643bb7a23e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+df20355fa9fa5e9fb89be4e4bfee8a643bb7a23e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 367d562255f8954a773f7ebbcd8b4112c6e13afcd96eba58ab32fe09ea1dc7e4 [INFO] running `Command { std: "docker" "start" "-a" "367d562255f8954a773f7ebbcd8b4112c6e13afcd96eba58ab32fe09ea1dc7e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "367d562255f8954a773f7ebbcd8b4112c6e13afcd96eba58ab32fe09ea1dc7e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "367d562255f8954a773f7ebbcd8b4112c6e13afcd96eba58ab32fe09ea1dc7e4", kill_on_drop: false }` [INFO] [stdout] 367d562255f8954a773f7ebbcd8b4112c6e13afcd96eba58ab32fe09ea1dc7e4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+df20355fa9fa5e9fb89be4e4bfee8a643bb7a23e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 02a9b1ba7a44b1aeda6a272cce8e8ed04bd323305c1fcb0363b65fb7b92b16d2 [INFO] running `Command { std: "docker" "start" "-a" "02a9b1ba7a44b1aeda6a272cce8e8ed04bd323305c1fcb0363b65fb7b92b16d2", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.121 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.89 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Checking numtoa v0.1.0 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Checking slab v0.4.5 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling unicode-segmentation v1.9.0 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Checking plain v0.2.3 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Checking paw-raw v1.0.0 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Checking itoa v1.0.1 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Checking ryu v1.0.9 [INFO] [stderr] Checking futures-sink v0.3.21 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling version-compare v0.1.0 [INFO] [stderr] Checking futures-io v0.3.21 [INFO] [stderr] Checking pin-project-lite v0.2.8 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking cty v0.2.2 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.8 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Compiling sdl2 v0.35.2 [INFO] [stderr] Checking unicode-bidi v0.3.7 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Checking lazycell v0.6.0 [INFO] [stderr] Checking byteorder v0.5.3 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking arg_parser v0.1.0 (https://gitlab.redox-os.org/redox-os/arg-parser.git#1c434b55) [INFO] [stderr] Checking extra v0.1.0 (https://gitlab.redox-os.org/redox-os/libextra.git#cf213969) [INFO] [stderr] Compiling build_const v0.2.2 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Checking utf8parse v0.1.1 [INFO] [stderr] Checking block-io-wrapper v0.1.0 (/opt/rustwide/workdir/block-io-wrapper) [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking ux v0.1.4 [INFO] [stderr] Checking base64 v0.11.0 [INFO] [stderr] Checking owning_ref v0.3.3 [INFO] [stderr] Checking vte v0.3.3 [INFO] [stderr] Compiling cmake v0.1.48 [INFO] [stderr] Checking redox_syscall v0.2.12 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Checking raw-window-handle v0.4.2 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking smallvec v0.6.14 [INFO] [stderr] Checking lock_api v0.4.6 [INFO] [stderr] Checking tinyvec v1.5.1 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Compiling crc v1.8.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking redox_event v0.1.0 (https://gitlab.redox-os.org/redox-os/event.git#228eb071) [INFO] [stderr] Checking redox_termios v0.1.2 [INFO] [stderr] Checking pcspkrd v0.1.0 (/opt/rustwide/workdir/pcspkrd) [INFO] [stderr] Checking ransid v0.4.8 [INFO] [stderr] Compiling sdl2-sys v0.35.2 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking termion v1.5.6 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking raw-window-handle v0.3.4 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.37 (https://gitlab.redox-os.org/redox-os/net2-rs.git?branch=master#db0604dc) [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking spin v0.9.2 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Compiling quote v1.0.16 [INFO] [stderr] Checking ntpclient v0.0.1 (https://github.com/willem66745/ntpclient-rust#7e3bdf60) [INFO] [stderr] Checking mio v0.6.14 (https://gitlab.redox-os.org/redox-os/mio.git?branch=redox-unix#c9a70849) [INFO] [stderr] Checking crossbeam-channel v0.5.4 [INFO] [stderr] Checking parking_lot_core v0.2.14 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Checking pbr v1.0.4 [INFO] [stderr] Checking parking_lot v0.4.8 [INFO] [stderr] Checking crossbeam-channel v0.4.4 [INFO] [stderr] Checking chashmap v2.2.2 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking uuid v0.7.4 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking gpt v0.6.3 (https://gitlab.redox-os.org/redox-os/gpt#4d800981) [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking netutils v0.1.0 (https://gitlab.redox-os.org/redox-os/netutils.git?branch=redox-unix#c5d6d209) [INFO] [stderr] Checking ixgbed v1.0.0 (/opt/rustwide/workdir/ixgbed) [INFO] [stderr] Checking alxd v0.1.0 (/opt/rustwide/workdir/alxd) [INFO] [stderr] Checking rtl8168d v0.1.0 (/opt/rustwide/workdir/rtl8168d) [INFO] [stderr] Checking e1000d v0.1.0 (/opt/rustwide/workdir/e1000d) [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> ixgbed/src/ixgbe.rs:11:51 [INFO] [stdout] | [INFO] [stdout] 11 | pub const IXGBE_CTRL_RST_MASK: u32 = (IXGBE_CTRL_LNK_RST | IXGBE_CTRL_RST); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 11 - pub const IXGBE_CTRL_RST_MASK: u32 = (IXGBE_CTRL_LNK_RST | IXGBE_CTRL_RST); [INFO] [stdout] 11 + pub const IXGBE_CTRL_RST_MASK: u32 = IXGBE_CTRL_LNK_RST | IXGBE_CTRL_RST; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> ixgbed/src/ixgbe.rs:21:51 [INFO] [stdout] | [INFO] [stdout] 21 | pub const IXGBE_AUTOC_LMS_MASK: u32 = (0x7 << IXGBE_AUTOC_LMS_SHIFT); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 21 - pub const IXGBE_AUTOC_LMS_MASK: u32 = (0x7 << IXGBE_AUTOC_LMS_SHIFT); [INFO] [stdout] 21 + pub const IXGBE_AUTOC_LMS_MASK: u32 = 0x7 << IXGBE_AUTOC_LMS_SHIFT; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> ixgbed/src/ixgbe.rs:22:51 [INFO] [stdout] | [INFO] [stdout] 22 | pub const IXGBE_AUTOC_LMS_10G_SERIAL: u32 = (0x3 << IXGBE_AUTOC_LMS_SHIFT); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 22 - pub const IXGBE_AUTOC_LMS_10G_SERIAL: u32 = (0x3 << IXGBE_AUTOC_LMS_SHIFT); [INFO] [stdout] 22 + pub const IXGBE_AUTOC_LMS_10G_SERIAL: u32 = 0x3 << IXGBE_AUTOC_LMS_SHIFT; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> ixgbed/src/ixgbe.rs:25:51 [INFO] [stdout] | [INFO] [stdout] 25 | pub const IXGBE_AUTOC_10G_XAUI: u32 = (0x0 << IXGBE_AUTOC_10G_PMA_PMD_SHIFT); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 25 - pub const IXGBE_AUTOC_10G_XAUI: u32 = (0x0 << IXGBE_AUTOC_10G_PMA_PMD_SHIFT); [INFO] [stdout] 25 + pub const IXGBE_AUTOC_10G_XAUI: u32 = 0x0 << IXGBE_AUTOC_10G_PMA_PMD_SHIFT; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> ixgbed/src/ixgbe.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | (0x03C00 + (i * 4)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 39 - (0x03C00 + (i * 4)) [INFO] [stdout] 39 + 0x03C00 + (i * 4) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> ixgbed/src/ixgbe.rs:117:5 [INFO] [stdout] | [INFO] [stdout] 117 | (0x0CC00 + (i * 4)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 117 - (0x0CC00 + (i * 4)) [INFO] [stdout] 117 + 0x0CC00 + (i * 4) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> ixgbed/src/ixgbe.rs:126:5 [INFO] [stdout] | [INFO] [stdout] 126 | (0x06000 + (i * 0x40)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 126 - (0x06000 + (i * 0x40)) [INFO] [stdout] 126 + 0x06000 + (i * 0x40) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> ixgbed/src/ixgbe.rs:129:5 [INFO] [stdout] | [INFO] [stdout] 129 | (0x06004 + (i * 0x40)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 129 - (0x06004 + (i * 0x40)) [INFO] [stdout] 129 + 0x06004 + (i * 0x40) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> ixgbed/src/ixgbe.rs:132:5 [INFO] [stdout] | [INFO] [stdout] 132 | (0x06008 + (i * 0x40)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 132 - (0x06008 + (i * 0x40)) [INFO] [stdout] 132 + 0x06008 + (i * 0x40) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> ixgbed/src/ixgbe.rs:135:5 [INFO] [stdout] | [INFO] [stdout] 135 | (0x06028 + (i * 0x40)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 135 - (0x06028 + (i * 0x40)) [INFO] [stdout] 135 + 0x06028 + (i * 0x40) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> ixgbed/src/ixgbe.rs:152:5 [INFO] [stdout] | [INFO] [stdout] 152 | (0x06010 + (i * 0x40)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 152 - (0x06010 + (i * 0x40)) [INFO] [stdout] 152 + 0x06010 + (i * 0x40) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> ixgbed/src/ixgbe.rs:155:5 [INFO] [stdout] | [INFO] [stdout] 155 | (0x06018 + (i * 0x40)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 155 - (0x06018 + (i * 0x40)) [INFO] [stdout] 155 + 0x06018 + (i * 0x40) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> ixgbed/src/ixgbe.rs:210:5 [INFO] [stdout] | [INFO] [stdout] 210 | (0x00900 + (i * 4)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 210 - (0x00900 + (i * 4)) [INFO] [stdout] 210 + 0x00900 + (i * 4) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CloneFlags` [INFO] [stdout] --> e1000d/src/main.rs:13:15 [INFO] [stdout] | [INFO] [stdout] 13 | use syscall::{CloneFlags, EventFlags, Packet, SchemeBlockMut, PHYSMAP_NO_CACHE, PHYSMAP_WRITE}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `goto_out` [INFO] [stdout] --> alxd/src/device/mod.rs:1725:22 [INFO] [stdout] | [INFO] [stdout] 1725 | macro_rules! goto_out { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CloneFlags` [INFO] [stdout] --> rtl8168d/src/main.rs:13:15 [INFO] [stdout] | [INFO] [stdout] 13 | use syscall::{CloneFlags, EventFlags, Packet, SchemeBlockMut, PHYSMAP_NO_CACHE, PHYSMAP_WRITE}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CloneFlags` [INFO] [stdout] --> rtl8168d/src/main.rs:13:15 [INFO] [stdout] | [INFO] [stdout] 13 | use syscall::{CloneFlags, EventFlags, Packet, SchemeBlockMut, PHYSMAP_NO_CACHE, PHYSMAP_WRITE}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `goto_out` [INFO] [stdout] --> alxd/src/device/mod.rs:1725:22 [INFO] [stdout] | [INFO] [stdout] 1725 | macro_rules! goto_out { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> ixgbed/src/ixgbe.rs:11:51 [INFO] [stdout] | [INFO] [stdout] 11 | pub const IXGBE_CTRL_RST_MASK: u32 = (IXGBE_CTRL_LNK_RST | IXGBE_CTRL_RST); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 11 - pub const IXGBE_CTRL_RST_MASK: u32 = (IXGBE_CTRL_LNK_RST | IXGBE_CTRL_RST); [INFO] [stdout] 11 + pub const IXGBE_CTRL_RST_MASK: u32 = IXGBE_CTRL_LNK_RST | IXGBE_CTRL_RST; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> ixgbed/src/ixgbe.rs:21:51 [INFO] [stdout] | [INFO] [stdout] 21 | pub const IXGBE_AUTOC_LMS_MASK: u32 = (0x7 << IXGBE_AUTOC_LMS_SHIFT); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 21 - pub const IXGBE_AUTOC_LMS_MASK: u32 = (0x7 << IXGBE_AUTOC_LMS_SHIFT); [INFO] [stdout] 21 + pub const IXGBE_AUTOC_LMS_MASK: u32 = 0x7 << IXGBE_AUTOC_LMS_SHIFT; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> ixgbed/src/ixgbe.rs:22:51 [INFO] [stdout] | [INFO] [stdout] 22 | pub const IXGBE_AUTOC_LMS_10G_SERIAL: u32 = (0x3 << IXGBE_AUTOC_LMS_SHIFT); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 22 - pub const IXGBE_AUTOC_LMS_10G_SERIAL: u32 = (0x3 << IXGBE_AUTOC_LMS_SHIFT); [INFO] [stdout] 22 + pub const IXGBE_AUTOC_LMS_10G_SERIAL: u32 = 0x3 << IXGBE_AUTOC_LMS_SHIFT; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> ixgbed/src/ixgbe.rs:25:51 [INFO] [stdout] | [INFO] [stdout] 25 | pub const IXGBE_AUTOC_10G_XAUI: u32 = (0x0 << IXGBE_AUTOC_10G_PMA_PMD_SHIFT); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 25 - pub const IXGBE_AUTOC_10G_XAUI: u32 = (0x0 << IXGBE_AUTOC_10G_PMA_PMD_SHIFT); [INFO] [stdout] 25 + pub const IXGBE_AUTOC_10G_XAUI: u32 = 0x0 << IXGBE_AUTOC_10G_PMA_PMD_SHIFT; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> ixgbed/src/ixgbe.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | (0x03C00 + (i * 4)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 39 - (0x03C00 + (i * 4)) [INFO] [stdout] 39 + 0x03C00 + (i * 4) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> ixgbed/src/ixgbe.rs:117:5 [INFO] [stdout] | [INFO] [stdout] 117 | (0x0CC00 + (i * 4)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 117 - (0x0CC00 + (i * 4)) [INFO] [stdout] 117 + 0x0CC00 + (i * 4) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> ixgbed/src/ixgbe.rs:126:5 [INFO] [stdout] | [INFO] [stdout] 126 | (0x06000 + (i * 0x40)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 126 - (0x06000 + (i * 0x40)) [INFO] [stdout] 126 + 0x06000 + (i * 0x40) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> ixgbed/src/ixgbe.rs:129:5 [INFO] [stdout] | [INFO] [stdout] 129 | (0x06004 + (i * 0x40)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 129 - (0x06004 + (i * 0x40)) [INFO] [stdout] 129 + 0x06004 + (i * 0x40) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> ixgbed/src/ixgbe.rs:132:5 [INFO] [stdout] | [INFO] [stdout] 132 | (0x06008 + (i * 0x40)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 132 - (0x06008 + (i * 0x40)) [INFO] [stdout] 132 + 0x06008 + (i * 0x40) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> ixgbed/src/ixgbe.rs:135:5 [INFO] [stdout] | [INFO] [stdout] 135 | (0x06028 + (i * 0x40)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 135 - (0x06028 + (i * 0x40)) [INFO] [stdout] 135 + 0x06028 + (i * 0x40) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> ixgbed/src/ixgbe.rs:152:5 [INFO] [stdout] | [INFO] [stdout] 152 | (0x06010 + (i * 0x40)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 152 - (0x06010 + (i * 0x40)) [INFO] [stdout] 152 + 0x06010 + (i * 0x40) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> ixgbed/src/ixgbe.rs:155:5 [INFO] [stdout] | [INFO] [stdout] 155 | (0x06018 + (i * 0x40)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 155 - (0x06018 + (i * 0x40)) [INFO] [stdout] 155 + 0x06018 + (i * 0x40) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> ixgbed/src/ixgbe.rs:210:5 [INFO] [stdout] | [INFO] [stdout] 210 | (0x00900 + (i * 4)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 210 - (0x00900 + (i * 4)) [INFO] [stdout] 210 + 0x00900 + (i * 4) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CloneFlags` [INFO] [stdout] --> e1000d/src/main.rs:13:15 [INFO] [stdout] | [INFO] [stdout] 13 | use syscall::{CloneFlags, EventFlags, Packet, SchemeBlockMut, PHYSMAP_NO_CACHE, PHYSMAP_WRITE}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `IMS_TXDW` [INFO] [stdout] --> e1000d/src/device.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | const IMS_TXDW: u32 = 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `IMS_TXQE` [INFO] [stdout] --> e1000d/src/device.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | const IMS_TXQE: u32 = 1 << 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `IMS_LSC` [INFO] [stdout] --> e1000d/src/device.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | const IMS_LSC: u32 = 1 << 2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `RCTL_MPE` [INFO] [stdout] --> e1000d/src/device.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | const RCTL_MPE: u32 = 1 << 4; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `checksum` [INFO] [stdout] --> e1000d/src/device.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | checksum: u16, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Rd` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> e1000d/src/device.rs:60:10 [INFO] [stdout] | [INFO] [stdout] 60 | #[derive(Debug, Copy, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `error` [INFO] [stdout] --> e1000d/src/device.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 67 | error: u8, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Rd` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> e1000d/src/device.rs:60:10 [INFO] [stdout] | [INFO] [stdout] 60 | #[derive(Debug, Copy, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `special` [INFO] [stdout] --> e1000d/src/device.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | special: u16, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Rd` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> e1000d/src/device.rs:60:10 [INFO] [stdout] | [INFO] [stdout] 60 | #[derive(Debug, Copy, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `RD_EOP` [INFO] [stdout] --> e1000d/src/device.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | const RD_EOP: u8 = 1 << 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `TD_DD` [INFO] [stdout] --> e1000d/src/device.rs:97:1 [INFO] [stdout] | [INFO] [stdout] 97 | const TD_DD: u8 = 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> alxd/src/main.rs:143:9 [INFO] [stdout] | [INFO] [stdout] 128 | / loop { [INFO] [stdout] 129 | | let event_count = event_queue.run().expect("alxd: failed to handle events"); [INFO] [stdout] 130 | | [INFO] [stdout] 131 | | socket.borrow_mut().write(&Packet { [INFO] [stdout] ... | [INFO] [stdout] 140 | | }).expect("alxd: failed to write event"); [INFO] [stdout] 141 | | } [INFO] [stdout] | |_____________- any code following this expression is unreachable [INFO] [stdout] 142 | } [INFO] [stdout] 143 | unsafe { let _ = syscall::physunmap(address); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `val` is never read [INFO] [stdout] --> alxd/src/device/mod.rs:668:6 [INFO] [stdout] | [INFO] [stdout] 668 | val = self.read(WOL0); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `err` is never read [INFO] [stdout] --> alxd/src/device/mod.rs:1126:6 [INFO] [stdout] | [INFO] [stdout] 1126 | err = self.read_phy_reg(MII_BMSR, &mut bmsr); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `val` is never read [INFO] [stdout] --> alxd/src/device/mod.rs:1281:6 [INFO] [stdout] | [INFO] [stdout] 1281 | val = self.read(DMA); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> alxd/src/main.rs:143:9 [INFO] [stdout] | [INFO] [stdout] 128 | / loop { [INFO] [stdout] 129 | | let event_count = event_queue.run().expect("alxd: failed to handle events"); [INFO] [stdout] 130 | | [INFO] [stdout] 131 | | socket.borrow_mut().write(&Packet { [INFO] [stdout] ... | [INFO] [stdout] 140 | | }).expect("alxd: failed to write event"); [INFO] [stdout] 141 | | } [INFO] [stdout] | |_____________- any code following this expression is unreachable [INFO] [stdout] 142 | } [INFO] [stdout] 143 | unsafe { let _ = syscall::physunmap(address); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `IMS_TXDW` [INFO] [stdout] --> e1000d/src/device.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | const IMS_TXDW: u32 = 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `IMS_TXQE` [INFO] [stdout] --> e1000d/src/device.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | const IMS_TXQE: u32 = 1 << 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `IMS_LSC` [INFO] [stdout] --> e1000d/src/device.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | const IMS_LSC: u32 = 1 << 2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `RCTL_MPE` [INFO] [stdout] --> e1000d/src/device.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | const RCTL_MPE: u32 = 1 << 4; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `checksum` [INFO] [stdout] --> e1000d/src/device.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | checksum: u16, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Rd` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> e1000d/src/device.rs:60:10 [INFO] [stdout] | [INFO] [stdout] 60 | #[derive(Debug, Copy, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `error` [INFO] [stdout] --> e1000d/src/device.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 67 | error: u8, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Rd` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> e1000d/src/device.rs:60:10 [INFO] [stdout] | [INFO] [stdout] 60 | #[derive(Debug, Copy, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `special` [INFO] [stdout] --> e1000d/src/device.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | special: u16, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Rd` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> e1000d/src/device.rs:60:10 [INFO] [stdout] | [INFO] [stdout] 60 | #[derive(Debug, Copy, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `RD_EOP` [INFO] [stdout] --> e1000d/src/device.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | const RD_EOP: u8 = 1 << 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `TD_DD` [INFO] [stdout] --> e1000d/src/device.rs:97:1 [INFO] [stdout] | [INFO] [stdout] 97 | const TD_DD: u8 = 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `val` is never read [INFO] [stdout] --> alxd/src/device/mod.rs:668:6 [INFO] [stdout] | [INFO] [stdout] 668 | val = self.read(WOL0); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `err` is never read [INFO] [stdout] --> alxd/src/device/mod.rs:1126:6 [INFO] [stdout] | [INFO] [stdout] 1126 | err = self.read_phy_reg(MII_BMSR, &mut bmsr); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `val` is never read [INFO] [stdout] --> alxd/src/device/mod.rs:1281:6 [INFO] [stdout] | [INFO] [stdout] 1281 | val = self.read(DMA); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling paw-attributes v1.0.2 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling scroll_derive v0.10.5 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Checking paw v1.0.0 [INFO] [stderr] Checking scroll v0.10.2 [INFO] [stderr] Checking partitionlib v0.1.0 (https://gitlab.redox-os.org/redox-os/partitionlib.git#1c12e0d9) [INFO] [stderr] Checking structopt v0.3.26 [INFO] [stderr] Checking thiserror v1.0.30 [INFO] [stderr] Checking futures-executor v0.3.21 [INFO] [stderr] Checking futures v0.3.21 [INFO] [stderr] Checking smallvec v1.8.0 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking redox-log v0.1.1 [INFO] [stderr] Checking ihdad v0.1.0 (/opt/rustwide/workdir/ihdad) [INFO] [stderr] Checking ahcid v0.1.0 (/opt/rustwide/workdir/ahcid) [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stdout] warning: variable `corbsize_bytes` is assigned to, but never used [INFO] [stdout] --> ihdad/src/hda/cmdbuff.rs:94:17 [INFO] [stdout] | [INFO] [stdout] 94 | let mut corbsize_bytes: usize = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] = note: consider using `_corbsize_bytes` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `corbsize` is assigned to, but never used [INFO] [stdout] --> ihdad/src/hda/cmdbuff.rs:95:17 [INFO] [stdout] | [INFO] [stdout] 95 | let mut corbsize: u8 = 0; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_corbsize` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `corbsize` is never read [INFO] [stdout] --> ihdad/src/hda/cmdbuff.rs:98:13 [INFO] [stdout] | [INFO] [stdout] 98 | corbsize = 2; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `corbsize_bytes` is never read [INFO] [stdout] --> ihdad/src/hda/cmdbuff.rs:99:13 [INFO] [stdout] | [INFO] [stdout] 99 | corbsize_bytes = 1024; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `corbsize` is never read [INFO] [stdout] --> ihdad/src/hda/cmdbuff.rs:103:13 [INFO] [stdout] | [INFO] [stdout] 103 | corbsize = 1; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `corbsize_bytes` is never read [INFO] [stdout] --> ihdad/src/hda/cmdbuff.rs:104:13 [INFO] [stdout] | [INFO] [stdout] 104 | corbsize_bytes = 64; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `corbsize` is never read [INFO] [stdout] --> ihdad/src/hda/cmdbuff.rs:108:13 [INFO] [stdout] | [INFO] [stdout] 108 | corbsize = 0; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `corbsize_bytes` is never read [INFO] [stdout] --> ihdad/src/hda/cmdbuff.rs:109:13 [INFO] [stdout] | [INFO] [stdout] 109 | corbsize_bytes = 8; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `rirbsize_bytes` is assigned to, but never used [INFO] [stdout] --> ihdad/src/hda/cmdbuff.rs:228:17 [INFO] [stdout] | [INFO] [stdout] 228 | let mut rirbsize_bytes: usize = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_rirbsize_bytes` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `rirbsize` is assigned to, but never used [INFO] [stdout] --> ihdad/src/hda/cmdbuff.rs:229:17 [INFO] [stdout] | [INFO] [stdout] 229 | let mut rirbsize: u8 = 0; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_rirbsize` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `rirbsize` is never read [INFO] [stdout] --> ihdad/src/hda/cmdbuff.rs:232:13 [INFO] [stdout] | [INFO] [stdout] 232 | rirbsize = 2; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `rirbsize_bytes` is never read [INFO] [stdout] --> ihdad/src/hda/cmdbuff.rs:233:13 [INFO] [stdout] | [INFO] [stdout] 233 | rirbsize_bytes = 2048; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `rirbsize` is never read [INFO] [stdout] --> ihdad/src/hda/cmdbuff.rs:237:13 [INFO] [stdout] | [INFO] [stdout] 237 | rirbsize = 1; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `rirbsize_bytes` is never read [INFO] [stdout] --> ihdad/src/hda/cmdbuff.rs:238:13 [INFO] [stdout] | [INFO] [stdout] 238 | rirbsize_bytes = 128; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `rirbsize` is never read [INFO] [stdout] --> ihdad/src/hda/cmdbuff.rs:242:13 [INFO] [stdout] | [INFO] [stdout] 242 | rirbsize = 0; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `rirbsize_bytes` is never read [INFO] [stdout] --> ihdad/src/hda/cmdbuff.rs:243:13 [INFO] [stdout] | [INFO] [stdout] 243 | rirbsize_bytes = 16; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> ihdad/src/main.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | let mut logger = RedoxLogger::new() [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> ahcid/src/main.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | let mut logger = RedoxLogger::new() [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `corbsize_bytes` is assigned to, but never used [INFO] [stdout] --> ihdad/src/hda/cmdbuff.rs:94:17 [INFO] [stdout] | [INFO] [stdout] 94 | let mut corbsize_bytes: usize = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] = note: consider using `_corbsize_bytes` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `corbsize` is assigned to, but never used [INFO] [stdout] --> ihdad/src/hda/cmdbuff.rs:95:17 [INFO] [stdout] | [INFO] [stdout] 95 | let mut corbsize: u8 = 0; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_corbsize` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `corbsize` is never read [INFO] [stdout] --> ihdad/src/hda/cmdbuff.rs:98:13 [INFO] [stdout] | [INFO] [stdout] 98 | corbsize = 2; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `corbsize_bytes` is never read [INFO] [stdout] --> ihdad/src/hda/cmdbuff.rs:99:13 [INFO] [stdout] | [INFO] [stdout] 99 | corbsize_bytes = 1024; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `corbsize` is never read [INFO] [stdout] --> ihdad/src/hda/cmdbuff.rs:103:13 [INFO] [stdout] | [INFO] [stdout] 103 | corbsize = 1; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `corbsize_bytes` is never read [INFO] [stdout] --> ihdad/src/hda/cmdbuff.rs:104:13 [INFO] [stdout] | [INFO] [stdout] 104 | corbsize_bytes = 64; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `corbsize` is never read [INFO] [stdout] --> ihdad/src/hda/cmdbuff.rs:108:13 [INFO] [stdout] | [INFO] [stdout] 108 | corbsize = 0; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `corbsize_bytes` is never read [INFO] [stdout] --> ihdad/src/hda/cmdbuff.rs:109:13 [INFO] [stdout] | [INFO] [stdout] 109 | corbsize_bytes = 8; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `rirbsize_bytes` is assigned to, but never used [INFO] [stdout] --> ihdad/src/hda/cmdbuff.rs:228:17 [INFO] [stdout] | [INFO] [stdout] 228 | let mut rirbsize_bytes: usize = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_rirbsize_bytes` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `rirbsize` is assigned to, but never used [INFO] [stdout] --> ihdad/src/hda/cmdbuff.rs:229:17 [INFO] [stdout] | [INFO] [stdout] 229 | let mut rirbsize: u8 = 0; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_rirbsize` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `rirbsize` is never read [INFO] [stdout] --> ihdad/src/hda/cmdbuff.rs:232:13 [INFO] [stdout] | [INFO] [stdout] 232 | rirbsize = 2; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `rirbsize_bytes` is never read [INFO] [stdout] --> ihdad/src/hda/cmdbuff.rs:233:13 [INFO] [stdout] | [INFO] [stdout] 233 | rirbsize_bytes = 2048; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `rirbsize` is never read [INFO] [stdout] --> ihdad/src/hda/cmdbuff.rs:237:13 [INFO] [stdout] | [INFO] [stdout] 237 | rirbsize = 1; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `rirbsize_bytes` is never read [INFO] [stdout] --> ihdad/src/hda/cmdbuff.rs:238:13 [INFO] [stdout] | [INFO] [stdout] 238 | rirbsize_bytes = 128; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `rirbsize` is never read [INFO] [stdout] --> ihdad/src/hda/cmdbuff.rs:242:13 [INFO] [stdout] | [INFO] [stdout] 242 | rirbsize = 0; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `rirbsize_bytes` is never read [INFO] [stdout] --> ihdad/src/hda/cmdbuff.rs:243:13 [INFO] [stdout] | [INFO] [stdout] 243 | rirbsize_bytes = 16; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> ihdad/src/hda/stream.rs:307:6 [INFO] [stdout] | [INFO] [stdout] 307 | syscall::physfree(phys, block_length * block_count); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> ihdad/src/main.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | let mut logger = RedoxLogger::new() [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> ihdad/src/hda/stream.rs:307:6 [INFO] [stdout] | [INFO] [stdout] 307 | syscall::physfree(phys, block_length * block_count); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking acpid v0.1.0 (/opt/rustwide/workdir/acpid) [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> ahcid/src/main.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | let mut logger = RedoxLogger::new() [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::dmar::Dmar` [INFO] [stdout] --> acpid/src/acpi.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use self::dmar::Dmar; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> acpid/src/aml/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SdtHeader`, `Sdt` [INFO] [stdout] --> acpid/src/aml/mod.rs:9:52 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::acpi::{AcpiContext, AmlContainingTable, Sdt, SdtHeader}; [INFO] [stdout] | ^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::dmar::Dmar` [INFO] [stdout] --> acpid/src/acpi.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use self::dmar::Dmar; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> acpid/src/aml/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SdtHeader`, `Sdt` [INFO] [stdout] --> acpid/src/aml/mod.rs:9:52 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::acpi::{AcpiContext, AmlContainingTable, Sdt, SdtHeader}; [INFO] [stdout] | ^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking pcid v0.1.0 (/opt/rustwide/workdir/pcid) [INFO] [stdout] warning: unused variable: `bytes_read` [INFO] [stdout] --> acpid/src/main.rs:238:13 [INFO] [stdout] | [INFO] [stdout] 238 | let bytes_read = read_part.read_exact(&mut res).expect("acpid: failed to read from sync pipe"); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes_read` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `len_bytes` [INFO] [stdout] --> acpid/src/acpi/dmar/mod.rs:461:13 [INFO] [stdout] | [INFO] [stdout] 461 | let len_bytes = match self.bytes.get(2..4) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_len_bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bytes_read` [INFO] [stdout] --> acpid/src/main.rs:238:13 [INFO] [stdout] | [INFO] [stdout] 238 | let bytes_read = read_part.read_exact(&mut res).expect("acpid: failed to read from sync pipe"); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes_read` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `len_bytes` [INFO] [stdout] --> acpid/src/acpi/dmar/mod.rs:461:13 [INFO] [stdout] | [INFO] [stdout] 461 | let len_bytes = match self.bytes.get(2..4) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_len_bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> acpid/src/main.rs:229:9 [INFO] [stdout] | [INFO] [stdout] 229 | let mut write_part = unsafe { File::from_raw_fd(pipes[1] as RawFd) }; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> acpid/src/main.rs:229:9 [INFO] [stdout] | [INFO] [stdout] 229 | let mut write_part = unsafe { File::from_raw_fd(pipes[1] as RawFd) }; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `reserved` [INFO] [stdout] --> acpid/src/acpi.rs:327:5 [INFO] [stdout] | [INFO] [stdout] 327 | reserved: u8, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `FadtStruct` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> acpid/src/acpi.rs:320:10 [INFO] [stdout] | [INFO] [stdout] 320 | #[derive(Clone, Copy, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `reserved2` [INFO] [stdout] --> acpid/src/acpi.rs:365:5 [INFO] [stdout] | [INFO] [stdout] 365 | reserved2: u8, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `FadtStruct` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> acpid/src/acpi.rs:320:10 [INFO] [stdout] | [INFO] [stdout] 320 | #[derive(Clone, Copy, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `address_space` [INFO] [stdout] --> acpid/src/acpi.rs:373:5 [INFO] [stdout] | [INFO] [stdout] 373 | address_space: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `GenericAddressStructure` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> acpid/src/acpi.rs:371:10 [INFO] [stdout] | [INFO] [stdout] 371 | #[derive(Clone, Copy, Debug, Default)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `bit_width` [INFO] [stdout] --> acpid/src/acpi.rs:374:5 [INFO] [stdout] | [INFO] [stdout] 374 | bit_width: u8, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `GenericAddressStructure` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> acpid/src/acpi.rs:371:10 [INFO] [stdout] | [INFO] [stdout] 371 | #[derive(Clone, Copy, Debug, Default)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `bit_offset` [INFO] [stdout] --> acpid/src/acpi.rs:375:5 [INFO] [stdout] | [INFO] [stdout] 375 | bit_offset: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `GenericAddressStructure` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> acpid/src/acpi.rs:371:10 [INFO] [stdout] | [INFO] [stdout] 371 | #[derive(Clone, Copy, Debug, Default)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `access_size` [INFO] [stdout] --> acpid/src/acpi.rs:376:5 [INFO] [stdout] | [INFO] [stdout] 376 | access_size: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `GenericAddressStructure` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> acpid/src/acpi.rs:371:10 [INFO] [stdout] | [INFO] [stdout] 371 | #[derive(Clone, Copy, Debug, Default)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `address` [INFO] [stdout] --> acpid/src/acpi.rs:377:5 [INFO] [stdout] | [INFO] [stdout] 377 | address: u64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `GenericAddressStructure` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> acpid/src/acpi.rs:371:10 [INFO] [stdout] | [INFO] [stdout] 371 | #[derive(Clone, Copy, Debug, Default)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `reserved3` [INFO] [stdout] --> acpid/src/acpi.rs:387:5 [INFO] [stdout] | [INFO] [stdout] 387 | reserved3: [u8; 3], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `FadtAcpi2Struct` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> acpid/src/acpi.rs:381:10 [INFO] [stdout] | [INFO] [stdout] 381 | #[derive(Clone, Copy, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `remmapping_structs_area` [INFO] [stdout] --> acpid/src/acpi/dmar/mod.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | fn remmapping_structs_area(&self) -> &[u8] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `init` [INFO] [stdout] --> acpid/src/acpi/dmar/mod.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn init(acpi_ctx: &AcpiContext) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> acpid/src/acpi/dmar/mod.rs:93:8 [INFO] [stdout] | [INFO] [stdout] 93 | fn new(sdt: Sdt) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `iter` [INFO] [stdout] --> acpid/src/acpi/dmar/mod.rs:104:12 [INFO] [stdout] | [INFO] [stdout] 104 | pub fn iter(&self) -> DmarIter<'_> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `try_new` [INFO] [stdout] --> acpid/src/acpi/dmar/mod.rs:139:12 [INFO] [stdout] | [INFO] [stdout] 139 | pub fn try_new(raw: &[u8]) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `device_scope_area` [INFO] [stdout] --> acpid/src/acpi/dmar/mod.rs:193:12 [INFO] [stdout] | [INFO] [stdout] 193 | pub fn device_scope_area(&self) -> &[u8] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `map` [INFO] [stdout] --> acpid/src/acpi/dmar/mod.rs:196:12 [INFO] [stdout] | [INFO] [stdout] 196 | pub fn map(&self) -> DrhdPage { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `kind` [INFO] [stdout] --> acpid/src/acpi/dmar/mod.rs:267:5 [INFO] [stdout] | [INFO] [stdout] 267 | kind: u16, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `DmarAtsrHeader` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> acpid/src/acpi/dmar/mod.rs:264:10 [INFO] [stdout] | [INFO] [stdout] 264 | #[derive(Clone, Copy, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `length` [INFO] [stdout] --> acpid/src/acpi/dmar/mod.rs:268:5 [INFO] [stdout] | [INFO] [stdout] 268 | length: u16, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `DmarAtsrHeader` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> acpid/src/acpi/dmar/mod.rs:264:10 [INFO] [stdout] | [INFO] [stdout] 264 | #[derive(Clone, Copy, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `flags` [INFO] [stdout] --> acpid/src/acpi/dmar/mod.rs:269:5 [INFO] [stdout] | [INFO] [stdout] 269 | flags: u8, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `DmarAtsrHeader` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> acpid/src/acpi/dmar/mod.rs:264:10 [INFO] [stdout] | [INFO] [stdout] 264 | #[derive(Clone, Copy, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `segment` [INFO] [stdout] --> acpid/src/acpi/dmar/mod.rs:271:5 [INFO] [stdout] | [INFO] [stdout] 271 | segment: u16, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `DmarAtsrHeader` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> acpid/src/acpi/dmar/mod.rs:264:10 [INFO] [stdout] | [INFO] [stdout] 264 | #[derive(Clone, Copy, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `lock_rule` [INFO] [stdout] --> acpid/src/aml/namedobj.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | lock_rule: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `FieldFlags` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> acpid/src/aml/namedobj.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `update_rule` [INFO] [stdout] --> acpid/src/aml/namedobj.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | update_rule: UpdateRule [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `FieldFlags` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> acpid/src/aml/namedobj.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `map` [INFO] [stdout] --> acpid/src/acpi/dmar/drhd.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn map(base_phys: usize) -> syscall::Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 28 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `reserved` [INFO] [stdout] --> acpid/src/acpi.rs:327:5 [INFO] [stdout] | [INFO] [stdout] 327 | reserved: u8, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `FadtStruct` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> acpid/src/acpi.rs:320:10 [INFO] [stdout] | [INFO] [stdout] 320 | #[derive(Clone, Copy, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `reserved2` [INFO] [stdout] --> acpid/src/acpi.rs:365:5 [INFO] [stdout] | [INFO] [stdout] 365 | reserved2: u8, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `FadtStruct` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> acpid/src/acpi.rs:320:10 [INFO] [stdout] | [INFO] [stdout] 320 | #[derive(Clone, Copy, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `address_space` [INFO] [stdout] --> acpid/src/acpi.rs:373:5 [INFO] [stdout] | [INFO] [stdout] 373 | address_space: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `GenericAddressStructure` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> acpid/src/acpi.rs:371:10 [INFO] [stdout] | [INFO] [stdout] 371 | #[derive(Clone, Copy, Debug, Default)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `bit_width` [INFO] [stdout] --> acpid/src/acpi.rs:374:5 [INFO] [stdout] | [INFO] [stdout] 374 | bit_width: u8, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `GenericAddressStructure` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> acpid/src/acpi.rs:371:10 [INFO] [stdout] | [INFO] [stdout] 371 | #[derive(Clone, Copy, Debug, Default)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `bit_offset` [INFO] [stdout] --> acpid/src/acpi.rs:375:5 [INFO] [stdout] | [INFO] [stdout] 375 | bit_offset: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `GenericAddressStructure` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> acpid/src/acpi.rs:371:10 [INFO] [stdout] | [INFO] [stdout] 371 | #[derive(Clone, Copy, Debug, Default)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `access_size` [INFO] [stdout] --> acpid/src/acpi.rs:376:5 [INFO] [stdout] | [INFO] [stdout] 376 | access_size: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `GenericAddressStructure` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> acpid/src/acpi.rs:371:10 [INFO] [stdout] | [INFO] [stdout] 371 | #[derive(Clone, Copy, Debug, Default)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `address` [INFO] [stdout] --> acpid/src/acpi.rs:377:5 [INFO] [stdout] | [INFO] [stdout] 377 | address: u64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `GenericAddressStructure` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> acpid/src/acpi.rs:371:10 [INFO] [stdout] | [INFO] [stdout] 371 | #[derive(Clone, Copy, Debug, Default)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `reserved3` [INFO] [stdout] --> acpid/src/acpi.rs:387:5 [INFO] [stdout] | [INFO] [stdout] 387 | reserved3: [u8; 3], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `FadtAcpi2Struct` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> acpid/src/acpi.rs:381:10 [INFO] [stdout] | [INFO] [stdout] 381 | #[derive(Clone, Copy, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `remmapping_structs_area` [INFO] [stdout] --> acpid/src/acpi/dmar/mod.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | fn remmapping_structs_area(&self) -> &[u8] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `init` [INFO] [stdout] --> acpid/src/acpi/dmar/mod.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn init(acpi_ctx: &AcpiContext) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> acpid/src/acpi/dmar/mod.rs:93:8 [INFO] [stdout] | [INFO] [stdout] 93 | fn new(sdt: Sdt) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `iter` [INFO] [stdout] --> acpid/src/acpi/dmar/mod.rs:104:12 [INFO] [stdout] | [INFO] [stdout] 104 | pub fn iter(&self) -> DmarIter<'_> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `try_new` [INFO] [stdout] --> acpid/src/acpi/dmar/mod.rs:139:12 [INFO] [stdout] | [INFO] [stdout] 139 | pub fn try_new(raw: &[u8]) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `device_scope_area` [INFO] [stdout] --> acpid/src/acpi/dmar/mod.rs:193:12 [INFO] [stdout] | [INFO] [stdout] 193 | pub fn device_scope_area(&self) -> &[u8] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `map` [INFO] [stdout] --> acpid/src/acpi/dmar/mod.rs:196:12 [INFO] [stdout] | [INFO] [stdout] 196 | pub fn map(&self) -> DrhdPage { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `kind` [INFO] [stdout] --> acpid/src/acpi/dmar/mod.rs:267:5 [INFO] [stdout] | [INFO] [stdout] 267 | kind: u16, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `DmarAtsrHeader` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> acpid/src/acpi/dmar/mod.rs:264:10 [INFO] [stdout] | [INFO] [stdout] 264 | #[derive(Clone, Copy, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `length` [INFO] [stdout] --> acpid/src/acpi/dmar/mod.rs:268:5 [INFO] [stdout] | [INFO] [stdout] 268 | length: u16, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `DmarAtsrHeader` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> acpid/src/acpi/dmar/mod.rs:264:10 [INFO] [stdout] | [INFO] [stdout] 264 | #[derive(Clone, Copy, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `flags` [INFO] [stdout] --> acpid/src/acpi/dmar/mod.rs:269:5 [INFO] [stdout] | [INFO] [stdout] 269 | flags: u8, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `DmarAtsrHeader` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> acpid/src/acpi/dmar/mod.rs:264:10 [INFO] [stdout] | [INFO] [stdout] 264 | #[derive(Clone, Copy, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `segment` [INFO] [stdout] --> acpid/src/acpi/dmar/mod.rs:271:5 [INFO] [stdout] | [INFO] [stdout] 271 | segment: u16, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `DmarAtsrHeader` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> acpid/src/acpi/dmar/mod.rs:264:10 [INFO] [stdout] | [INFO] [stdout] 264 | #[derive(Clone, Copy, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `lock_rule` [INFO] [stdout] --> acpid/src/aml/namedobj.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | lock_rule: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `FieldFlags` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> acpid/src/aml/namedobj.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `update_rule` [INFO] [stdout] --> acpid/src/aml/namedobj.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | update_rule: UpdateRule [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `FieldFlags` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> acpid/src/aml/namedobj.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `map` [INFO] [stdout] --> acpid/src/acpi/dmar/drhd.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn map(base_phys: usize) -> syscall::Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 28 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> pcid/src/pci/mod.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `buses` [INFO] [stdout] --> pcid/src/pci/mod.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn buses<'pci>(&'pci self) -> PciIter<'pci> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> pcid/src/pci/mod.rs:106:12 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn new(pci: &'pci dyn CfgAccess) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `devs` [INFO] [stdout] --> pcid/src/pci/bus.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn devs(&'pci self) -> PciBusIter<'pci> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> pcid/src/pci/bus.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn new(bus: &'pci PciBus<'pci>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> pcid/src/pci/cap.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn new(offset: u8, reader: &'a R) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `as_msi` [INFO] [stdout] --> pcid/src/pci/cap.rs:132:12 [INFO] [stdout] | [INFO] [stdout] 132 | pub fn as_msi(&self) -> Option<&MsiCapability> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `as_msix` [INFO] [stdout] --> pcid/src/pci/cap.rs:138:12 [INFO] [stdout] | [INFO] [stdout] 138 | pub fn as_msix(&self) -> Option<&MsixCapability> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `as_msi_mut` [INFO] [stdout] --> pcid/src/pci/cap.rs:144:12 [INFO] [stdout] | [INFO] [stdout] 144 | pub fn as_msi_mut(&mut self) -> Option<&mut MsiCapability> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `as_msix_mut` [INFO] [stdout] --> pcid/src/pci/cap.rs:150:12 [INFO] [stdout] | [INFO] [stdout] 150 | pub fn as_msix_mut(&mut self) -> Option<&mut MsixCapability> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `into_msi` [INFO] [stdout] --> pcid/src/pci/cap.rs:156:12 [INFO] [stdout] | [INFO] [stdout] 156 | pub fn into_msi(self) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `into_msix` [INFO] [stdout] --> pcid/src/pci/cap.rs:162:12 [INFO] [stdout] | [INFO] [stdout] 162 | pub fn into_msix(self) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `funcs` [INFO] [stdout] --> pcid/src/pci/dev.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn funcs(&'pci self) -> PciDevIter<'pci> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> pcid/src/pci/dev.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn new(dev: &'pci PciDev<'pci>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `NoDevice` [INFO] [stdout] --> pcid/src/pci/header.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | NoDevice, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PciHeaderError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> pcid/src/pci/header.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `UnknownHeaderType` [INFO] [stdout] --> pcid/src/pci/header.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | UnknownHeaderType(u8) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PciHeaderError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> pcid/src/pci/header.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `General` [INFO] [stdout] --> pcid/src/pci/header.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | / General { [INFO] [stdout] 33 | | vendor_id: u16, [INFO] [stdout] 34 | | device_id: u16, [INFO] [stdout] 35 | | command: u16, [INFO] [stdout] ... | [INFO] [stdout] 54 | | max_latency: u8 [INFO] [stdout] 55 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] note: `PciHeader` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> pcid/src/pci/header.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | #[derive(Clone, Copy, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `PciToPci` [INFO] [stdout] --> pcid/src/pci/header.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | / PciToPci { [INFO] [stdout] 57 | | vendor_id: u16, [INFO] [stdout] 58 | | device_id: u16, [INFO] [stdout] 59 | | command: u16, [INFO] [stdout] ... | [INFO] [stdout] 89 | | bridge_control: u16 [INFO] [stdout] 90 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] note: `PciHeader` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> pcid/src/pci/header.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | #[derive(Clone, Copy, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_reader` [INFO] [stdout] --> pcid/src/pci/header.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn from_reader(reader: T) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `header_type` [INFO] [stdout] --> pcid/src/pci/header.rs:185:12 [INFO] [stdout] | [INFO] [stdout] 185 | pub fn header_type(&self) -> PciHeaderType { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `vendor_id` [INFO] [stdout] --> pcid/src/pci/header.rs:192:12 [INFO] [stdout] | [INFO] [stdout] 192 | pub fn vendor_id(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `device_id` [INFO] [stdout] --> pcid/src/pci/header.rs:199:12 [INFO] [stdout] | [INFO] [stdout] 199 | pub fn device_id(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `revision` [INFO] [stdout] --> pcid/src/pci/header.rs:206:12 [INFO] [stdout] | [INFO] [stdout] 206 | pub fn revision(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `interface` [INFO] [stdout] --> pcid/src/pci/header.rs:213:12 [INFO] [stdout] | [INFO] [stdout] 213 | pub fn interface(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `subclass` [INFO] [stdout] --> pcid/src/pci/header.rs:220:12 [INFO] [stdout] | [INFO] [stdout] 220 | pub fn subclass(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `class` [INFO] [stdout] --> pcid/src/pci/header.rs:227:12 [INFO] [stdout] | [INFO] [stdout] 227 | pub fn class(&self) -> PciClass { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `bars` [INFO] [stdout] --> pcid/src/pci/header.rs:234:12 [INFO] [stdout] | [INFO] [stdout] 234 | pub fn bars(&self) -> &[PciBar] { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_bar` [INFO] [stdout] --> pcid/src/pci/header.rs:246:12 [INFO] [stdout] | [INFO] [stdout] 246 | pub fn get_bar(&self, idx: usize) -> PciBar { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `interrupt_line` [INFO] [stdout] --> pcid/src/pci/header.rs:260:12 [INFO] [stdout] | [INFO] [stdout] 260 | pub fn interrupt_line(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `status` [INFO] [stdout] --> pcid/src/pci/header.rs:267:12 [INFO] [stdout] | [INFO] [stdout] 267 | pub fn status(&self) -> u16 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `cap_pointer` [INFO] [stdout] --> pcid/src/pci/header.rs:273:12 [INFO] [stdout] | [INFO] [stdout] 273 | pub fn cap_pointer(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 31 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking xhcid v0.1.0 (/opt/rustwide/workdir/xhcid) [INFO] [stderr] Checking nvmed v0.1.0 (/opt/rustwide/workdir/nvmed) [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> pcid/src/pci/mod.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `buses` [INFO] [stdout] --> pcid/src/pci/mod.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn buses<'pci>(&'pci self) -> PciIter<'pci> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> pcid/src/pci/mod.rs:106:12 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn new(pci: &'pci dyn CfgAccess) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `devs` [INFO] [stdout] --> pcid/src/pci/bus.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn devs(&'pci self) -> PciBusIter<'pci> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> pcid/src/pci/bus.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn new(bus: &'pci PciBus<'pci>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> pcid/src/pci/cap.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn new(offset: u8, reader: &'a R) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `as_msi` [INFO] [stdout] --> pcid/src/pci/cap.rs:132:12 [INFO] [stdout] | [INFO] [stdout] 132 | pub fn as_msi(&self) -> Option<&MsiCapability> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `as_msix` [INFO] [stdout] --> pcid/src/pci/cap.rs:138:12 [INFO] [stdout] | [INFO] [stdout] 138 | pub fn as_msix(&self) -> Option<&MsixCapability> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `as_msi_mut` [INFO] [stdout] --> pcid/src/pci/cap.rs:144:12 [INFO] [stdout] | [INFO] [stdout] 144 | pub fn as_msi_mut(&mut self) -> Option<&mut MsiCapability> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `as_msix_mut` [INFO] [stdout] --> pcid/src/pci/cap.rs:150:12 [INFO] [stdout] | [INFO] [stdout] 150 | pub fn as_msix_mut(&mut self) -> Option<&mut MsixCapability> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `into_msi` [INFO] [stdout] --> pcid/src/pci/cap.rs:156:12 [INFO] [stdout] | [INFO] [stdout] 156 | pub fn into_msi(self) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `into_msix` [INFO] [stdout] --> pcid/src/pci/cap.rs:162:12 [INFO] [stdout] | [INFO] [stdout] 162 | pub fn into_msix(self) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `funcs` [INFO] [stdout] --> pcid/src/pci/dev.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn funcs(&'pci self) -> PciDevIter<'pci> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> pcid/src/pci/dev.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn new(dev: &'pci PciDev<'pci>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `status` [INFO] [stdout] --> pcid/src/pci/header.rs:267:12 [INFO] [stdout] | [INFO] [stdout] 267 | pub fn status(&self) -> u16 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `cap_pointer` [INFO] [stdout] --> pcid/src/pci/header.rs:273:12 [INFO] [stdout] | [INFO] [stdout] 273 | pub fn cap_pointer(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ptr` [INFO] [stdout] --> nvmed/src/nvme/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::ptr; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AtomicUsize`, `Ordering` [INFO] [stdout] --> nvmed/src/nvme/mod.rs:5:47 [INFO] [stdout] | [INFO] [stdout] 5 | use std::sync::atomic::{AtomicU16, AtomicU64, AtomicUsize, Ordering}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `EINVAL`, `Error` [INFO] [stdout] --> nvmed/src/nvme/mod.rs:11:22 [INFO] [stdout] | [INFO] [stdout] 11 | use syscall::error::{Error, Result, EINVAL}; [INFO] [stdout] | ^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `match` scrutinee expression [INFO] [stdout] --> nvmed/src/nvme/identify.rs:125:15 [INFO] [stdout] | [INFO] [stdout] 125 | match ((self.0 >> 24) & 0b11) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 125 - match ((self.0 >> 24) & 0b11) { [INFO] [stdout] 125 + match (self.0 >> 24) & 0b11 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ptr` [INFO] [stdout] --> nvmed/src/nvme/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::ptr; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AtomicUsize`, `Ordering` [INFO] [stdout] --> nvmed/src/nvme/mod.rs:5:47 [INFO] [stdout] | [INFO] [stdout] 5 | use std::sync::atomic::{AtomicU16, AtomicU64, AtomicUsize, Ordering}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `EINVAL`, `Error` [INFO] [stdout] --> nvmed/src/nvme/mod.rs:11:22 [INFO] [stdout] | [INFO] [stdout] 11 | use syscall::error::{Error, Result, EINVAL}; [INFO] [stdout] | ^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `match` scrutinee expression [INFO] [stdout] --> nvmed/src/nvme/identify.rs:125:15 [INFO] [stdout] | [INFO] [stdout] 125 | match ((self.0 >> 24) & 0b11) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 125 - match ((self.0 >> 24) & 0b11) { [INFO] [stdout] 125 + match (self.0 >> 24) & 0b11 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Io` [INFO] [stdout] --> nvmed/src/scheme.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | Error, Io, Result, SchemeBlockMut, Stat, EACCES, EBADF, EINVAL, EISDIR, ENOENT, EOVERFLOW, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pba_base` [INFO] [stdout] --> nvmed/src/main.rs:108:13 [INFO] [stdout] | [INFO] [stdout] 108 | let pba_base = unsafe { pba_bar_base.offset(capability_struct.pba_offset() as isize) }; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pba_base` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `irq` [INFO] [stdout] --> nvmed/src/main.rs:283:9 [INFO] [stdout] | [INFO] [stdout] 283 | let irq = pci_config.func.legacy_interrupt_line; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_irq` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `comp` [INFO] [stdout] --> nvmed/src/nvme/mod.rs:441:13 [INFO] [stdout] | [INFO] [stdout] 441 | let comp = self [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_comp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `comp` [INFO] [stdout] --> nvmed/src/nvme/mod.rs:478:13 [INFO] [stdout] | [INFO] [stdout] 478 | let comp = self [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_comp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `comp` [INFO] [stdout] --> nvmed/src/nvme/mod.rs:526:13 [INFO] [stdout] | [INFO] [stdout] 526 | let comp = self.submit_and_complete_command(1, |cid| { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_comp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cid` [INFO] [stdout] --> nvmed/src/nvme/cmd.rs:118:25 [INFO] [stdout] | [INFO] [stdout] 118 | pub fn get_features(cid: u16, ptr: usize, fid: u8) -> Self { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `comp` [INFO] [stdout] --> nvmed/src/nvme/identify.rs:195:13 [INFO] [stdout] | [INFO] [stdout] 195 | let comp = self [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_comp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> nvmed/src/nvme/mod.rs:228:13 [INFO] [stdout] | [INFO] [stdout] 228 | let mut regs: &mut NvmeRegs = regs_guard.deref_mut(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> nvmed/src/nvme/mod.rs:244:13 [INFO] [stdout] | [INFO] [stdout] 244 | let mut buffer = self.buffer.get_mut().unwrap(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> nvmed/src/nvme/mod.rs:245:13 [INFO] [stdout] | [INFO] [stdout] 245 | let mut buffer_prp = self.buffer_prp.get_mut().unwrap(); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> nvmed/src/main.rs:218:9 [INFO] [stdout] | [INFO] [stdout] 218 | let mut logger = RedoxLogger::new() [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Io` [INFO] [stdout] --> nvmed/src/scheme.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | Error, Io, Result, SchemeBlockMut, Stat, EACCES, EBADF, EINVAL, EISDIR, ENOENT, EOVERFLOW, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pba_base` [INFO] [stdout] --> nvmed/src/main.rs:108:13 [INFO] [stdout] | [INFO] [stdout] 108 | let pba_base = unsafe { pba_bar_base.offset(capability_struct.pba_offset() as isize) }; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pba_base` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `irq` [INFO] [stdout] --> nvmed/src/main.rs:283:9 [INFO] [stdout] | [INFO] [stdout] 283 | let irq = pci_config.func.legacy_interrupt_line; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_irq` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `comp` [INFO] [stdout] --> nvmed/src/nvme/mod.rs:441:13 [INFO] [stdout] | [INFO] [stdout] 441 | let comp = self [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_comp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `comp` [INFO] [stdout] --> nvmed/src/nvme/mod.rs:478:13 [INFO] [stdout] | [INFO] [stdout] 478 | let comp = self [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_comp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `comp` [INFO] [stdout] --> nvmed/src/nvme/mod.rs:526:13 [INFO] [stdout] | [INFO] [stdout] 526 | let comp = self.submit_and_complete_command(1, |cid| { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_comp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cid` [INFO] [stdout] --> nvmed/src/nvme/cmd.rs:118:25 [INFO] [stdout] | [INFO] [stdout] 118 | pub fn get_features(cid: u16, ptr: usize, fid: u8) -> Self { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `comp` [INFO] [stdout] --> nvmed/src/nvme/identify.rs:195:13 [INFO] [stdout] | [INFO] [stdout] 195 | let comp = self [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_comp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `bar_size` [INFO] [stdout] --> nvmed/src/main.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | bar_size: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_intx` [INFO] [stdout] --> nvmed/src/nvme/mod.rs:84:8 [INFO] [stdout] | [INFO] [stdout] 84 | fn is_intx(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_msi` [INFO] [stdout] --> nvmed/src/nvme/mod.rs:91:8 [INFO] [stdout] | [INFO] [stdout] 91 | fn is_msi(&self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_msix` [INFO] [stdout] --> nvmed/src/nvme/mod.rs:98:8 [INFO] [stdout] | [INFO] [stdout] 98 | fn is_msix(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `nssr` [INFO] [stdout] --> nvmed/src/nvme/mod.rs:130:5 [INFO] [stdout] | [INFO] [stdout] 130 | nssr: Mmio, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `cmbloc` [INFO] [stdout] --> nvmed/src/nvme/mod.rs:138:5 [INFO] [stdout] | [INFO] [stdout] 138 | cmbloc: Mmio, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `cmbsz` [INFO] [stdout] --> nvmed/src/nvme/mod.rs:140:5 [INFO] [stdout] | [INFO] [stdout] 140 | cmbsz: Mmio, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `AtomicCmdId` [INFO] [stdout] --> nvmed/src/nvme/mod.rs:155:1 [INFO] [stdout] | [INFO] [stdout] 155 | pub type AtomicCmdId = AtomicU16; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `pcid_interface` [INFO] [stdout] --> nvmed/src/nvme/mod.rs:159:5 [INFO] [stdout] | [INFO] [stdout] 159 | pcid_interface: Mutex, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `next_sqid` [INFO] [stdout] --> nvmed/src/nvme/mod.rs:173:5 [INFO] [stdout] | [INFO] [stdout] 173 | next_sqid: AtomicSqId, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `next_cqid` [INFO] [stdout] --> nvmed/src/nvme/mod.rs:174:5 [INFO] [stdout] | [INFO] [stdout] 174 | next_cqid: AtomicCqId, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `next_avail_submission_epoch` [INFO] [stdout] --> nvmed/src/nvme/mod.rs:176:5 [INFO] [stdout] | [INFO] [stdout] 176 | next_avail_submission_epoch: AtomicU64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `FullSqHandling` [INFO] [stdout] --> nvmed/src/nvme/mod.rs:182:10 [INFO] [stdout] | [INFO] [stdout] 182 | pub enum FullSqHandling { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_features` [INFO] [stdout] --> nvmed/src/nvme/cmd.rs:118:12 [INFO] [stdout] | [INFO] [stdout] 118 | pub fn get_features(cid: u16, ptr: usize, fid: u8) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `has_metadata_after_data` [INFO] [stdout] --> nvmed/src/nvme/identify.rs:94:12 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn has_metadata_after_data(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Best` [INFO] [stdout] --> nvmed/src/nvme/identify.rs:106:5 [INFO] [stdout] | [INFO] [stdout] 106 | Best = 0b00, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `RelativePerformance` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> nvmed/src/nvme/identify.rs:104:10 [INFO] [stdout] | [INFO] [stdout] 104 | #[derive(Clone, Copy, Debug, Eq, Hash, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Better` [INFO] [stdout] --> nvmed/src/nvme/identify.rs:107:5 [INFO] [stdout] | [INFO] [stdout] 107 | Better, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `RelativePerformance` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> nvmed/src/nvme/identify.rs:104:10 [INFO] [stdout] | [INFO] [stdout] 104 | #[derive(Clone, Copy, Debug, Eq, Hash, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Good` [INFO] [stdout] --> nvmed/src/nvme/identify.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 108 | Good, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `RelativePerformance` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> nvmed/src/nvme/identify.rs:104:10 [INFO] [stdout] | [INFO] [stdout] 104 | #[derive(Clone, Copy, Debug, Eq, Hash, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Degraded` [INFO] [stdout] --> nvmed/src/nvme/identify.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 109 | Degraded, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `RelativePerformance` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> nvmed/src/nvme/identify.rs:104:10 [INFO] [stdout] | [INFO] [stdout] 104 | #[derive(Clone, Copy, Debug, Eq, Hash, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `relative_performance` [INFO] [stdout] --> nvmed/src/nvme/identify.rs:124:12 [INFO] [stdout] | [INFO] [stdout] 124 | pub fn relative_performance(&self) -> RelativePerformance { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_available` [INFO] [stdout] --> nvmed/src/nvme/identify.rs:133:12 [INFO] [stdout] | [INFO] [stdout] 133 | pub fn is_available(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `metadata_size` [INFO] [stdout] --> nvmed/src/nvme/identify.rs:144:12 [INFO] [stdout] | [INFO] [stdout] 144 | pub fn metadata_size(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `complete_spin` [INFO] [stdout] --> nvmed/src/nvme/queues.rs:79:8 [INFO] [stdout] | [INFO] [stdout] 79 | fn complete_spin(&mut self) -> (u16, NvmeComp) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_empty` [INFO] [stdout] --> nvmed/src/nvme/queues.rs:107:12 [INFO] [stdout] | [INFO] [stdout] 107 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 40 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> nvmed/src/nvme/mod.rs:228:13 [INFO] [stdout] | [INFO] [stdout] 228 | let mut regs: &mut NvmeRegs = regs_guard.deref_mut(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> nvmed/src/nvme/mod.rs:244:13 [INFO] [stdout] | [INFO] [stdout] 244 | let mut buffer = self.buffer.get_mut().unwrap(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> nvmed/src/nvme/mod.rs:245:13 [INFO] [stdout] | [INFO] [stdout] 245 | let mut buffer_prp = self.buffer_prp.get_mut().unwrap(); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> nvmed/src/main.rs:218:9 [INFO] [stdout] | [INFO] [stdout] 218 | let mut logger = RedoxLogger::new() [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `bar_size` [INFO] [stdout] --> nvmed/src/main.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | bar_size: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_intx` [INFO] [stdout] --> nvmed/src/nvme/mod.rs:84:8 [INFO] [stdout] | [INFO] [stdout] 84 | fn is_intx(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_msi` [INFO] [stdout] --> nvmed/src/nvme/mod.rs:91:8 [INFO] [stdout] | [INFO] [stdout] 91 | fn is_msi(&self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_msix` [INFO] [stdout] --> nvmed/src/nvme/mod.rs:98:8 [INFO] [stdout] | [INFO] [stdout] 98 | fn is_msix(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `nssr` [INFO] [stdout] --> nvmed/src/nvme/mod.rs:130:5 [INFO] [stdout] | [INFO] [stdout] 130 | nssr: Mmio, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `cmbloc` [INFO] [stdout] --> nvmed/src/nvme/mod.rs:138:5 [INFO] [stdout] | [INFO] [stdout] 138 | cmbloc: Mmio, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `cmbsz` [INFO] [stdout] --> nvmed/src/nvme/mod.rs:140:5 [INFO] [stdout] | [INFO] [stdout] 140 | cmbsz: Mmio, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `AtomicCmdId` [INFO] [stdout] --> nvmed/src/nvme/mod.rs:155:1 [INFO] [stdout] | [INFO] [stdout] 155 | pub type AtomicCmdId = AtomicU16; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `pcid_interface` [INFO] [stdout] --> nvmed/src/nvme/mod.rs:159:5 [INFO] [stdout] | [INFO] [stdout] 159 | pcid_interface: Mutex, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `next_sqid` [INFO] [stdout] --> nvmed/src/nvme/mod.rs:173:5 [INFO] [stdout] | [INFO] [stdout] 173 | next_sqid: AtomicSqId, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `next_cqid` [INFO] [stdout] --> nvmed/src/nvme/mod.rs:174:5 [INFO] [stdout] | [INFO] [stdout] 174 | next_cqid: AtomicCqId, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `next_avail_submission_epoch` [INFO] [stdout] --> nvmed/src/nvme/mod.rs:176:5 [INFO] [stdout] | [INFO] [stdout] 176 | next_avail_submission_epoch: AtomicU64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `FullSqHandling` [INFO] [stdout] --> nvmed/src/nvme/mod.rs:182:10 [INFO] [stdout] | [INFO] [stdout] 182 | pub enum FullSqHandling { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_features` [INFO] [stdout] --> nvmed/src/nvme/cmd.rs:118:12 [INFO] [stdout] | [INFO] [stdout] 118 | pub fn get_features(cid: u16, ptr: usize, fid: u8) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `has_metadata_after_data` [INFO] [stdout] --> nvmed/src/nvme/identify.rs:94:12 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn has_metadata_after_data(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Best` [INFO] [stdout] --> nvmed/src/nvme/identify.rs:106:5 [INFO] [stdout] | [INFO] [stdout] 106 | Best = 0b00, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `RelativePerformance` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> nvmed/src/nvme/identify.rs:104:10 [INFO] [stdout] | [INFO] [stdout] 104 | #[derive(Clone, Copy, Debug, Eq, Hash, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Better` [INFO] [stdout] --> nvmed/src/nvme/identify.rs:107:5 [INFO] [stdout] | [INFO] [stdout] 107 | Better, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `RelativePerformance` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> nvmed/src/nvme/identify.rs:104:10 [INFO] [stdout] | [INFO] [stdout] 104 | #[derive(Clone, Copy, Debug, Eq, Hash, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Good` [INFO] [stdout] --> nvmed/src/nvme/identify.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 108 | Good, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `RelativePerformance` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> nvmed/src/nvme/identify.rs:104:10 [INFO] [stdout] | [INFO] [stdout] 104 | #[derive(Clone, Copy, Debug, Eq, Hash, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Degraded` [INFO] [stdout] --> nvmed/src/nvme/identify.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 109 | Degraded, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `RelativePerformance` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> nvmed/src/nvme/identify.rs:104:10 [INFO] [stdout] | [INFO] [stdout] 104 | #[derive(Clone, Copy, Debug, Eq, Hash, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `relative_performance` [INFO] [stdout] --> nvmed/src/nvme/identify.rs:124:12 [INFO] [stdout] | [INFO] [stdout] 124 | pub fn relative_performance(&self) -> RelativePerformance { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_available` [INFO] [stdout] --> nvmed/src/nvme/identify.rs:133:12 [INFO] [stdout] | [INFO] [stdout] 133 | pub fn is_available(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `metadata_size` [INFO] [stdout] --> nvmed/src/nvme/identify.rs:144:12 [INFO] [stdout] | [INFO] [stdout] 144 | pub fn metadata_size(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `complete_spin` [INFO] [stdout] --> nvmed/src/nvme/queues.rs:79:8 [INFO] [stdout] | [INFO] [stdout] 79 | fn complete_spin(&mut self) -> (u16, NvmeComp) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_empty` [INFO] [stdout] --> nvmed/src/nvme/queues.rs:107:12 [INFO] [stdout] | [INFO] [stdout] 107 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 40 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: reference to packed field is unaligned [INFO] [stdout] --> xhcid/src/usb/bos.rs:80:17 [INFO] [stdout] | [INFO] [stdout] 80 | &self.sublink_speed_attr as *const u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unaligned_references)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #82523 [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: reference to packed field is unaligned [INFO] [stdout] --> xhcid/src/usb/bos.rs:80:17 [INFO] [stdout] | [INFO] [stdout] 80 | &self.sublink_speed_attr as *const u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unaligned_references)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #82523 [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `in_redox_logging_scheme` found for struct `OutputBuilder` in the current scope [INFO] [stdout] --> pcid/src/main.rs:500:26 [INFO] [stdout] | [INFO] [stdout] 500 | match OutputBuilder::in_redox_logging_scheme("bus", "pci", "pcid.log") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `OutputBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `in_redox_logging_scheme` found for struct `OutputBuilder` in the current scope [INFO] [stdout] --> pcid/src/main.rs:508:26 [INFO] [stdout] | [INFO] [stdout] 508 | match OutputBuilder::in_redox_logging_scheme("bus", "pci", "pcid.ansi.log") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `OutputBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `in_redox_logging_scheme` found for struct `OutputBuilder` in the current scope [INFO] [stdout] --> pcid/src/main.rs:500:26 [INFO] [stdout] | [INFO] [stdout] 500 | match OutputBuilder::in_redox_logging_scheme("bus", "pci", "pcid.log") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `OutputBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `in_redox_logging_scheme` found for struct `OutputBuilder` in the current scope [INFO] [stdout] --> pcid/src/main.rs:508:26 [INFO] [stdout] | [INFO] [stdout] 508 | match OutputBuilder::in_redox_logging_scheme("bus", "pci", "pcid.ansi.log") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `OutputBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Notification` [INFO] [stdout] --> xhcid/src/driver_interface.rs:169:13 [INFO] [stdout] | [INFO] [stdout] 169 | Notification, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Rsvd2` [INFO] [stdout] --> xhcid/src/driver_interface.rs:170:13 [INFO] [stdout] | [INFO] [stdout] 170 | Rsvd2, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Rsvd3` [INFO] [stdout] --> xhcid/src/driver_interface.rs:171:13 [INFO] [stdout] | [INFO] [stdout] 171 | Rsvd3, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `inner` [INFO] [stdout] --> xhcid/src/driver_interface.rs:705:5 [INFO] [stdout] | [INFO] [stdout] 705 | inner: TransferStream<'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `inner` [INFO] [stdout] --> xhcid/src/driver_interface.rs:708:5 [INFO] [stdout] | [INFO] [stdout] 708 | inner: TransferStream<'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `bytes_to_transfer` [INFO] [stdout] --> xhcid/src/driver_interface.rs:711:5 [INFO] [stdout] | [INFO] [stdout] 711 | bytes_to_transfer: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `bytes_transferred` [INFO] [stdout] --> xhcid/src/driver_interface.rs:712:5 [INFO] [stdout] | [INFO] [stdout] 712 | bytes_transferred: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `bytes_per_transfer` [INFO] [stdout] --> xhcid/src/driver_interface.rs:713:5 [INFO] [stdout] | [INFO] [stdout] 713 | bytes_per_transfer: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `endp_handle` [INFO] [stdout] --> xhcid/src/driver_interface.rs:714:5 [INFO] [stdout] | [INFO] [stdout] 714 | endp_handle: &'a mut XhciEndpHandle, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `DescriptorKind` [INFO] [stdout] --> xhcid/src/usb/mod.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | pub enum DescriptorKind { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `sublink_speed_attr` [INFO] [stdout] --> xhcid/src/usb/bos.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | sublink_speed_attr: [u32; 0], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `BosSuperSpeedPlusDesc` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> xhcid/src/usb/bos.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 38 | #[derive(Clone, Copy, Debug, Default)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `ssac` [INFO] [stdout] --> xhcid/src/usb/bos.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn ssac(&self) -> u8 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `sublink_speed_attr` [INFO] [stdout] --> xhcid/src/usb/bos.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn sublink_speed_attr(&self) -> &[u32] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_superspeed` [INFO] [stdout] --> xhcid/src/usb/bos.rs:125:12 [INFO] [stdout] | [INFO] [stdout] 125 | pub fn is_superspeed(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_superspeedplus` [INFO] [stdout] --> xhcid/src/usb/bos.rs:131:12 [INFO] [stdout] | [INFO] [stdout] 131 | pub fn is_superspeedplus(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `bos_capability_descs` [INFO] [stdout] --> xhcid/src/usb/bos.rs:175:8 [INFO] [stdout] | [INFO] [stdout] 175 | pub fn bos_capability_descs<'a>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `minor_usb_vers` [INFO] [stdout] --> xhcid/src/usb/device.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | fn minor_usb_vers(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `major_usb_vers` [INFO] [stdout] --> xhcid/src/usb/device.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | fn major_usb_vers(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `ty` [INFO] [stdout] --> xhcid/src/usb/endpoint.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | fn ty(self) -> EndpointTy { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Reserved` [INFO] [stdout] --> xhcid/src/usb/setup.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | Reserved = 3, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `USB_SETUP_DIR_BIT` [INFO] [stdout] --> xhcid/src/usb/setup.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub const USB_SETUP_DIR_BIT: u8 = 1 << 7; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `USB_SETUP_DIR_SHIFT` [INFO] [stdout] --> xhcid/src/usb/setup.rs:75:1 [INFO] [stdout] | [INFO] [stdout] 75 | pub const USB_SETUP_DIR_SHIFT: u8 = 7; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `USB_SETUP_REQ_TY_MASK` [INFO] [stdout] --> xhcid/src/usb/setup.rs:76:1 [INFO] [stdout] | [INFO] [stdout] 76 | pub const USB_SETUP_REQ_TY_MASK: u8 = 0x60; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `USB_SETUP_REQ_TY_SHIFT` [INFO] [stdout] --> xhcid/src/usb/setup.rs:77:1 [INFO] [stdout] | [INFO] [stdout] 77 | pub const USB_SETUP_REQ_TY_SHIFT: u8 = 5; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `USB_SETUP_RECIPIENT_MASK` [INFO] [stdout] --> xhcid/src/usb/setup.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub const USB_SETUP_RECIPIENT_MASK: u8 = 0x1F; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `USB_SETUP_RECIPIENT_SHIFT` [INFO] [stdout] --> xhcid/src/usb/setup.rs:79:1 [INFO] [stdout] | [INFO] [stdout] 79 | pub const USB_SETUP_RECIPIENT_SHIFT: u8 = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `direction` [INFO] [stdout] --> xhcid/src/usb/setup.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn direction(&self) -> ReqDirection { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `req_ty` [INFO] [stdout] --> xhcid/src/usb/setup.rs:89:18 [INFO] [stdout] | [INFO] [stdout] 89 | pub const fn req_ty(&self) -> u8 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `req_recipient` [INFO] [stdout] --> xhcid/src/usb/setup.rs:93:18 [INFO] [stdout] | [INFO] [stdout] 93 | pub const fn req_recipient(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_allowed_from_api` [INFO] [stdout] --> xhcid/src/usb/setup.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn is_allowed_from_api(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_status` [INFO] [stdout] --> xhcid/src/usb/setup.rs:100:18 [INFO] [stdout] | [INFO] [stdout] 100 | pub const fn get_status() -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `clear_feature` [INFO] [stdout] --> xhcid/src/usb/setup.rs:110:18 [INFO] [stdout] | [INFO] [stdout] 110 | pub const fn clear_feature(feature: u16) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_feature` [INFO] [stdout] --> xhcid/src/usb/setup.rs:120:18 [INFO] [stdout] | [INFO] [stdout] 120 | pub const fn set_feature(feature: u16) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_address` [INFO] [stdout] --> xhcid/src/usb/setup.rs:130:18 [INFO] [stdout] | [INFO] [stdout] 130 | pub const fn set_address(address: u16) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_descriptor` [INFO] [stdout] --> xhcid/src/usb/setup.rs:140:18 [INFO] [stdout] | [INFO] [stdout] 140 | pub const fn get_descriptor( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_descriptor` [INFO] [stdout] --> xhcid/src/usb/setup.rs:155:18 [INFO] [stdout] | [INFO] [stdout] 155 | pub const fn set_descriptor(kind: u8, index: u8, language: u16, length: u16) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_configuration` [INFO] [stdout] --> xhcid/src/usb/setup.rs:165:18 [INFO] [stdout] | [INFO] [stdout] 165 | pub const fn get_configuration() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_configuration` [INFO] [stdout] --> xhcid/src/usb/setup.rs:175:18 [INFO] [stdout] | [INFO] [stdout] 175 | pub const fn set_configuration(value: u8) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_interface` [INFO] [stdout] --> xhcid/src/usb/setup.rs:184:18 [INFO] [stdout] | [INFO] [stdout] 184 | pub const fn set_interface(interface: u8, alternate_setting: u8) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 40 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Notification` [INFO] [stdout] --> xhcid/src/driver_interface.rs:169:13 [INFO] [stdout] | [INFO] [stdout] 169 | Notification, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Rsvd2` [INFO] [stdout] --> xhcid/src/driver_interface.rs:170:13 [INFO] [stdout] | [INFO] [stdout] 170 | Rsvd2, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Rsvd3` [INFO] [stdout] --> xhcid/src/driver_interface.rs:171:13 [INFO] [stdout] | [INFO] [stdout] 171 | Rsvd3, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `inner` [INFO] [stdout] --> xhcid/src/driver_interface.rs:705:5 [INFO] [stdout] | [INFO] [stdout] 705 | inner: TransferStream<'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `inner` [INFO] [stdout] --> xhcid/src/driver_interface.rs:708:5 [INFO] [stdout] | [INFO] [stdout] 708 | inner: TransferStream<'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `bytes_to_transfer` [INFO] [stdout] --> xhcid/src/driver_interface.rs:711:5 [INFO] [stdout] | [INFO] [stdout] 711 | bytes_to_transfer: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `bytes_transferred` [INFO] [stdout] --> xhcid/src/driver_interface.rs:712:5 [INFO] [stdout] | [INFO] [stdout] 712 | bytes_transferred: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `bytes_per_transfer` [INFO] [stdout] --> xhcid/src/driver_interface.rs:713:5 [INFO] [stdout] | [INFO] [stdout] 713 | bytes_per_transfer: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `endp_handle` [INFO] [stdout] --> xhcid/src/driver_interface.rs:714:5 [INFO] [stdout] | [INFO] [stdout] 714 | endp_handle: &'a mut XhciEndpHandle, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `DescriptorKind` [INFO] [stdout] --> xhcid/src/usb/mod.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | pub enum DescriptorKind { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `sublink_speed_attr` [INFO] [stdout] --> xhcid/src/usb/bos.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | sublink_speed_attr: [u32; 0], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `BosSuperSpeedPlusDesc` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> xhcid/src/usb/bos.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 38 | #[derive(Clone, Copy, Debug, Default)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `ssac` [INFO] [stdout] --> xhcid/src/usb/bos.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn ssac(&self) -> u8 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `sublink_speed_attr` [INFO] [stdout] --> xhcid/src/usb/bos.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn sublink_speed_attr(&self) -> &[u32] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_superspeed` [INFO] [stdout] --> xhcid/src/usb/bos.rs:125:12 [INFO] [stdout] | [INFO] [stdout] 125 | pub fn is_superspeed(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_superspeedplus` [INFO] [stdout] --> xhcid/src/usb/bos.rs:131:12 [INFO] [stdout] | [INFO] [stdout] 131 | pub fn is_superspeedplus(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `bos_capability_descs` [INFO] [stdout] --> xhcid/src/usb/bos.rs:175:8 [INFO] [stdout] | [INFO] [stdout] 175 | pub fn bos_capability_descs<'a>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `minor_usb_vers` [INFO] [stdout] --> xhcid/src/usb/device.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | fn minor_usb_vers(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `major_usb_vers` [INFO] [stdout] --> xhcid/src/usb/device.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | fn major_usb_vers(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `ty` [INFO] [stdout] --> xhcid/src/usb/endpoint.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | fn ty(self) -> EndpointTy { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Reserved` [INFO] [stdout] --> xhcid/src/usb/setup.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | Reserved = 3, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `USB_SETUP_DIR_BIT` [INFO] [stdout] --> xhcid/src/usb/setup.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub const USB_SETUP_DIR_BIT: u8 = 1 << 7; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `USB_SETUP_DIR_SHIFT` [INFO] [stdout] --> xhcid/src/usb/setup.rs:75:1 [INFO] [stdout] | [INFO] [stdout] 75 | pub const USB_SETUP_DIR_SHIFT: u8 = 7; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `USB_SETUP_REQ_TY_MASK` [INFO] [stdout] --> xhcid/src/usb/setup.rs:76:1 [INFO] [stdout] | [INFO] [stdout] 76 | pub const USB_SETUP_REQ_TY_MASK: u8 = 0x60; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `USB_SETUP_REQ_TY_SHIFT` [INFO] [stdout] --> xhcid/src/usb/setup.rs:77:1 [INFO] [stdout] | [INFO] [stdout] 77 | pub const USB_SETUP_REQ_TY_SHIFT: u8 = 5; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `USB_SETUP_RECIPIENT_MASK` [INFO] [stdout] --> xhcid/src/usb/setup.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub const USB_SETUP_RECIPIENT_MASK: u8 = 0x1F; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `USB_SETUP_RECIPIENT_SHIFT` [INFO] [stdout] --> xhcid/src/usb/setup.rs:79:1 [INFO] [stdout] | [INFO] [stdout] 79 | pub const USB_SETUP_RECIPIENT_SHIFT: u8 = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `direction` [INFO] [stdout] --> xhcid/src/usb/setup.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn direction(&self) -> ReqDirection { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `req_ty` [INFO] [stdout] --> xhcid/src/usb/setup.rs:89:18 [INFO] [stdout] | [INFO] [stdout] 89 | pub const fn req_ty(&self) -> u8 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `req_recipient` [INFO] [stdout] --> xhcid/src/usb/setup.rs:93:18 [INFO] [stdout] | [INFO] [stdout] 93 | pub const fn req_recipient(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_allowed_from_api` [INFO] [stdout] --> xhcid/src/usb/setup.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn is_allowed_from_api(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_status` [INFO] [stdout] --> xhcid/src/usb/setup.rs:100:18 [INFO] [stdout] | [INFO] [stdout] 100 | pub const fn get_status() -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `clear_feature` [INFO] [stdout] --> xhcid/src/usb/setup.rs:110:18 [INFO] [stdout] | [INFO] [stdout] 110 | pub const fn clear_feature(feature: u16) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_feature` [INFO] [stdout] --> xhcid/src/usb/setup.rs:120:18 [INFO] [stdout] | [INFO] [stdout] 120 | pub const fn set_feature(feature: u16) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_address` [INFO] [stdout] --> xhcid/src/usb/setup.rs:130:18 [INFO] [stdout] | [INFO] [stdout] 130 | pub const fn set_address(address: u16) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_descriptor` [INFO] [stdout] --> xhcid/src/usb/setup.rs:140:18 [INFO] [stdout] | [INFO] [stdout] 140 | pub const fn get_descriptor( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_descriptor` [INFO] [stdout] --> xhcid/src/usb/setup.rs:155:18 [INFO] [stdout] | [INFO] [stdout] 155 | pub const fn set_descriptor(kind: u8, index: u8, language: u16, length: u16) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_configuration` [INFO] [stdout] --> xhcid/src/usb/setup.rs:165:18 [INFO] [stdout] | [INFO] [stdout] 165 | pub const fn get_configuration() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_configuration` [INFO] [stdout] --> xhcid/src/usb/setup.rs:175:18 [INFO] [stdout] | [INFO] [stdout] 175 | pub const fn set_configuration(value: u8) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_interface` [INFO] [stdout] --> xhcid/src/usb/setup.rs:184:18 [INFO] [stdout] | [INFO] [stdout] 184 | pub const fn set_interface(interface: u8, alternate_setting: u8) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 40 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking usbctl v0.1.0 (/opt/rustwide/workdir/usbctl) [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking usbscsid v0.1.0 (/opt/rustwide/workdir/usbscsid) [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pcid` due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `pcid` due to 3 previous errors [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stdout] warning: unused import: `DeviceReqData` [INFO] [stdout] --> usbscsid/src/main.rs:7:46 [INFO] [stdout] | [INFO] [stdout] 7 | use xhcid_interface::{ConfigureEndpointsReq, DeviceReqData, XhciClientHandle}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ops` [INFO] [stdout] --> usbscsid/src/scsi/mod.rs:2:16 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{mem, ops}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SenseKey` [INFO] [stdout] --> usbscsid/src/scsi/mod.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | use cmds::{SenseKey, StandardInquiryData}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `opcodes::Opcode` [INFO] [stdout] --> usbscsid/src/scsi/mod.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use opcodes::Opcode; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ENOENT` [INFO] [stdout] --> usbscsid/src/scheme.rs:8:50 [INFO] [stdout] | [INFO] [stdout] 8 | use syscall::error::{EACCES, EBADF, EINVAL, EIO, ENOENT, ENOSYS}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DeviceReqData` [INFO] [stdout] --> usbscsid/src/main.rs:7:46 [INFO] [stdout] | [INFO] [stdout] 7 | use xhcid_interface::{ConfigureEndpointsReq, DeviceReqData, XhciClientHandle}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ops` [INFO] [stdout] --> usbscsid/src/scsi/mod.rs:2:16 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{mem, ops}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SenseKey` [INFO] [stdout] --> usbscsid/src/scsi/mod.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | use cmds::{SenseKey, StandardInquiryData}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `opcodes::Opcode` [INFO] [stdout] --> usbscsid/src/scsi/mod.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use opcodes::Opcode; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ENOENT` [INFO] [stdout] --> usbscsid/src/scheme.rs:8:50 [INFO] [stdout] | [INFO] [stdout] 8 | use syscall::error::{EACCES, EBADF, EINVAL, EIO, ENOENT, ENOSYS}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dev_desc` [INFO] [stdout] --> usbscsid/src/protocol/mod.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | dev_desc: &DevDesc, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dev_desc` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config_desc` [INFO] [stdout] --> usbscsid/src/protocol/bot.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 101 | config_desc: &ConfDesc, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_config_desc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dev_desc` [INFO] [stdout] --> usbscsid/src/protocol/mod.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | dev_desc: &DevDesc, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dev_desc` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config_desc` [INFO] [stdout] --> usbscsid/src/protocol/bot.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 101 | config_desc: &ConfDesc, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_config_desc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `REPORT_SUPP_OPCODES_CMD_LEN` [INFO] [stdout] --> usbscsid/src/scsi/mod.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | const REPORT_SUPP_OPCODES_CMD_LEN: u8 = 12; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `MIN_REPORT_SUPP_OPCODES_ALLOC_LEN` [INFO] [stdout] --> usbscsid/src/scsi/mod.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | const MIN_REPORT_SUPP_OPCODES_ALLOC_LEN: u32 = 4; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `max_lun` [INFO] [stdout] --> usbscsid/src/protocol/bot.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 91 | max_lun: u8, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `obsolete_lba` [INFO] [stdout] --> usbscsid/src/scsi/cmds.rs:424:5 [INFO] [stdout] | [INFO] [stdout] 424 | obsolete_lba: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ReadCapacity10` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> usbscsid/src/scsi/cmds.rs:420:10 [INFO] [stdout] | [INFO] [stdout] 420 | #[derive(Clone, Copy, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `REPORT_SUPP_OPCODES_CMD_LEN` [INFO] [stdout] --> usbscsid/src/scsi/mod.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | const REPORT_SUPP_OPCODES_CMD_LEN: u8 = 12; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `MIN_REPORT_SUPP_OPCODES_ALLOC_LEN` [INFO] [stdout] --> usbscsid/src/scsi/mod.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | const MIN_REPORT_SUPP_OPCODES_ALLOC_LEN: u32 = 4; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `max_lun` [INFO] [stdout] --> usbscsid/src/protocol/bot.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 91 | max_lun: u8, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `obsolete_lba` [INFO] [stdout] --> usbscsid/src/scsi/cmds.rs:424:5 [INFO] [stdout] | [INFO] [stdout] 424 | obsolete_lba: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ReadCapacity10` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> usbscsid/src/scsi/cmds.rs:420:10 [INFO] [stdout] | [INFO] [stdout] 420 | #[derive(Clone, Copy, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TryInto` [INFO] [stdout] --> xhcid/src/main.rs:4:29 [INFO] [stdout] | [INFO] [stdout] 4 | use std::convert::{TryFrom, TryInto}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> xhcid/src/main.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | use std::fs::{self, File}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> xhcid/src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MsiCapability`, `MsixCapability` [INFO] [stdout] --> xhcid/src/main.rs:16:27 [INFO] [stdout] | [INFO] [stdout] 16 | use pcid_interface::msi::{MsiCapability, MsixCapability, MsixTableEntry}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::future::Future` [INFO] [stdout] --> xhcid/src/xhci/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::future::Future; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::pin::Pin` [INFO] [stdout] --> xhcid/src/xhci/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::pin::Pin; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Weak` [INFO] [stdout] --> xhcid/src/xhci/mod.rs:7:41 [INFO] [stdout] | [INFO] [stdout] 7 | use std::sync::{Arc, Mutex, MutexGuard, Weak}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AtomicBool` [INFO] [stdout] --> xhcid/src/xhci/mod.rs:8:25 [INFO] [stdout] | [INFO] [stdout] 8 | use std::sync::atomic::{AtomicBool, AtomicUsize}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `sync::atomic`, `task` [INFO] [stdout] --> xhcid/src/xhci/mod.rs:10:32 [INFO] [stdout] | [INFO] [stdout] 10 | use std::{mem, process, slice, sync::atomic, task, thread}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `warn` [INFO] [stdout] --> xhcid/src/xhci/mod.rs:14:38 [INFO] [stdout] | [INFO] [stdout] 14 | use log::{debug, error, info, trace, warn}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PciFeature` [INFO] [stdout] --> xhcid/src/xhci/mod.rs:23:40 [INFO] [stdout] | [INFO] [stdout] 23 | use pcid_interface::{PcidServerHandle, PciFeature}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::BTreeMap` [INFO] [stdout] --> xhcid/src/xhci/irq_reactor.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::BTreeMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AtomicUsize`, `self` [INFO] [stdout] --> xhcid/src/xhci/irq_reactor.rs:7:25 [INFO] [stdout] | [INFO] [stdout] 7 | use std::sync::atomic::{self, AtomicUsize}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `mem`, `thread` [INFO] [stdout] --> xhcid/src/xhci/irq_reactor.rs:8:15 [INFO] [stdout] | [INFO] [stdout] 8 | use std::{io, mem, task, thread}; [INFO] [stdout] | ^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::Stream` [INFO] [stdout] --> xhcid/src/xhci/irq_reactor.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use futures::Stream; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Event` [INFO] [stdout] --> xhcid/src/xhci/irq_reactor.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | use event::{Event, EventQueue}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused label [INFO] [stdout] --> xhcid/src/xhci/irq_reactor.rs:167:13 [INFO] [stdout] | [INFO] [stdout] 167 | 'trb_loop: loop { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_labels)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::num::NonZeroU8` [INFO] [stdout] --> xhcid/src/xhci/operational.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::num::NonZeroU8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::slice` [INFO] [stdout] --> xhcid/src/xhci/operational.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::slice; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::CapabilityRegs` [INFO] [stdout] --> xhcid/src/xhci/operational.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use super::CapabilityRegs; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `info`, `warn` [INFO] [stdout] --> xhcid/src/xhci/scheme.rs:8:25 [INFO] [stdout] | [INFO] [stdout] 8 | use log::{debug, error, info, warn, trace}; [INFO] [stdout] | ^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize`, `Serialize` [INFO] [stdout] --> xhcid/src/xhci/scheme.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `smallvec` [INFO] [stdout] --> xhcid/src/xhci/scheme.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | use smallvec::{smallvec, SmallVec}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `EEXIST`, `ENXIO`, `EOPNOTSUPP`, `EOVERFLOW`, `EPERM`, `O_CREAT`, `O_RDONLY` [INFO] [stdout] --> xhcid/src/xhci/scheme.rs:15:58 [INFO] [stdout] | [INFO] [stdout] 15 | Error, Result, Stat, EACCES, EBADF, EBADFD, EBADMSG, EEXIST, EINVAL, EIO, EISDIR, ENOENT, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 16 | ENOSYS, ENOTDIR, ENXIO, EOPNOTSUPP, EOVERFLOW, EPERM, EPROTO, ESPIPE, MODE_CHR, MODE_DIR, [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ ^^^^^^^^^ ^^^^^ [INFO] [stdout] 17 | MODE_FILE, O_CREAT, O_DIRECTORY, O_RDONLY, O_RDWR, O_STAT, O_WRONLY, SEEK_CUR, SEEK_END, [INFO] [stdout] | ^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ENDPOINT_CONTEXT_STATUS_MASK`, `InputContext`, `StreamContext` [INFO] [stdout] --> xhcid/src/xhci/scheme.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | InputContext, SlotState, StreamContext, StreamContextArray, StreamContextType, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] 26 | ENDPOINT_CONTEXT_STATUS_MASK, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::doorbell::Doorbell` [INFO] [stdout] --> xhcid/src/xhci/scheme.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | use super::doorbell::Doorbell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::operational::OperationalRegs` [INFO] [stdout] --> xhcid/src/xhci/scheme.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | use super::operational::OperationalRegs; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::runtime::RuntimeRegs` [INFO] [stdout] --> xhcid/src/xhci/scheme.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | use super::runtime::RuntimeRegs; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ENDP_ATTR_TY_MASK` [INFO] [stdout] --> xhcid/src/xhci/scheme.rs:35:40 [INFO] [stdout] | [INFO] [stdout] 35 | use super::usb::endpoint::{EndpointTy, ENDP_ATTR_TY_MASK}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Interrupter` [INFO] [stdout] --> xhcid/src/xhci/mod.rs:47:21 [INFO] [stdout] | [INFO] [stdout] 47 | use self::runtime::{Interrupter, RuntimeRegs}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TrbType` [INFO] [stdout] --> xhcid/src/xhci/mod.rs:48:55 [INFO] [stdout] | [INFO] [stdout] 48 | use self::trb::{TransferKind, Trb, TrbCompletionCode, TrbType}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TryInto` [INFO] [stdout] --> xhcid/src/main.rs:4:29 [INFO] [stdout] | [INFO] [stdout] 4 | use std::convert::{TryFrom, TryInto}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> xhcid/src/main.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | use std::fs::{self, File}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> xhcid/src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MsiCapability`, `MsixCapability` [INFO] [stdout] --> xhcid/src/main.rs:16:27 [INFO] [stdout] | [INFO] [stdout] 16 | use pcid_interface::msi::{MsiCapability, MsixCapability, MsixTableEntry}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::future::Future` [INFO] [stdout] --> xhcid/src/xhci/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::future::Future; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::pin::Pin` [INFO] [stdout] --> xhcid/src/xhci/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::pin::Pin; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Weak` [INFO] [stdout] --> xhcid/src/xhci/mod.rs:7:41 [INFO] [stdout] | [INFO] [stdout] 7 | use std::sync::{Arc, Mutex, MutexGuard, Weak}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AtomicBool` [INFO] [stdout] --> xhcid/src/xhci/mod.rs:8:25 [INFO] [stdout] | [INFO] [stdout] 8 | use std::sync::atomic::{AtomicBool, AtomicUsize}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `sync::atomic`, `task` [INFO] [stdout] --> xhcid/src/xhci/mod.rs:10:32 [INFO] [stdout] | [INFO] [stdout] 10 | use std::{mem, process, slice, sync::atomic, task, thread}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `warn` [INFO] [stdout] --> xhcid/src/xhci/mod.rs:14:38 [INFO] [stdout] | [INFO] [stdout] 14 | use log::{debug, error, info, trace, warn}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PciFeature` [INFO] [stdout] --> xhcid/src/xhci/mod.rs:23:40 [INFO] [stdout] | [INFO] [stdout] 23 | use pcid_interface::{PcidServerHandle, PciFeature}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::BTreeMap` [INFO] [stdout] --> xhcid/src/xhci/irq_reactor.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::BTreeMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AtomicUsize`, `self` [INFO] [stdout] --> xhcid/src/xhci/irq_reactor.rs:7:25 [INFO] [stdout] | [INFO] [stdout] 7 | use std::sync::atomic::{self, AtomicUsize}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `mem`, `thread` [INFO] [stdout] --> xhcid/src/xhci/irq_reactor.rs:8:15 [INFO] [stdout] | [INFO] [stdout] 8 | use std::{io, mem, task, thread}; [INFO] [stdout] | ^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::Stream` [INFO] [stdout] --> xhcid/src/xhci/irq_reactor.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use futures::Stream; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Event` [INFO] [stdout] --> xhcid/src/xhci/irq_reactor.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | use event::{Event, EventQueue}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused label [INFO] [stdout] --> xhcid/src/xhci/irq_reactor.rs:167:13 [INFO] [stdout] | [INFO] [stdout] 167 | 'trb_loop: loop { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_labels)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::num::NonZeroU8` [INFO] [stdout] --> xhcid/src/xhci/operational.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::num::NonZeroU8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::slice` [INFO] [stdout] --> xhcid/src/xhci/operational.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::slice; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::CapabilityRegs` [INFO] [stdout] --> xhcid/src/xhci/operational.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use super::CapabilityRegs; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `info`, `warn` [INFO] [stdout] --> xhcid/src/xhci/scheme.rs:8:25 [INFO] [stdout] | [INFO] [stdout] 8 | use log::{debug, error, info, warn, trace}; [INFO] [stdout] | ^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize`, `Serialize` [INFO] [stdout] --> xhcid/src/xhci/scheme.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `smallvec` [INFO] [stdout] --> xhcid/src/xhci/scheme.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | use smallvec::{smallvec, SmallVec}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `EEXIST`, `ENXIO`, `EOPNOTSUPP`, `EOVERFLOW`, `EPERM`, `O_CREAT`, `O_RDONLY` [INFO] [stdout] --> xhcid/src/xhci/scheme.rs:15:58 [INFO] [stdout] | [INFO] [stdout] 15 | Error, Result, Stat, EACCES, EBADF, EBADFD, EBADMSG, EEXIST, EINVAL, EIO, EISDIR, ENOENT, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 16 | ENOSYS, ENOTDIR, ENXIO, EOPNOTSUPP, EOVERFLOW, EPERM, EPROTO, ESPIPE, MODE_CHR, MODE_DIR, [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ ^^^^^^^^^ ^^^^^ [INFO] [stdout] 17 | MODE_FILE, O_CREAT, O_DIRECTORY, O_RDONLY, O_RDWR, O_STAT, O_WRONLY, SEEK_CUR, SEEK_END, [INFO] [stdout] | ^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ENDPOINT_CONTEXT_STATUS_MASK`, `InputContext`, `StreamContext` [INFO] [stdout] --> xhcid/src/xhci/scheme.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | InputContext, SlotState, StreamContext, StreamContextArray, StreamContextType, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] 26 | ENDPOINT_CONTEXT_STATUS_MASK, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::doorbell::Doorbell` [INFO] [stdout] --> xhcid/src/xhci/scheme.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | use super::doorbell::Doorbell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::operational::OperationalRegs` [INFO] [stdout] --> xhcid/src/xhci/scheme.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | use super::operational::OperationalRegs; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::runtime::RuntimeRegs` [INFO] [stdout] --> xhcid/src/xhci/scheme.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | use super::runtime::RuntimeRegs; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ENDP_ATTR_TY_MASK` [INFO] [stdout] --> xhcid/src/xhci/scheme.rs:35:40 [INFO] [stdout] | [INFO] [stdout] 35 | use super::usb::endpoint::{EndpointTy, ENDP_ATTR_TY_MASK}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Interrupter` [INFO] [stdout] --> xhcid/src/xhci/mod.rs:47:21 [INFO] [stdout] | [INFO] [stdout] 47 | use self::runtime::{Interrupter, RuntimeRegs}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TrbType` [INFO] [stdout] --> xhcid/src/xhci/mod.rs:48:55 [INFO] [stdout] | [INFO] [stdout] 48 | use self::trb::{TransferKind, Trb, TrbCompletionCode, TrbType}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> xhcid/src/xhci/mod.rs:493:21 [INFO] [stdout] | [INFO] [stdout] 493 | let mut ring = self.address_device(&mut input, i, slot_ty, slot, speed).await?; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> xhcid/src/xhci/mod.rs:498:21 [INFO] [stdout] | [INFO] [stdout] 498 | let mut port_state = PortState { [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> xhcid/src/xhci/mod.rs:519:25 [INFO] [stdout] | [INFO] [stdout] 519 | let mut port_state = self.port_states.get_mut(&i).unwrap(); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> xhcid/src/xhci/mod.rs:575:13 [INFO] [stdout] | [INFO] [stdout] 575 | let mut ring = Ring::new(self.cap.ac64(), 16, true)?; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> xhcid/src/xhci/scheme.rs:295:17 [INFO] [stdout] | [INFO] [stdout] 295 | let mut endpoint_state = port_state [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> xhcid/src/xhci/mod.rs:493:21 [INFO] [stdout] | [INFO] [stdout] 493 | let mut ring = self.address_device(&mut input, i, slot_ty, slot, speed).await?; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> xhcid/src/xhci/mod.rs:498:21 [INFO] [stdout] | [INFO] [stdout] 498 | let mut port_state = PortState { [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> xhcid/src/xhci/mod.rs:519:25 [INFO] [stdout] | [INFO] [stdout] 519 | let mut port_state = self.port_states.get_mut(&i).unwrap(); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> xhcid/src/xhci/mod.rs:575:13 [INFO] [stdout] | [INFO] [stdout] 575 | let mut ring = Ring::new(self.cap.ac64(), 16, true)?; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> xhcid/src/xhci/scheme.rs:295:17 [INFO] [stdout] | [INFO] [stdout] 295 | let mut endpoint_state = port_state [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> xhcid/src/xhci/scheme.rs:863:13 [INFO] [stdout] | [INFO] [stdout] 863 | let mut port_state = self [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> xhcid/src/xhci/scheme.rs:1710:13 [INFO] [stdout] | [INFO] [stdout] 1710 | let mut endpoint_state = port_state [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> xhcid/src/xhci/scheme.rs:1903:13 [INFO] [stdout] | [INFO] [stdout] 1903 | let mut endpoint_state = port_state.endpoint_states.get_mut(&endp_num).ok_or(Error::new(EBADFD))?; [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> xhcid/src/xhci/scheme.rs:1926:21 [INFO] [stdout] | [INFO] [stdout] 1926 | let mut endpoint_state = port_state.endpoint_states.get_mut(&endp_num).ok_or(Error::new(EBADFD))?; [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> xhcid/src/xhci/scheme.rs:1994:13 [INFO] [stdout] | [INFO] [stdout] 1994 | let mut ep_if_state = &mut port_state [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> xhcid/src/xhci/scheme.rs:2024:21 [INFO] [stdout] | [INFO] [stdout] 2024 | let mut ep_state = port_state [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> xhcid/src/xhci/irq_reactor.rs:128:13 [INFO] [stdout] | [INFO] [stdout] 120 | / 'busy_waiting: loop { [INFO] [stdout] 121 | | trb = &event_ring_guard.ring.trbs[index]; [INFO] [stdout] 122 | | [INFO] [stdout] 123 | | if trb.completion_code() == TrbCompletionCode::Invalid as u8 { [INFO] [stdout] ... | [INFO] [stdout] 126 | | } [INFO] [stdout] 127 | | } [INFO] [stdout] | |_____________- any code following this expression is unreachable [INFO] [stdout] 128 | if self.check_event_ring_full(trb.clone()) { continue 'event_loop } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> xhcid/src/xhci/scheme.rs:863:13 [INFO] [stdout] | [INFO] [stdout] 863 | let mut port_state = self [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> xhcid/src/xhci/scheme.rs:1710:13 [INFO] [stdout] | [INFO] [stdout] 1710 | let mut endpoint_state = port_state [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> xhcid/src/xhci/scheme.rs:1903:13 [INFO] [stdout] | [INFO] [stdout] 1903 | let mut endpoint_state = port_state.endpoint_states.get_mut(&endp_num).ok_or(Error::new(EBADFD))?; [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> xhcid/src/xhci/scheme.rs:1926:21 [INFO] [stdout] | [INFO] [stdout] 1926 | let mut endpoint_state = port_state.endpoint_states.get_mut(&endp_num).ok_or(Error::new(EBADFD))?; [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> xhcid/src/xhci/scheme.rs:1994:13 [INFO] [stdout] | [INFO] [stdout] 1994 | let mut ep_if_state = &mut port_state [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> xhcid/src/xhci/scheme.rs:2024:21 [INFO] [stdout] | [INFO] [stdout] 2024 | let mut ep_state = port_state [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> xhcid/src/xhci/irq_reactor.rs:128:13 [INFO] [stdout] | [INFO] [stdout] 120 | / 'busy_waiting: loop { [INFO] [stdout] 121 | | trb = &event_ring_guard.ring.trbs[index]; [INFO] [stdout] 122 | | [INFO] [stdout] 123 | | if trb.completion_code() == TrbCompletionCode::Invalid as u8 { [INFO] [stdout] ... | [INFO] [stdout] 126 | | } [INFO] [stdout] 127 | | } [INFO] [stdout] | |_____________- any code following this expression is unreachable [INFO] [stdout] 128 | if self.check_event_ring_full(trb.clone()) { continue 'event_loop } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> xhcid/src/xhci/scheme.rs:1875:13 [INFO] [stdout] | [INFO] [stdout] 1875 | other => { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hci` [INFO] [stdout] --> xhcid/src/main.rs:37:24 [INFO] [stdout] | [INFO] [stdout] 37 | async fn handle_packet(hci: Arc, packet: Packet) -> Packet { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_hci` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `packet` [INFO] [stdout] --> xhcid/src/main.rs:37:40 [INFO] [stdout] | [INFO] [stdout] 37 | async fn handle_packet(hci: Arc, packet: Packet) -> Packet { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_packet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `capability` [INFO] [stdout] --> xhcid/src/main.rs:132:17 [INFO] [stdout] | [INFO] [stdout] 132 | ... let mut capability = match pcid_handle.feature_info(PciFeature::MsiX).expect("xhcid: failed to retrieve the MSI capability structur... [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_capability` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `todo_futures` [INFO] [stdout] --> xhcid/src/main.rs:254:9 [INFO] [stdout] | [INFO] [stdout] 254 | let todo_futures = Arc::new(Mutex::new(Vec:: + Send + Sync + 'static>>>::new())); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_todo_futures` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `slot_ty` [INFO] [stdout] --> xhcid/src/xhci/mod.rs:571:9 [INFO] [stdout] | [INFO] [stdout] 571 | slot_ty: u8, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_slot_ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> xhcid/src/xhci/scheme.rs:285:9 [INFO] [stdout] | [INFO] [stdout] 285 | name: &str, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> xhcid/src/xhci/scheme.rs:349:9 [INFO] [stdout] | [INFO] [stdout] 349 | name: &str, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `direction` [INFO] [stdout] --> xhcid/src/xhci/scheme.rs:858:9 [INFO] [stdout] | [INFO] [stdout] 858 | direction: PortReqDirection, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `port_num` [INFO] [stdout] --> xhcid/src/xhci/scheme.rs:1141:32 [INFO] [stdout] | [INFO] [stdout] 1141 | fn port_req_init_st(&self, port_num: usize, req: &PortReq) -> Result { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_port_num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> xhcid/src/xhci/scheme.rs:1831:17 [INFO] [stdout] | [INFO] [stdout] 1831 | other => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> xhcid/src/xhci/scheme.rs:1837:17 [INFO] [stdout] | [INFO] [stdout] 1837 | other => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> xhcid/src/xhci/scheme.rs:1871:17 [INFO] [stdout] | [INFO] [stdout] 1871 | other => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> xhcid/src/xhci/scheme.rs:1875:13 [INFO] [stdout] | [INFO] [stdout] 1875 | other => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: reference to packed field is unaligned [INFO] [stdout] --> xhcid/src/usb/bos.rs:80:17 [INFO] [stdout] | [INFO] [stdout] 80 | &self.sublink_speed_attr as *const u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unaligned_references)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #82523 [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> xhcid/src/xhci/irq_reactor.rs:109:20 [INFO] [stdout] | [INFO] [stdout] 109 | fn run_polling(mut self) { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> xhcid/src/xhci/irq_reactor.rs:332:16 [INFO] [stdout] | [INFO] [stdout] 332 | pub fn run(mut self) { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> xhcid/src/xhci/irq_reactor.rs:401:13 [INFO] [stdout] | [INFO] [stdout] 401 | let mut endpoint_state = slot_state.endpoint_states.get_mut(&id.endpoint_num)?; [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> xhcid/src/xhci/scheme.rs:1431:13 [INFO] [stdout] | [INFO] [stdout] 1431 | let mut guard = self.handles.get(&id).ok_or(Error::new(EBADF))?; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> xhcid/src/main.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | let mut logger = RedoxLogger::new() [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> xhcid/src/main.rs:129:10 [INFO] [stdout] | [INFO] [stdout] 129 | let (mut irq_file, interrupt_method) = if msi_enabled && !msix_enabled { [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> xhcid/src/main.rs:132:13 [INFO] [stdout] | [INFO] [stdout] 132 | ... let mut capability = match pcid_handle.feature_info(PciFeature::MsiX).expect("xhcid: failed to retrieve the MSI capability structur... [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> xhcid/src/xhci/scheme.rs:1875:13 [INFO] [stdout] | [INFO] [stdout] 1875 | other => { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hci` [INFO] [stdout] --> xhcid/src/main.rs:37:24 [INFO] [stdout] | [INFO] [stdout] 37 | async fn handle_packet(hci: Arc, packet: Packet) -> Packet { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_hci` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `packet` [INFO] [stdout] --> xhcid/src/main.rs:37:40 [INFO] [stdout] | [INFO] [stdout] 37 | async fn handle_packet(hci: Arc, packet: Packet) -> Packet { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_packet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `capability` [INFO] [stdout] --> xhcid/src/main.rs:132:17 [INFO] [stdout] | [INFO] [stdout] 132 | ... let mut capability = match pcid_handle.feature_info(PciFeature::MsiX).expect("xhcid: failed to retrieve the MSI capability structur... [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_capability` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `todo_futures` [INFO] [stdout] --> xhcid/src/main.rs:254:9 [INFO] [stdout] | [INFO] [stdout] 254 | let todo_futures = Arc::new(Mutex::new(Vec:: + Send + Sync + 'static>>>::new())); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_todo_futures` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `slot_ty` [INFO] [stdout] --> xhcid/src/xhci/mod.rs:571:9 [INFO] [stdout] | [INFO] [stdout] 571 | slot_ty: u8, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_slot_ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> xhcid/src/xhci/scheme.rs:285:9 [INFO] [stdout] | [INFO] [stdout] 285 | name: &str, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> xhcid/src/xhci/scheme.rs:349:9 [INFO] [stdout] | [INFO] [stdout] 349 | name: &str, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `direction` [INFO] [stdout] --> xhcid/src/xhci/scheme.rs:858:9 [INFO] [stdout] | [INFO] [stdout] 858 | direction: PortReqDirection, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `port_num` [INFO] [stdout] --> xhcid/src/xhci/scheme.rs:1141:32 [INFO] [stdout] | [INFO] [stdout] 1141 | fn port_req_init_st(&self, port_num: usize, req: &PortReq) -> Result { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_port_num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> xhcid/src/xhci/scheme.rs:1831:17 [INFO] [stdout] | [INFO] [stdout] 1831 | other => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> xhcid/src/xhci/scheme.rs:1837:17 [INFO] [stdout] | [INFO] [stdout] 1837 | other => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> xhcid/src/xhci/scheme.rs:1871:17 [INFO] [stdout] | [INFO] [stdout] 1871 | other => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> xhcid/src/xhci/scheme.rs:1875:13 [INFO] [stdout] | [INFO] [stdout] 1875 | other => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: reference to packed field is unaligned [INFO] [stdout] --> xhcid/src/usb/bos.rs:80:17 [INFO] [stdout] | [INFO] [stdout] 80 | &self.sublink_speed_attr as *const u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unaligned_references)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #82523 [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> xhcid/src/xhci/irq_reactor.rs:109:20 [INFO] [stdout] | [INFO] [stdout] 109 | fn run_polling(mut self) { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> xhcid/src/xhci/irq_reactor.rs:332:16 [INFO] [stdout] | [INFO] [stdout] 332 | pub fn run(mut self) { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> xhcid/src/xhci/irq_reactor.rs:401:13 [INFO] [stdout] | [INFO] [stdout] 401 | let mut endpoint_state = slot_state.endpoint_states.get_mut(&id.endpoint_num)?; [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> xhcid/src/xhci/scheme.rs:1431:13 [INFO] [stdout] | [INFO] [stdout] 1431 | let mut guard = self.handles.get(&id).ok_or(Error::new(EBADF))?; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> xhcid/src/main.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | let mut logger = RedoxLogger::new() [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> xhcid/src/main.rs:129:10 [INFO] [stdout] | [INFO] [stdout] 129 | let (mut irq_file, interrupt_method) = if msi_enabled && !msix_enabled { [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> xhcid/src/main.rs:132:13 [INFO] [stdout] | [INFO] [stdout] 132 | ... let mut capability = match pcid_handle.feature_info(PciFeature::MsiX).expect("xhcid: failed to retrieve the MSI capability structur... [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `handle_packet` [INFO] [stdout] --> xhcid/src/main.rs:37:10 [INFO] [stdout] | [INFO] [stdout] 37 | async fn handle_packet(hci: Arc, packet: Packet) -> Packet { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Notification` [INFO] [stdout] --> xhcid/src/driver_interface.rs:169:13 [INFO] [stdout] | [INFO] [stdout] 169 | Notification, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Rsvd2` [INFO] [stdout] --> xhcid/src/driver_interface.rs:170:13 [INFO] [stdout] | [INFO] [stdout] 170 | Rsvd2, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Rsvd3` [INFO] [stdout] --> xhcid/src/driver_interface.rs:171:13 [INFO] [stdout] | [INFO] [stdout] 171 | Rsvd3, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `inner` [INFO] [stdout] --> xhcid/src/driver_interface.rs:705:5 [INFO] [stdout] | [INFO] [stdout] 705 | inner: TransferStream<'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `inner` [INFO] [stdout] --> xhcid/src/driver_interface.rs:708:5 [INFO] [stdout] | [INFO] [stdout] 708 | inner: TransferStream<'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `bytes_to_transfer` [INFO] [stdout] --> xhcid/src/driver_interface.rs:711:5 [INFO] [stdout] | [INFO] [stdout] 711 | bytes_to_transfer: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `bytes_transferred` [INFO] [stdout] --> xhcid/src/driver_interface.rs:712:5 [INFO] [stdout] | [INFO] [stdout] 712 | bytes_transferred: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `bytes_per_transfer` [INFO] [stdout] --> xhcid/src/driver_interface.rs:713:5 [INFO] [stdout] | [INFO] [stdout] 713 | bytes_per_transfer: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `endp_handle` [INFO] [stdout] --> xhcid/src/driver_interface.rs:714:5 [INFO] [stdout] | [INFO] [stdout] 714 | endp_handle: &'a mut XhciEndpHandle, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `None` [INFO] [stdout] --> xhcid/src/usb/mod.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | None, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Interface` [INFO] [stdout] --> xhcid/src/usb/mod.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | Interface, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Endpoint` [INFO] [stdout] --> xhcid/src/usb/mod.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | Endpoint, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `DeviceQualifier` [INFO] [stdout] --> xhcid/src/usb/mod.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | DeviceQualifier, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `OtherSpeedConfiguration` [INFO] [stdout] --> xhcid/src/usb/mod.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | OtherSpeedConfiguration, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `InterfacePower` [INFO] [stdout] --> xhcid/src/usb/mod.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | InterfacePower, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `OnTheGo` [INFO] [stdout] --> xhcid/src/usb/mod.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | OnTheGo, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Hid` [INFO] [stdout] --> xhcid/src/usb/mod.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | Hid = 33, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `SuperSpeedCompanion` [INFO] [stdout] --> xhcid/src/usb/mod.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | SuperSpeedCompanion = 48, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `pba_pointer_unchecked` [INFO] [stdout] --> xhcid/src/xhci/mod.rs:81:19 [INFO] [stdout] | [INFO] [stdout] 81 | pub unsafe fn pba_pointer_unchecked(&mut self, k: usize) -> &mut u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `pba_pointer` [INFO] [stdout] --> xhcid/src/xhci/mod.rs:84:12 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn pba_pointer(&mut self, k: usize) -> &mut u64 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `pba` [INFO] [stdout] --> xhcid/src/xhci/mod.rs:88:12 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn pba(&mut self, k: usize) -> bool { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `pcid_handle` [INFO] [stdout] --> xhcid/src/xhci/mod.rs:193:5 [INFO] [stdout] | [INFO] [stdout] 193 | pcid_handle: Mutex, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `disable_port_slot` [INFO] [stdout] --> xhcid/src/xhci/mod.rs:432:18 [INFO] [stdout] | [INFO] [stdout] 432 | pub async fn disable_port_slot(&self, slot: u8) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `msix_info` [INFO] [stdout] --> xhcid/src/xhci/mod.rs:677:12 [INFO] [stdout] | [INFO] [stdout] 677 | pub fn msix_info(&self) -> Option> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `msix_info_mut` [INFO] [stdout] --> xhcid/src/xhci/mod.rs:683:12 [INFO] [stdout] | [INFO] [stdout] 683 | pub fn msix_info_mut(&self) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `sublink_speed_attr` [INFO] [stdout] --> xhcid/src/usb/bos.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | sublink_speed_attr: [u32; 0], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `BosSuperSpeedPlusDesc` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> xhcid/src/usb/bos.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 38 | #[derive(Clone, Copy, Debug, Default)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `ssac` [INFO] [stdout] --> xhcid/src/usb/bos.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn ssac(&self) -> u8 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `sublink_speed_attr` [INFO] [stdout] --> xhcid/src/usb/bos.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn sublink_speed_attr(&self) -> &[u32] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `minor_usb_vers` [INFO] [stdout] --> xhcid/src/usb/device.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | fn minor_usb_vers(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `major_usb_vers` [INFO] [stdout] --> xhcid/src/usb/device.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | fn major_usb_vers(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `ty` [INFO] [stdout] --> xhcid/src/usb/endpoint.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | fn ty(self) -> EndpointTy { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Reserved` [INFO] [stdout] --> xhcid/src/usb/setup.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | Reserved = 3, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `USB_SETUP_DIR_BIT` [INFO] [stdout] --> xhcid/src/usb/setup.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub const USB_SETUP_DIR_BIT: u8 = 1 << 7; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `USB_SETUP_REQ_TY_MASK` [INFO] [stdout] --> xhcid/src/usb/setup.rs:76:1 [INFO] [stdout] | [INFO] [stdout] 76 | pub const USB_SETUP_REQ_TY_MASK: u8 = 0x60; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `USB_SETUP_RECIPIENT_MASK` [INFO] [stdout] --> xhcid/src/usb/setup.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub const USB_SETUP_RECIPIENT_MASK: u8 = 0x1F; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `direction` [INFO] [stdout] --> xhcid/src/usb/setup.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn direction(&self) -> ReqDirection { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `req_ty` [INFO] [stdout] --> xhcid/src/usb/setup.rs:89:18 [INFO] [stdout] | [INFO] [stdout] 89 | pub const fn req_ty(&self) -> u8 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `req_recipient` [INFO] [stdout] --> xhcid/src/usb/setup.rs:93:18 [INFO] [stdout] | [INFO] [stdout] 93 | pub const fn req_recipient(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_allowed_from_api` [INFO] [stdout] --> xhcid/src/usb/setup.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn is_allowed_from_api(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_status` [INFO] [stdout] --> xhcid/src/usb/setup.rs:100:18 [INFO] [stdout] | [INFO] [stdout] 100 | pub const fn get_status() -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `clear_feature` [INFO] [stdout] --> xhcid/src/usb/setup.rs:110:18 [INFO] [stdout] | [INFO] [stdout] 110 | pub const fn clear_feature(feature: u16) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_feature` [INFO] [stdout] --> xhcid/src/usb/setup.rs:120:18 [INFO] [stdout] | [INFO] [stdout] 120 | pub const fn set_feature(feature: u16) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_address` [INFO] [stdout] --> xhcid/src/usb/setup.rs:130:18 [INFO] [stdout] | [INFO] [stdout] 130 | pub const fn set_address(address: u16) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_descriptor` [INFO] [stdout] --> xhcid/src/usb/setup.rs:155:18 [INFO] [stdout] | [INFO] [stdout] 155 | pub const fn set_descriptor(kind: u8, index: u8, language: u16, length: u16) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_configuration` [INFO] [stdout] --> xhcid/src/usb/setup.rs:165:18 [INFO] [stdout] | [INFO] [stdout] 165 | pub const fn get_configuration() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `HCS_PARAMS1_MAX_SLOTS_SHIFT` [INFO] [stdout] --> xhcid/src/xhci/capability.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | pub const HCS_PARAMS1_MAX_SLOTS_SHIFT: u8 = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `HCS_PARAMS2_SPR_BIT` [INFO] [stdout] --> xhcid/src/xhci/capability.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | pub const HCS_PARAMS2_SPR_BIT: u32 = 1 << HCS_PARAMS2_SPR_SHIFT; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `HCS_PARAMS2_SPR_SHIFT` [INFO] [stdout] --> xhcid/src/xhci/capability.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | pub const HCS_PARAMS2_SPR_SHIFT: u8 = 26; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `spr` [INFO] [stdout] --> xhcid/src/xhci/capability.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn spr(&self) -> bool { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `EnabledOrDisabled` [INFO] [stdout] --> xhcid/src/xhci/context.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | EnabledOrDisabled = 0, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Default` [INFO] [stdout] --> xhcid/src/xhci/context.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | Default = 1, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Addressed` [INFO] [stdout] --> xhcid/src/xhci/context.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | Addressed = 2, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dump_control` [INFO] [stdout] --> xhcid/src/xhci/context.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn dump_control(&self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `edtla` [INFO] [stdout] --> xhcid/src/xhci/context.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 110 | edtla: Mmio, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `rsvd` [INFO] [stdout] --> xhcid/src/xhci/context.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 111 | rsvd: Mmio, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `SecondaryRing` [INFO] [stdout] --> xhcid/src/xhci/context.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 118 | SecondaryRing, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `PrimarySsa8` [INFO] [stdout] --> xhcid/src/xhci/context.rs:120:5 [INFO] [stdout] | [INFO] [stdout] 120 | PrimarySsa8, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `PrimarySsa16` [INFO] [stdout] --> xhcid/src/xhci/context.rs:121:5 [INFO] [stdout] | [INFO] [stdout] 121 | PrimarySsa16, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `PrimarySsa32` [INFO] [stdout] --> xhcid/src/xhci/context.rs:122:5 [INFO] [stdout] | [INFO] [stdout] 122 | PrimarySsa32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `PrimarySsa64` [INFO] [stdout] --> xhcid/src/xhci/context.rs:123:5 [INFO] [stdout] | [INFO] [stdout] 123 | PrimarySsa64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `PrimarySsa128` [INFO] [stdout] --> xhcid/src/xhci/context.rs:124:5 [INFO] [stdout] | [INFO] [stdout] 124 | PrimarySsa128, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `PrimarySsa256` [INFO] [stdout] --> xhcid/src/xhci/context.rs:125:5 [INFO] [stdout] | [INFO] [stdout] 125 | PrimarySsa256, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read` [INFO] [stdout] --> xhcid/src/xhci/doorbell.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn read(&self) -> u32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `next` [INFO] [stdout] --> xhcid/src/xhci/event.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn next(&mut self) -> &mut Trb { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `UsbLegacySupport` [INFO] [stdout] --> xhcid/src/xhci/extended.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | UsbLegacySupport = 1, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ExtendedPowerManagement` [INFO] [stdout] --> xhcid/src/xhci/extended.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | ExtendedPowerManagement, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `IoVirtualization` [INFO] [stdout] --> xhcid/src/xhci/extended.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | IoVirtualization, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `MessageInterrupt` [INFO] [stdout] --> xhcid/src/xhci/extended.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | MessageInterrupt, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `LocalMem` [INFO] [stdout] --> xhcid/src/xhci/extended.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | LocalMem, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `UsbDebugCapability` [INFO] [stdout] --> xhcid/src/xhci/extended.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | UsbDebugCapability = 10, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ExtendedMessageInterrupt` [INFO] [stdout] --> xhcid/src/xhci/extended.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | ExtendedMessageInterrupt = 17, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Bps` [INFO] [stdout] --> xhcid/src/xhci/extended.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 90 | Bps, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: `Psie` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> xhcid/src/xhci/extended.rs:88:10 [INFO] [stdout] | [INFO] [stdout] 88 | #[derive(Clone, Copy, Debug, Eq, Hash, Ord, PartialEq, PartialOrd)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Reserved` [INFO] [stdout] --> xhcid/src/xhci/extended.rs:99:5 [INFO] [stdout] | [INFO] [stdout] 99 | Reserved, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Plt` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> xhcid/src/xhci/extended.rs:96:10 [INFO] [stdout] | [INFO] [stdout] 96 | #[derive(Clone, Copy, Debug, Eq, Hash, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `AsymmetricRx` [INFO] [stdout] --> xhcid/src/xhci/extended.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 100 | AsymmetricRx, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Plt` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> xhcid/src/xhci/extended.rs:96:10 [INFO] [stdout] | [INFO] [stdout] 96 | #[derive(Clone, Copy, Debug, Eq, Hash, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `AsymmetricTx` [INFO] [stdout] --> xhcid/src/xhci/extended.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 101 | AsymmetricTx, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Plt` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> xhcid/src/xhci/extended.rs:96:10 [INFO] [stdout] | [INFO] [stdout] 96 | #[derive(Clone, Copy, Debug, Eq, Hash, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Rsvd2` [INFO] [stdout] --> xhcid/src/xhci/extended.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 108 | Rsvd2, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Lp` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> xhcid/src/xhci/extended.rs:104:10 [INFO] [stdout] | [INFO] [stdout] 104 | #[derive(Clone, Copy, Debug, Eq, Hash, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Rsvd3` [INFO] [stdout] --> xhcid/src/xhci/extended.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 109 | Rsvd3, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Lp` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> xhcid/src/xhci/extended.rs:104:10 [INFO] [stdout] | [INFO] [stdout] 104 | #[derive(Clone, Copy, Debug, Eq, Hash, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `protocol_speeds_mut` [INFO] [stdout] --> xhcid/src/xhci/extended.rs:231:19 [INFO] [stdout] | [INFO] [stdout] 231 | pub unsafe fn protocol_speeds_mut(&mut self) -> &mut [ProtocolSpeed] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Other` [INFO] [stdout] --> xhcid/src/xhci/irq_reactor.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | Other(TrbType), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `StateKind` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> xhcid/src/xhci/irq_reactor.rs:65:10 [INFO] [stdout] | [INFO] [stdout] 65 | #[derive(Clone, Copy, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `trb_type` [INFO] [stdout] --> xhcid/src/xhci/irq_reactor.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn trb_type(&self) -> TrbType { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_ring_mut` [INFO] [stdout] --> xhcid/src/xhci/irq_reactor.rs:397:12 [INFO] [stdout] | [INFO] [stdout] 397 | pub fn with_ring_mut T>(&self, id: RingId, function: F) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `next_misc_event_trb` [INFO] [stdout] --> xhcid/src/xhci/irq_reactor.rs:445:12 [INFO] [stdout] | [INFO] [stdout] 445 | pub fn next_misc_event_trb(&self, trb_type: TrbType) -> impl Future + Send + Sync + 'static { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `iter` [INFO] [stdout] --> xhcid/src/xhci/ring.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn iter(&self) -> impl Iterator + '_ { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `phys_addr_to_entry_ref` [INFO] [stdout] --> xhcid/src/xhci/ring.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn phys_addr_to_entry_ref(&self, ac64: bool, paddr: u64) -> Option<&Trb> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `start_virt_addr` [INFO] [stdout] --> xhcid/src/xhci/ring.rs:92:19 [INFO] [stdout] | [INFO] [stdout] 92 | pub(crate) fn start_virt_addr(&self) -> *const Trb { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `end_virt_addr` [INFO] [stdout] --> xhcid/src/xhci/ring.rs:95:19 [INFO] [stdout] | [INFO] [stdout] 95 | pub(crate) fn end_virt_addr(&self) -> *const Trb { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Ready` [INFO] [stdout] --> xhcid/src/xhci/scheme.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | Ready, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PortTransferState` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> xhcid/src/xhci/scheme.rs:69:10 [INFO] [stdout] | [INFO] [stdout] 69 | #[derive(Clone, Copy, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `WaitingForStatusReq` [INFO] [stdout] --> xhcid/src/xhci/scheme.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | WaitingForStatusReq(PortTransferStatus), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PortTransferState` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> xhcid/src/xhci/scheme.rs:69:10 [INFO] [stdout] | [INFO] [stdout] 69 | #[derive(Clone, Copy, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `port_state` [INFO] [stdout] --> xhcid/src/xhci/scheme.rs:554:8 [INFO] [stdout] | [INFO] [stdout] 554 | fn port_state(&self, port: usize) -> Result> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `endp_direction` [INFO] [stdout] --> xhcid/src/xhci/scheme.rs:1758:12 [INFO] [stdout] | [INFO] [stdout] 1758 | pub fn endp_direction(&self, port_num: usize, endp_num: u8) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `slot` [INFO] [stdout] --> xhcid/src/xhci/scheme.rs:1776:12 [INFO] [stdout] | [INFO] [stdout] 1776 | pub fn slot(&self, port_num: usize) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `EventData` [INFO] [stdout] --> xhcid/src/xhci/trb.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | EventData, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TrbType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> xhcid/src/xhci/trb.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Clone, Copy, Debug, Eq, Hash, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Rsv26` [INFO] [stdout] --> xhcid/src/xhci/trb.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | Rsv26, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TrbType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> xhcid/src/xhci/trb.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Clone, Copy, Debug, Eq, Hash, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Rsv27` [INFO] [stdout] --> xhcid/src/xhci/trb.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | Rsv27, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TrbType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> xhcid/src/xhci/trb.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Clone, Copy, Debug, Eq, Hash, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Rsv28` [INFO] [stdout] --> xhcid/src/xhci/trb.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | Rsv28, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TrbType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> xhcid/src/xhci/trb.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Clone, Copy, Debug, Eq, Hash, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Rsv29` [INFO] [stdout] --> xhcid/src/xhci/trb.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | Rsv29, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TrbType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> xhcid/src/xhci/trb.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Clone, Copy, Debug, Eq, Hash, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Rsv30` [INFO] [stdout] --> xhcid/src/xhci/trb.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | Rsv30, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TrbType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> xhcid/src/xhci/trb.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Clone, Copy, Debug, Eq, Hash, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Rsv31` [INFO] [stdout] --> xhcid/src/xhci/trb.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | Rsv31, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TrbType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> xhcid/src/xhci/trb.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Clone, Copy, Debug, Eq, Hash, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `PortStatusChange` [INFO] [stdout] --> xhcid/src/xhci/trb.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | PortStatusChange, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TrbType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> xhcid/src/xhci/trb.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Clone, Copy, Debug, Eq, Hash, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `BandwidthRequest` [INFO] [stdout] --> xhcid/src/xhci/trb.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | BandwidthRequest, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TrbType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> xhcid/src/xhci/trb.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Clone, Copy, Debug, Eq, Hash, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Doorbell` [INFO] [stdout] --> xhcid/src/xhci/trb.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | Doorbell, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TrbType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> xhcid/src/xhci/trb.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Clone, Copy, Debug, Eq, Hash, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `DeviceNotification` [INFO] [stdout] --> xhcid/src/xhci/trb.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | DeviceNotification, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TrbType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> xhcid/src/xhci/trb.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Clone, Copy, Debug, Eq, Hash, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `MfindexWrap` [INFO] [stdout] --> xhcid/src/xhci/trb.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | MfindexWrap, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TrbType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> xhcid/src/xhci/trb.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Clone, Copy, Debug, Eq, Hash, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `DataBuffer` [INFO] [stdout] --> xhcid/src/xhci/trb.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | DataBuffer, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TrbCompletionCode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> xhcid/src/xhci/trb.rs:58:10 [INFO] [stdout] | [INFO] [stdout] 58 | #[derive(Clone, Copy, Debug, Eq, Hash, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `BabbleDetected` [INFO] [stdout] --> xhcid/src/xhci/trb.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | BabbleDetected, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TrbCompletionCode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> xhcid/src/xhci/trb.rs:58:10 [INFO] [stdout] | [INFO] [stdout] 58 | #[derive(Clone, Copy, Debug, Eq, Hash, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `UsbTransaction` [INFO] [stdout] --> xhcid/src/xhci/trb.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 64 | UsbTransaction, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TrbCompletionCode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> xhcid/src/xhci/trb.rs:58:10 [INFO] [stdout] | [INFO] [stdout] 58 | #[derive(Clone, Copy, Debug, Eq, Hash, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Trb` [INFO] [stdout] --> xhcid/src/xhci/trb.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | Trb, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: `TrbCompletionCode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> xhcid/src/xhci/trb.rs:58:10 [INFO] [stdout] | [INFO] [stdout] 58 | #[derive(Clone, Copy, Debug, Eq, Hash, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Resource` [INFO] [stdout] --> xhcid/src/xhci/trb.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 67 | Resource, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TrbCompletionCode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> xhcid/src/xhci/trb.rs:58:10 [INFO] [stdout] | [INFO] [stdout] 58 | #[derive(Clone, Copy, Debug, Eq, Hash, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Bandwidth` [INFO] [stdout] --> xhcid/src/xhci/trb.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | Bandwidth, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TrbCompletionCode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> xhcid/src/xhci/trb.rs:58:10 [INFO] [stdout] | [INFO] [stdout] 58 | #[derive(Clone, Copy, Debug, Eq, Hash, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `NoSlotsAvailable` [INFO] [stdout] --> xhcid/src/xhci/trb.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | NoSlotsAvailable, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TrbCompletionCode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> xhcid/src/xhci/trb.rs:58:10 [INFO] [stdout] | [INFO] [stdout] 58 | #[derive(Clone, Copy, Debug, Eq, Hash, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `InvalidStreamType` [INFO] [stdout] --> xhcid/src/xhci/trb.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | InvalidStreamType, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TrbCompletionCode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> xhcid/src/xhci/trb.rs:58:10 [INFO] [stdout] | [INFO] [stdout] 58 | #[derive(Clone, Copy, Debug, Eq, Hash, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `SlotNotEnabled` [INFO] [stdout] --> xhcid/src/xhci/trb.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | SlotNotEnabled, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TrbCompletionCode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> xhcid/src/xhci/trb.rs:58:10 [INFO] [stdout] | [INFO] [stdout] 58 | #[derive(Clone, Copy, Debug, Eq, Hash, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `EndpointNotEnabled` [INFO] [stdout] --> xhcid/src/xhci/trb.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | EndpointNotEnabled, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TrbCompletionCode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> xhcid/src/xhci/trb.rs:58:10 [INFO] [stdout] | [INFO] [stdout] 58 | #[derive(Clone, Copy, Debug, Eq, Hash, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Parameter` [INFO] [stdout] --> xhcid/src/xhci/trb.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 77 | Parameter, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TrbCompletionCode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> xhcid/src/xhci/trb.rs:58:10 [INFO] [stdout] | [INFO] [stdout] 58 | #[derive(Clone, Copy, Debug, Eq, Hash, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `BandwidthOverrun` [INFO] [stdout] --> xhcid/src/xhci/trb.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | BandwidthOverrun, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TrbCompletionCode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> xhcid/src/xhci/trb.rs:58:10 [INFO] [stdout] | [INFO] [stdout] 58 | #[derive(Clone, Copy, Debug, Eq, Hash, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ContextState` [INFO] [stdout] --> xhcid/src/xhci/trb.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 79 | ContextState, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TrbCompletionCode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> xhcid/src/xhci/trb.rs:58:10 [INFO] [stdout] | [INFO] [stdout] 58 | #[derive(Clone, Copy, Debug, Eq, Hash, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `NoPingResponse` [INFO] [stdout] --> xhcid/src/xhci/trb.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 80 | NoPingResponse, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TrbCompletionCode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> xhcid/src/xhci/trb.rs:58:10 [INFO] [stdout] | [INFO] [stdout] 58 | #[derive(Clone, Copy, Debug, Eq, Hash, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `IncompatibleDevice` [INFO] [stdout] --> xhcid/src/xhci/trb.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | IncompatibleDevice, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TrbCompletionCode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> xhcid/src/xhci/trb.rs:58:10 [INFO] [stdout] | [INFO] [stdout] 58 | #[derive(Clone, Copy, Debug, Eq, Hash, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `MissedService` [INFO] [stdout] --> xhcid/src/xhci/trb.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 83 | MissedService, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TrbCompletionCode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> xhcid/src/xhci/trb.rs:58:10 [INFO] [stdout] | [INFO] [stdout] 58 | #[derive(Clone, Copy, Debug, Eq, Hash, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `CommandRingStopped` [INFO] [stdout] --> xhcid/src/xhci/trb.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 84 | CommandRingStopped, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TrbCompletionCode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> xhcid/src/xhci/trb.rs:58:10 [INFO] [stdout] | [INFO] [stdout] 58 | #[derive(Clone, Copy, Debug, Eq, Hash, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `CommandAborted` [INFO] [stdout] --> xhcid/src/xhci/trb.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 85 | CommandAborted, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TrbCompletionCode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> xhcid/src/xhci/trb.rs:58:10 [INFO] [stdout] | [INFO] [stdout] 58 | #[derive(Clone, Copy, Debug, Eq, Hash, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Stopped` [INFO] [stdout] --> xhcid/src/xhci/trb.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 86 | Stopped, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TrbCompletionCode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> xhcid/src/xhci/trb.rs:58:10 [INFO] [stdout] | [INFO] [stdout] 58 | #[derive(Clone, Copy, Debug, Eq, Hash, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `StoppedLengthInvalid` [INFO] [stdout] --> xhcid/src/xhci/trb.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 87 | StoppedLengthInvalid, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TrbCompletionCode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> xhcid/src/xhci/trb.rs:58:10 [INFO] [stdout] | [INFO] [stdout] 58 | #[derive(Clone, Copy, Debug, Eq, Hash, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `StoppedShortPacket` [INFO] [stdout] --> xhcid/src/xhci/trb.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 88 | StoppedShortPacket, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TrbCompletionCode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> xhcid/src/xhci/trb.rs:58:10 [INFO] [stdout] | [INFO] [stdout] 58 | #[derive(Clone, Copy, Debug, Eq, Hash, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `MaxExitLatencyTooLarge` [INFO] [stdout] --> xhcid/src/xhci/trb.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 89 | MaxExitLatencyTooLarge, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TrbCompletionCode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> xhcid/src/xhci/trb.rs:58:10 [INFO] [stdout] | [INFO] [stdout] 58 | #[derive(Clone, Copy, Debug, Eq, Hash, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Rsv30` [INFO] [stdout] --> xhcid/src/xhci/trb.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 90 | Rsv30, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TrbCompletionCode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> xhcid/src/xhci/trb.rs:58:10 [INFO] [stdout] | [INFO] [stdout] 58 | #[derive(Clone, Copy, Debug, Eq, Hash, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `IsochBuffer` [INFO] [stdout] --> xhcid/src/xhci/trb.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 91 | IsochBuffer, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TrbCompletionCode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> xhcid/src/xhci/trb.rs:58:10 [INFO] [stdout] | [INFO] [stdout] 58 | #[derive(Clone, Copy, Debug, Eq, Hash, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `EventLost` [INFO] [stdout] --> xhcid/src/xhci/trb.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 92 | EventLost, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TrbCompletionCode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> xhcid/src/xhci/trb.rs:58:10 [INFO] [stdout] | [INFO] [stdout] 58 | #[derive(Clone, Copy, Debug, Eq, Hash, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Undefined` [INFO] [stdout] --> xhcid/src/xhci/trb.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 93 | Undefined, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TrbCompletionCode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> xhcid/src/xhci/trb.rs:58:10 [INFO] [stdout] | [INFO] [stdout] 58 | #[derive(Clone, Copy, Debug, Eq, Hash, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `InvalidStreamId` [INFO] [stdout] --> xhcid/src/xhci/trb.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 94 | InvalidStreamId, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TrbCompletionCode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> xhcid/src/xhci/trb.rs:58:10 [INFO] [stdout] | [INFO] [stdout] 58 | #[derive(Clone, Copy, Debug, Eq, Hash, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `SecondaryBandwidth` [INFO] [stdout] --> xhcid/src/xhci/trb.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 95 | SecondaryBandwidth, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TrbCompletionCode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> xhcid/src/xhci/trb.rs:58:10 [INFO] [stdout] | [INFO] [stdout] 58 | #[derive(Clone, Copy, Debug, Eq, Hash, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `SplitTransaction` [INFO] [stdout] --> xhcid/src/xhci/trb.rs:96:5 [INFO] [stdout] | [INFO] [stdout] 96 | SplitTransaction, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TrbCompletionCode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> xhcid/src/xhci/trb.rs:58:10 [INFO] [stdout] | [INFO] [stdout] 58 | #[derive(Clone, Copy, Debug, Eq, Hash, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Reserved` [INFO] [stdout] --> xhcid/src/xhci/trb.rs:106:5 [INFO] [stdout] | [INFO] [stdout] 106 | Reserved, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TransferKind` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> xhcid/src/xhci/trb.rs:103:10 [INFO] [stdout] | [INFO] [stdout] 103 | #[derive(Clone, Copy, Debug, Eq, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `TRB_STATUS_COMPLETION_CODE_MASK` [INFO] [stdout] --> xhcid/src/xhci/trb.rs:128:1 [INFO] [stdout] | [INFO] [stdout] 128 | pub const TRB_STATUS_COMPLETION_CODE_MASK: u32 = 0xFF00_0000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `TRB_STATUS_COMPLETION_PARAM_SHIFT` [INFO] [stdout] --> xhcid/src/xhci/trb.rs:130:1 [INFO] [stdout] | [INFO] [stdout] 130 | pub const TRB_STATUS_COMPLETION_PARAM_SHIFT: u8 = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `TRB_STATUS_COMPLETION_PARAM_MASK` [INFO] [stdout] --> xhcid/src/xhci/trb.rs:131:1 [INFO] [stdout] | [INFO] [stdout] 131 | pub const TRB_STATUS_COMPLETION_PARAM_MASK: u32 = 0x00FF_FFFF; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `TRB_STATUS_TRANSFER_LENGTH_SHIFT` [INFO] [stdout] --> xhcid/src/xhci/trb.rs:133:1 [INFO] [stdout] | [INFO] [stdout] 133 | pub const TRB_STATUS_TRANSFER_LENGTH_SHIFT: u8 = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `TRB_CONTROL_ENDPOINT_ID_MASK` [INFO] [stdout] --> xhcid/src/xhci/trb.rs:142:1 [INFO] [stdout] | [INFO] [stdout] 142 | pub const TRB_CONTROL_ENDPOINT_ID_MASK: u32 = 0x001F_0000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `TRB_CONTROL_ENDPOINT_ID_SHIFT` [INFO] [stdout] --> xhcid/src/xhci/trb.rs:143:1 [INFO] [stdout] | [INFO] [stdout] 143 | pub const TRB_CONTROL_ENDPOINT_ID_SHIFT: u8 = 16; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `completion_param` [INFO] [stdout] --> xhcid/src/xhci/trb.rs:159:12 [INFO] [stdout] | [INFO] [stdout] 159 | pub fn completion_param(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `endpoint_id` [INFO] [stdout] --> xhcid/src/xhci/trb.rs:207:12 [INFO] [stdout] | [INFO] [stdout] 207 | pub fn endpoint_id(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `no_op_cmd` [INFO] [stdout] --> xhcid/src/xhci/trb.rs:223:12 [INFO] [stdout] | [INFO] [stdout] 223 | pub fn no_op_cmd(&mut self, cycle: bool) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `disable_slot` [INFO] [stdout] --> xhcid/src/xhci/trb.rs:236:12 [INFO] [stdout] | [INFO] [stdout] 236 | pub fn disable_slot(&mut self, slot: u8, cycle: bool) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `stop_endpoint` [INFO] [stdout] --> xhcid/src/xhci/trb.rs:326:12 [INFO] [stdout] | [INFO] [stdout] 326 | pub fn stop_endpoint(&mut self, slot_id: u8, endp_num_xhc: u8, suspend: bool, cycle: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `reset_device` [INFO] [stdout] --> xhcid/src/xhci/trb.rs:338:12 [INFO] [stdout] | [INFO] [stdout] 338 | pub fn reset_device(&mut self, slot_id: u8, cycle: bool) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 211 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `handle_packet` [INFO] [stdout] --> xhcid/src/main.rs:37:10 [INFO] [stdout] | [INFO] [stdout] 37 | async fn handle_packet(hci: Arc, packet: Packet) -> Packet { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Notification` [INFO] [stdout] --> xhcid/src/driver_interface.rs:169:13 [INFO] [stdout] | [INFO] [stdout] 169 | Notification, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Rsvd2` [INFO] [stdout] --> xhcid/src/driver_interface.rs:170:13 [INFO] [stdout] | [INFO] [stdout] 170 | Rsvd2, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Rsvd3` [INFO] [stdout] --> xhcid/src/driver_interface.rs:171:13 [INFO] [stdout] | [INFO] [stdout] 171 | Rsvd3, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `inner` [INFO] [stdout] --> xhcid/src/driver_interface.rs:705:5 [INFO] [stdout] | [INFO] [stdout] 705 | inner: TransferStream<'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `inner` [INFO] [stdout] --> xhcid/src/driver_interface.rs:708:5 [INFO] [stdout] | [INFO] [stdout] 708 | inner: TransferStream<'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `bytes_to_transfer` [INFO] [stdout] --> xhcid/src/driver_interface.rs:711:5 [INFO] [stdout] | [INFO] [stdout] 711 | bytes_to_transfer: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `bytes_transferred` [INFO] [stdout] --> xhcid/src/driver_interface.rs:712:5 [INFO] [stdout] | [INFO] [stdout] 712 | bytes_transferred: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `bytes_per_transfer` [INFO] [stdout] --> xhcid/src/driver_interface.rs:713:5 [INFO] [stdout] | [INFO] [stdout] 713 | bytes_per_transfer: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `endp_handle` [INFO] [stdout] --> xhcid/src/driver_interface.rs:714:5 [INFO] [stdout] | [INFO] [stdout] 714 | endp_handle: &'a mut XhciEndpHandle, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `None` [INFO] [stdout] --> xhcid/src/usb/mod.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | None, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Interface` [INFO] [stdout] --> xhcid/src/usb/mod.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | Interface, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Endpoint` [INFO] [stdout] --> xhcid/src/usb/mod.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | Endpoint, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `DeviceQualifier` [INFO] [stdout] --> xhcid/src/usb/mod.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | DeviceQualifier, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `OtherSpeedConfiguration` [INFO] [stdout] --> xhcid/src/usb/mod.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | OtherSpeedConfiguration, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `InterfacePower` [INFO] [stdout] --> xhcid/src/usb/mod.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | InterfacePower, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `OnTheGo` [INFO] [stdout] --> xhcid/src/usb/mod.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | OnTheGo, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Hid` [INFO] [stdout] --> xhcid/src/usb/mod.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | Hid = 33, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `SuperSpeedCompanion` [INFO] [stdout] --> xhcid/src/usb/mod.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | SuperSpeedCompanion = 48, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `pba_pointer_unchecked` [INFO] [stdout] --> xhcid/src/xhci/mod.rs:81:19 [INFO] [stdout] | [INFO] [stdout] 81 | pub unsafe fn pba_pointer_unchecked(&mut self, k: usize) -> &mut u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `pba_pointer` [INFO] [stdout] --> xhcid/src/xhci/mod.rs:84:12 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn pba_pointer(&mut self, k: usize) -> &mut u64 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `pba` [INFO] [stdout] --> xhcid/src/xhci/mod.rs:88:12 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn pba(&mut self, k: usize) -> bool { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `pcid_handle` [INFO] [stdout] --> xhcid/src/xhci/mod.rs:193:5 [INFO] [stdout] | [INFO] [stdout] 193 | pcid_handle: Mutex, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `disable_port_slot` [INFO] [stdout] --> xhcid/src/xhci/mod.rs:432:18 [INFO] [stdout] | [INFO] [stdout] 432 | pub async fn disable_port_slot(&self, slot: u8) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `msix_info` [INFO] [stdout] --> xhcid/src/xhci/mod.rs:677:12 [INFO] [stdout] | [INFO] [stdout] 677 | pub fn msix_info(&self) -> Option> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `msix_info_mut` [INFO] [stdout] --> xhcid/src/xhci/mod.rs:683:12 [INFO] [stdout] | [INFO] [stdout] 683 | pub fn msix_info_mut(&self) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `sublink_speed_attr` [INFO] [stdout] --> xhcid/src/usb/bos.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | sublink_speed_attr: [u32; 0], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `BosSuperSpeedPlusDesc` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> xhcid/src/usb/bos.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 38 | #[derive(Clone, Copy, Debug, Default)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `ssac` [INFO] [stdout] --> xhcid/src/usb/bos.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn ssac(&self) -> u8 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `sublink_speed_attr` [INFO] [stdout] --> xhcid/src/usb/bos.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn sublink_speed_attr(&self) -> &[u32] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `minor_usb_vers` [INFO] [stdout] --> xhcid/src/usb/device.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | fn minor_usb_vers(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `major_usb_vers` [INFO] [stdout] --> xhcid/src/usb/device.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | fn major_usb_vers(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `ty` [INFO] [stdout] --> xhcid/src/usb/endpoint.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | fn ty(self) -> EndpointTy { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Reserved` [INFO] [stdout] --> xhcid/src/usb/setup.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | Reserved = 3, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `USB_SETUP_DIR_BIT` [INFO] [stdout] --> xhcid/src/usb/setup.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub const USB_SETUP_DIR_BIT: u8 = 1 << 7; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `USB_SETUP_REQ_TY_MASK` [INFO] [stdout] --> xhcid/src/usb/setup.rs:76:1 [INFO] [stdout] | [INFO] [stdout] 76 | pub const USB_SETUP_REQ_TY_MASK: u8 = 0x60; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `USB_SETUP_RECIPIENT_MASK` [INFO] [stdout] --> xhcid/src/usb/setup.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub const USB_SETUP_RECIPIENT_MASK: u8 = 0x1F; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `direction` [INFO] [stdout] --> xhcid/src/usb/setup.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn direction(&self) -> ReqDirection { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `req_ty` [INFO] [stdout] --> xhcid/src/usb/setup.rs:89:18 [INFO] [stdout] | [INFO] [stdout] 89 | pub const fn req_ty(&self) -> u8 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `req_recipient` [INFO] [stdout] --> xhcid/src/usb/setup.rs:93:18 [INFO] [stdout] | [INFO] [stdout] 93 | pub const fn req_recipient(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_allowed_from_api` [INFO] [stdout] --> xhcid/src/usb/setup.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn is_allowed_from_api(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_status` [INFO] [stdout] --> xhcid/src/usb/setup.rs:100:18 [INFO] [stdout] | [INFO] [stdout] 100 | pub const fn get_status() -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `clear_feature` [INFO] [stdout] --> xhcid/src/usb/setup.rs:110:18 [INFO] [stdout] | [INFO] [stdout] 110 | pub const fn clear_feature(feature: u16) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_feature` [INFO] [stdout] --> xhcid/src/usb/setup.rs:120:18 [INFO] [stdout] | [INFO] [stdout] 120 | pub const fn set_feature(feature: u16) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_address` [INFO] [stdout] --> xhcid/src/usb/setup.rs:130:18 [INFO] [stdout] | [INFO] [stdout] 130 | pub const fn set_address(address: u16) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_descriptor` [INFO] [stdout] --> xhcid/src/usb/setup.rs:155:18 [INFO] [stdout] | [INFO] [stdout] 155 | pub const fn set_descriptor(kind: u8, index: u8, language: u16, length: u16) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_configuration` [INFO] [stdout] --> xhcid/src/usb/setup.rs:165:18 [INFO] [stdout] | [INFO] [stdout] 165 | pub const fn get_configuration() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `HCS_PARAMS1_MAX_SLOTS_SHIFT` [INFO] [stdout] --> xhcid/src/xhci/capability.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | pub const HCS_PARAMS1_MAX_SLOTS_SHIFT: u8 = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `HCS_PARAMS2_SPR_BIT` [INFO] [stdout] --> xhcid/src/xhci/capability.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | pub const HCS_PARAMS2_SPR_BIT: u32 = 1 << HCS_PARAMS2_SPR_SHIFT; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `HCS_PARAMS2_SPR_SHIFT` [INFO] [stdout] --> xhcid/src/xhci/capability.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | pub const HCS_PARAMS2_SPR_SHIFT: u8 = 26; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `spr` [INFO] [stdout] --> xhcid/src/xhci/capability.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn spr(&self) -> bool { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `EnabledOrDisabled` [INFO] [stdout] --> xhcid/src/xhci/context.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | EnabledOrDisabled = 0, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Default` [INFO] [stdout] --> xhcid/src/xhci/context.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | Default = 1, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Addressed` [INFO] [stdout] --> xhcid/src/xhci/context.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | Addressed = 2, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dump_control` [INFO] [stdout] --> xhcid/src/xhci/context.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn dump_control(&self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `edtla` [INFO] [stdout] --> xhcid/src/xhci/context.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 110 | edtla: Mmio, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `rsvd` [INFO] [stdout] --> xhcid/src/xhci/context.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 111 | rsvd: Mmio, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `SecondaryRing` [INFO] [stdout] --> xhcid/src/xhci/context.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 118 | SecondaryRing, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `PrimarySsa8` [INFO] [stdout] --> xhcid/src/xhci/context.rs:120:5 [INFO] [stdout] | [INFO] [stdout] 120 | PrimarySsa8, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `PrimarySsa16` [INFO] [stdout] --> xhcid/src/xhci/context.rs:121:5 [INFO] [stdout] | [INFO] [stdout] 121 | PrimarySsa16, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `PrimarySsa32` [INFO] [stdout] --> xhcid/src/xhci/context.rs:122:5 [INFO] [stdout] | [INFO] [stdout] 122 | PrimarySsa32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `PrimarySsa64` [INFO] [stdout] --> xhcid/src/xhci/context.rs:123:5 [INFO] [stdout] | [INFO] [stdout] 123 | PrimarySsa64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `PrimarySsa128` [INFO] [stdout] --> xhcid/src/xhci/context.rs:124:5 [INFO] [stdout] | [INFO] [stdout] 124 | PrimarySsa128, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `PrimarySsa256` [INFO] [stdout] --> xhcid/src/xhci/context.rs:125:5 [INFO] [stdout] | [INFO] [stdout] 125 | PrimarySsa256, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read` [INFO] [stdout] --> xhcid/src/xhci/doorbell.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn read(&self) -> u32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `next` [INFO] [stdout] --> xhcid/src/xhci/event.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn next(&mut self) -> &mut Trb { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `UsbLegacySupport` [INFO] [stdout] --> xhcid/src/xhci/extended.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | UsbLegacySupport = 1, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ExtendedPowerManagement` [INFO] [stdout] --> xhcid/src/xhci/extended.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | ExtendedPowerManagement, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `IoVirtualization` [INFO] [stdout] --> xhcid/src/xhci/extended.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | IoVirtualization, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `MessageInterrupt` [INFO] [stdout] --> xhcid/src/xhci/extended.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | MessageInterrupt, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `LocalMem` [INFO] [stdout] --> xhcid/src/xhci/extended.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | LocalMem, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `UsbDebugCapability` [INFO] [stdout] --> xhcid/src/xhci/extended.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | UsbDebugCapability = 10, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ExtendedMessageInterrupt` [INFO] [stdout] --> xhcid/src/xhci/extended.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | ExtendedMessageInterrupt = 17, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Bps` [INFO] [stdout] --> xhcid/src/xhci/extended.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 90 | Bps, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: `Psie` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> xhcid/src/xhci/extended.rs:88:10 [INFO] [stdout] | [INFO] [stdout] 88 | #[derive(Clone, Copy, Debug, Eq, Hash, Ord, PartialEq, PartialOrd)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Reserved` [INFO] [stdout] --> xhcid/src/xhci/extended.rs:99:5 [INFO] [stdout] | [INFO] [stdout] 99 | Reserved, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Plt` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> xhcid/src/xhci/extended.rs:96:10 [INFO] [stdout] | [INFO] [stdout] 96 | #[derive(Clone, Copy, Debug, Eq, Hash, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `AsymmetricRx` [INFO] [stdout] --> xhcid/src/xhci/extended.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 100 | AsymmetricRx, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Plt` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> xhcid/src/xhci/extended.rs:96:10 [INFO] [stdout] | [INFO] [stdout] 96 | #[derive(Clone, Copy, Debug, Eq, Hash, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `AsymmetricTx` [INFO] [stdout] --> xhcid/src/xhci/extended.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 101 | AsymmetricTx, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Plt` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> xhcid/src/xhci/extended.rs:96:10 [INFO] [stdout] | [INFO] [stdout] 96 | #[derive(Clone, Copy, Debug, Eq, Hash, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Rsvd2` [INFO] [stdout] --> xhcid/src/xhci/extended.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 108 | Rsvd2, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Lp` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> xhcid/src/xhci/extended.rs:104:10 [INFO] [stdout] | [INFO] [stdout] 104 | #[derive(Clone, Copy, Debug, Eq, Hash, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Rsvd3` [INFO] [stdout] --> xhcid/src/xhci/extended.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 109 | Rsvd3, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Lp` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> xhcid/src/xhci/extended.rs:104:10 [INFO] [stdout] | [INFO] [stdout] 104 | #[derive(Clone, Copy, Debug, Eq, Hash, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `protocol_speeds_mut` [INFO] [stdout] --> xhcid/src/xhci/extended.rs:231:19 [INFO] [stdout] | [INFO] [stdout] 231 | pub unsafe fn protocol_speeds_mut(&mut self) -> &mut [ProtocolSpeed] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Other` [INFO] [stdout] --> xhcid/src/xhci/irq_reactor.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | Other(TrbType), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `StateKind` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> xhcid/src/xhci/irq_reactor.rs:65:10 [INFO] [stdout] | [INFO] [stdout] 65 | #[derive(Clone, Copy, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `trb_type` [INFO] [stdout] --> xhcid/src/xhci/irq_reactor.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn trb_type(&self) -> TrbType { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_ring_mut` [INFO] [stdout] --> xhcid/src/xhci/irq_reactor.rs:397:12 [INFO] [stdout] | [INFO] [stdout] 397 | pub fn with_ring_mut T>(&self, id: RingId, function: F) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `next_misc_event_trb` [INFO] [stdout] --> xhcid/src/xhci/irq_reactor.rs:445:12 [INFO] [stdout] | [INFO] [stdout] 445 | pub fn next_misc_event_trb(&self, trb_type: TrbType) -> impl Future + Send + Sync + 'static { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `iter` [INFO] [stdout] --> xhcid/src/xhci/ring.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn iter(&self) -> impl Iterator + '_ { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `phys_addr_to_entry_ref` [INFO] [stdout] --> xhcid/src/xhci/ring.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn phys_addr_to_entry_ref(&self, ac64: bool, paddr: u64) -> Option<&Trb> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `start_virt_addr` [INFO] [stdout] --> xhcid/src/xhci/ring.rs:92:19 [INFO] [stdout] | [INFO] [stdout] 92 | pub(crate) fn start_virt_addr(&self) -> *const Trb { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `end_virt_addr` [INFO] [stdout] --> xhcid/src/xhci/ring.rs:95:19 [INFO] [stdout] | [INFO] [stdout] 95 | pub(crate) fn end_virt_addr(&self) -> *const Trb { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Ready` [INFO] [stdout] --> xhcid/src/xhci/scheme.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | Ready, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PortTransferState` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> xhcid/src/xhci/scheme.rs:69:10 [INFO] [stdout] | [INFO] [stdout] 69 | #[derive(Clone, Copy, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `WaitingForStatusReq` [INFO] [stdout] --> xhcid/src/xhci/scheme.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | WaitingForStatusReq(PortTransferStatus), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PortTransferState` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> xhcid/src/xhci/scheme.rs:69:10 [INFO] [stdout] | [INFO] [stdout] 69 | #[derive(Clone, Copy, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `port_state` [INFO] [stdout] --> xhcid/src/xhci/scheme.rs:554:8 [INFO] [stdout] | [INFO] [stdout] 554 | fn port_state(&self, port: usize) -> Result> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `endp_direction` [INFO] [stdout] --> xhcid/src/xhci/scheme.rs:1758:12 [INFO] [stdout] | [INFO] [stdout] 1758 | pub fn endp_direction(&self, port_num: usize, endp_num: u8) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `slot` [INFO] [stdout] --> xhcid/src/xhci/scheme.rs:1776:12 [INFO] [stdout] | [INFO] [stdout] 1776 | pub fn slot(&self, port_num: usize) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `EventData` [INFO] [stdout] --> xhcid/src/xhci/trb.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | EventData, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TrbType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> xhcid/src/xhci/trb.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Clone, Copy, Debug, Eq, Hash, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Rsv26` [INFO] [stdout] --> xhcid/src/xhci/trb.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | Rsv26, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TrbType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> xhcid/src/xhci/trb.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Clone, Copy, Debug, Eq, Hash, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Rsv27` [INFO] [stdout] --> xhcid/src/xhci/trb.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | Rsv27, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TrbType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> xhcid/src/xhci/trb.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Clone, Copy, Debug, Eq, Hash, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Rsv28` [INFO] [stdout] --> xhcid/src/xhci/trb.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | Rsv28, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TrbType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> xhcid/src/xhci/trb.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Clone, Copy, Debug, Eq, Hash, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Rsv29` [INFO] [stdout] --> xhcid/src/xhci/trb.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | Rsv29, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TrbType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> xhcid/src/xhci/trb.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Clone, Copy, Debug, Eq, Hash, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Rsv30` [INFO] [stdout] --> xhcid/src/xhci/trb.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | Rsv30, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TrbType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> xhcid/src/xhci/trb.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Clone, Copy, Debug, Eq, Hash, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Rsv31` [INFO] [stdout] --> xhcid/src/xhci/trb.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | Rsv31, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TrbType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> xhcid/src/xhci/trb.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Clone, Copy, Debug, Eq, Hash, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `PortStatusChange` [INFO] [stdout] --> xhcid/src/xhci/trb.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | PortStatusChange, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TrbType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> xhcid/src/xhci/trb.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Clone, Copy, Debug, Eq, Hash, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `BandwidthRequest` [INFO] [stdout] --> xhcid/src/xhci/trb.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | BandwidthRequest, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TrbType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> xhcid/src/xhci/trb.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Clone, Copy, Debug, Eq, Hash, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Doorbell` [INFO] [stdout] --> xhcid/src/xhci/trb.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | Doorbell, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TrbType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> xhcid/src/xhci/trb.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Clone, Copy, Debug, Eq, Hash, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `DeviceNotification` [INFO] [stdout] --> xhcid/src/xhci/trb.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | DeviceNotification, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TrbType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> xhcid/src/xhci/trb.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Clone, Copy, Debug, Eq, Hash, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `MfindexWrap` [INFO] [stdout] --> xhcid/src/xhci/trb.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | MfindexWrap, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TrbType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> xhcid/src/xhci/trb.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Clone, Copy, Debug, Eq, Hash, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `DataBuffer` [INFO] [stdout] --> xhcid/src/xhci/trb.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | DataBuffer, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TrbCompletionCode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> xhcid/src/xhci/trb.rs:58:10 [INFO] [stdout] | [INFO] [stdout] 58 | #[derive(Clone, Copy, Debug, Eq, Hash, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `BabbleDetected` [INFO] [stdout] --> xhcid/src/xhci/trb.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | BabbleDetected, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TrbCompletionCode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> xhcid/src/xhci/trb.rs:58:10 [INFO] [stdout] | [INFO] [stdout] 58 | #[derive(Clone, Copy, Debug, Eq, Hash, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `UsbTransaction` [INFO] [stdout] --> xhcid/src/xhci/trb.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 64 | UsbTransaction, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TrbCompletionCode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> xhcid/src/xhci/trb.rs:58:10 [INFO] [stdout] | [INFO] [stdout] 58 | #[derive(Clone, Copy, Debug, Eq, Hash, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Trb` [INFO] [stdout] --> xhcid/src/xhci/trb.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | Trb, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: `TrbCompletionCode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> xhcid/src/xhci/trb.rs:58:10 [INFO] [stdout] | [INFO] [stdout] 58 | #[derive(Clone, Copy, Debug, Eq, Hash, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Resource` [INFO] [stdout] --> xhcid/src/xhci/trb.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 67 | Resource, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TrbCompletionCode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> xhcid/src/xhci/trb.rs:58:10 [INFO] [stdout] | [INFO] [stdout] 58 | #[derive(Clone, Copy, Debug, Eq, Hash, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Bandwidth` [INFO] [stdout] --> xhcid/src/xhci/trb.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | Bandwidth, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TrbCompletionCode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> xhcid/src/xhci/trb.rs:58:10 [INFO] [stdout] | [INFO] [stdout] 58 | #[derive(Clone, Copy, Debug, Eq, Hash, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `NoSlotsAvailable` [INFO] [stdout] --> xhcid/src/xhci/trb.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | NoSlotsAvailable, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TrbCompletionCode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> xhcid/src/xhci/trb.rs:58:10 [INFO] [stdout] | [INFO] [stdout] 58 | #[derive(Clone, Copy, Debug, Eq, Hash, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `InvalidStreamType` [INFO] [stdout] --> xhcid/src/xhci/trb.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | InvalidStreamType, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TrbCompletionCode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> xhcid/src/xhci/trb.rs:58:10 [INFO] [stdout] | [INFO] [stdout] 58 | #[derive(Clone, Copy, Debug, Eq, Hash, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `SlotNotEnabled` [INFO] [stdout] --> xhcid/src/xhci/trb.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | SlotNotEnabled, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TrbCompletionCode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> xhcid/src/xhci/trb.rs:58:10 [INFO] [stdout] | [INFO] [stdout] 58 | #[derive(Clone, Copy, Debug, Eq, Hash, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `EndpointNotEnabled` [INFO] [stdout] --> xhcid/src/xhci/trb.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | EndpointNotEnabled, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TrbCompletionCode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> xhcid/src/xhci/trb.rs:58:10 [INFO] [stdout] | [INFO] [stdout] 58 | #[derive(Clone, Copy, Debug, Eq, Hash, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Parameter` [INFO] [stdout] --> xhcid/src/xhci/trb.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 77 | Parameter, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TrbCompletionCode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> xhcid/src/xhci/trb.rs:58:10 [INFO] [stdout] | [INFO] [stdout] 58 | #[derive(Clone, Copy, Debug, Eq, Hash, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `BandwidthOverrun` [INFO] [stdout] --> xhcid/src/xhci/trb.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | BandwidthOverrun, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TrbCompletionCode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> xhcid/src/xhci/trb.rs:58:10 [INFO] [stdout] | [INFO] [stdout] 58 | #[derive(Clone, Copy, Debug, Eq, Hash, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ContextState` [INFO] [stdout] --> xhcid/src/xhci/trb.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 79 | ContextState, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TrbCompletionCode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> xhcid/src/xhci/trb.rs:58:10 [INFO] [stdout] | [INFO] [stdout] 58 | #[derive(Clone, Copy, Debug, Eq, Hash, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `NoPingResponse` [INFO] [stdout] --> xhcid/src/xhci/trb.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 80 | NoPingResponse, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TrbCompletionCode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> xhcid/src/xhci/trb.rs:58:10 [INFO] [stdout] | [INFO] [stdout] 58 | #[derive(Clone, Copy, Debug, Eq, Hash, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `IncompatibleDevice` [INFO] [stdout] --> xhcid/src/xhci/trb.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | IncompatibleDevice, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TrbCompletionCode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> xhcid/src/xhci/trb.rs:58:10 [INFO] [stdout] | [INFO] [stdout] 58 | #[derive(Clone, Copy, Debug, Eq, Hash, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `MissedService` [INFO] [stdout] --> xhcid/src/xhci/trb.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 83 | MissedService, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TrbCompletionCode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> xhcid/src/xhci/trb.rs:58:10 [INFO] [stdout] | [INFO] [stdout] 58 | #[derive(Clone, Copy, Debug, Eq, Hash, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `CommandRingStopped` [INFO] [stdout] --> xhcid/src/xhci/trb.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 84 | CommandRingStopped, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TrbCompletionCode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> xhcid/src/xhci/trb.rs:58:10 [INFO] [stdout] | [INFO] [stdout] 58 | #[derive(Clone, Copy, Debug, Eq, Hash, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `CommandAborted` [INFO] [stdout] --> xhcid/src/xhci/trb.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 85 | CommandAborted, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TrbCompletionCode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> xhcid/src/xhci/trb.rs:58:10 [INFO] [stdout] | [INFO] [stdout] 58 | #[derive(Clone, Copy, Debug, Eq, Hash, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Stopped` [INFO] [stdout] --> xhcid/src/xhci/trb.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 86 | Stopped, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TrbCompletionCode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> xhcid/src/xhci/trb.rs:58:10 [INFO] [stdout] | [INFO] [stdout] 58 | #[derive(Clone, Copy, Debug, Eq, Hash, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `StoppedLengthInvalid` [INFO] [stdout] --> xhcid/src/xhci/trb.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 87 | StoppedLengthInvalid, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TrbCompletionCode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> xhcid/src/xhci/trb.rs:58:10 [INFO] [stdout] | [INFO] [stdout] 58 | #[derive(Clone, Copy, Debug, Eq, Hash, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `StoppedShortPacket` [INFO] [stdout] --> xhcid/src/xhci/trb.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 88 | StoppedShortPacket, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TrbCompletionCode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> xhcid/src/xhci/trb.rs:58:10 [INFO] [stdout] | [INFO] [stdout] 58 | #[derive(Clone, Copy, Debug, Eq, Hash, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `MaxExitLatencyTooLarge` [INFO] [stdout] --> xhcid/src/xhci/trb.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 89 | MaxExitLatencyTooLarge, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TrbCompletionCode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> xhcid/src/xhci/trb.rs:58:10 [INFO] [stdout] | [INFO] [stdout] 58 | #[derive(Clone, Copy, Debug, Eq, Hash, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Rsv30` [INFO] [stdout] --> xhcid/src/xhci/trb.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 90 | Rsv30, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TrbCompletionCode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> xhcid/src/xhci/trb.rs:58:10 [INFO] [stdout] | [INFO] [stdout] 58 | #[derive(Clone, Copy, Debug, Eq, Hash, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `IsochBuffer` [INFO] [stdout] --> xhcid/src/xhci/trb.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 91 | IsochBuffer, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TrbCompletionCode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> xhcid/src/xhci/trb.rs:58:10 [INFO] [stdout] | [INFO] [stdout] 58 | #[derive(Clone, Copy, Debug, Eq, Hash, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `EventLost` [INFO] [stdout] --> xhcid/src/xhci/trb.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 92 | EventLost, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TrbCompletionCode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> xhcid/src/xhci/trb.rs:58:10 [INFO] [stdout] | [INFO] [stdout] 58 | #[derive(Clone, Copy, Debug, Eq, Hash, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Undefined` [INFO] [stdout] --> xhcid/src/xhci/trb.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 93 | Undefined, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TrbCompletionCode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> xhcid/src/xhci/trb.rs:58:10 [INFO] [stdout] | [INFO] [stdout] 58 | #[derive(Clone, Copy, Debug, Eq, Hash, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `InvalidStreamId` [INFO] [stdout] --> xhcid/src/xhci/trb.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 94 | InvalidStreamId, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TrbCompletionCode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> xhcid/src/xhci/trb.rs:58:10 [INFO] [stdout] | [INFO] [stdout] 58 | #[derive(Clone, Copy, Debug, Eq, Hash, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `SecondaryBandwidth` [INFO] [stdout] --> xhcid/src/xhci/trb.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 95 | SecondaryBandwidth, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TrbCompletionCode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> xhcid/src/xhci/trb.rs:58:10 [INFO] [stdout] | [INFO] [stdout] 58 | #[derive(Clone, Copy, Debug, Eq, Hash, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `SplitTransaction` [INFO] [stdout] --> xhcid/src/xhci/trb.rs:96:5 [INFO] [stdout] | [INFO] [stdout] 96 | SplitTransaction, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TrbCompletionCode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> xhcid/src/xhci/trb.rs:58:10 [INFO] [stdout] | [INFO] [stdout] 58 | #[derive(Clone, Copy, Debug, Eq, Hash, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Reserved` [INFO] [stdout] --> xhcid/src/xhci/trb.rs:106:5 [INFO] [stdout] | [INFO] [stdout] 106 | Reserved, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TransferKind` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> xhcid/src/xhci/trb.rs:103:10 [INFO] [stdout] | [INFO] [stdout] 103 | #[derive(Clone, Copy, Debug, Eq, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `TRB_STATUS_COMPLETION_CODE_MASK` [INFO] [stdout] --> xhcid/src/xhci/trb.rs:128:1 [INFO] [stdout] | [INFO] [stdout] 128 | pub const TRB_STATUS_COMPLETION_CODE_MASK: u32 = 0xFF00_0000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `TRB_STATUS_COMPLETION_PARAM_SHIFT` [INFO] [stdout] --> xhcid/src/xhci/trb.rs:130:1 [INFO] [stdout] | [INFO] [stdout] 130 | pub const TRB_STATUS_COMPLETION_PARAM_SHIFT: u8 = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `TRB_STATUS_COMPLETION_PARAM_MASK` [INFO] [stdout] --> xhcid/src/xhci/trb.rs:131:1 [INFO] [stdout] | [INFO] [stdout] 131 | pub const TRB_STATUS_COMPLETION_PARAM_MASK: u32 = 0x00FF_FFFF; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `TRB_STATUS_TRANSFER_LENGTH_SHIFT` [INFO] [stdout] --> xhcid/src/xhci/trb.rs:133:1 [INFO] [stdout] | [INFO] [stdout] 133 | pub const TRB_STATUS_TRANSFER_LENGTH_SHIFT: u8 = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `TRB_CONTROL_ENDPOINT_ID_MASK` [INFO] [stdout] --> xhcid/src/xhci/trb.rs:142:1 [INFO] [stdout] | [INFO] [stdout] 142 | pub const TRB_CONTROL_ENDPOINT_ID_MASK: u32 = 0x001F_0000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `TRB_CONTROL_ENDPOINT_ID_SHIFT` [INFO] [stdout] --> xhcid/src/xhci/trb.rs:143:1 [INFO] [stdout] | [INFO] [stdout] 143 | pub const TRB_CONTROL_ENDPOINT_ID_SHIFT: u8 = 16; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `completion_param` [INFO] [stdout] --> xhcid/src/xhci/trb.rs:159:12 [INFO] [stdout] | [INFO] [stdout] 159 | pub fn completion_param(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `endpoint_id` [INFO] [stdout] --> xhcid/src/xhci/trb.rs:207:12 [INFO] [stdout] | [INFO] [stdout] 207 | pub fn endpoint_id(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `no_op_cmd` [INFO] [stdout] --> xhcid/src/xhci/trb.rs:223:12 [INFO] [stdout] | [INFO] [stdout] 223 | pub fn no_op_cmd(&mut self, cycle: bool) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `disable_slot` [INFO] [stdout] --> xhcid/src/xhci/trb.rs:236:12 [INFO] [stdout] | [INFO] [stdout] 236 | pub fn disable_slot(&mut self, slot: u8, cycle: bool) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `stop_endpoint` [INFO] [stdout] --> xhcid/src/xhci/trb.rs:326:12 [INFO] [stdout] | [INFO] [stdout] 326 | pub fn stop_endpoint(&mut self, slot_id: u8, endp_num_xhc: u8, suspend: bool, cycle: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `reset_device` [INFO] [stdout] --> xhcid/src/xhci/trb.rs:338:12 [INFO] [stdout] | [INFO] [stdout] 338 | pub fn reset_device(&mut self, slot_id: u8, cycle: bool) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 211 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: failed to run custom build command for `sdl2-sys v0.35.2` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/target/debug/build/sdl2-sys-fc3fd29a3dd38682/build-script-build` (exit status: 101) [INFO] [stderr] --- stdout [INFO] [stderr] CMAKE_TOOLCHAIN_FILE_x86_64-unknown-linux-gnu = None [INFO] [stderr] CMAKE_TOOLCHAIN_FILE_x86_64_unknown_linux_gnu = None [INFO] [stderr] HOST_CMAKE_TOOLCHAIN_FILE = None [INFO] [stderr] CMAKE_TOOLCHAIN_FILE = None [INFO] [stderr] CMAKE_GENERATOR_x86_64-unknown-linux-gnu = None [INFO] [stderr] CMAKE_GENERATOR_x86_64_unknown_linux_gnu = None [INFO] [stderr] HOST_CMAKE_GENERATOR = None [INFO] [stderr] CMAKE_GENERATOR = None [INFO] [stderr] CMAKE_PREFIX_PATH_x86_64-unknown-linux-gnu = None [INFO] [stderr] CMAKE_PREFIX_PATH_x86_64_unknown_linux_gnu = None [INFO] [stderr] HOST_CMAKE_PREFIX_PATH = None [INFO] [stderr] CMAKE_PREFIX_PATH = None [INFO] [stderr] CMAKE_x86_64-unknown-linux-gnu = None [INFO] [stderr] CMAKE_x86_64_unknown_linux_gnu = None [INFO] [stderr] HOST_CMAKE = None [INFO] [stderr] CMAKE = None [INFO] [stderr] running: "cmake" "/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sdl2-sys-0.35.2/SDL" "-DSDL_SHARED=OFF" "-DSDL_STATIC=ON" "-DCMAKE_INSTALL_PREFIX=/opt/rustwide/target/debug/build/sdl2-sys-a952f8d6ab32cbb9/out" "-DCMAKE_C_FLAGS= -D__FLTUSED__ -ffunction-sections -fdata-sections -fPIC -m64" "-DCMAKE_C_COMPILER=/usr/bin/cc" "-DCMAKE_CXX_FLAGS= -ffunction-sections -fdata-sections -fPIC -m64" "-DCMAKE_CXX_COMPILER=/usr/bin/c++" "-DCMAKE_ASM_FLAGS= -ffunction-sections -fdata-sections -fPIC -m64" "-DCMAKE_ASM_COMPILER=/usr/bin/cc" "-DCMAKE_BUILD_TYPE=release" [INFO] [stderr] -- The C compiler identification is GNU 9.4.0 [INFO] [stderr] -- The CXX compiler identification is GNU 9.4.0 [INFO] [stderr] -- Check for working C compiler: /usr/bin/cc [INFO] [stderr] -- Check for working C compiler: /usr/bin/cc -- works [INFO] [stderr] -- Detecting C compiler ABI info [INFO] [stderr] -- Detecting C compiler ABI info - done [INFO] [stderr] -- Detecting C compile features [INFO] [stderr] -- Detecting C compile features - done [INFO] [stderr] -- Check for working CXX compiler: /usr/bin/c++ [INFO] [stderr] -- Check for working CXX compiler: /usr/bin/c++ -- works [INFO] [stderr] -- Detecting CXX compiler ABI info [INFO] [stderr] -- Detecting CXX compiler ABI info - done [INFO] [stderr] -- Detecting CXX compile features [INFO] [stderr] -- Detecting CXX compile features - done [INFO] [stderr] -- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1") [INFO] [stderr] -- Performing Test HAVE_GCC_WALL [INFO] [stderr] -- Performing Test HAVE_GCC_WALL - Success [INFO] [stderr] -- Performing Test HAVE_GCC_NO_STRICT_ALIASING [INFO] [stderr] -- Performing Test HAVE_GCC_NO_STRICT_ALIASING - Success [INFO] [stderr] -- Performing Test HAVE_GCC_WDECLARATION_AFTER_STATEMENT [INFO] [stderr] -- Performing Test HAVE_GCC_WDECLARATION_AFTER_STATEMENT - Success [INFO] [stderr] -- Performing Test HAVE_GCC_WERROR_DECLARATION_AFTER_STATEMENT [INFO] [stderr] -- Performing Test HAVE_GCC_WERROR_DECLARATION_AFTER_STATEMENT - Success [INFO] [stderr] -- Performing Test HAVE_GCC_ATOMICS [INFO] [stderr] -- Performing Test HAVE_GCC_ATOMICS - Success [INFO] [stderr] -- Performing Test HAVE_GCC_PREFERRED_STACK_BOUNDARY [INFO] [stderr] -- Performing Test HAVE_GCC_PREFERRED_STACK_BOUNDARY - Failed [INFO] [stderr] -- Performing Test HAVE_GCC_FVISIBILITY [INFO] [stderr] -- Performing Test HAVE_GCC_FVISIBILITY - Success [INFO] [stderr] -- Performing Test HAVE_GCC_WSHADOW [INFO] [stderr] -- Performing Test HAVE_GCC_WSHADOW - Success [INFO] [stderr] -- Performing Test HAVE_NO_UNDEFINED [INFO] [stderr] -- Performing Test HAVE_NO_UNDEFINED - Success [INFO] [stderr] -- Performing Test HAVE_MMX [INFO] [stderr] -- Performing Test HAVE_MMX - Success [INFO] [stderr] -- Performing Test HAVE_3DNOW [INFO] [stderr] -- Performing Test HAVE_3DNOW - Success [INFO] [stderr] -- Performing Test HAVE_SSE [INFO] [stderr] -- Performing Test HAVE_SSE - Success [INFO] [stderr] -- Performing Test HAVE_SSE2 [INFO] [stderr] -- Performing Test HAVE_SSE2 - Success [INFO] [stderr] -- Performing Test HAVE_SSE3 [INFO] [stderr] -- Performing Test HAVE_SSE3 - Success [INFO] [stderr] -- Looking for immintrin.h [INFO] [stderr] -- Looking for immintrin.h - found [INFO] [stderr] -- Performing Test HAVE_ALTIVEC_H_HDR [INFO] [stderr] -- Performing Test HAVE_ALTIVEC_H_HDR - Failed [INFO] [stderr] -- Performing Test HAVE_ALTIVEC [INFO] [stderr] -- Performing Test HAVE_ALTIVEC - Failed [INFO] [stderr] -- Looking for sys/types.h [INFO] [stderr] -- Looking for sys/types.h - found [INFO] [stderr] -- Looking for stdio.h [INFO] [stderr] -- Looking for stdio.h - found [INFO] [stderr] -- Looking for stdlib.h [INFO] [stderr] -- Looking for stdlib.h - found [INFO] [stderr] -- Looking for stddef.h [INFO] [stderr] -- Looking for stddef.h - found [INFO] [stderr] -- Looking for stdarg.h [INFO] [stderr] -- Looking for stdarg.h - found [INFO] [stderr] -- Looking for malloc.h [INFO] [stderr] -- Looking for malloc.h - found [INFO] [stderr] -- Looking for memory.h [INFO] [stderr] -- Looking for memory.h - found [INFO] [stderr] -- Looking for string.h [INFO] [stderr] -- Looking for string.h - found [INFO] [stderr] -- Looking for limits.h [INFO] [stderr] -- Looking for limits.h - found [INFO] [stderr] -- Looking for float.h [INFO] [stderr] -- Looking for float.h - found [INFO] [stderr] -- Looking for strings.h [INFO] [stderr] -- Looking for strings.h - found [INFO] [stderr] -- Looking for wchar.h [INFO] [stderr] -- Looking for wchar.h - found [INFO] [stderr] -- Looking for inttypes.h [INFO] [stderr] -- Looking for inttypes.h - found [INFO] [stderr] -- Looking for stdint.h [INFO] [stderr] -- Looking for stdint.h - found [INFO] [stderr] -- Looking for ctype.h [INFO] [stderr] -- Looking for ctype.h - found [INFO] [stderr] -- Looking for math.h [INFO] [stderr] -- Looking for math.h - found [INFO] [stderr] -- Looking for iconv.h [INFO] [stderr] -- Looking for iconv.h - found [INFO] [stderr] -- Looking for signal.h [INFO] [stderr] -- Looking for signal.h - found [INFO] [stderr] -- Looking for libunwind.h [INFO] [stderr] -- Looking for libunwind.h - found [INFO] [stderr] -- Looking for 7 include files stddef.h, ..., float.h [INFO] [stderr] -- Looking for 7 include files stddef.h, ..., float.h - found [INFO] [stderr] -- Check size of size_t [INFO] [stderr] -- Check size of size_t - done [INFO] [stderr] -- Looking for M_PI [INFO] [stderr] -- Looking for M_PI - found [INFO] [stderr] -- Performing Test HAVE_MPROTECT [INFO] [stderr] -- Performing Test HAVE_MPROTECT - Success [INFO] [stderr] -- Looking for strtod [INFO] [stderr] -- Looking for strtod - found [INFO] [stderr] -- Looking for malloc [INFO] [stderr] -- Looking for malloc - found [INFO] [stderr] -- Looking for calloc [INFO] [stderr] -- Looking for calloc - found [INFO] [stderr] -- Looking for realloc [INFO] [stderr] -- Looking for realloc - found [INFO] [stderr] -- Looking for free [INFO] [stderr] -- Looking for free - found [INFO] [stderr] -- Looking for getenv [INFO] [stderr] -- Looking for getenv - found [INFO] [stderr] -- Looking for setenv [INFO] [stderr] -- Looking for setenv - found [INFO] [stderr] -- Looking for putenv [INFO] [stderr] -- Looking for putenv - found [INFO] [stderr] -- Looking for unsetenv [INFO] [stderr] -- Looking for unsetenv - found [INFO] [stderr] -- Looking for qsort [INFO] [stderr] -- Looking for qsort - found [INFO] [stderr] -- Looking for abs [INFO] [stderr] -- Looking for abs - found [INFO] [stderr] -- Looking for bcopy [INFO] [stderr] -- Looking for bcopy - found [INFO] [stderr] -- Looking for memset [INFO] [stderr] -- Looking for memset - found [INFO] [stderr] -- Looking for memcpy [INFO] [stderr] -- Looking for memcpy - found [INFO] [stderr] -- Looking for memmove [INFO] [stderr] -- Looking for memmove - found [INFO] [stderr] -- Looking for memcmp [INFO] [stderr] -- Looking for memcmp - found [INFO] [stderr] -- Looking for strlen [INFO] [stderr] -- Looking for strlen - found [INFO] [stderr] -- Looking for strlcpy [INFO] [stderr] -- Looking for strlcpy - not found [INFO] [stderr] -- Looking for strlcat [INFO] [stderr] -- Looking for strlcat - not found [INFO] [stderr] -- Looking for _strrev [INFO] [stderr] -- Looking for _strrev - not found [INFO] [stderr] -- Looking for _strupr [INFO] [stderr] -- Looking for _strupr - not found [INFO] [stderr] -- Looking for _strlwr [INFO] [stderr] -- Looking for _strlwr - not found [INFO] [stderr] -- Looking for index [INFO] [stderr] -- Looking for index - found [INFO] [stderr] -- Looking for rindex [INFO] [stderr] -- Looking for rindex - found [INFO] [stderr] -- Looking for strchr [INFO] [stderr] -- Looking for strchr - found [INFO] [stderr] -- Looking for strrchr [INFO] [stderr] -- Looking for strrchr - found [INFO] [stderr] -- Looking for strstr [INFO] [stderr] -- Looking for strstr - found [INFO] [stderr] -- Looking for strtok_r [INFO] [stderr] -- Looking for strtok_r - found [INFO] [stderr] -- Looking for itoa [INFO] [stderr] -- Looking for itoa - not found [INFO] [stderr] -- Looking for _ltoa [INFO] [stderr] -- Looking for _ltoa - not found [INFO] [stderr] -- Looking for _uitoa [INFO] [stderr] -- Looking for _uitoa - not found [INFO] [stderr] -- Looking for _ultoa [INFO] [stderr] -- Looking for _ultoa - not found [INFO] [stderr] -- Looking for strtol [INFO] [stderr] -- Looking for strtol - found [INFO] [stderr] -- Looking for strtoul [INFO] [stderr] -- Looking for strtoul - found [INFO] [stderr] -- Looking for _i64toa [INFO] [stderr] -- Looking for _i64toa - not found [INFO] [stderr] -- Looking for _ui64toa [INFO] [stderr] -- Looking for _ui64toa - not found [INFO] [stderr] -- Looking for strtoll [INFO] [stderr] -- Looking for strtoll - found [INFO] [stderr] -- Looking for strtoull [INFO] [stderr] -- Looking for strtoull - found [INFO] [stderr] -- Looking for atoi [INFO] [stderr] -- Looking for atoi - found [INFO] [stderr] -- Looking for atof [INFO] [stderr] -- Looking for atof - found [INFO] [stderr] -- Looking for strcmp [INFO] [stderr] -- Looking for strcmp - found [INFO] [stderr] -- Looking for strncmp [INFO] [stderr] -- Looking for strncmp - found [INFO] [stderr] -- Looking for _stricmp [INFO] [stderr] -- Looking for _stricmp - not found [INFO] [stderr] -- Looking for strcasecmp [INFO] [stderr] -- Looking for strcasecmp - found [INFO] [stderr] -- Looking for _strnicmp [INFO] [stderr] -- Looking for _strnicmp - not found [INFO] [stderr] -- Looking for strncasecmp [INFO] [stderr] -- Looking for strncasecmp - found [INFO] [stderr] -- Looking for wcscmp [INFO] [stderr] -- Looking for wcscmp - found [INFO] [stderr] -- Looking for _wcsdup [INFO] [stderr] -- Looking for _wcsdup - not found [INFO] [stderr] -- Looking for wcsdup [INFO] [stderr] -- Looking for wcsdup - found [INFO] [stderr] -- Looking for wcslcat [INFO] [stderr] -- Looking for wcslcat - not found [INFO] [stderr] -- Looking for wcslcpy [INFO] [stderr] -- Looking for wcslcpy - not found [INFO] [stderr] -- Looking for wcslen [INFO] [stderr] -- Looking for wcslen - found [INFO] [stderr] -- Looking for wcsncmp [INFO] [stderr] -- Looking for wcsncmp - found [INFO] [stderr] -- Looking for wcsstr [INFO] [stderr] -- Looking for wcsstr - found [INFO] [stderr] -- Looking for wcscasecmp [INFO] [stderr] -- Looking for wcscasecmp - found [INFO] [stderr] -- Looking for _wcsicmp [INFO] [stderr] -- Looking for _wcsicmp - not found [INFO] [stderr] -- Looking for wcsncasecmp [INFO] [stderr] -- Looking for wcsncasecmp - found [INFO] [stderr] -- Looking for _wcsnicmp [INFO] [stderr] -- Looking for _wcsnicmp - not found [INFO] [stderr] -- Looking for sscanf [INFO] [stderr] -- Looking for sscanf - found [INFO] [stderr] -- Looking for vsscanf [INFO] [stderr] -- Looking for vsscanf - found [INFO] [stderr] -- Looking for vsnprintf [INFO] [stderr] -- Looking for vsnprintf - found [INFO] [stderr] -- Looking for fopen64 [INFO] [stderr] -- Looking for fopen64 - not found [INFO] [stderr] -- Looking for fseeko [INFO] [stderr] -- Looking for fseeko - found [INFO] [stderr] -- Looking for fseeko64 [INFO] [stderr] -- Looking for fseeko64 - not found [INFO] [stderr] -- Looking for _Exit [INFO] [stderr] -- Looking for _Exit - found [INFO] [stderr] -- Looking for sigaction [INFO] [stderr] -- Looking for sigaction - found [INFO] [stderr] -- Looking for setjmp [INFO] [stderr] -- Looking for setjmp - found [INFO] [stderr] -- Looking for nanosleep [INFO] [stderr] -- Looking for nanosleep - found [INFO] [stderr] -- Looking for sysconf [INFO] [stderr] -- Looking for sysconf - found [INFO] [stderr] -- Looking for sysctlbyname [INFO] [stderr] -- Looking for sysctlbyname - not found [INFO] [stderr] -- Looking for getauxval [INFO] [stderr] -- Looking for getauxval - found [INFO] [stderr] -- Looking for elf_aux_info [INFO] [stderr] -- Looking for elf_aux_info - not found [INFO] [stderr] -- Looking for poll [INFO] [stderr] -- Looking for poll - found [INFO] [stderr] -- Looking for pow in m [INFO] [stderr] -- Looking for pow in m - found [INFO] [stderr] -- Looking for atan [INFO] [stderr] -- Looking for atan - found [INFO] [stderr] -- Looking for atan2 [INFO] [stderr] -- Looking for atan2 - found [INFO] [stderr] -- Looking for atanf [INFO] [stderr] -- Looking for atanf - found [INFO] [stderr] -- Looking for atan2f [INFO] [stderr] -- Looking for atan2f - found [INFO] [stderr] -- Looking for ceil [INFO] [stderr] -- Looking for ceil - found [INFO] [stderr] -- Looking for ceilf [INFO] [stderr] -- Looking for ceilf - found [INFO] [stderr] -- Looking for copysign [INFO] [stderr] -- Looking for copysign - found [INFO] [stderr] -- Looking for copysignf [INFO] [stderr] -- Looking for copysignf - found [INFO] [stderr] -- Looking for cos [INFO] [stderr] -- Looking for cos - found [INFO] [stderr] -- Looking for cosf [INFO] [stderr] -- Looking for cosf - found [INFO] [stderr] -- Looking for exp [INFO] [stderr] -- Looking for exp - found [INFO] [stderr] -- Looking for expf [INFO] [stderr] -- Looking for expf - found [INFO] [stderr] -- Looking for fabs [INFO] [stderr] -- Looking for fabs - found [INFO] [stderr] -- Looking for fabsf [INFO] [stderr] -- Looking for fabsf - found [INFO] [stderr] -- Looking for floor [INFO] [stderr] -- Looking for floor - found [INFO] [stderr] -- Looking for floorf [INFO] [stderr] -- Looking for floorf - found [INFO] [stderr] -- Looking for fmod [INFO] [stderr] -- Looking for fmod - found [INFO] [stderr] -- Looking for fmodf [INFO] [stderr] -- Looking for fmodf - found [INFO] [stderr] -- Looking for log [INFO] [stderr] -- Looking for log - found [INFO] [stderr] -- Looking for logf [INFO] [stderr] -- Looking for logf - found [INFO] [stderr] -- Looking for log10 [INFO] [stderr] -- Looking for log10 - found [INFO] [stderr] -- Looking for log10f [INFO] [stderr] -- Looking for log10f - found [INFO] [stderr] -- Looking for lround [INFO] [stderr] -- Looking for lround - found [INFO] [stderr] -- Looking for lroundf [INFO] [stderr] -- Looking for lroundf - found [INFO] [stderr] -- Looking for pow [INFO] [stderr] -- Looking for pow - found [INFO] [stderr] -- Looking for powf [INFO] [stderr] -- Looking for powf - found [INFO] [stderr] -- Looking for round [INFO] [stderr] -- Looking for round - found [INFO] [stderr] -- Looking for roundf [INFO] [stderr] -- Looking for roundf - found [INFO] [stderr] -- Looking for scalbn [INFO] [stderr] -- Looking for scalbn - found [INFO] [stderr] -- Looking for scalbnf [INFO] [stderr] -- Looking for scalbnf - found [INFO] [stderr] -- Looking for sin [INFO] [stderr] -- Looking for sin - found [INFO] [stderr] -- Looking for sinf [INFO] [stderr] -- Looking for sinf - found [INFO] [stderr] -- Looking for sqrt [INFO] [stderr] -- Looking for sqrt - found [INFO] [stderr] -- Looking for sqrtf [INFO] [stderr] -- Looking for sqrtf - found [INFO] [stderr] -- Looking for tan [INFO] [stderr] -- Looking for tan - found [INFO] [stderr] -- Looking for tanf [INFO] [stderr] -- Looking for tanf - found [INFO] [stderr] -- Looking for acos [INFO] [stderr] -- Looking for acos - found [INFO] [stderr] -- Looking for acosf [INFO] [stderr] -- Looking for acosf - found [INFO] [stderr] -- Looking for asin [INFO] [stderr] -- Looking for asin - found [INFO] [stderr] -- Looking for asinf [INFO] [stderr] -- Looking for asinf - found [INFO] [stderr] -- Looking for trunc [INFO] [stderr] -- Looking for trunc - found [INFO] [stderr] -- Looking for truncf [INFO] [stderr] -- Looking for truncf - found [INFO] [stderr] -- Looking for iconv_open in iconv [INFO] [stderr] -- Looking for iconv_open in iconv - not found [INFO] [stderr] -- Looking for iconv_open in c [INFO] [stderr] -- Looking for iconv_open in c - found [INFO] [stderr] -- Looking for alloca.h [INFO] [stderr] -- Looking for alloca.h - found [INFO] [stderr] -- Looking for alloca [INFO] [stderr] -- Looking for alloca - found [INFO] [stderr] -- Looking for alloca [INFO] [stderr] -- Looking for alloca - found [INFO] [stderr] -- Looking for alloca [INFO] [stderr] -- Looking for alloca - not found [INFO] [stderr] -- Performing Test HAVE_SA_SIGACTION [INFO] [stderr] -- Performing Test HAVE_SA_SIGACTION - Success [INFO] [stderr] -- Looking for dlopen [INFO] [stderr] -- Looking for dlopen - not found [INFO] [stderr] -- Looking for dlopen in dl [INFO] [stderr] -- Looking for dlopen in dl - found [INFO] [stderr] -- Performing Test HAVE_O_CLOEXEC [INFO] [stderr] -- Performing Test HAVE_O_CLOEXEC - Success [INFO] [stderr] -- Performing Test OSS_FOUND [INFO] [stderr] -- Performing Test OSS_FOUND - Success [INFO] [stderr] -- Looking for alsa/asoundlib.h [INFO] [stderr] -- Looking for alsa/asoundlib.h - found [INFO] [stderr] -- Looking for snd_pcm_recover in asound [INFO] [stderr] -- Looking for snd_pcm_recover in asound - found [INFO] [stderr] -- dynamic libasound -> libasound.so.2 [INFO] [stderr] -- Checking for module 'jack' [INFO] [stderr] -- Found jack, version 1.9.12 [INFO] [stderr] -- dynamic libjack -> libjack.so.0 [INFO] [stderr] -- Checking for module 'libpipewire-0.3>=0.3.20' [INFO] [stderr] -- No package 'libpipewire-0.3' found [INFO] [stderr] -- Checking for module 'libpulse-simple' [INFO] [stderr] -- Found libpulse-simple, version 13.99.1 [INFO] [stderr] -- dynamic libpulse-simple -> libpulse-simple.so.0 [INFO] [stderr] -- Checking for module 'esound' [INFO] [stderr] -- No package 'esound' found [INFO] [stderr] -- Looking for audio/audiolib.h [INFO] [stderr] -- Looking for audio/audiolib.h - not found [INFO] [stderr] -- Looking for sndio.h [INFO] [stderr] -- Looking for sndio.h - found [INFO] [stderr] -- dynamic libsndio -> libsndio.so.7 [INFO] [stderr] -- Looking for samplerate.h [INFO] [stderr] -- Looking for samplerate.h - not found [INFO] [stderr] -- Checking for modules 'bcm_host;brcmegl' [INFO] [stderr] -- No package 'bcm_host' found [INFO] [stderr] -- No package 'brcmegl' found [INFO] [stderr] -- Performing Test HAVE_RPI [INFO] [stderr] -- Performing Test HAVE_RPI - Failed [INFO] [stderr] -- dynamic libX11 -> libX11.so.6 [INFO] [stderr] -- dynamic libXext -> libXext.so.6 [INFO] [stderr] -- dynamic libXcursor -> libXcursor.so.1 [INFO] [stderr] -- dynamic libXinerama -> libXinerama.so.1 [INFO] [stderr] -- dynamic libXi -> libXi.so.6 [INFO] [stderr] -- dynamic libXfixes -> libXfixes.so.3 [INFO] [stderr] -- dynamic libXrandr -> libXrandr.so.2 [INFO] [stderr] -- dynamic libXrender -> libXrender.so.1 [INFO] [stderr] -- dynamic libXss -> libXss.so.1 [INFO] [stderr] -- dynamic libXxf86vm -> libXxf86vm.so.1 [INFO] [stderr] -- Looking for X11/Xcursor/Xcursor.h [INFO] [stderr] -- Looking for X11/Xcursor/Xcursor.h - found [INFO] [stderr] -- Looking for X11/extensions/Xinerama.h [INFO] [stderr] -- Looking for X11/extensions/Xinerama.h - found [INFO] [stderr] -- Looking for X11/extensions/XInput2.h [INFO] [stderr] -- Looking for X11/extensions/XInput2.h - found [INFO] [stderr] -- Looking for X11/extensions/Xrandr.h [INFO] [stderr] -- Looking for X11/extensions/Xrandr.h - found [INFO] [stderr] -- Looking for X11/extensions/Xfixes.h [INFO] [stderr] -- Looking for X11/extensions/Xfixes.h - found [INFO] [stderr] -- Looking for X11/extensions/Xrender.h [INFO] [stderr] -- Looking for X11/extensions/Xrender.h - found [INFO] [stderr] -- Looking for X11/extensions/scrnsaver.h [INFO] [stderr] -- Looking for X11/extensions/scrnsaver.h - found [INFO] [stderr] -- Looking for X11/extensions/shape.h [INFO] [stderr] -- Looking for X11/extensions/shape.h - found [INFO] [stderr] -- Looking for include files X11/Xlib.h, X11/extensions/Xdbe.h [INFO] [stderr] -- Looking for include files X11/Xlib.h, X11/extensions/Xdbe.h - found [INFO] [stderr] -- Looking for include files X11/Xlib.h, X11/extensions/xf86vmode.h [INFO] [stderr] -- Looking for include files X11/Xlib.h, X11/extensions/xf86vmode.h - found [INFO] [stderr] -- Looking for 3 include files X11/Xlib.h, ..., X11/extensions/Xext.h [INFO] [stderr] -- Looking for 3 include files X11/Xlib.h, ..., X11/extensions/Xext.h - found [INFO] [stderr] -- Looking for shmat [INFO] [stderr] -- Looking for shmat - found [INFO] [stderr] -- Performing Test HAVE_XGENERICEVENT [INFO] [stderr] -- Performing Test HAVE_XGENERICEVENT - Success [INFO] [stderr] -- Looking for XkbKeycodeToKeysym [INFO] [stderr] -- Looking for XkbKeycodeToKeysym - found [INFO] [stderr] -- Performing Test HAVE_XINPUT2_MULTITOUCH [INFO] [stderr] -- Performing Test HAVE_XINPUT2_MULTITOUCH - Success [INFO] [stderr] -- Performing Test HAVE_XFIXES_H [INFO] [stderr] -- Performing Test HAVE_XFIXES_H - Success [INFO] [stderr] -- Checking for module 'egl' [INFO] [stderr] -- Found egl, version 1.5 [INFO] [stderr] -- Performing Test HAVE_OPENGL_EGL [INFO] [stderr] -- Performing Test HAVE_OPENGL_EGL - Success [INFO] [stderr] -- Checking for modules 'libdrm;gbm;egl' [INFO] [stderr] -- No package 'gbm' found [INFO] [stderr] -- Performing Test HAVE_OPENGL_GLX [INFO] [stderr] -- Performing Test HAVE_OPENGL_GLX - Success [INFO] [stderr] -- Performing Test HAVE_OPENGL [INFO] [stderr] -- Performing Test HAVE_OPENGL - Success [INFO] [stderr] -- Performing Test HAVE_OPENGLES_V1 [INFO] [stderr] -- Performing Test HAVE_OPENGLES_V1 - Success [INFO] [stderr] -- Performing Test HAVE_OPENGLES_V2 [INFO] [stderr] -- Performing Test HAVE_OPENGLES_V2 - Success [INFO] [stderr] -- Checking for modules 'wayland-client;wayland-egl;wayland-cursor;egl;xkbcommon>=0.5.0' [INFO] [stderr] -- Found wayland-client, version 1.18.0 [INFO] [stderr] -- Found wayland-egl, version 18.1.0 [INFO] [stderr] -- Found wayland-cursor, version 1.18.0 [INFO] [stderr] -- Found egl, version 1.5 [INFO] [stderr] -- Found xkbcommon, version 0.10.0 [INFO] [stderr] -- dynamic libwayland-client -> libwayland-client.so.0 [INFO] [stderr] -- dynamic libwayland-egl -> libwayland-egl.so.1 [INFO] [stderr] -- dynamic libwayland-cursor -> libwayland-cursor.so.0 [INFO] [stderr] -- dynamic libxkbcommon -> libxkbcommon.so.0 [INFO] [stderr] -- Checking for module 'libdecor-0' [INFO] [stderr] -- No package 'libdecor-0' found [INFO] [stderr] -- Performing Test HAVE_VIVANTE_VDK [INFO] [stderr] -- Performing Test HAVE_VIVANTE_VDK - Failed [INFO] [stderr] -- Performing Test HAVE_VIVANTE_EGL_FB [INFO] [stderr] -- Performing Test HAVE_VIVANTE_EGL_FB - Failed [INFO] [stderr] -- Performing Test HAVE_INPUT_EVENTS [INFO] [stderr] -- Performing Test HAVE_INPUT_EVENTS - Success [INFO] [stderr] -- Performing Test HAVE_INPUT_KD [INFO] [stderr] -- Performing Test HAVE_INPUT_KD - Success [INFO] [stderr] -- Looking for libudev.h [INFO] [stderr] -- Looking for libudev.h - found [INFO] [stderr] -- Looking for sys/inotify.h [INFO] [stderr] -- Looking for sys/inotify.h - found [INFO] [stderr] -- Looking for inotify_init [INFO] [stderr] -- Looking for inotify_init - found [INFO] [stderr] -- Looking for inotify_init1 [INFO] [stderr] -- Looking for inotify_init1 - found [INFO] [stderr] -- Checking for one of the modules 'dbus-1;dbus' [INFO] [stderr] -- Checking for one of the modules 'ibus-1.0;ibus' [INFO] [stderr] -- Checking for one of the modules 'libunwind' [INFO] [stderr] -- Checking for one of the modules 'libunwind-generic' [INFO] [stderr] -- Checking for module 'libusb-1.0' [INFO] [stderr] -- Found libusb-1.0, version 1.0.23 [INFO] [stderr] -- Looking for libusb.h [INFO] [stderr] -- Looking for libusb.h - found [INFO] [stderr] -- dynamic libusb-1.0 -> libusb-1.0.so.0 [INFO] [stderr] -- Performing Test HAVE_PTHREADS [INFO] [stderr] -- Performing Test HAVE_PTHREADS - Success [INFO] [stderr] -- Performing Test HAVE_RECURSIVE_MUTEXES [INFO] [stderr] -- Performing Test HAVE_RECURSIVE_MUTEXES - Success [INFO] [stderr] -- Performing Test HAVE_PTHREADS_SEM [INFO] [stderr] -- Performing Test HAVE_PTHREADS_SEM - Success [INFO] [stderr] -- Performing Test HAVE_SEM_TIMEDWAIT [INFO] [stderr] -- Performing Test HAVE_SEM_TIMEDWAIT - Success [INFO] [stderr] -- Looking for include file pthread.h [INFO] [stderr] -- Looking for include file pthread.h - found [INFO] [stderr] -- Looking for include file pthread_np.h [INFO] [stderr] -- Looking for include file pthread_np.h - not found [INFO] [stderr] -- Performing Test HAVE_PTHREAD_SETNAME_NP [INFO] [stderr] -- Performing Test HAVE_PTHREAD_SETNAME_NP - Success [INFO] [stderr] -- Looking for clock_gettime in rt [INFO] [stderr] -- Looking for clock_gettime in rt - found [INFO] [stderr] -- Looking for linux/version.h [INFO] [stderr] -- Looking for linux/version.h - found [INFO] [stderr] -- Found Git: /usr/bin/git (found version "2.25.1") [INFO] [stderr] -- [INFO] [stderr] -- SDL2 was configured with the following options: [INFO] [stderr] -- [INFO] [stderr] -- Platform: Linux-5.13.0-1023-gcp [INFO] [stderr] -- 64-bit: TRUE [INFO] [stderr] -- Compiler: /usr/bin/cc [INFO] [stderr] -- Revision: [INFO] [stderr] -- [INFO] [stderr] -- Subsystems: [INFO] [stderr] -- Atomic: ON [INFO] [stderr] -- Audio: ON [INFO] [stderr] -- Video: ON [INFO] [stderr] -- Render: ON [INFO] [stderr] -- Events: ON [INFO] [stderr] -- Joystick: ON [INFO] [stderr] -- Haptic: ON [INFO] [stderr] -- Hidapi: ON [INFO] [stderr] -- Power: ON [INFO] [stderr] -- Threads: ON [INFO] [stderr] -- Timers: ON [INFO] [stderr] -- File: ON [INFO] [stderr] -- Loadso: ON [INFO] [stderr] -- CPUinfo: ON [INFO] [stderr] -- Filesystem: ON [INFO] [stderr] -- Dlopen: ON [INFO] [stderr] -- Sensor: ON [INFO] [stderr] -- Locale: ON [INFO] [stderr] -- [INFO] [stderr] -- Options: [INFO] [stderr] -- SDL_3DNOW (Wanted: ON): ON [INFO] [stderr] -- SDL_ALSA (Wanted: ON): ON [INFO] [stderr] -- SDL_ALSA_SHARED (Wanted: ON): ON [INFO] [stderr] -- SDL_ALTIVEC (Wanted: ON): OFF [INFO] [stderr] -- SDL_ARMNEON (Wanted: OFF): OFF [INFO] [stderr] -- SDL_ARMSIMD (Wanted: OFF): OFF [INFO] [stderr] -- SDL_ARTS (Wanted: ON): OFF [INFO] [stderr] -- SDL_ARTS_SHARED (Wanted: ON): OFF [INFO] [stderr] -- SDL_ASAN (Wanted: OFF): OFF [INFO] [stderr] -- SDL_ASSEMBLY (Wanted: ON): ON [INFO] [stderr] -- SDL_ASSERTIONS (Wanted: auto): auto [INFO] [stderr] -- SDL_BACKGROUNDING_SIGNAL (Wanted: OFF): OFF [INFO] [stderr] -- SDL_CLOCK_GETTIME (Wanted: ON): ON [INFO] [stderr] -- SDL_COCOA (Wanted: OFF): OFF [INFO] [stderr] -- SDL_DIRECTFB (Wanted: OFF): OFF [INFO] [stderr] -- SDL_DIRECTFB_SHARED (Wanted: OFF): OFF [INFO] [stderr] -- SDL_DIRECTX (Wanted: OFF): OFF [INFO] [stderr] -- SDL_DISKAUDIO (Wanted: ON): ON [INFO] [stderr] -- SDL_DUMMYAUDIO (Wanted: ON): ON [INFO] [stderr] -- SDL_DUMMYVIDEO (Wanted: ON): ON [INFO] [stderr] -- SDL_ESD (Wanted: ON): OFF [INFO] [stderr] -- SDL_ESD_SHARED (Wanted: ON): OFF [INFO] [stderr] -- SDL_FOREGROUNDING_SIGNAL (Wanted: OFF): OFF [INFO] [stderr] -- SDL_FUSIONSOUND (Wanted: OFF): OFF [INFO] [stderr] -- SDL_FUSIONSOUND_SHARED (Wanted: OFF): OFF [INFO] [stderr] -- SDL_GCC_ATOMICS (Wanted: ON): ON [INFO] [stderr] -- SDL_HIDAPI_JOYSTICK (Wanted: ON): ON [INFO] [stderr] -- SDL_JACK (Wanted: ON): ON [INFO] [stderr] -- SDL_JACK_SHARED (Wanted: ON): ON [INFO] [stderr] -- SDL_KMSDRM (Wanted: ON): OFF [INFO] [stderr] -- SDL_KMSDRM_SHARED (Wanted: ON): OFF [INFO] [stderr] -- SDL_LIBC (Wanted: ON): ON [INFO] [stderr] -- SDL_LIBSAMPLERATE (Wanted: ON): OFF [INFO] [stderr] -- SDL_LIBSAMPLERATE_SHARED (Wanted: ON): OFF [INFO] [stderr] -- SDL_METAL (Wanted: OFF): OFF [INFO] [stderr] -- SDL_MMX (Wanted: ON): ON [INFO] [stderr] -- SDL_NAS (Wanted: ON): OFF [INFO] [stderr] -- SDL_NAS_SHARED (Wanted: ON): OFF [INFO] [stderr] -- SDL_OFFSCREEN (Wanted: OFF): OFF [INFO] [stderr] -- SDL_OPENGL (Wanted: ON): ON [INFO] [stderr] -- SDL_OPENGLES (Wanted: ON): ON [INFO] [stderr] -- SDL_OSS (Wanted: ON): ON [INFO] [stderr] -- SDL_PIPEWIRE (Wanted: ON): OFF [INFO] [stderr] -- SDL_PIPEWIRE_SHARED (Wanted: ON): OFF [INFO] [stderr] -- SDL_PTHREADS (Wanted: ON): ON [INFO] [stderr] -- SDL_PTHREADS_SEM (Wanted: ON): ON [INFO] [stderr] -- SDL_PULSEAUDIO (Wanted: ON): ON [INFO] [stderr] -- SDL_PULSEAUDIO_SHARED (Wanted: ON): ON [INFO] [stderr] -- SDL_RENDER_D3D (Wanted: OFF): OFF [INFO] [stderr] -- SDL_RENDER_METAL (Wanted: OFF): OFF [INFO] [stderr] -- SDL_RPATH (Wanted: ON): OFF [INFO] [stderr] -- SDL_RPI (Wanted: ON): OFF [INFO] [stderr] -- SDL_SNDIO (Wanted: ON): ON [INFO] [stderr] -- SDL_SNDIO_SHARED (Wanted: ON): ON [INFO] [stderr] -- SDL_SSE (Wanted: ON): ON [INFO] [stderr] -- SDL_SSE2 (Wanted: ON): ON [INFO] [stderr] -- SDL_SSE3 (Wanted: ON): ON [INFO] [stderr] -- SDL_SSEMATH (Wanted: ON): ON [INFO] [stderr] -- SDL_STATIC_PIC (Wanted: OFF): OFF [INFO] [stderr] -- SDL_TEST (Wanted: OFF): OFF [INFO] [stderr] -- SDL_VIRTUAL_JOYSTICK (Wanted: ON): ON [INFO] [stderr] -- SDL_VIVANTE (Wanted: ON): OFF [INFO] [stderr] -- SDL_VULKAN (Wanted: ON): ON [INFO] [stderr] -- SDL_WASAPI (Wanted: OFF): OFF [INFO] [stderr] -- SDL_WAYLAND (Wanted: ON): ON [INFO] [stderr] -- SDL_WAYLAND_LIBDECOR (Wanted: ON): OFF [INFO] [stderr] -- SDL_WAYLAND_LIBDECOR_SHARED (Wanted: ON): OFF [INFO] [stderr] -- SDL_WAYLAND_QT_TOUCH (Wanted: ON): ON [INFO] [stderr] -- SDL_WAYLAND_SHARED (Wanted: ON): ON [INFO] [stderr] -- SDL_X11 (Wanted: ON): ON [INFO] [stderr] -- SDL_X11_SHARED (Wanted: ON): ON [INFO] [stderr] -- SDL_X11_XCURSOR (Wanted: ON): ON [INFO] [stderr] -- SDL_X11_XDBE (Wanted: ON): ON [INFO] [stderr] -- SDL_X11_XFIXES (Wanted: ON): ON [INFO] [stderr] -- SDL_X11_XINERAMA (Wanted: ON): ON [INFO] [stderr] -- SDL_X11_XINPUT (Wanted: ON): ON [INFO] [stderr] -- SDL_X11_XRANDR (Wanted: ON): ON [INFO] [stderr] -- SDL_X11_XSCRNSAVER (Wanted: ON): ON [INFO] [stderr] -- SDL_X11_XSHAPE (Wanted: ON): ON [INFO] [stderr] -- SDL_X11_XVM (Wanted: ON): ON [INFO] [stderr] -- SDL_XINPUT (Wanted: OFF): OFF [INFO] [stderr] -- [INFO] [stderr] -- CFLAGS: -D__FLTUSED__ -ffunction-sections -fdata-sections -fPIC -m64 -idirafter "/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sdl2-sys-0.35.2/SDL/src/video/khronos" -I/usr/include/libusb-1.0 -DHAVE_LINUX_VERSION_H [INFO] [stderr] -- EXTRA_CFLAGS: -I/usr/include -D_REENTRANT -msse3 -msse2 -msse -m3dnow -mmmx -Wshadow -fvisibility=hidden -Wdeclaration-after-statement -Werror=declaration-after-statement -fno-strict-aliasing -Wall [INFO] [stderr] -- EXTRA_LDFLAGS: -Wl,--no-undefined;-pthread [INFO] [stderr] -- EXTRA_LIBS: m;dl;dbus-1;ibus-1.0;gio-2.0;gobject-2.0;glib-2.0;unwind;unwind-generic;rt [INFO] [stderr] -- [INFO] [stderr] -- Build Shared Library: OFF [INFO] [stderr] -- Build Static Library: ON [INFO] [stderr] -- Build Static Library with Position Independent Code: OFF [INFO] [stderr] -- [INFO] [stderr] -- If something was not detected, although the libraries [INFO] [stderr] -- were installed, then make sure you have set the [INFO] [stderr] -- CFLAGS and LDFLAGS environment variables correctly. [INFO] [stderr] -- [INFO] [stderr] -- Configuring done [INFO] [stderr] -- Generating done [INFO] [stderr] -- Build files have been written to: /opt/rustwide/target/debug/build/sdl2-sys-a952f8d6ab32cbb9/out/build [INFO] [stderr] running: "cmake" "--build" "." "--target" "install" "--config" "release" "--parallel" "128" [INFO] [stderr] [ 1%] Generating wayland-generated-protocols/xdg-shell-client-protocol.h [INFO] [stderr] [ 2%] Generating wayland-generated-protocols/keyboard-shortcuts-inhibit-unstable-v1-client-protocol.h [INFO] [stderr] [ 2%] Generating wayland-generated-protocols/idle-inhibit-unstable-v1-client-protocol.h [INFO] [stderr] [ 2%] Generating wayland-generated-protocols/wayland-client-protocol.h [INFO] [stderr] [ 2%] Generating wayland-generated-protocols/relative-pointer-unstable-v1-client-protocol.h [INFO] [stderr] [ 2%] Generating wayland-generated-protocols/pointer-constraints-unstable-v1-client-protocol.h [INFO] [stderr] [ 2%] Generating wayland-generated-protocols/xdg-decoration-unstable-v1-client-protocol.h [INFO] [stderr] Scanning dependencies of target SDL2main [INFO] [stderr] [ 4%] Generating wayland-generated-protocols/text-input-unstable-v3-client-protocol.h [INFO] [stderr] [ 4%] Generating wayland-generated-protocols/xdg-activation-v1-client-protocol.h [INFO] [stderr] [ 4%] Building C object CMakeFiles/SDL2main.dir/src/main/dummy/SDL_dummy_main.c.o [INFO] [stderr] [ 4%] Generating wayland-generated-protocols/idle-inhibit-unstable-v1-protocol.c [INFO] [stderr] [ 4%] Generating wayland-generated-protocols/keyboard-shortcuts-inhibit-unstable-v1-protocol.c [INFO] [stderr] [ 4%] Generating wayland-generated-protocols/xdg-decoration-unstable-v1-protocol.c [INFO] [stderr] [ 4%] Generating wayland-generated-protocols/relative-pointer-unstable-v1-protocol.c [INFO] [stderr] [ 5%] Generating wayland-generated-protocols/pointer-constraints-unstable-v1-protocol.c [INFO] [stderr] [ 6%] Generating wayland-generated-protocols/xdg-shell-protocol.c [INFO] [stderr] [ 7%] Generating wayland-generated-protocols/text-input-unstable-v3-protocol.c [INFO] [stderr] [ 8%] Generating wayland-generated-protocols/xdg-activation-v1-protocol.c [INFO] [stderr] [ 8%] Generating wayland-generated-protocols/wayland-protocol.c [INFO] [stderr] [ 9%] Linking C static library libSDL2main.a [INFO] [stderr] [ 9%] Built target SDL2main [INFO] [stderr] Scanning dependencies of target SDL2-static [INFO] [stderr] [ 10%] Building C object CMakeFiles/SDL2-static.dir/src/SDL_assert.c.o [INFO] [stderr] [ 10%] Building C object CMakeFiles/SDL2-static.dir/src/SDL.c.o [INFO] [stderr] [ 11%] Building C object CMakeFiles/SDL2-static.dir/src/SDL_error.c.o [INFO] [stderr] [ 11%] Building C object CMakeFiles/SDL2-static.dir/src/SDL_dataqueue.c.o [INFO] [stderr] [ 11%] Building C object CMakeFiles/SDL2-static.dir/src/SDL_hints.c.o [INFO] [stderr] [ 11%] Building C object CMakeFiles/SDL2-static.dir/src/SDL_log.c.o [INFO] [stderr] [ 11%] Building C object CMakeFiles/SDL2-static.dir/src/atomic/SDL_spinlock.c.o [INFO] [stderr] [ 11%] Building C object CMakeFiles/SDL2-static.dir/src/audio/SDL_audiocvt.c.o [INFO] [stderr] [ 12%] Building C object CMakeFiles/SDL2-static.dir/src/audio/SDL_audio.c.o [INFO] [stderr] [ 13%] Building C object CMakeFiles/SDL2-static.dir/src/atomic/SDL_atomic.c.o [INFO] [stderr] [ 13%] Building C object CMakeFiles/SDL2-static.dir/src/audio/SDL_audiotypecvt.c.o [INFO] [stderr] [ 14%] Building C object CMakeFiles/SDL2-static.dir/src/dynapi/SDL_dynapi.c.o [INFO] [stderr] [ 14%] Building C object CMakeFiles/SDL2-static.dir/src/audio/SDL_audiodev.c.o [INFO] [stderr] [ 14%] Building C object CMakeFiles/SDL2-static.dir/src/audio/SDL_wave.c.o [INFO] [stderr] [ 16%] Building C object CMakeFiles/SDL2-static.dir/src/events/SDL_displayevents.c.o [INFO] [stderr] [ 16%] Building C object CMakeFiles/SDL2-static.dir/src/audio/SDL_mixer.c.o [INFO] [stderr] [ 16%] Building C object CMakeFiles/SDL2-static.dir/src/events/SDL_clipboardevents.c.o [INFO] [stderr] [ 16%] Building C object CMakeFiles/SDL2-static.dir/src/events/SDL_gesture.c.o [INFO] [stderr] [ 17%] Building C object CMakeFiles/SDL2-static.dir/src/cpuinfo/SDL_cpuinfo.c.o [INFO] [stderr] [ 18%] Building C object CMakeFiles/SDL2-static.dir/src/events/SDL_keyboard.c.o [INFO] [stderr] [ 18%] Building C object CMakeFiles/SDL2-static.dir/src/events/SDL_mouse.c.o [INFO] [stderr] [ 18%] Building C object CMakeFiles/SDL2-static.dir/src/events/SDL_touch.c.o [INFO] [stderr] [ 20%] Building C object CMakeFiles/SDL2-static.dir/src/haptic/SDL_haptic.c.o [INFO] [stderr] [ 20%] Building C object CMakeFiles/SDL2-static.dir/src/events/SDL_events.c.o [INFO] [stderr] [ 20%] Building C object CMakeFiles/SDL2-static.dir/src/events/imKStoUCS.c.o [INFO] [stderr] [ 20%] Building C object CMakeFiles/SDL2-static.dir/src/events/SDL_dropevents.c.o [INFO] [stderr] [ 20%] Building C object CMakeFiles/SDL2-static.dir/src/file/SDL_rwops.c.o [INFO] [stderr] [ 20%] Building C object CMakeFiles/SDL2-static.dir/src/hidapi/SDL_hidapi.c.o [INFO] [stderr] [ 21%] Building C object CMakeFiles/SDL2-static.dir/src/events/SDL_quit.c.o [INFO] [stderr] [ 22%] Building C object CMakeFiles/SDL2-static.dir/src/events/SDL_windowevents.c.o [INFO] [stderr] [ 22%] Building C object CMakeFiles/SDL2-static.dir/src/libm/e_log.c.o [INFO] [stderr] [ 24%] Building C object CMakeFiles/SDL2-static.dir/src/libm/e_fmod.c.o [INFO] [stderr] [ 24%] Building C object CMakeFiles/SDL2-static.dir/src/libm/e_atan2.c.o [INFO] [stderr] [ 24%] Building C object CMakeFiles/SDL2-static.dir/src/libm/e_exp.c.o [INFO] [stderr] [ 25%] Building C object CMakeFiles/SDL2-static.dir/src/libm/e_log10.c.o [INFO] [stderr] [ 26%] Building C object CMakeFiles/SDL2-static.dir/src/libm/e_rem_pio2.c.o [INFO] [stderr] [ 26%] Building C object CMakeFiles/SDL2-static.dir/src/libm/e_pow.c.o [INFO] [stderr] [ 26%] Building C object CMakeFiles/SDL2-static.dir/src/libm/e_sqrt.c.o [INFO] [stderr] [ 26%] Building C object CMakeFiles/SDL2-static.dir/src/libm/k_cos.c.o [INFO] [stderr] [ 26%] Building C object CMakeFiles/SDL2-static.dir/src/libm/k_sin.c.o [INFO] [stderr] [ 27%] Building C object CMakeFiles/SDL2-static.dir/src/libm/s_copysign.c.o [INFO] [stderr] [ 28%] Building C object CMakeFiles/SDL2-static.dir/src/libm/k_rem_pio2.c.o [INFO] [stderr] [ 29%] Building C object CMakeFiles/SDL2-static.dir/src/libm/s_cos.c.o [INFO] [stderr] [ 30%] Building C object CMakeFiles/SDL2-static.dir/src/libm/k_tan.c.o [INFO] [stderr] [ 30%] Building C object CMakeFiles/SDL2-static.dir/src/libm/s_fabs.c.o [INFO] [stderr] [ 31%] Building C object CMakeFiles/SDL2-static.dir/src/libm/s_atan.c.o [INFO] [stderr] [ 31%] Building C object CMakeFiles/SDL2-static.dir/src/libm/s_scalbn.c.o [INFO] [stderr] [ 31%] Building C object CMakeFiles/SDL2-static.dir/src/libm/s_floor.c.o [INFO] [stderr] [ 31%] Building C object CMakeFiles/SDL2-static.dir/src/libm/s_sin.c.o [INFO] [stderr] [ 31%] Building C object CMakeFiles/SDL2-static.dir/src/libm/s_tan.c.o [INFO] [stderr] [ 31%] Building C object CMakeFiles/SDL2-static.dir/src/misc/SDL_url.c.o [INFO] [stderr] [ 31%] Building C object CMakeFiles/SDL2-static.dir/src/render/SDL_d3dmath.c.o [INFO] [stderr] [ 33%] Building C object CMakeFiles/SDL2-static.dir/src/render/SDL_render.c.o [INFO] [stderr] [ 33%] Building C object CMakeFiles/SDL2-static.dir/src/power/SDL_power.c.o [INFO] [stderr] [ 33%] Building C object CMakeFiles/SDL2-static.dir/src/render/SDL_yuv_sw.c.o [INFO] [stderr] [ 34%] Building C object CMakeFiles/SDL2-static.dir/src/locale/SDL_locale.c.o [INFO] [stderr] [ 34%] Building C object CMakeFiles/SDL2-static.dir/src/render/direct3d11/SDL_shaders_d3d11.c.o [INFO] [stderr] [ 35%] Building C object CMakeFiles/SDL2-static.dir/src/render/direct3d11/SDL_render_d3d11.c.o [INFO] [stderr] [ 36%] Building C object CMakeFiles/SDL2-static.dir/src/render/direct3d/SDL_render_d3d.c.o [INFO] [stderr] [ 37%] Building C object CMakeFiles/SDL2-static.dir/src/render/direct3d/SDL_shaders_d3d.c.o [INFO] [stderr] [ 37%] Building C object CMakeFiles/SDL2-static.dir/src/render/opengl/SDL_shaders_gl.c.o [INFO] [stderr] [ 37%] Building C object CMakeFiles/SDL2-static.dir/src/render/opengl/SDL_render_gl.c.o [INFO] [stderr] [ 38%] Building C object CMakeFiles/SDL2-static.dir/src/video/SDL_stretch.c.o [INFO] [stderr] [ 41%] Building C object CMakeFiles/SDL2-static.dir/src/video/SDL_pixels.c.o [INFO] [stderr] [ 41%] Building C object CMakeFiles/SDL2-static.dir/src/render/psp/SDL_render_psp.c.o [INFO] [stderr] [ 42%] Building C object CMakeFiles/SDL2-static.dir/src/video/SDL_surface.c.o [INFO] [stderr] [ 42%] Building C object CMakeFiles/SDL2-static.dir/src/render/software/SDL_drawline.c.o [INFO] [stderr] [ 56%] Building C object CMakeFiles/SDL2-static.dir/src/stdlib/SDL_stdlib.c.o [INFO] [stderr] [ 58%] Building C object CMakeFiles/SDL2-static.dir/src/video/SDL_fillrect.c.o [INFO] [stderr] [ 58%] Building C object CMakeFiles/SDL2-static.dir/src/timer/SDL_timer.c.o [INFO] [stderr] [ 38%] Building C object CMakeFiles/SDL2-static.dir/src/stdlib/SDL_getenv.c.o [INFO] [stderr] [ 38%] Building C object CMakeFiles/SDL2-static.dir/src/stdlib/SDL_qsort.c.o [INFO] [stderr] [ 38%] Building C object CMakeFiles/SDL2-static.dir/src/video/SDL_egl.c.o [INFO] [stderr] [ 58%] Building C object CMakeFiles/SDL2-static.dir/src/video/SDL_shape.c.o [INFO] [stderr] [ 58%] Building C object CMakeFiles/SDL2-static.dir/src/video/SDL_blit_auto.c.o [INFO] [stderr] [ 58%] Building C object CMakeFiles/SDL2-static.dir/src/render/vitagxm/SDL_render_vita_gxm_tools.c.o [INFO] [stderr] [ 58%] Building C object CMakeFiles/SDL2-static.dir/src/render/software/SDL_rotate.c.o [INFO] [stderr] [ 58%] Building C object CMakeFiles/SDL2-static.dir/src/stdlib/SDL_crc32.c.o [INFO] [stderr] [ 58%] Building C object CMakeFiles/SDL2-static.dir/src/video/SDL_rect.c.o [INFO] [stderr] [ 58%] Building C object CMakeFiles/SDL2-static.dir/src/stdlib/SDL_iconv.c.o [INFO] [stderr] [ 38%] Building C object CMakeFiles/SDL2-static.dir/src/render/opengles/SDL_render_gles.c.o [INFO] [stderr] [ 58%] Building C object CMakeFiles/SDL2-static.dir/src/video/SDL_blit_1.c.o [INFO] [stderr] [ 58%] Building C object CMakeFiles/SDL2-static.dir/src/stdlib/SDL_strtokr.c.o [INFO] [stderr] [ 38%] Building C object CMakeFiles/SDL2-static.dir/src/video/SDL_blit_copy.c.o [INFO] [stderr] [ 58%] Building C object CMakeFiles/SDL2-static.dir/src/render/opengles2/SDL_render_gles2.c.o [INFO] [stderr] [ 38%] Building C object CMakeFiles/SDL2-static.dir/src/video/SDL_bmp.c.o [INFO] [stderr] [ 38%] Building C object CMakeFiles/SDL2-static.dir/src/sensor/SDL_sensor.c.o [INFO] [stderr] [ 38%] Building C object CMakeFiles/SDL2-static.dir/src/render/software/SDL_blendpoint.c.o [INFO] [stderr] [ 38%] Building C object CMakeFiles/SDL2-static.dir/src/video/SDL_RLEaccel.c.o [INFO] [stderr] [ 38%] Building C object CMakeFiles/SDL2-static.dir/src/render/software/SDL_drawpoint.c.o [INFO] [stderr] [ 38%] Building C object CMakeFiles/SDL2-static.dir/src/render/opengles2/SDL_shaders_gles2.c.o [INFO] [stderr] [ 38%] Building C object CMakeFiles/SDL2-static.dir/src/stdlib/SDL_string.c.o [INFO] [stderr] [ 38%] Building C object CMakeFiles/SDL2-static.dir/src/video/SDL_blit_A.c.o [INFO] [stderr] [ 38%] Building C object CMakeFiles/SDL2-static.dir/src/thread/SDL_thread.c.o [INFO] [stderr] [ 38%] Building C object CMakeFiles/SDL2-static.dir/src/render/software/SDL_triangle.c.o [INFO] [stderr] [ 38%] Building C object CMakeFiles/SDL2-static.dir/src/video/SDL_blit_0.c.o [INFO] [stderr] [ 38%] Building C object CMakeFiles/SDL2-static.dir/src/stdlib/SDL_malloc.c.o [INFO] [stderr] [ 38%] Building C object CMakeFiles/SDL2-static.dir/src/render/software/SDL_render_sw.c.o [INFO] [stderr] [ 38%] Building C object CMakeFiles/SDL2-static.dir/src/render/vitagxm/SDL_render_vita_gxm_memory.c.o [INFO] [stderr] [ 38%] Building C object CMakeFiles/SDL2-static.dir/src/video/SDL_blit_N.c.o [INFO] [stderr] [ 38%] Building C object CMakeFiles/SDL2-static.dir/src/render/software/SDL_blendfillrect.c.o [INFO] [stderr] [ 58%] Building C object CMakeFiles/SDL2-static.dir/src/video/SDL_blit_slow.c.o [INFO] [stderr] [ 58%] Building C object CMakeFiles/SDL2-static.dir/src/render/software/SDL_blendline.c.o [INFO] [stderr] [ 58%] Building C object CMakeFiles/SDL2-static.dir/src/video/SDL_blit.c.o [INFO] [stderr] [ 58%] Building C object CMakeFiles/SDL2-static.dir/src/render/vitagxm/SDL_render_vita_gxm.c.o [INFO] [stderr] [ 58%] Building C object CMakeFiles/SDL2-static.dir/src/video/SDL_yuv.c.o [INFO] [stderr] [ 58%] Building C object CMakeFiles/SDL2-static.dir/src/video/SDL_vulkan_utils.c.o [INFO] [stderr] [ 58%] Building C object CMakeFiles/SDL2-static.dir/src/video/SDL_video.c.o [INFO] [stderr] [ 60%] Building C object CMakeFiles/SDL2-static.dir/src/audio/disk/SDL_diskaudio.c.o [INFO] [stderr] [ 63%] Building C object CMakeFiles/SDL2-static.dir/src/video/dummy/SDL_nullvideo.c.o [INFO] [stderr] [ 63%] Building C object CMakeFiles/SDL2-static.dir/src/joystick/SDL_joystick.c.o [INFO] [stderr] [ 63%] Building C object CMakeFiles/SDL2-static.dir/src/video/dummy/SDL_nullevents.c.o [INFO] [stderr] [ 63%] Building C object CMakeFiles/SDL2-static.dir/src/loadso/dlopen/SDL_sysloadso.c.o [INFO] [stderr] [ 60%] Building C object CMakeFiles/SDL2-static.dir/src/joystick/SDL_gamecontroller.c.o [INFO] [stderr] [ 64%] Building C object CMakeFiles/SDL2-static.dir/src/video/yuv2rgb/yuv_rgb.c.o [INFO] [stderr] [ 60%] Building C object CMakeFiles/SDL2-static.dir/src/video/SDL_clipboard.c.o [INFO] [stderr] [ 64%] Building C object CMakeFiles/SDL2-static.dir/src/audio/sndio/SDL_sndioaudio.c.o [INFO] [stderr] [ 60%] Building C object CMakeFiles/SDL2-static.dir/src/audio/dummy/SDL_dummyaudio.c.o [INFO] [stderr] [ 64%] Building C object CMakeFiles/SDL2-static.dir/src/audio/dsp/SDL_dspaudio.c.o [INFO] [stderr] [ 60%] Building C object CMakeFiles/SDL2-static.dir/src/video/dummy/SDL_nullframebuffer.c.o [INFO] [stderr] [ 65%] Building C object CMakeFiles/SDL2-static.dir/src/audio/alsa/SDL_alsa_audio.c.o [INFO] [stderr] [ 65%] Building C object CMakeFiles/SDL2-static.dir/src/audio/jack/SDL_jackaudio.c.o [INFO] [stderr] [ 65%] Building C object CMakeFiles/SDL2-static.dir/src/video/x11/SDL_x11clipboard.c.o [INFO] [stderr] [ 66%] Building C object CMakeFiles/SDL2-static.dir/src/joystick/virtual/SDL_virtualjoystick.c.o [INFO] [stderr] [ 66%] Building C object CMakeFiles/SDL2-static.dir/src/audio/pulseaudio/SDL_pulseaudio.c.o [INFO] [stderr] [ 66%] Building C object CMakeFiles/SDL2-static.dir/src/video/x11/SDL_x11events.c.o [INFO] [stderr] [ 67%] Building C object CMakeFiles/SDL2-static.dir/src/video/x11/SDL_x11framebuffer.c.o [INFO] [stderr] [ 67%] Building C object CMakeFiles/SDL2-static.dir/src/video/x11/SDL_x11dyn.c.o [INFO] [stderr] [ 67%] Building C object CMakeFiles/SDL2-static.dir/src/video/x11/SDL_x11keyboard.c.o [INFO] [stderr] [ 68%] Building C object CMakeFiles/SDL2-static.dir/src/video/x11/SDL_x11mouse.c.o [INFO] [stderr] [ 68%] Building C object CMakeFiles/SDL2-static.dir/src/video/x11/SDL_x11opengl.c.o [INFO] [stderr] [ 69%] Building C object CMakeFiles/SDL2-static.dir/src/video/x11/SDL_x11messagebox.c.o [INFO] [stderr] [ 69%] Building C object CMakeFiles/SDL2-static.dir/src/video/x11/SDL_x11video.c.o [INFO] [stderr] [ 69%] Building C object CMakeFiles/SDL2-static.dir/src/video/x11/SDL_x11shape.c.o [INFO] [stderr] [ 69%] Building C object CMakeFiles/SDL2-static.dir/src/video/x11/SDL_x11modes.c.o [INFO] [stderr] [ 70%] Building C object CMakeFiles/SDL2-static.dir/src/video/x11/SDL_x11opengles.c.o [INFO] [stderr] [ 71%] Building C object CMakeFiles/SDL2-static.dir/src/video/x11/SDL_x11touch.c.o [INFO] [stderr] [ 72%] Building C object CMakeFiles/SDL2-static.dir/src/video/x11/SDL_x11window.c.o [INFO] [stderr] [ 72%] Building C object CMakeFiles/SDL2-static.dir/src/video/x11/SDL_x11vulkan.c.o [INFO] [stderr] [ 72%] Building C object CMakeFiles/SDL2-static.dir/src/video/x11/SDL_x11xfixes.c.o [INFO] [stderr] [ 73%] Building C object CMakeFiles/SDL2-static.dir/src/video/x11/SDL_x11xinput2.c.o [INFO] [stderr] [INFO] [stderr] --- stderr [INFO] [stderr] CMake Warning: [INFO] [stderr] Manually-specified variables were not used by the project: [INFO] [stderr] [INFO] [stderr] CMAKE_ASM_COMPILER [INFO] [stderr] CMAKE_ASM_FLAGS [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] make: warning: -j128 forced in submake: resetting jobserver mode. [INFO] [stderr] cc: fatal error: Killed signal terminated program cc1 [INFO] [stderr] compilation terminated. [INFO] [stderr] cc: fatal error: Killed signal terminated program cc1 [INFO] [stderr] compilation terminated. [INFO] [stderr] make[2]: *** [CMakeFiles/SDL2-static.dir/build.make:382: CMakeFiles/SDL2-static.dir/src/events/SDL_events.c.o] Error 1 [INFO] [stderr] make[2]: *** Waiting for unfinished jobs.... [INFO] [stderr] make[2]: *** [CMakeFiles/SDL2-static.dir/build.make:148: CMakeFiles/SDL2-static.dir/src/SDL_assert.c.o] Error 1 [INFO] [stderr] cc: fatal error: Killed signal terminated program cc1 [INFO] [stderr] compilation terminated. [INFO] [stderr] make[2]: *** [CMakeFiles/SDL2-static.dir/build.make:278: CMakeFiles/SDL2-static.dir/src/audio/SDL_audiotypecvt.c.o] Error 1 [INFO] [stderr] cc: fatal error: Killed signal terminated program cc1 [INFO] [stderr] compilation terminated. [INFO] [stderr] make[2]: *** [CMakeFiles/SDL2-static.dir/build.make:265: CMakeFiles/SDL2-static.dir/src/audio/SDL_audiodev.c.o] Error 1 [INFO] [stderr] cc: fatal error: Killed signal terminated program cc1 [INFO] [stderr] compilation terminated. [INFO] [stderr] make[2]: *** [CMakeFiles/SDL2-static.dir/build.make:252: CMakeFiles/SDL2-static.dir/src/audio/SDL_audiocvt.c.o] Error 1 [INFO] [stderr] cc: fatal error: Killed signal terminated program cc1 [INFO] [stderr] compilation terminated. [INFO] [stderr] make[2]: *** [CMakeFiles/SDL2-static.dir/build.make:291: CMakeFiles/SDL2-static.dir/src/audio/SDL_mixer.c.o] Error 1 [INFO] [stderr] cc: fatal error: Killed signal terminated program cc1 [INFO] [stderr] compilation terminated. [INFO] [stderr] make[2]: *** [CMakeFiles/SDL2-static.dir/build.make:161: CMakeFiles/SDL2-static.dir/src/SDL_dataqueue.c.o] Error 1 [INFO] [stderr] cc: fatal error: Killed signal terminated program cc1 [INFO] [stderr] compilation terminated. [INFO] [stderr] make[2]: *** [CMakeFiles/SDL2-static.dir/build.make:317: CMakeFiles/SDL2-static.dir/src/cpuinfo/SDL_cpuinfo.c.o] Error 1 [INFO] [stderr] cc: fatal error: Killed signal terminated program cc1 [INFO] [stderr] compilation terminated. [INFO] [stderr] make[2]: *** [CMakeFiles/SDL2-static.dir/build.make:135: CMakeFiles/SDL2-static.dir/src/SDL.c.o] Error 1 [INFO] [stderr] cc: fatal error: Killed signal terminated program cc1 [INFO] [stderr] compilation terminated. [INFO] [stderr] make[2]: *** [CMakeFiles/SDL2-static.dir/build.make:1032: CMakeFiles/SDL2-static.dir/src/render/software/SDL_drawline.c.o] Error 1 [INFO] [stderr] cc: fatal error: Killed signal terminated program cc1 [INFO] [stderr] compilation terminated. [INFO] [stderr] make[2]: *** [CMakeFiles/SDL2-static.dir/build.make:239: CMakeFiles/SDL2-static.dir/src/audio/SDL_audio.c.o] Error 1 [INFO] [stderr] cc: fatal error: Killed signal terminated program cc1 [INFO] [stderr] compilation terminated. [INFO] [stderr] make[2]: *** [CMakeFiles/SDL2-static.dir/build.make:1071: CMakeFiles/SDL2-static.dir/src/render/software/SDL_rotate.c.o] Error 1 [INFO] [stderr] cc: fatal error: Killed signal terminated program cc1 [INFO] [stderr] compilation terminated. [INFO] [stderr] make[2]: *** [CMakeFiles/SDL2-static.dir/build.make:850: CMakeFiles/SDL2-static.dir/src/render/SDL_yuv_sw.c.o] Error 1 [INFO] [stderr] cc: fatal error: Killed signal terminated program cc1 [INFO] [stderr] compilation terminated. [INFO] [stderr] make[2]: *** [CMakeFiles/SDL2-static.dir/build.make:330: CMakeFiles/SDL2-static.dir/src/dynapi/SDL_dynapi.c.o] Error 1 [INFO] [stderr] cc: fatal error: Killed signal terminated program cc1 [INFO] [stderr] compilation terminated. [INFO] [stderr] cc: fatal error: Killed signal terminated program cc1 [INFO] [stderr] compilation terminated. [INFO] [stderr] cc: fatal error: Killed signal terminated program cc1 [INFO] [stderr] compilation terminated. [INFO] [stderr] make[2]: *** [CMakeFiles/SDL2-static.dir/build.make:1487: CMakeFiles/SDL2-static.dir/src/video/SDL_stretch.c.o] Error 1 [INFO] [stderr] make[2]: *** [CMakeFiles/SDL2-static.dir/build.make:1474: CMakeFiles/SDL2-static.dir/src/video/SDL_shape.c.o] Error 1 [INFO] [stderr] make[2]: *** [CMakeFiles/SDL2-static.dir/build.make:993: CMakeFiles/SDL2-static.dir/src/render/software/SDL_blendfillrect.c.o] Error 1 [INFO] [stderr] cc: fatal error: Killed signal terminated program cc1 [INFO] [stderr] compilation terminated. [INFO] [stderr] make[2]: *** [CMakeFiles/SDL2-static.dir/build.make:1019: CMakeFiles/SDL2-static.dir/src/render/software/SDL_blendpoint.c.o] Error 1 [INFO] [stderr] cc: fatal error: Killed signal terminated program cc1 [INFO] [stderr] compilation terminated. [INFO] [stderr] cc: fatal error: Killed signal terminated program cc1 [INFO] [stderr] compilation terminated. [INFO] [stderr] make[2]: *** [CMakeFiles/SDL2-static.dir/build.make:1513: CMakeFiles/SDL2-static.dir/src/video/SDL_video.c.o] Error 1 [INFO] [stderr] cc: fatal error: Killed signal terminated program cc1 [INFO] [stderr] compilation terminated. [INFO] [stderr] cc: fatal error: Killed signal terminated program cc1 [INFO] [stderr] compilation terminated. [INFO] [stderr] make[2]: *** [CMakeFiles/SDL2-static.dir/build.make:1058: CMakeFiles/SDL2-static.dir/src/render/software/SDL_render_sw.c.o] Error 1 [INFO] [stderr] cc: fatal error: Killed signal terminated program cc1 [INFO] [stderr] compilation terminated. [INFO] [stderr] make[2]: *** [CMakeFiles/SDL2-static.dir/build.make:1357: CMakeFiles/SDL2-static.dir/src/video/SDL_blit_auto.c.o] Error 1 [INFO] [stderr] make[2]: *** [CMakeFiles/SDL2-static.dir/build.make:1006: CMakeFiles/SDL2-static.dir/src/render/software/SDL_blendline.c.o] Error 1 [INFO] [stderr] make[2]: *** [CMakeFiles/SDL2-static.dir/build.make:1045: CMakeFiles/SDL2-static.dir/src/render/software/SDL_drawpoint.c.o] Error 1 [INFO] [stderr] cc: fatal error: Killed signal terminated program cc1 [INFO] [stderr] compilation terminated. [INFO] [stderr] make[2]: *** [CMakeFiles/SDL2-static.dir/build.make:1552: CMakeFiles/SDL2-static.dir/src/video/yuv2rgb/yuv_rgb.c.o] Error 1 [INFO] [stderr] cc: fatal error: Killed signal terminated program cc1 [INFO] [stderr] compilation terminated. [INFO] [stderr] make[2]: *** [CMakeFiles/SDL2-static.dir/build.make:837: CMakeFiles/SDL2-static.dir/src/render/SDL_render.c.o] Error 1 [INFO] [stderr] cc: fatal error: Killed signal terminated program cc1 [INFO] [stderr] compilation terminated. [INFO] [stderr] make[2]: *** [CMakeFiles/SDL2-static.dir/build.make:1578: CMakeFiles/SDL2-static.dir/src/joystick/SDL_joystick.c.o] Error 1 [INFO] [stderr] cc: fatal error: Killed signal terminated program cc1 [INFO] [stderr] compilation terminated. [INFO] [stderr] make[2]: *** [CMakeFiles/SDL2-static.dir/build.make:1292: CMakeFiles/SDL2-static.dir/src/video/SDL_blit.c.o] Error 1 [INFO] [stderr] cc: fatal error: Killed signal terminated program cc1 [INFO] [stderr] compilation terminated. [INFO] [stderr] make[2]: *** [CMakeFiles/SDL2-static.dir/build.make:1279: CMakeFiles/SDL2-static.dir/src/video/SDL_RLEaccel.c.o] Error 1 [INFO] [stderr] make[1]: *** [CMakeFiles/Makefile2:106: CMakeFiles/SDL2-static.dir/all] Error 2 [INFO] [stderr] make: *** [Makefile:130: all] Error 2 [INFO] [stderr] thread 'main' panicked at ' [INFO] [stderr] command did not execute successfully, got: exit status: 2 [INFO] [stderr] [INFO] [stderr] build script failed, must exit now', /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cmake-0.1.48/src/lib.rs:975:5 [INFO] [stderr] stack backtrace: [INFO] [stderr] 0: 0x55bd7328587d - std::backtrace_rs::backtrace::libunwind::trace::hb3cf3346dc783caf [INFO] [stderr] at /rustc/df20355fa9fa5e9fb89be4e4bfee8a643bb7a23e/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stderr] 1: 0x55bd7328587d - std::backtrace_rs::backtrace::trace_unsynchronized::h9a844d15381f29b3 [INFO] [stderr] at /rustc/df20355fa9fa5e9fb89be4e4bfee8a643bb7a23e/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stderr] 2: 0x55bd7328587d - std::sys_common::backtrace::_print_fmt::h243d3dc8349fbda7 [INFO] [stderr] at /rustc/df20355fa9fa5e9fb89be4e4bfee8a643bb7a23e/library/std/src/sys_common/backtrace.rs:66:5 [INFO] [stderr] 3: 0x55bd7328587d - ::fmt::hcb623521f2da54f2 [INFO] [stderr] at /rustc/df20355fa9fa5e9fb89be4e4bfee8a643bb7a23e/library/std/src/sys_common/backtrace.rs:45:22 [INFO] [stderr] 4: 0x55bd732a615c - core::fmt::write::h77cfbbc8ad9b2236 [INFO] [stderr] at /rustc/df20355fa9fa5e9fb89be4e4bfee8a643bb7a23e/library/core/src/fmt/mod.rs:1194:17 [INFO] [stderr] 5: 0x55bd73282391 - std::io::Write::write_fmt::hb783c99c115297a2 [INFO] [stderr] at /rustc/df20355fa9fa5e9fb89be4e4bfee8a643bb7a23e/library/std/src/io/mod.rs:1655:15 [INFO] [stderr] 6: 0x55bd73287425 - std::sys_common::backtrace::_print::h72d02ab5f43918c3 [INFO] [stderr] at /rustc/df20355fa9fa5e9fb89be4e4bfee8a643bb7a23e/library/std/src/sys_common/backtrace.rs:48:5 [INFO] [stderr] 7: 0x55bd73287425 - std::sys_common::backtrace::print::h91cc15978a324e8a [INFO] [stderr] at /rustc/df20355fa9fa5e9fb89be4e4bfee8a643bb7a23e/library/std/src/sys_common/backtrace.rs:35:9 [INFO] [stderr] 8: 0x55bd73287425 - std::panicking::default_hook::{{closure}}::hd7df76abdb840cf0 [INFO] [stderr] at /rustc/df20355fa9fa5e9fb89be4e4bfee8a643bb7a23e/library/std/src/panicking.rs:295:22 [INFO] [stderr] 9: 0x55bd732870d9 - std::panicking::default_hook::h1ef439af7e8e46c4 [INFO] [stderr] at /rustc/df20355fa9fa5e9fb89be4e4bfee8a643bb7a23e/library/std/src/panicking.rs:314:9 [INFO] [stderr] 10: 0x55bd73287972 - std::panicking::rust_panic_with_hook::ha2116e764573b339 [INFO] [stderr] at /rustc/df20355fa9fa5e9fb89be4e4bfee8a643bb7a23e/library/std/src/panicking.rs:698:17 [INFO] [stderr] 11: 0x55bd73287857 - std::panicking::begin_panic_handler::{{closure}}::h9d344bc12fcb0060 [INFO] [stderr] at /rustc/df20355fa9fa5e9fb89be4e4bfee8a643bb7a23e/library/std/src/panicking.rs:588:13 [INFO] [stderr] 12: 0x55bd73285d34 - std::sys_common::backtrace::__rust_end_short_backtrace::h81d49ad80f77f606 [INFO] [stderr] at /rustc/df20355fa9fa5e9fb89be4e4bfee8a643bb7a23e/library/std/src/sys_common/backtrace.rs:138:18 [INFO] [stderr] 13: 0x55bd73287589 - rust_begin_unwind [INFO] [stderr] at /rustc/df20355fa9fa5e9fb89be4e4bfee8a643bb7a23e/library/std/src/panicking.rs:584:5 [INFO] [stderr] 14: 0x55bd731ea4d3 - core::panicking::panic_fmt::h0afb645c5a47b6d6 [INFO] [stderr] at /rustc/df20355fa9fa5e9fb89be4e4bfee8a643bb7a23e/library/core/src/panicking.rs:143:14 [INFO] [stderr] 15: 0x55bd7320085d - cmake::fail::h3d221f6b53cf4bcd [INFO] [stderr] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cmake-0.1.48/src/lib.rs:975:5 [INFO] [stderr] 16: 0x55bd73200295 - cmake::run::h75844e57ef2c190e [INFO] [stderr] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cmake-0.1.48/src/lib.rs:953:9 [INFO] [stderr] 17: 0x55bd731fd4a0 - cmake::Config::build::h2443d35aa3a419e4 [INFO] [stderr] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cmake-0.1.48/src/lib.rs:832:9 [INFO] [stderr] 18: 0x55bd731eb056 - build_script_build::compile_sdl2::h304f05d66591d2c2 [INFO] [stderr] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sdl2-sys-0.35.2/build.rs:143:5 [INFO] [stderr] 19: 0x55bd731ebaa8 - build_script_build::main::h33568d27d9bca9de [INFO] [stderr] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sdl2-sys-0.35.2/build.rs:462:30 [INFO] [stderr] 20: 0x55bd731ed13b - core::ops::function::FnOnce::call_once::h099cfaa341b57945 [INFO] [stderr] at /rustc/df20355fa9fa5e9fb89be4e4bfee8a643bb7a23e/library/core/src/ops/function.rs:227:5 [INFO] [stderr] 21: 0x55bd731ece3e - std::sys_common::backtrace::__rust_begin_short_backtrace::h3fc01ebe25be730f [INFO] [stderr] at /rustc/df20355fa9fa5e9fb89be4e4bfee8a643bb7a23e/library/std/src/sys_common/backtrace.rs:122:18 [INFO] [stderr] 22: 0x55bd731ecac1 - std::rt::lang_start::{{closure}}::h04ecffa251612e63 [INFO] [stderr] at /rustc/df20355fa9fa5e9fb89be4e4bfee8a643bb7a23e/library/std/src/rt.rs:145:18 [INFO] [stderr] 23: 0x55bd7327ddce - core::ops::function::impls:: for &F>::call_once::hff32e074ecf24fbf [INFO] [stderr] at /rustc/df20355fa9fa5e9fb89be4e4bfee8a643bb7a23e/library/core/src/ops/function.rs:259:13 [INFO] [stderr] 24: 0x55bd7327ddce - std::panicking::try::do_call::h0aadba584edf6ac9 [INFO] [stderr] at /rustc/df20355fa9fa5e9fb89be4e4bfee8a643bb7a23e/library/std/src/panicking.rs:492:40 [INFO] [stderr] 25: 0x55bd7327ddce - std::panicking::try::h803cbd013cc76cee [INFO] [stderr] at /rustc/df20355fa9fa5e9fb89be4e4bfee8a643bb7a23e/library/std/src/panicking.rs:456:19 [INFO] [stderr] 26: 0x55bd7327ddce - std::panic::catch_unwind::h51f5fdb329f74bb0 [INFO] [stderr] at /rustc/df20355fa9fa5e9fb89be4e4bfee8a643bb7a23e/library/std/src/panic.rs:137:14 [INFO] [stderr] 27: 0x55bd7327ddce - std::rt::lang_start_internal::{{closure}}::hc1a438e6bdc3c9fb [INFO] [stderr] at /rustc/df20355fa9fa5e9fb89be4e4bfee8a643bb7a23e/library/std/src/rt.rs:128:48 [INFO] [stderr] 28: 0x55bd7327ddce - std::panicking::try::do_call::h5ae77f639cf6024c [INFO] [stderr] at /rustc/df20355fa9fa5e9fb89be4e4bfee8a643bb7a23e/library/std/src/panicking.rs:492:40 [INFO] [stderr] 29: 0x55bd7327ddce - std::panicking::try::h7d9609e960d6e81e [INFO] [stderr] at /rustc/df20355fa9fa5e9fb89be4e4bfee8a643bb7a23e/library/std/src/panicking.rs:456:19 [INFO] [stderr] 30: 0x55bd7327ddce - std::panic::catch_unwind::h526a5c532eb2e30b [INFO] [stderr] at /rustc/df20355fa9fa5e9fb89be4e4bfee8a643bb7a23e/library/std/src/panic.rs:137:14 [INFO] [stderr] 31: 0x55bd7327ddce - std::rt::lang_start_internal::h0e889fee031bc3c6 [INFO] [stderr] at /rustc/df20355fa9fa5e9fb89be4e4bfee8a643bb7a23e/library/std/src/rt.rs:128:20 [INFO] [stderr] 32: 0x55bd731eca90 - std::rt::lang_start::h29bcb14cee338921 [INFO] [stderr] at /rustc/df20355fa9fa5e9fb89be4e4bfee8a643bb7a23e/library/std/src/rt.rs:144:17 [INFO] [stderr] 33: 0x55bd731ec14c - main [INFO] [stderr] 34: 0x7fe2a2efd0b3 - __libc_start_main [INFO] [stderr] 35: 0x55bd731ea71e - _start [INFO] [stderr] 36: 0x0 - [INFO] running `Command { std: "docker" "inspect" "02a9b1ba7a44b1aeda6a272cce8e8ed04bd323305c1fcb0363b65fb7b92b16d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "02a9b1ba7a44b1aeda6a272cce8e8ed04bd323305c1fcb0363b65fb7b92b16d2", kill_on_drop: false }` [INFO] [stdout] 02a9b1ba7a44b1aeda6a272cce8e8ed04bd323305c1fcb0363b65fb7b92b16d2