[INFO] cloning 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" "clone" "--bare" "https://github.com/redox-os/drivers" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fredox-os%2Fdrivers", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fredox-os%2Fdrivers'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 79a9f447d2097149fb249f150a1cb525f6099bbc [INFO] checking redox-os/drivers against master#53709aedba198874ee50769f19f1e9ab00798bb5 for pr-108221 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fredox-os%2Fdrivers" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/redox-os/drivers on toolchain 53709aedba198874ee50769f19f1e9ab00798bb5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+53709aedba198874ee50769f19f1e9ab00798bb5" "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-2-tc1/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+53709aedba198874ee50769f19f1e9ab00798bb5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://gitlab.redox-os.org/redox-os/mio.git` [INFO] [stderr] Updating git repository `https://gitlab.redox-os.org/redox-os/net2-rs.git` [INFO] [stderr] Updating git repository `https://gitlab.redox-os.org/redox-os/orbclient.git` [INFO] [stderr] Updating git repository `https://gitlab.redox-os.org/redox-os/partitionlib.git` [INFO] [stderr] Updating git repository `https://gitlab.redox-os.org/redox-os/netutils.git` [INFO] [stderr] Updating git repository `https://gitlab.redox-os.org/redox-os/gpt` [INFO] [stderr] Updating git repository `https://gitlab.redox-os.org/redox-os/arg-parser.git` [INFO] [stderr] Updating git repository `https://gitlab.redox-os.org/redox-os/libextra.git` [INFO] [stderr] Updating git repository `https://github.com/willem66745/ntpclient-rust` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded aml v0.16.2 [INFO] [stderr] Downloaded redox-daemon v0.1.0 [INFO] [stderr] Downloaded redox-log v0.1.1 [INFO] [stderr] Downloaded rusttype v0.2.4 [INFO] [stderr] Downloaded ux v0.1.4 [INFO] [stderr] Downloaded ransid v0.4.8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:542af8c9c691278ea8427c9f55ce1005b509eeebcbbcbc893145cd6832507671" "/opt/rustwide/cargo-home/bin/cargo" "+53709aedba198874ee50769f19f1e9ab00798bb5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b4351048c53bebc4eb791933cc96372c029382d208d933221983d7d0028535d5 [INFO] running `Command { std: "docker" "start" "-a" "b4351048c53bebc4eb791933cc96372c029382d208d933221983d7d0028535d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b4351048c53bebc4eb791933cc96372c029382d208d933221983d7d0028535d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b4351048c53bebc4eb791933cc96372c029382d208d933221983d7d0028535d5", kill_on_drop: false }` [INFO] [stdout] b4351048c53bebc4eb791933cc96372c029382d208d933221983d7d0028535d5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:542af8c9c691278ea8427c9f55ce1005b509eeebcbbcbc893145cd6832507671" "/opt/rustwide/cargo-home/bin/cargo" "+53709aedba198874ee50769f19f1e9ab00798bb5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fd10d089b98262ce03a0d8230a4b334e29300b4fbdf6e7e702a460dec4998136 [INFO] running `Command { std: "docker" "start" "-a" "fd10d089b98262ce03a0d8230a4b334e29300b4fbdf6e7e702a460dec4998136", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.139 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling proc-macro2 v1.0.42 [INFO] [stderr] Compiling unicode-ident v1.0.2 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling serde_derive v1.0.140 [INFO] [stderr] Compiling serde v1.0.140 [INFO] [stderr] Checking numtoa v0.1.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Compiling unicode-segmentation v1.9.0 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling serde_json v1.0.82 [INFO] [stderr] Checking plain v0.2.3 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking paw-raw v1.0.0 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking itoa v1.0.2 [INFO] [stderr] Checking ryu v1.0.10 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Checking redox_syscall v0.3.4 [INFO] [stderr] Checking redox_syscall v0.2.16 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Checking futures-sink v0.3.21 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling version-compare v0.1.0 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Checking futures-io v0.3.21 [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Checking cty v0.2.2 [INFO] [stderr] Checking smallvec v0.6.14 [INFO] [stderr] Compiling sdl2 v0.35.2 [INFO] [stderr] Checking redox_event v0.1.0 (https://gitlab.redox-os.org/redox-os/event.git#f7db3d25) [INFO] [stderr] Checking raw-window-handle v0.4.3 [INFO] [stderr] Compiling cmake v0.1.48 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.11 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking owning_ref v0.3.3 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking redox-daemon v0.1.0 [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 clap v2.34.0 [INFO] [stderr] Checking once_cell v1.13.0 [INFO] [stderr] Checking raw-window-handle v0.3.4 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Compiling build_const v0.2.2 [INFO] [stderr] Checking unicode-bidi v0.3.8 [INFO] [stderr] Checking net2 v0.2.37 (https://gitlab.redox-os.org/redox-os/net2-rs.git?branch=master#db0604dc) [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking crossbeam-channel v0.4.4 [INFO] [stderr] Compiling crc v1.8.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [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 mio v0.6.14 (https://gitlab.redox-os.org/redox-os/mio.git?branch=redox-unix#c9a70849) [INFO] [stderr] Checking redox_termios v0.1.2 [INFO] [stderr] Checking arg_parser v0.1.0 (https://gitlab.redox-os.org/redox-os/arg-parser.git#1c434b55) [INFO] [stderr] Compiling sdl2-sys v0.35.2 [INFO] [stderr] Checking crossbeam-channel v0.5.6 [INFO] [stderr] Checking extra v0.1.0 (https://gitlab.redox-os.org/redox-os/libextra.git#cf213969) [INFO] [stderr] Checking spin v0.9.4 [INFO] [stderr] Checking ntpclient v0.0.1 (https://github.com/willem66745/ntpclient-rust#7e3bdf60) [INFO] [stderr] Checking parking_lot_core v0.2.14 [INFO] [stderr] Checking block-io-wrapper v0.1.0 (/opt/rustwide/workdir/block-io-wrapper) [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Checking unicode-normalization v0.1.21 [INFO] [stderr] Checking wyz v0.5.1 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Checking utf8parse v0.1.1 [INFO] [stderr] Checking funty v2.0.0 [INFO] [stderr] Checking spinning_top v0.2.4 [INFO] [stderr] Checking bit_field v0.10.1 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking vte v0.3.3 [INFO] [stderr] Checking parking_lot v0.4.8 [INFO] [stderr] Checking base64 v0.11.0 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking ux v0.1.4 [INFO] [stderr] Checking pcspkrd v0.1.0 (/opt/rustwide/workdir/pcspkrd) [INFO] [stderr] Checking ransid v0.4.8 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking pbr v1.0.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 bitvec v1.0.1 [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#34d1ec9c) [INFO] [stderr] Checking e1000d v0.1.0 (/opt/rustwide/workdir/e1000d) [INFO] [stderr] Checking ixgbed v1.0.0 (/opt/rustwide/workdir/ixgbed) [INFO] [stderr] Checking alxd v0.1.0 (/opt/rustwide/workdir/alxd) [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: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: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: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: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 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 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 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: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: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: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: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: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: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: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: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: 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 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 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: constant `IMS_TXDW` is never used [INFO] [stdout] --> e1000d/src/device.rs:31:7 [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 `IMS_TXQE` is never used [INFO] [stdout] --> e1000d/src/device.rs:32:7 [INFO] [stdout] | [INFO] [stdout] 32 | const IMS_TXQE: u32 = 1 << 1; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `IMS_LSC` is never used [INFO] [stdout] --> e1000d/src/device.rs:33:7 [INFO] [stdout] | [INFO] [stdout] 33 | const IMS_LSC: u32 = 1 << 2; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RCTL_MPE` is never used [INFO] [stdout] --> e1000d/src/device.rs:42:7 [INFO] [stdout] | [INFO] [stdout] 42 | const RCTL_MPE: u32 = 1 << 4; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `checksum`, `error`, and `special` are never read [INFO] [stdout] --> e1000d/src/device.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 62 | struct Rd { [INFO] [stdout] | -- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 65 | checksum: u16, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 66 | status: u8, [INFO] [stdout] 67 | error: u8, [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] [INFO] [stdout] [INFO] [stdout] warning: constant `RD_EOP` is never used [INFO] [stdout] --> e1000d/src/device.rs:71:7 [INFO] [stdout] | [INFO] [stdout] 71 | const RD_EOP: u8 = 1 << 1; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TD_DD` is never used [INFO] [stdout] --> e1000d/src/device.rs:97:7 [INFO] [stdout] | [INFO] [stdout] 97 | const TD_DD: u8 = 1; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> ixgbed/src/main.rs:204:5 [INFO] [stdout] | [INFO] [stdout] 79 | / redox_daemon::Daemon::new(move |daemon| { [INFO] [stdout] 80 | | let socket_fd = syscall::open( [INFO] [stdout] 81 | | ":network", [INFO] [stdout] 82 | | syscall::O_RDWR | syscall::O_CREAT | syscall::O_NONBLOCK, [INFO] [stdout] ... | [INFO] [stdout] 201 | | std::process::exit(0); [INFO] [stdout] 202 | | }).expect("ixgbed: failed to daemonize"); [INFO] [stdout] | |____________________________________________- any code following this expression is unreachable [INFO] [stdout] 203 | [INFO] [stdout] 204 | thread::sleep(Duration::from_secs(20)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> ixgbed/src/main.rs:204:5 [INFO] [stdout] | [INFO] [stdout] 79 | / redox_daemon::Daemon::new(move |daemon| { [INFO] [stdout] 80 | | let socket_fd = syscall::open( [INFO] [stdout] 81 | | ":network", [INFO] [stdout] 82 | | syscall::O_RDWR | syscall::O_CREAT | syscall::O_NONBLOCK, [INFO] [stdout] ... | [INFO] [stdout] 201 | | std::process::exit(0); [INFO] [stdout] 202 | | }).expect("ixgbed: failed to daemonize"); [INFO] [stdout] | |____________________________________________- any code following this expression is unreachable [INFO] [stdout] 203 | [INFO] [stdout] 204 | thread::sleep(Duration::from_secs(20)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `IMS_TXDW` is never used [INFO] [stdout] --> e1000d/src/device.rs:31:7 [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 `IMS_TXQE` is never used [INFO] [stdout] --> e1000d/src/device.rs:32:7 [INFO] [stdout] | [INFO] [stdout] 32 | const IMS_TXQE: u32 = 1 << 1; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `IMS_LSC` is never used [INFO] [stdout] --> e1000d/src/device.rs:33:7 [INFO] [stdout] | [INFO] [stdout] 33 | const IMS_LSC: u32 = 1 << 2; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RCTL_MPE` is never used [INFO] [stdout] --> e1000d/src/device.rs:42:7 [INFO] [stdout] | [INFO] [stdout] 42 | const RCTL_MPE: u32 = 1 << 4; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `checksum`, `error`, and `special` are never read [INFO] [stdout] --> e1000d/src/device.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 62 | struct Rd { [INFO] [stdout] | -- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 65 | checksum: u16, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 66 | status: u8, [INFO] [stdout] 67 | error: u8, [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] [INFO] [stdout] [INFO] [stdout] warning: constant `RD_EOP` is never used [INFO] [stdout] --> e1000d/src/device.rs:71:7 [INFO] [stdout] | [INFO] [stdout] 71 | const RD_EOP: u8 = 1 << 1; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TD_DD` is never used [INFO] [stdout] --> e1000d/src/device.rs:97:7 [INFO] [stdout] | [INFO] [stdout] 97 | const TD_DD: u8 = 1; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> alxd/src/main.rs:144:9 [INFO] [stdout] | [INFO] [stdout] 129 | / loop { [INFO] [stdout] 130 | | let event_count = event_queue.run().expect("alxd: failed to handle events"); [INFO] [stdout] 131 | | [INFO] [stdout] 132 | | socket.borrow_mut().write(&Packet { [INFO] [stdout] ... | [INFO] [stdout] 141 | | }).expect("alxd: failed to write event"); [INFO] [stdout] 142 | | } [INFO] [stdout] | |_____________- any code following this expression is unreachable [INFO] [stdout] 143 | } [INFO] [stdout] 144 | unsafe { let _ = syscall::physunmap(address); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [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] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [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: unreachable statement [INFO] [stdout] --> alxd/src/main.rs:144:9 [INFO] [stdout] | [INFO] [stdout] 129 | / loop { [INFO] [stdout] 130 | | let event_count = event_queue.run().expect("alxd: failed to handle events"); [INFO] [stdout] 131 | | [INFO] [stdout] 132 | | socket.borrow_mut().write(&Packet { [INFO] [stdout] ... | [INFO] [stdout] 141 | | }).expect("alxd: failed to write event"); [INFO] [stdout] 142 | | } [INFO] [stdout] | |_____________- any code following this expression is unreachable [INFO] [stdout] 143 | } [INFO] [stdout] 144 | unsafe { let _ = syscall::physunmap(address); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [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] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [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: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking aml v0.16.2 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [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 thiserror v1.0.31 [INFO] [stderr] Checking structopt v0.3.26 [INFO] [stderr] Checking futures-executor v0.3.21 [INFO] [stderr] Checking futures v0.3.21 [INFO] [stderr] Checking smallvec v1.9.0 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking toml v0.5.9 [INFO] [stderr] Checking redox-log v0.1.1 [INFO] [stderr] Checking sb16d v0.1.0 (/opt/rustwide/workdir/sb16d) [INFO] [stderr] Checking ac97d v0.1.0 (/opt/rustwide/workdir/ac97d) [INFO] [stderr] Checking ahcid v0.1.0 (/opt/rustwide/workdir/ahcid) [INFO] [stdout] warning: unused import: `mem` [INFO] [stdout] --> sb16d/src/device.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{mem, thread, time}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `EINVAL`, `ENOENT` [INFO] [stdout] --> sb16d/src/device.rs:7:52 [INFO] [stdout] | [INFO] [stdout] 7 | use syscall::error::{Error, EACCES, EBADF, Result, EINVAL, ENODEV, ENOENT}; [INFO] [stdout] | ^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Dma`, `Mmio`, `PhysBox` [INFO] [stdout] --> sb16d/src/device.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | use syscall::io::{Dma, PhysBox, Mmio, Pio, Io, ReadOnly, WriteOnly}; [INFO] [stdout] | ^^^ ^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mem` [INFO] [stdout] --> sb16d/src/device.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{mem, thread, time}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `EINVAL`, `ENOENT` [INFO] [stdout] --> sb16d/src/device.rs:7:52 [INFO] [stdout] | [INFO] [stdout] 7 | use syscall::error::{Error, EACCES, EBADF, Result, EINVAL, ENODEV, ENOENT}; [INFO] [stdout] | ^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Dma`, `Mmio`, `PhysBox` [INFO] [stdout] --> sb16d/src/device.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | use syscall::io::{Dma, PhysBox, Mmio, Pio, Io, ReadOnly, WriteOnly}; [INFO] [stdout] | ^^^ ^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> sb16d/src/device.rs:194:25 [INFO] [stdout] | [INFO] [stdout] 194 | fn write(&mut self, id: usize, buf: &[u8]) -> Result> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buf` [INFO] [stdout] --> sb16d/src/device.rs:194:36 [INFO] [stdout] | [INFO] [stdout] 194 | fn write(&mut self, id: usize, buf: &[u8]) -> Result> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_buf` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> sb16d/src/device.rs:194:25 [INFO] [stdout] | [INFO] [stdout] 194 | fn write(&mut self, id: usize, buf: &[u8]) -> Result> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buf` [INFO] [stdout] --> sb16d/src/device.rs:194:36 [INFO] [stdout] | [INFO] [stdout] 194 | fn write(&mut self, id: usize, buf: &[u8]) -> Result> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_buf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> sb16d/src/main.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | 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] --> sb16d/src/main.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | 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] --> ac97d/src/main.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | 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: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> ac97d/src/main.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | 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: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> ahcid/src/main.rs:24:18 [INFO] [stdout] | [INFO] [stdout] 24 | fn setup_logging(name: &str) -> Option<&'static RedoxLogger> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> ahcid/src/main.rs:24:18 [INFO] [stdout] | [INFO] [stdout] 24 | fn setup_logging(name: &str) -> Option<&'static RedoxLogger> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> ahcid/src/main.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | 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] [stderr] Checking acpid v0.1.0 (/opt/rustwide/workdir/acpid) [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> ahcid/src/main.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | 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: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FromRawFd`, `RawFd` [INFO] [stdout] --> acpid/src/main.rs:8:34 [INFO] [stdout] | [INFO] [stdout] 8 | use std::os::unix::io::{AsRawFd, FromRawFd, RawFd}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::dmar::Dmar` [INFO] [stdout] --> acpid/src/acpi.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use self::dmar::Dmar; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FromRawFd`, `RawFd` [INFO] [stdout] --> acpid/src/main.rs:8:34 [INFO] [stdout] | [INFO] [stdout] 8 | use std::os::unix::io::{AsRawFd, FromRawFd, RawFd}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::dmar::Dmar` [INFO] [stdout] --> acpid/src/acpi.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use self::dmar::Dmar; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [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] = 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] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking pcid v0.1.0 (/opt/rustwide/workdir/pcid) [INFO] [stdout] warning: function `monotonic` is never used [INFO] [stdout] --> acpid/src/main.rs:20:4 [INFO] [stdout] | [INFO] [stdout] 20 | fn monotonic() -> (u64, u64) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `reserved` and `reserved2` are never read [INFO] [stdout] --> acpid/src/acpi.rs:667:5 [INFO] [stdout] | [INFO] [stdout] 661 | pub struct FadtStruct { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 667 | reserved: u8, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 705 | 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] [INFO] [stdout] [INFO] [stdout] warning: fields `address_space`, `bit_width`, `bit_offset`, `access_size`, and `address` are never read [INFO] [stdout] --> acpid/src/acpi.rs:713:5 [INFO] [stdout] | [INFO] [stdout] 712 | pub struct GenericAddressStructure { [INFO] [stdout] | ----------------------- fields in this struct [INFO] [stdout] 713 | address_space: u8, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 714 | bit_width: u8, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 715 | bit_offset: u8, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 716 | access_size: u8, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 717 | 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] [INFO] [stdout] [INFO] [stdout] warning: field `reserved3` is never read [INFO] [stdout] --> acpid/src/acpi.rs:727:5 [INFO] [stdout] | [INFO] [stdout] 722 | pub struct FadtAcpi2Struct { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 727 | 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] [INFO] [stdout] [INFO] [stdout] warning: variants `Dsdt` and `Ssdt` are never constructed [INFO] [stdout] --> acpid/src/acpi.rs:816:5 [INFO] [stdout] | [INFO] [stdout] 815 | pub enum PossibleAmlTables { [INFO] [stdout] | ----------------- variants in this enum [INFO] [stdout] 816 | Dsdt(Dsdt), [INFO] [stdout] | ^^^^ [INFO] [stdout] 817 | Ssdt(Ssdt), [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_signature_from_index` is never used [INFO] [stdout] --> acpid/src/acpi.rs:487:12 [INFO] [stdout] | [INFO] [stdout] 487 | pub fn get_signature_from_index(&self, index: usize) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_index_from_signature` is never used [INFO] [stdout] --> acpid/src/acpi.rs:490:12 [INFO] [stdout] | [INFO] [stdout] 490 | pub fn get_index_from_signature(&self, signature: &SdtSignature) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `aml_symbols_reset` is never used [INFO] [stdout] --> acpid/src/acpi.rs:585:12 [INFO] [stdout] | [INFO] [stdout] 585 | pub fn aml_symbols_reset(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `try_new` is never used [INFO] [stdout] --> acpid/src/acpi.rs:820:12 [INFO] [stdout] | [INFO] [stdout] 820 | pub fn try_new(inner: Sdt) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `kind`, `length`, `flags`, and `segment` are never read [INFO] [stdout] --> acpid/src/acpi/dmar/mod.rs:267:5 [INFO] [stdout] | [INFO] [stdout] 266 | pub struct DmarAtsrHeader { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 267 | kind: u16, [INFO] [stdout] | ^^^^ [INFO] [stdout] 268 | length: u16, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 269 | flags: u8, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 270 | _rsv: u8, [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] [INFO] [stdout] [INFO] [stdout] warning: associated function `remmapping_structs_area` is never used [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 `init` is never used [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 `new` is never used [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 `iter` is never used [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 `try_new` is never used [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 `device_scope_area` is never used [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 `map` is never used [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: associated function `map` is never used [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: function `monotonic` is never used [INFO] [stdout] --> acpid/src/main.rs:20:4 [INFO] [stdout] | [INFO] [stdout] 20 | fn monotonic() -> (u64, u64) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `reserved` and `reserved2` are never read [INFO] [stdout] --> acpid/src/acpi.rs:667:5 [INFO] [stdout] | [INFO] [stdout] 661 | pub struct FadtStruct { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 667 | reserved: u8, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 705 | 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] [INFO] [stdout] [INFO] [stdout] warning: fields `address_space`, `bit_width`, `bit_offset`, `access_size`, and `address` are never read [INFO] [stdout] --> acpid/src/acpi.rs:713:5 [INFO] [stdout] | [INFO] [stdout] 712 | pub struct GenericAddressStructure { [INFO] [stdout] | ----------------------- fields in this struct [INFO] [stdout] 713 | address_space: u8, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 714 | bit_width: u8, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 715 | bit_offset: u8, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 716 | access_size: u8, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 717 | 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] [INFO] [stdout] [INFO] [stdout] warning: field `reserved3` is never read [INFO] [stdout] --> acpid/src/acpi.rs:727:5 [INFO] [stdout] | [INFO] [stdout] 722 | pub struct FadtAcpi2Struct { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 727 | 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] [INFO] [stdout] [INFO] [stdout] warning: variants `Dsdt` and `Ssdt` are never constructed [INFO] [stdout] --> acpid/src/acpi.rs:816:5 [INFO] [stdout] | [INFO] [stdout] 815 | pub enum PossibleAmlTables { [INFO] [stdout] | ----------------- variants in this enum [INFO] [stdout] 816 | Dsdt(Dsdt), [INFO] [stdout] | ^^^^ [INFO] [stdout] 817 | Ssdt(Ssdt), [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_signature_from_index` is never used [INFO] [stdout] --> acpid/src/acpi.rs:487:12 [INFO] [stdout] | [INFO] [stdout] 487 | pub fn get_signature_from_index(&self, index: usize) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_index_from_signature` is never used [INFO] [stdout] --> acpid/src/acpi.rs:490:12 [INFO] [stdout] | [INFO] [stdout] 490 | pub fn get_index_from_signature(&self, signature: &SdtSignature) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `aml_symbols_reset` is never used [INFO] [stdout] --> acpid/src/acpi.rs:585:12 [INFO] [stdout] | [INFO] [stdout] 585 | pub fn aml_symbols_reset(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `try_new` is never used [INFO] [stdout] --> acpid/src/acpi.rs:820:12 [INFO] [stdout] | [INFO] [stdout] 820 | pub fn try_new(inner: Sdt) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `kind`, `length`, `flags`, and `segment` are never read [INFO] [stdout] --> acpid/src/acpi/dmar/mod.rs:267:5 [INFO] [stdout] | [INFO] [stdout] 266 | pub struct DmarAtsrHeader { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 267 | kind: u16, [INFO] [stdout] | ^^^^ [INFO] [stdout] 268 | length: u16, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 269 | flags: u8, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 270 | _rsv: u8, [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] [INFO] [stdout] [INFO] [stdout] warning: associated function `remmapping_structs_area` is never used [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 `init` is never used [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 `new` is never used [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 `iter` is never used [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 `try_new` is never used [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 `device_scope_area` is never used [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 `map` is never used [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: associated function `map` is never used [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: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> pcid/src/pci/mod.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | 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 `buses` is never used [INFO] [stdout] --> pcid/src/pci/mod.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn buses<'pci>(&'pci self) -> PciIter<'pci> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> pcid/src/pci/mod.rs:126:12 [INFO] [stdout] | [INFO] [stdout] 126 | pub fn new(pci: &'pci dyn CfgAccess) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `devs` is never used [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 `new` is never used [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 `new` is never used [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 `as_msi` is never used [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 `as_msix` is never used [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 `as_msi_mut` is never used [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 `as_msix_mut` is never used [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 `into_msi` is never used [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 `into_msix` is never used [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 `funcs` is never used [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 `new` is never used [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 `new` is never used [INFO] [stdout] --> pcid/src/pci/mod.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | 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 `buses` is never used [INFO] [stdout] --> pcid/src/pci/mod.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn buses<'pci>(&'pci self) -> PciIter<'pci> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> pcid/src/pci/mod.rs:126:12 [INFO] [stdout] | [INFO] [stdout] 126 | pub fn new(pci: &'pci dyn CfgAccess) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `devs` is never used [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 `new` is never used [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 `new` is never used [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 `as_msi` is never used [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 `as_msix` is never used [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 `as_msi_mut` is never used [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 `as_msix_mut` is never used [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 `into_msi` is never used [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 `into_msix` is never used [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 `funcs` is never used [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 `new` is never used [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: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 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] [stderr] Checking ihdad v0.1.0 (/opt/rustwide/workdir/ihdad) [INFO] [stderr] Checking rtl8168d v0.1.0 (/opt/rustwide/workdir/rtl8168d) [INFO] [stderr] Checking ided v0.1.0 (/opt/rustwide/workdir/ided) [INFO] [stdout] warning: unused import: `env` [INFO] [stdout] --> rtl8168d/src/main.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | use std::{env, process}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `env` [INFO] [stdout] --> rtl8168d/src/main.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | use std::{env, process}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Event` [INFO] [stdout] --> nvmed/src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | Event, Mmio, Packet, Result, SchemeBlockMut, PHYSMAP_NO_CACHE, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [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] [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 import: `EINVAL` [INFO] [stdout] --> nvmed/src/nvme/mod.rs:12:37 [INFO] [stdout] | [INFO] [stdout] 12 | use syscall::error::{Error, Result, EINVAL, EIO}; [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: `Event` [INFO] [stdout] --> nvmed/src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | Event, Mmio, Packet, Result, SchemeBlockMut, PHYSMAP_NO_CACHE, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [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] [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 import: `EINVAL` [INFO] [stdout] --> nvmed/src/nvme/mod.rs:12:37 [INFO] [stdout] | [INFO] [stdout] 12 | use syscall::error::{Error, Result, EINVAL, EIO}; [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 variable: `capability` [INFO] [stdout] --> rtl8168d/src/main.rs:130:13 [INFO] [stdout] | [INFO] [stdout] 130 | ... let capability = match pcid_handle.feature_info(PciFeature::Msi).expect("rtl8168d: failed to retrieve the MSI capability structure ... [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_capability` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> rtl8168d/src/main.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | 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 variable: `capability` [INFO] [stdout] --> rtl8168d/src/main.rs:130:13 [INFO] [stdout] | [INFO] [stdout] 130 | ... let capability = match pcid_handle.feature_info(PciFeature::Msi).expect("rtl8168d: failed to retrieve the MSI capability structure ... [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_capability` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> rtl8168d/src/main.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | 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: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Io` [INFO] [stdout] --> ided/src/scheme.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | Io, SchemeBlockMut, Stat, MODE_DIR, MODE_FILE, O_DIRECTORY, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chan` [INFO] [stdout] --> ided/src/scheme.rs:129:17 [INFO] [stdout] | [INFO] [stdout] 129 | let mut chan = self.chans[chan_i].lock().unwrap(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_chan` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> ided/src/main.rs:30:18 [INFO] [stdout] | [INFO] [stdout] 30 | fn setup_logging(name: &str) -> Option<&'static RedoxLogger> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> ided/src/ide.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | let mut chan = Self { [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 import: `Io` [INFO] [stdout] --> ided/src/scheme.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | Io, SchemeBlockMut, Stat, MODE_DIR, MODE_FILE, O_DIRECTORY, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chan` [INFO] [stdout] --> ided/src/scheme.rs:129:17 [INFO] [stdout] | [INFO] [stdout] 129 | let mut chan = self.chans[chan_i].lock().unwrap(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_chan` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> ided/src/main.rs:30:18 [INFO] [stdout] | [INFO] [stdout] 30 | fn setup_logging(name: &str) -> Option<&'static RedoxLogger> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PciIter` [INFO] [stdout] --> pcid/src/main.rs:13:34 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::pci::{CfgAccess, Pci, PciIter, PciBar, PciBus, PciClass, PciDev, PciFunc, PciHeader, PciHeaderError, PciHeaderType}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> ided/src/ide.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | let mut chan = Self { [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: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> ided/src/scheme.rs:129:13 [INFO] [stdout] | [INFO] [stdout] 129 | let mut chan = self.chans[chan_i].lock().unwrap(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `codec` [INFO] [stdout] --> ihdad/src/hda/device.rs:617:27 [INFO] [stdout] | [INFO] [stdout] 617 | pub fn dump_codec(&self, codec:u8) -> String { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_codec` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` 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: 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] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [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:225:17 [INFO] [stdout] | [INFO] [stdout] 225 | 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:226:17 [INFO] [stdout] | [INFO] [stdout] 226 | 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:229:13 [INFO] [stdout] | [INFO] [stdout] 229 | 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:230:13 [INFO] [stdout] | [INFO] [stdout] 230 | 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:234:13 [INFO] [stdout] | [INFO] [stdout] 234 | 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:235:13 [INFO] [stdout] | [INFO] [stdout] 235 | 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:239:13 [INFO] [stdout] | [INFO] [stdout] 239 | 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:240:13 [INFO] [stdout] | [INFO] [stdout] 240 | 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 variable: `capability` [INFO] [stdout] --> ihdad/src/main.rs:97:13 [INFO] [stdout] | [INFO] [stdout] 97 | ... let capability = match pcid_handle.feature_info(PciFeature::Msi).expect("ihdad: failed to retrieve the MSI capability structure fro... [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_capability` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `codec` [INFO] [stdout] --> ihdad/src/hda/device.rs:617:27 [INFO] [stdout] | [INFO] [stdout] 617 | pub fn dump_codec(&self, codec:u8) -> String { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_codec` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` 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: 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] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [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:225:17 [INFO] [stdout] | [INFO] [stdout] 225 | 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:226:17 [INFO] [stdout] | [INFO] [stdout] 226 | 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:229:13 [INFO] [stdout] | [INFO] [stdout] 229 | 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:230:13 [INFO] [stdout] | [INFO] [stdout] 230 | 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:234:13 [INFO] [stdout] | [INFO] [stdout] 234 | 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:235:13 [INFO] [stdout] | [INFO] [stdout] 235 | 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:239:13 [INFO] [stdout] | [INFO] [stdout] 239 | 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:240:13 [INFO] [stdout] | [INFO] [stdout] 240 | 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 variable: `capability` [INFO] [stdout] --> ihdad/src/main.rs:97:13 [INFO] [stdout] | [INFO] [stdout] 97 | ... let capability = match pcid_handle.feature_info(PciFeature::Msi).expect("ihdad: failed to retrieve the MSI capability structure fro... [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_capability` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> ided/src/scheme.rs:129:13 [INFO] [stdout] | [INFO] [stdout] 129 | let mut chan = self.chans[chan_i].lock().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] --> ided/src/main.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | 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] --> ided/src/main.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | let mut logger = RedoxLogger::new() [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `phys`, `size`, and `flags` are never read [INFO] [stdout] --> ided/src/ide.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 14 | struct PrdtEntry { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 15 | phys: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 16 | size: u16, [INFO] [stdout] | ^^^^ [INFO] [stdout] 17 | flags: u16, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `phys`, `size`, and `flags` are never read [INFO] [stdout] --> ided/src/ide.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 14 | struct PrdtEntry { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 15 | phys: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 16 | size: u16, [INFO] [stdout] | ^^^^ [INFO] [stdout] 17 | flags: u16, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PciIter` [INFO] [stdout] --> pcid/src/main.rs:13:34 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::pci::{CfgAccess, Pci, PciIter, PciBar, PciBus, PciClass, PciDev, PciFunc, PciHeader, PciHeaderError, PciHeaderType}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [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, ENOLCK, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> ihdad/src/main.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | 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 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] = note: `#[warn(unused_variables)]` on by default [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: unused variable: `cq_id` [INFO] [stdout] --> nvmed/src/nvme/mod.rs:421:32 [INFO] [stdout] | [INFO] [stdout] 421 | let &(ref sq_lock, cq_id) = sqs_read_guard [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_cq_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `comp` [INFO] [stdout] --> nvmed/src/nvme/mod.rs:518:13 [INFO] [stdout] | [INFO] [stdout] 518 | 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:555:13 [INFO] [stdout] | [INFO] [stdout] 555 | 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] --> ihdad/src/main.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | 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 variable: `pba_base` [INFO] [stdout] --> nvmed/src/main.rs:115:13 [INFO] [stdout] | [INFO] [stdout] 115 | 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] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> nvmed/src/main.rs:242:18 [INFO] [stdout] | [INFO] [stdout] 242 | fn setup_logging(name: &str) -> Option<&'static RedoxLogger> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `irq` [INFO] [stdout] --> nvmed/src/main.rs:313:9 [INFO] [stdout] | [INFO] [stdout] 313 | 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: `reactor_receiver` [INFO] [stdout] --> nvmed/src/main.rs:343:26 [INFO] [stdout] | [INFO] [stdout] 343 | let (reactor_sender, reactor_receiver) = crossbeam_channel::unbounded(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reactor_receiver` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `interrupt_sources` [INFO] [stdout] --> nvmed/src/main.rs:344:28 [INFO] [stdout] | [INFO] [stdout] 344 | let (interrupt_method, interrupt_sources) = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_interrupt_sources` [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, ENOLCK, [INFO] [stdout] | ^^ [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] = note: `#[warn(unused_variables)]` on by default [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: unused variable: `cq_id` [INFO] [stdout] --> nvmed/src/nvme/mod.rs:421:32 [INFO] [stdout] | [INFO] [stdout] 421 | let &(ref sq_lock, cq_id) = sqs_read_guard [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_cq_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `comp` [INFO] [stdout] --> nvmed/src/nvme/mod.rs:518:13 [INFO] [stdout] | [INFO] [stdout] 518 | 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:555:13 [INFO] [stdout] | [INFO] [stdout] 555 | 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: `pba_base` [INFO] [stdout] --> nvmed/src/main.rs:115:13 [INFO] [stdout] | [INFO] [stdout] 115 | 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] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> nvmed/src/main.rs:242:18 [INFO] [stdout] | [INFO] [stdout] 242 | fn setup_logging(name: &str) -> Option<&'static RedoxLogger> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `irq` [INFO] [stdout] --> nvmed/src/main.rs:313:9 [INFO] [stdout] | [INFO] [stdout] 313 | 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: `reactor_receiver` [INFO] [stdout] --> nvmed/src/main.rs:343:26 [INFO] [stdout] | [INFO] [stdout] 343 | let (reactor_sender, reactor_receiver) = crossbeam_channel::unbounded(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reactor_receiver` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `interrupt_sources` [INFO] [stdout] --> nvmed/src/main.rs:344:28 [INFO] [stdout] | [INFO] [stdout] 344 | let (interrupt_method, interrupt_sources) = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_interrupt_sources` [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: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` 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: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> nvmed/src/nvme/mod.rs:241:13 [INFO] [stdout] | [INFO] [stdout] 241 | 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:241:13 [INFO] [stdout] | [INFO] [stdout] 241 | 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:257:13 [INFO] [stdout] | [INFO] [stdout] 257 | 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:258:13 [INFO] [stdout] | [INFO] [stdout] 258 | 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/nvme/mod.rs:257:13 [INFO] [stdout] | [INFO] [stdout] 257 | 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:258:13 [INFO] [stdout] | [INFO] [stdout] 258 | 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:243:9 [INFO] [stdout] | [INFO] [stdout] 243 | 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] --> nvmed/src/main.rs:243:9 [INFO] [stdout] | [INFO] [stdout] 243 | let mut logger = RedoxLogger::new() [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `bar_size` is never read [INFO] [stdout] --> nvmed/src/main.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct Bar { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 28 | bar_size: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Msi`, `MsiX`, and `Intx` are never constructed [INFO] [stdout] --> nvmed/src/nvme/mod.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 50 | enum IterMut<'a> { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 51 | Msi(BTreeIterMut<'a, u8, File>), [INFO] [stdout] | ^^^ [INFO] [stdout] 52 | MsiX(BTreeIterMut<'a, u16, File>), [INFO] [stdout] | ^^^^ [INFO] [stdout] 53 | Intx(Once<&'a mut File>), [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `nssr`, `cmbloc`, and `cmbsz` are never read [INFO] [stdout] --> nvmed/src/nvme/mod.rs:143:5 [INFO] [stdout] | [INFO] [stdout] 127 | pub struct NvmeRegs { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 143 | nssr: Mmio, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 151 | cmbloc: Mmio, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 152 | /// Controller memory buffer size [INFO] [stdout] 153 | cmbsz: Mmio, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `AtomicCmdId` is never used [INFO] [stdout] --> nvmed/src/nvme/mod.rs:168:10 [INFO] [stdout] | [INFO] [stdout] 168 | pub type AtomicCmdId = AtomicU16; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `pcid_interface`, `next_sqid`, `next_cqid`, and `next_avail_submission_epoch` are never read [INFO] [stdout] --> nvmed/src/nvme/mod.rs:172:5 [INFO] [stdout] | [INFO] [stdout] 170 | pub struct Nvme { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 171 | interrupt_method: Mutex, [INFO] [stdout] 172 | pcid_interface: Mutex, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 186 | next_sqid: AtomicSqId, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 187 | next_cqid: AtomicCqId, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 188 | [INFO] [stdout] 189 | next_avail_submission_epoch: AtomicU64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `FullSqHandling` is never used [INFO] [stdout] --> nvmed/src/nvme/mod.rs:195:10 [INFO] [stdout] | [INFO] [stdout] 195 | pub enum FullSqHandling { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `iter_mut` is never used [INFO] [stdout] --> nvmed/src/nvme/mod.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn iter_mut(&mut self) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `is_intx` is never used [INFO] [stdout] --> nvmed/src/nvme/mod.rs:97:8 [INFO] [stdout] | [INFO] [stdout] 97 | fn is_intx(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `is_msi` is never used [INFO] [stdout] --> nvmed/src/nvme/mod.rs:104:8 [INFO] [stdout] | [INFO] [stdout] 104 | fn is_msi(&self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `is_msix` is never used [INFO] [stdout] --> nvmed/src/nvme/mod.rs:111:8 [INFO] [stdout] | [INFO] [stdout] 111 | fn is_msix(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `set_vectors_masked` is never used [INFO] [stdout] --> nvmed/src/nvme/mod.rs:345:12 [INFO] [stdout] | [INFO] [stdout] 345 | pub fn set_vectors_masked(&self, vectors: impl IntoIterator) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `set_vector_masked` is never used [INFO] [stdout] --> nvmed/src/nvme/mod.rs:412:12 [INFO] [stdout] | [INFO] [stdout] 412 | pub fn set_vector_masked(&self, vector: u16, masked: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_features` is never used [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: enum `PendingReq` is never used [INFO] [stdout] --> nvmed/src/nvme/cq_reactor.rs:45:6 [INFO] [stdout] | [INFO] [stdout] 45 | enum PendingReq { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CqReactor` is never constructed [INFO] [stdout] --> nvmed/src/nvme/cq_reactor.rs:58:8 [INFO] [stdout] | [INFO] [stdout] 58 | struct CqReactor { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `start_cq_reactor_thread` is never used [INFO] [stdout] --> nvmed/src/nvme/cq_reactor.rs:263:8 [INFO] [stdout] | [INFO] [stdout] 263 | pub fn start_cq_reactor_thread( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `PendingSubmission` is never constructed [INFO] [stdout] --> nvmed/src/nvme/cq_reactor.rs:290:5 [INFO] [stdout] | [INFO] [stdout] 286 | pub enum CompletionFutureState<'a, F> { [INFO] [stdout] | --------------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 290 | PendingSubmission { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `create_event_queue` is never used [INFO] [stdout] --> nvmed/src/nvme/cq_reactor.rs:67:8 [INFO] [stdout] | [INFO] [stdout] 67 | fn create_event_queue(int_sources: &mut InterruptSources) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> nvmed/src/nvme/cq_reactor.rs:87:8 [INFO] [stdout] | [INFO] [stdout] 87 | fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `handle_notif_reqs_raw` is never used [INFO] [stdout] --> nvmed/src/nvme/cq_reactor.rs:100:8 [INFO] [stdout] | [INFO] [stdout] 100 | fn handle_notif_reqs_raw(pending_reqs: &mut Vec, receiver: &Receiver, block_until_first: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `poll_completion_queues` is never used [INFO] [stdout] --> nvmed/src/nvme/cq_reactor.rs:132:8 [INFO] [stdout] | [INFO] [stdout] 132 | fn poll_completion_queues(&mut self, iv: u16) -> Option<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `finish_pending_completion` is never used [INFO] [stdout] --> nvmed/src/nvme/cq_reactor.rs:172:8 [INFO] [stdout] | [INFO] [stdout] 172 | fn finish_pending_completion(pending_reqs: &mut Vec, req_cq_id: CqId, cq_id: CqId, sq_id: SqId, cmd_id: CmdId, entry: &Nv... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `finish_pending_avail_submission` is never used [INFO] [stdout] --> nvmed/src/nvme/cq_reactor.rs:190:8 [INFO] [stdout] | [INFO] [stdout] 190 | fn finish_pending_avail_submission(pending_reqs: &mut Vec, sq_id: SqId, entry: &NvmeComp, i: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `try_notify_futures` is never used [INFO] [stdout] --> nvmed/src/nvme/cq_reactor.rs:203:8 [INFO] [stdout] | [INFO] [stdout] 203 | fn try_notify_futures(pending_reqs: &mut Vec, cq_id: CqId, entry: &NvmeComp) -> Option<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `run` is never used [INFO] [stdout] --> nvmed/src/nvme/cq_reactor.rs:226:8 [INFO] [stdout] | [INFO] [stdout] 226 | fn run(mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Best`, `Better`, `Good`, and `Degraded` are never constructed [INFO] [stdout] --> nvmed/src/nvme/identify.rs:106:5 [INFO] [stdout] | [INFO] [stdout] 105 | pub enum RelativePerformance { [INFO] [stdout] | ------------------- variants in this enum [INFO] [stdout] 106 | Best = 0b00, [INFO] [stdout] | ^^^^ [INFO] [stdout] 107 | Better, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 108 | Good, [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] [INFO] [stdout] [INFO] [stdout] warning: associated function `has_metadata_after_data` is never used [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: associated function `relative_performance` is never used [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_available` is never used [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 `metadata_size` is never used [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 `complete_spin` is never used [INFO] [stdout] --> nvmed/src/nvme/queues.rs:89:8 [INFO] [stdout] | [INFO] [stdout] 89 | fn complete_spin(&mut self, cmd_opt: Option<(u16, NvmeCmd)>) -> (u16, NvmeComp) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `is_empty` is never used [INFO] [stdout] --> nvmed/src/nvme/queues.rs:117:12 [INFO] [stdout] | [INFO] [stdout] 117 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `bar_size` is never read [INFO] [stdout] --> nvmed/src/main.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct Bar { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 28 | bar_size: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Msi`, `MsiX`, and `Intx` are never constructed [INFO] [stdout] --> nvmed/src/nvme/mod.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 50 | enum IterMut<'a> { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 51 | Msi(BTreeIterMut<'a, u8, File>), [INFO] [stdout] | ^^^ [INFO] [stdout] 52 | MsiX(BTreeIterMut<'a, u16, File>), [INFO] [stdout] | ^^^^ [INFO] [stdout] 53 | Intx(Once<&'a mut File>), [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `nssr`, `cmbloc`, and `cmbsz` are never read [INFO] [stdout] --> nvmed/src/nvme/mod.rs:143:5 [INFO] [stdout] | [INFO] [stdout] 127 | pub struct NvmeRegs { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 143 | nssr: Mmio, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 151 | cmbloc: Mmio, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 152 | /// Controller memory buffer size [INFO] [stdout] 153 | cmbsz: Mmio, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `AtomicCmdId` is never used [INFO] [stdout] --> nvmed/src/nvme/mod.rs:168:10 [INFO] [stdout] | [INFO] [stdout] 168 | pub type AtomicCmdId = AtomicU16; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `pcid_interface`, `next_sqid`, `next_cqid`, and `next_avail_submission_epoch` are never read [INFO] [stdout] --> nvmed/src/nvme/mod.rs:172:5 [INFO] [stdout] | [INFO] [stdout] 170 | pub struct Nvme { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 171 | interrupt_method: Mutex, [INFO] [stdout] 172 | pcid_interface: Mutex, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 186 | next_sqid: AtomicSqId, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 187 | next_cqid: AtomicCqId, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 188 | [INFO] [stdout] 189 | next_avail_submission_epoch: AtomicU64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `FullSqHandling` is never used [INFO] [stdout] --> nvmed/src/nvme/mod.rs:195:10 [INFO] [stdout] | [INFO] [stdout] 195 | pub enum FullSqHandling { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `iter_mut` is never used [INFO] [stdout] --> nvmed/src/nvme/mod.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn iter_mut(&mut self) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `is_intx` is never used [INFO] [stdout] --> nvmed/src/nvme/mod.rs:97:8 [INFO] [stdout] | [INFO] [stdout] 97 | fn is_intx(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `is_msi` is never used [INFO] [stdout] --> nvmed/src/nvme/mod.rs:104:8 [INFO] [stdout] | [INFO] [stdout] 104 | fn is_msi(&self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `is_msix` is never used [INFO] [stdout] --> nvmed/src/nvme/mod.rs:111:8 [INFO] [stdout] | [INFO] [stdout] 111 | fn is_msix(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `set_vectors_masked` is never used [INFO] [stdout] --> nvmed/src/nvme/mod.rs:345:12 [INFO] [stdout] | [INFO] [stdout] 345 | pub fn set_vectors_masked(&self, vectors: impl IntoIterator) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `set_vector_masked` is never used [INFO] [stdout] --> nvmed/src/nvme/mod.rs:412:12 [INFO] [stdout] | [INFO] [stdout] 412 | pub fn set_vector_masked(&self, vector: u16, masked: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_features` is never used [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: enum `PendingReq` is never used [INFO] [stdout] --> nvmed/src/nvme/cq_reactor.rs:45:6 [INFO] [stdout] | [INFO] [stdout] 45 | enum PendingReq { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CqReactor` is never constructed [INFO] [stdout] --> nvmed/src/nvme/cq_reactor.rs:58:8 [INFO] [stdout] | [INFO] [stdout] 58 | struct CqReactor { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `start_cq_reactor_thread` is never used [INFO] [stdout] --> nvmed/src/nvme/cq_reactor.rs:263:8 [INFO] [stdout] | [INFO] [stdout] 263 | pub fn start_cq_reactor_thread( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `PendingSubmission` is never constructed [INFO] [stdout] --> nvmed/src/nvme/cq_reactor.rs:290:5 [INFO] [stdout] | [INFO] [stdout] 286 | pub enum CompletionFutureState<'a, F> { [INFO] [stdout] | --------------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 290 | PendingSubmission { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `create_event_queue` is never used [INFO] [stdout] --> nvmed/src/nvme/cq_reactor.rs:67:8 [INFO] [stdout] | [INFO] [stdout] 67 | fn create_event_queue(int_sources: &mut InterruptSources) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> nvmed/src/nvme/cq_reactor.rs:87:8 [INFO] [stdout] | [INFO] [stdout] 87 | fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `handle_notif_reqs_raw` is never used [INFO] [stdout] --> nvmed/src/nvme/cq_reactor.rs:100:8 [INFO] [stdout] | [INFO] [stdout] 100 | fn handle_notif_reqs_raw(pending_reqs: &mut Vec, receiver: &Receiver, block_until_first: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `poll_completion_queues` is never used [INFO] [stdout] --> nvmed/src/nvme/cq_reactor.rs:132:8 [INFO] [stdout] | [INFO] [stdout] 132 | fn poll_completion_queues(&mut self, iv: u16) -> Option<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `finish_pending_completion` is never used [INFO] [stdout] --> nvmed/src/nvme/cq_reactor.rs:172:8 [INFO] [stdout] | [INFO] [stdout] 172 | fn finish_pending_completion(pending_reqs: &mut Vec, req_cq_id: CqId, cq_id: CqId, sq_id: SqId, cmd_id: CmdId, entry: &Nv... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `finish_pending_avail_submission` is never used [INFO] [stdout] --> nvmed/src/nvme/cq_reactor.rs:190:8 [INFO] [stdout] | [INFO] [stdout] 190 | fn finish_pending_avail_submission(pending_reqs: &mut Vec, sq_id: SqId, entry: &NvmeComp, i: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `try_notify_futures` is never used [INFO] [stdout] --> nvmed/src/nvme/cq_reactor.rs:203:8 [INFO] [stdout] | [INFO] [stdout] 203 | fn try_notify_futures(pending_reqs: &mut Vec, cq_id: CqId, entry: &NvmeComp) -> Option<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `run` is never used [INFO] [stdout] --> nvmed/src/nvme/cq_reactor.rs:226:8 [INFO] [stdout] | [INFO] [stdout] 226 | fn run(mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Best`, `Better`, `Good`, and `Degraded` are never constructed [INFO] [stdout] --> nvmed/src/nvme/identify.rs:106:5 [INFO] [stdout] | [INFO] [stdout] 105 | pub enum RelativePerformance { [INFO] [stdout] | ------------------- variants in this enum [INFO] [stdout] 106 | Best = 0b00, [INFO] [stdout] | ^^^^ [INFO] [stdout] 107 | Better, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 108 | Good, [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] [INFO] [stdout] [INFO] [stdout] warning: associated function `has_metadata_after_data` is never used [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: associated function `relative_performance` is never used [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_available` is never used [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 `metadata_size` is never used [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 `complete_spin` is never used [INFO] [stdout] --> nvmed/src/nvme/queues.rs:89:8 [INFO] [stdout] | [INFO] [stdout] 89 | fn complete_spin(&mut self, cmd_opt: Option<(u16, NvmeCmd)>) -> (u16, NvmeComp) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `is_empty` is never used [INFO] [stdout] --> nvmed/src/nvme/queues.rs:117:12 [INFO] [stdout] | [INFO] [stdout] 117 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 52 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 52 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Notification`, `Rsvd2`, and `Rsvd3` are never constructed [INFO] [stdout] --> xhcid/src/driver_interface.rs:169:13 [INFO] [stdout] | [INFO] [stdout] 167 | enum InterruptUsageBits { [INFO] [stdout] | ------------------ variants in this enum [INFO] [stdout] 168 | Periodic, [INFO] [stdout] 169 | Notification, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 170 | Rsvd2, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 171 | Rsvd3, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `inner` is never read [INFO] [stdout] --> xhcid/src/driver_interface.rs:705:5 [INFO] [stdout] | [INFO] [stdout] 704 | pub struct TransferWriteStream<'a> { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 705 | inner: TransferStream<'a>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `inner` is never read [INFO] [stdout] --> xhcid/src/driver_interface.rs:708:5 [INFO] [stdout] | [INFO] [stdout] 707 | pub struct TransferReadStream<'a> { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] 708 | inner: TransferStream<'a>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `bytes_to_transfer`, `bytes_transferred`, `bytes_per_transfer`, and `endp_handle` are never read [INFO] [stdout] --> xhcid/src/driver_interface.rs:711:5 [INFO] [stdout] | [INFO] [stdout] 710 | struct TransferStream<'a> { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 711 | bytes_to_transfer: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 712 | bytes_transferred: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 713 | bytes_per_transfer: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 714 | endp_handle: &'a mut XhciEndpHandle, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> xhcid/src/usb/mod.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum DescriptorKind { [INFO] [stdout] | -------------- variants in this enum [INFO] [stdout] 14 | None, [INFO] [stdout] | ^^^^ [INFO] [stdout] 15 | Device, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 16 | Configuration, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 17 | String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 18 | Interface, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 19 | Endpoint, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 20 | DeviceQualifier, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 21 | OtherSpeedConfiguration, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 22 | InterfacePower, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 23 | OnTheGo, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 24 | BinaryObjectStorage = 15, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 25 | Hid = 33, [INFO] [stdout] | ^^^ [INFO] [stdout] 26 | SuperSpeedCompanion = 48, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DescriptorKind` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bos_capability_descs` is never used [INFO] [stdout] --> xhcid/src/usb/bos.rs:176:8 [INFO] [stdout] | [INFO] [stdout] 176 | pub fn bos_capability_descs<'a>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `ssac` is never used [INFO] [stdout] --> xhcid/src/usb/bos.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn ssac(&self) -> u8 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `sublink_speed_attr` is never used [INFO] [stdout] --> xhcid/src/usb/bos.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn sublink_speed_attr(&self) -> &[u32] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `is_superspeed` is never used [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_superspeedplus` is never used [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: associated function `minor_usb_vers` is never used [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 `major_usb_vers` is never used [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 `ty` is never used [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 `Reserved` is never constructed [INFO] [stdout] --> xhcid/src/usb/setup.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 29 | pub enum ReqType { [INFO] [stdout] | ------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 41 | Reserved = 3, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `USB_SETUP_DIR_BIT` is never used [INFO] [stdout] --> xhcid/src/usb/setup.rs:74:11 [INFO] [stdout] | [INFO] [stdout] 74 | pub const USB_SETUP_DIR_BIT: u8 = 1 << 7; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `USB_SETUP_DIR_SHIFT` is never used [INFO] [stdout] --> xhcid/src/usb/setup.rs:75:11 [INFO] [stdout] | [INFO] [stdout] 75 | pub const USB_SETUP_DIR_SHIFT: u8 = 7; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `USB_SETUP_REQ_TY_MASK` is never used [INFO] [stdout] --> xhcid/src/usb/setup.rs:76:11 [INFO] [stdout] | [INFO] [stdout] 76 | pub const USB_SETUP_REQ_TY_MASK: u8 = 0x60; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `USB_SETUP_REQ_TY_SHIFT` is never used [INFO] [stdout] --> xhcid/src/usb/setup.rs:77:11 [INFO] [stdout] | [INFO] [stdout] 77 | pub const USB_SETUP_REQ_TY_SHIFT: u8 = 5; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `USB_SETUP_RECIPIENT_MASK` is never used [INFO] [stdout] --> xhcid/src/usb/setup.rs:78:11 [INFO] [stdout] | [INFO] [stdout] 78 | pub const USB_SETUP_RECIPIENT_MASK: u8 = 0x1F; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `USB_SETUP_RECIPIENT_SHIFT` is never used [INFO] [stdout] --> xhcid/src/usb/setup.rs:79:11 [INFO] [stdout] | [INFO] [stdout] 79 | pub const USB_SETUP_RECIPIENT_SHIFT: u8 = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `direction` is never used [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 `req_ty` is never used [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 `req_recipient` is never used [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_allowed_from_api` is never used [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 `get_status` is never used [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 `clear_feature` is never used [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 `set_feature` is never used [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 `set_address` is never used [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 `get_descriptor` is never used [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 `set_descriptor` is never used [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 `get_configuration` is never used [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 `set_configuration` is never used [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 `set_interface` is never used [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: variants `Notification`, `Rsvd2`, and `Rsvd3` are never constructed [INFO] [stdout] --> xhcid/src/driver_interface.rs:169:13 [INFO] [stdout] | [INFO] [stdout] 167 | enum InterruptUsageBits { [INFO] [stdout] | ------------------ variants in this enum [INFO] [stdout] 168 | Periodic, [INFO] [stdout] 169 | Notification, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 170 | Rsvd2, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 171 | Rsvd3, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `inner` is never read [INFO] [stdout] --> xhcid/src/driver_interface.rs:705:5 [INFO] [stdout] | [INFO] [stdout] 704 | pub struct TransferWriteStream<'a> { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 705 | inner: TransferStream<'a>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `inner` is never read [INFO] [stdout] --> xhcid/src/driver_interface.rs:708:5 [INFO] [stdout] | [INFO] [stdout] 707 | pub struct TransferReadStream<'a> { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] 708 | inner: TransferStream<'a>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `bytes_to_transfer`, `bytes_transferred`, `bytes_per_transfer`, and `endp_handle` are never read [INFO] [stdout] --> xhcid/src/driver_interface.rs:711:5 [INFO] [stdout] | [INFO] [stdout] 710 | struct TransferStream<'a> { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 711 | bytes_to_transfer: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 712 | bytes_transferred: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 713 | bytes_per_transfer: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 714 | endp_handle: &'a mut XhciEndpHandle, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> xhcid/src/usb/mod.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum DescriptorKind { [INFO] [stdout] | -------------- variants in this enum [INFO] [stdout] 14 | None, [INFO] [stdout] | ^^^^ [INFO] [stdout] 15 | Device, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 16 | Configuration, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 17 | String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 18 | Interface, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 19 | Endpoint, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 20 | DeviceQualifier, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 21 | OtherSpeedConfiguration, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 22 | InterfacePower, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 23 | OnTheGo, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 24 | BinaryObjectStorage = 15, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 25 | Hid = 33, [INFO] [stdout] | ^^^ [INFO] [stdout] 26 | SuperSpeedCompanion = 48, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DescriptorKind` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bos_capability_descs` is never used [INFO] [stdout] --> xhcid/src/usb/bos.rs:176:8 [INFO] [stdout] | [INFO] [stdout] 176 | pub fn bos_capability_descs<'a>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `ssac` is never used [INFO] [stdout] --> xhcid/src/usb/bos.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn ssac(&self) -> u8 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `sublink_speed_attr` is never used [INFO] [stdout] --> xhcid/src/usb/bos.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn sublink_speed_attr(&self) -> &[u32] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `is_superspeed` is never used [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_superspeedplus` is never used [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: associated function `minor_usb_vers` is never used [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 `major_usb_vers` is never used [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 `ty` is never used [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 `Reserved` is never constructed [INFO] [stdout] --> xhcid/src/usb/setup.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 29 | pub enum ReqType { [INFO] [stdout] | ------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 41 | Reserved = 3, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `USB_SETUP_DIR_BIT` is never used [INFO] [stdout] --> xhcid/src/usb/setup.rs:74:11 [INFO] [stdout] | [INFO] [stdout] 74 | pub const USB_SETUP_DIR_BIT: u8 = 1 << 7; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `USB_SETUP_DIR_SHIFT` is never used [INFO] [stdout] --> xhcid/src/usb/setup.rs:75:11 [INFO] [stdout] | [INFO] [stdout] 75 | pub const USB_SETUP_DIR_SHIFT: u8 = 7; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `USB_SETUP_REQ_TY_MASK` is never used [INFO] [stdout] --> xhcid/src/usb/setup.rs:76:11 [INFO] [stdout] | [INFO] [stdout] 76 | pub const USB_SETUP_REQ_TY_MASK: u8 = 0x60; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `USB_SETUP_REQ_TY_SHIFT` is never used [INFO] [stdout] --> xhcid/src/usb/setup.rs:77:11 [INFO] [stdout] | [INFO] [stdout] 77 | pub const USB_SETUP_REQ_TY_SHIFT: u8 = 5; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `USB_SETUP_RECIPIENT_MASK` is never used [INFO] [stdout] --> xhcid/src/usb/setup.rs:78:11 [INFO] [stdout] | [INFO] [stdout] 78 | pub const USB_SETUP_RECIPIENT_MASK: u8 = 0x1F; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `USB_SETUP_RECIPIENT_SHIFT` is never used [INFO] [stdout] --> xhcid/src/usb/setup.rs:79:11 [INFO] [stdout] | [INFO] [stdout] 79 | pub const USB_SETUP_RECIPIENT_SHIFT: u8 = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `direction` is never used [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 `req_ty` is never used [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 `req_recipient` is never used [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_allowed_from_api` is never used [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 `get_status` is never used [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 `clear_feature` is never used [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 `set_feature` is never used [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 `set_address` is never used [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 `get_descriptor` is never used [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 `set_descriptor` is never used [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 `get_configuration` is never used [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 `set_configuration` is never used [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 `set_interface` is never used [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: 33 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 33 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking usbscsid v0.1.0 (/opt/rustwide/workdir/usbscsid) [INFO] [stderr] Checking usbctl v0.1.0 (/opt/rustwide/workdir/usbctl) [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:524:26 [INFO] [stdout] | [INFO] [stdout] 524 | 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:532:26 [INFO] [stdout] | [INFO] [stdout] 532 | 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: aborting due to 2 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [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; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] 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:524:26 [INFO] [stdout] | [INFO] [stdout] 524 | 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:532:26 [INFO] [stdout] | [INFO] [stdout] 532 | 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: 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] error: aborting due to 2 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [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; 1 warning emitted [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] = note: `#[warn(unused_variables)]` on by default [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] [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: `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:176:13 [INFO] [stdout] | [INFO] [stdout] 176 | '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 import: `info` [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 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 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: `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: `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 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 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 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] = note: `#[warn(unused_variables)]` on by default [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] [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: `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: `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:176:13 [INFO] [stdout] | [INFO] [stdout] 176 | '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 import: `info` [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: field `max_lun` is never read [INFO] [stdout] --> usbscsid/src/protocol/bot.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 85 | pub struct BulkOnlyTransport<'a> { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 91 | max_lun: u8, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `REPORT_SUPP_OPCODES_CMD_LEN` is never used [INFO] [stdout] --> usbscsid/src/scsi/mod.rs:23:7 [INFO] [stdout] | [INFO] [stdout] 23 | const REPORT_SUPP_OPCODES_CMD_LEN: u8 = 12; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MIN_REPORT_SUPP_OPCODES_ALLOC_LEN` is never used [INFO] [stdout] --> usbscsid/src/scsi/mod.rs:26:7 [INFO] [stdout] | [INFO] [stdout] 26 | const MIN_REPORT_SUPP_OPCODES_ALLOC_LEN: u32 = 4; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `obsolete_lba` is never read [INFO] [stdout] --> usbscsid/src/scsi/cmds.rs:424:5 [INFO] [stdout] | [INFO] [stdout] 421 | pub struct ReadCapacity10 { [INFO] [stdout] | -------------- field in this struct [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] [INFO] [stdout] [INFO] [stdout] warning: field `max_lun` is never read [INFO] [stdout] --> usbscsid/src/protocol/bot.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 85 | pub struct BulkOnlyTransport<'a> { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 91 | max_lun: u8, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `REPORT_SUPP_OPCODES_CMD_LEN` is never used [INFO] [stdout] --> usbscsid/src/scsi/mod.rs:23:7 [INFO] [stdout] | [INFO] [stdout] 23 | const REPORT_SUPP_OPCODES_CMD_LEN: u8 = 12; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MIN_REPORT_SUPP_OPCODES_ALLOC_LEN` is never used [INFO] [stdout] --> usbscsid/src/scsi/mod.rs:26:7 [INFO] [stdout] | [INFO] [stdout] 26 | const MIN_REPORT_SUPP_OPCODES_ALLOC_LEN: u32 = 4; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `obsolete_lba` is never read [INFO] [stdout] --> usbscsid/src/scsi/cmds.rs:424:5 [INFO] [stdout] | [INFO] [stdout] 421 | pub struct ReadCapacity10 { [INFO] [stdout] | -------------- field in this struct [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] [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: variable does not need to be mutable [INFO] [stdout] --> xhcid/src/xhci/scheme.rs:260:17 [INFO] [stdout] | [INFO] [stdout] 260 | let mut int = &mut run.ints[0]; [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/scheme.rs:260:17 [INFO] [stdout] | [INFO] [stdout] 260 | let mut int = &mut run.ints[0]; [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:543:21 [INFO] [stdout] | [INFO] [stdout] 543 | 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] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> xhcid/src/xhci/mod.rs:543:21 [INFO] [stdout] | [INFO] [stdout] 543 | 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] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> xhcid/src/xhci/mod.rs:548:21 [INFO] [stdout] | [INFO] [stdout] 548 | 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:548:21 [INFO] [stdout] | [INFO] [stdout] 548 | 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:569:25 [INFO] [stdout] | [INFO] [stdout] 569 | 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:569:25 [INFO] [stdout] | [INFO] [stdout] 569 | 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:627:13 [INFO] [stdout] | [INFO] [stdout] 627 | 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/mod.rs:627:13 [INFO] [stdout] | [INFO] [stdout] 627 | 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:307:17 [INFO] [stdout] | [INFO] [stdout] 307 | 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:307:17 [INFO] [stdout] | [INFO] [stdout] 307 | 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:917:13 [INFO] [stdout] | [INFO] [stdout] 917 | 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:917:13 [INFO] [stdout] | [INFO] [stdout] 917 | 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:1764:13 [INFO] [stdout] | [INFO] [stdout] 1764 | 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:1764:13 [INFO] [stdout] | [INFO] [stdout] 1764 | 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:1957:13 [INFO] [stdout] | [INFO] [stdout] 1957 | 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:1957:13 [INFO] [stdout] | [INFO] [stdout] 1957 | 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:1980:21 [INFO] [stdout] | [INFO] [stdout] 1980 | 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:1980:21 [INFO] [stdout] | [INFO] [stdout] 1980 | 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:2048:13 [INFO] [stdout] | [INFO] [stdout] 2048 | 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:2048:13 [INFO] [stdout] | [INFO] [stdout] 2048 | 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:2078:21 [INFO] [stdout] | [INFO] [stdout] 2078 | let mut ep_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:2078:21 [INFO] [stdout] | [INFO] [stdout] 2078 | let mut ep_state = port_state [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:1929:13 [INFO] [stdout] | [INFO] [stdout] 1929 | other => { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> xhcid/src/xhci/scheme.rs:1929:13 [INFO] [stdout] | [INFO] [stdout] 1929 | other => { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> xhcid/src/xhci/scheme.rs:297:9 [INFO] [stdout] | [INFO] [stdout] 297 | name: &str, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> xhcid/src/xhci/scheme.rs:366:9 [INFO] [stdout] | [INFO] [stdout] 366 | 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:912:9 [INFO] [stdout] | [INFO] [stdout] 912 | 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:1195:32 [INFO] [stdout] | [INFO] [stdout] 1195 | 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:1885:17 [INFO] [stdout] | [INFO] [stdout] 1885 | 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:1891:17 [INFO] [stdout] | [INFO] [stdout] 1891 | 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:1925:17 [INFO] [stdout] | [INFO] [stdout] 1925 | 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:1929:13 [INFO] [stdout] | [INFO] [stdout] 1929 | other => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `slot_id` [INFO] [stdout] --> xhcid/src/xhci/mod.rs:590:9 [INFO] [stdout] | [INFO] [stdout] 590 | slot_id: u8, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_slot_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `slot_ty` [INFO] [stdout] --> xhcid/src/xhci/mod.rs:623:9 [INFO] [stdout] | [INFO] [stdout] 623 | 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:297:9 [INFO] [stdout] | [INFO] [stdout] 297 | name: &str, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> xhcid/src/xhci/scheme.rs:366:9 [INFO] [stdout] | [INFO] [stdout] 366 | name: &str, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hci` [INFO] [stdout] --> xhcid/src/main.rs:36:24 [INFO] [stdout] | [INFO] [stdout] 36 | 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] [INFO] [stdout] warning: unused variable: `packet` [INFO] [stdout] --> xhcid/src/main.rs:36:40 [INFO] [stdout] | [INFO] [stdout] 36 | 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: `name` [INFO] [stdout] --> xhcid/src/main.rs:40:18 [INFO] [stdout] | [INFO] [stdout] 40 | fn setup_logging(name: &str) -> Option<&'static RedoxLogger> { [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:912:9 [INFO] [stdout] | [INFO] [stdout] 912 | direction: PortReqDirection, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `capability` [INFO] [stdout] --> xhcid/src/main.rs:120:17 [INFO] [stdout] | [INFO] [stdout] 120 | ... let mut capability = match pcid_handle.feature_info(PciFeature::Msi).expect("xhcid: failed to retrieve the MSI capability structure... [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:300:9 [INFO] [stdout] | [INFO] [stdout] 300 | 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: `port_num` [INFO] [stdout] --> xhcid/src/xhci/scheme.rs:1195:32 [INFO] [stdout] | [INFO] [stdout] 1195 | 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:1885:17 [INFO] [stdout] | [INFO] [stdout] 1885 | 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:1891:17 [INFO] [stdout] | [INFO] [stdout] 1891 | 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:1925:17 [INFO] [stdout] | [INFO] [stdout] 1925 | 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:1929:13 [INFO] [stdout] | [INFO] [stdout] 1929 | other => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `slot_id` [INFO] [stdout] --> xhcid/src/xhci/mod.rs:590:9 [INFO] [stdout] | [INFO] [stdout] 590 | slot_id: u8, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_slot_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `slot_ty` [INFO] [stdout] --> xhcid/src/xhci/mod.rs:623:9 [INFO] [stdout] | [INFO] [stdout] 623 | 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: `hci` [INFO] [stdout] --> xhcid/src/main.rs:36:24 [INFO] [stdout] | [INFO] [stdout] 36 | 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] [INFO] [stdout] warning: unused variable: `packet` [INFO] [stdout] --> xhcid/src/main.rs:36:40 [INFO] [stdout] | [INFO] [stdout] 36 | 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: `name` [INFO] [stdout] --> xhcid/src/main.rs:40:18 [INFO] [stdout] | [INFO] [stdout] 40 | fn setup_logging(name: &str) -> Option<&'static RedoxLogger> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `capability` [INFO] [stdout] --> xhcid/src/main.rs:120:17 [INFO] [stdout] | [INFO] [stdout] 120 | ... let mut capability = match pcid_handle.feature_info(PciFeature::Msi).expect("xhcid: failed to retrieve the MSI capability structure... [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:300:9 [INFO] [stdout] | [INFO] [stdout] 300 | 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: variable does not need to be mutable [INFO] [stdout] --> xhcid/src/xhci/irq_reactor.rs:340:16 [INFO] [stdout] | [INFO] [stdout] 340 | 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:340:16 [INFO] [stdout] | [INFO] [stdout] 340 | 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:438:13 [INFO] [stdout] | [INFO] [stdout] 438 | 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/irq_reactor.rs:438:13 [INFO] [stdout] | [INFO] [stdout] 438 | 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:1485:13 [INFO] [stdout] | [INFO] [stdout] 1485 | 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/xhci/scheme.rs:1485:13 [INFO] [stdout] | [INFO] [stdout] 1485 | 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:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | 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:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | 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:120:13 [INFO] [stdout] | [INFO] [stdout] 120 | ... let mut capability = match pcid_handle.feature_info(PciFeature::Msi).expect("xhcid: failed to retrieve the MSI capability structure... [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:120:13 [INFO] [stdout] | [INFO] [stdout] 120 | ... let mut capability = match pcid_handle.feature_info(PciFeature::Msi).expect("xhcid: failed to retrieve the MSI capability structure... [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:271:10 [INFO] [stdout] | [INFO] [stdout] 271 | let (mut irq_file, interrupt_method) = get_int_method(&mut pcid_handle, address); [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:271:10 [INFO] [stdout] | [INFO] [stdout] 271 | let (mut irq_file, interrupt_method) = get_int_method(&mut pcid_handle, address); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_packet` is never used [INFO] [stdout] --> xhcid/src/main.rs:36:10 [INFO] [stdout] | [INFO] [stdout] 36 | 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: variants `Notification`, `Rsvd2`, and `Rsvd3` are never constructed [INFO] [stdout] --> xhcid/src/driver_interface.rs:169:13 [INFO] [stdout] | [INFO] [stdout] 167 | enum InterruptUsageBits { [INFO] [stdout] | ------------------ variants in this enum [INFO] [stdout] 168 | Periodic, [INFO] [stdout] 169 | Notification, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 170 | Rsvd2, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 171 | Rsvd3, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `inner` is never read [INFO] [stdout] --> xhcid/src/driver_interface.rs:705:5 [INFO] [stdout] | [INFO] [stdout] 704 | pub struct TransferWriteStream<'a> { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 705 | inner: TransferStream<'a>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `inner` is never read [INFO] [stdout] --> xhcid/src/driver_interface.rs:708:5 [INFO] [stdout] | [INFO] [stdout] 707 | pub struct TransferReadStream<'a> { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] 708 | inner: TransferStream<'a>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `bytes_to_transfer`, `bytes_transferred`, `bytes_per_transfer`, and `endp_handle` are never read [INFO] [stdout] --> xhcid/src/driver_interface.rs:711:5 [INFO] [stdout] | [INFO] [stdout] 710 | struct TransferStream<'a> { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 711 | bytes_to_transfer: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 712 | bytes_transferred: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 713 | bytes_per_transfer: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 714 | endp_handle: &'a mut XhciEndpHandle, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> xhcid/src/usb/mod.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum DescriptorKind { [INFO] [stdout] | -------------- variants in this enum [INFO] [stdout] 14 | None, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | Interface, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 19 | Endpoint, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 20 | DeviceQualifier, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 21 | OtherSpeedConfiguration, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 22 | InterfacePower, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 23 | OnTheGo, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 24 | BinaryObjectStorage = 15, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 25 | Hid = 33, [INFO] [stdout] | ^^^ [INFO] [stdout] 26 | SuperSpeedCompanion = 48, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DescriptorKind` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bos_capability_descs` is never used [INFO] [stdout] --> xhcid/src/usb/bos.rs:176:8 [INFO] [stdout] | [INFO] [stdout] 176 | pub fn bos_capability_descs<'a>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `ssac` is never used [INFO] [stdout] --> xhcid/src/usb/bos.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn ssac(&self) -> u8 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `sublink_speed_attr` is never used [INFO] [stdout] --> xhcid/src/usb/bos.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn sublink_speed_attr(&self) -> &[u32] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `is_superspeed` is never used [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_superspeedplus` is never used [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: associated function `minor_usb_vers` is never used [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 `major_usb_vers` is never used [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 `ty` is never used [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 `Reserved` is never constructed [INFO] [stdout] --> xhcid/src/usb/setup.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 29 | pub enum ReqType { [INFO] [stdout] | ------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 41 | Reserved = 3, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `USB_SETUP_DIR_BIT` is never used [INFO] [stdout] --> xhcid/src/usb/setup.rs:74:11 [INFO] [stdout] | [INFO] [stdout] 74 | pub const USB_SETUP_DIR_BIT: u8 = 1 << 7; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `USB_SETUP_REQ_TY_MASK` is never used [INFO] [stdout] --> xhcid/src/usb/setup.rs:76:11 [INFO] [stdout] | [INFO] [stdout] 76 | pub const USB_SETUP_REQ_TY_MASK: u8 = 0x60; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `USB_SETUP_RECIPIENT_MASK` is never used [INFO] [stdout] --> xhcid/src/usb/setup.rs:78:11 [INFO] [stdout] | [INFO] [stdout] 78 | pub const USB_SETUP_RECIPIENT_MASK: u8 = 0x1F; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `direction` is never used [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 `req_ty` is never used [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 `req_recipient` is never used [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_allowed_from_api` is never used [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 `get_status` is never used [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 `clear_feature` is never used [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 `set_feature` is never used [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: function `handle_packet` is never used [INFO] [stdout] --> xhcid/src/main.rs:36:10 [INFO] [stdout] | [INFO] [stdout] 36 | 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: associated function `set_address` is never used [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 `set_descriptor` is never used [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: variants `Notification`, `Rsvd2`, and `Rsvd3` are never constructed [INFO] [stdout] --> xhcid/src/driver_interface.rs:169:13 [INFO] [stdout] | [INFO] [stdout] 167 | enum InterruptUsageBits { [INFO] [stdout] | ------------------ variants in this enum [INFO] [stdout] 168 | Periodic, [INFO] [stdout] 169 | Notification, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 170 | Rsvd2, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 171 | Rsvd3, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_configuration` is never used [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: field `inner` is never read [INFO] [stdout] --> xhcid/src/driver_interface.rs:705:5 [INFO] [stdout] | [INFO] [stdout] 704 | pub struct TransferWriteStream<'a> { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 705 | inner: TransferStream<'a>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pcid_handle` is never read [INFO] [stdout] --> xhcid/src/xhci/mod.rs:203:5 [INFO] [stdout] | [INFO] [stdout] 174 | pub struct Xhci { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 203 | pcid_handle: Mutex, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `inner` is never read [INFO] [stdout] --> xhcid/src/driver_interface.rs:708:5 [INFO] [stdout] | [INFO] [stdout] 707 | pub struct TransferReadStream<'a> { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] 708 | inner: TransferStream<'a>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `pba_pointer_unchecked` is never used [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 `pba_pointer` is never used [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 `pba` is never used [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: fields `bytes_to_transfer`, `bytes_transferred`, `bytes_per_transfer`, and `endp_handle` are never read [INFO] [stdout] --> xhcid/src/driver_interface.rs:711:5 [INFO] [stdout] | [INFO] [stdout] 710 | struct TransferStream<'a> { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 711 | bytes_to_transfer: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 712 | bytes_transferred: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 713 | bytes_per_transfer: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 714 | endp_handle: &'a mut XhciEndpHandle, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `fetch_bos_desc` is never used [INFO] [stdout] --> xhcid/src/xhci/mod.rs:155:14 [INFO] [stdout] | [INFO] [stdout] 155 | async fn fetch_bos_desc(&self, port: usize, slot: u8) -> Result<(usb::BosDescriptor, [u8; 4087])> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `disable_port_slot` is never used [INFO] [stdout] --> xhcid/src/xhci/mod.rs:475:18 [INFO] [stdout] | [INFO] [stdout] 475 | pub async fn disable_port_slot(&self, slot: u8) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `msix_info` is never used [INFO] [stdout] --> xhcid/src/xhci/mod.rs:729:12 [INFO] [stdout] | [INFO] [stdout] 729 | pub fn msix_info(&self) -> Option> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `msix_info_mut` is never used [INFO] [stdout] --> xhcid/src/xhci/mod.rs:735:12 [INFO] [stdout] | [INFO] [stdout] 735 | pub fn msix_info_mut(&self) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `HCS_PARAMS1_MAX_SLOTS_SHIFT` is never used [INFO] [stdout] --> xhcid/src/xhci/capability.rs:30:11 [INFO] [stdout] | [INFO] [stdout] 30 | pub const HCS_PARAMS1_MAX_SLOTS_SHIFT: u8 = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> xhcid/src/usb/mod.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum DescriptorKind { [INFO] [stdout] | -------------- variants in this enum [INFO] [stdout] 14 | None, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | Interface, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 19 | Endpoint, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 20 | DeviceQualifier, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 21 | OtherSpeedConfiguration, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 22 | InterfacePower, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 23 | OnTheGo, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 24 | BinaryObjectStorage = 15, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 25 | Hid = 33, [INFO] [stdout] | ^^^ [INFO] [stdout] 26 | SuperSpeedCompanion = 48, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DescriptorKind` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `HCS_PARAMS2_SPR_BIT` is never used [INFO] [stdout] --> xhcid/src/xhci/capability.rs:34:11 [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: function `bos_capability_descs` is never used [INFO] [stdout] --> xhcid/src/usb/bos.rs:176:8 [INFO] [stdout] | [INFO] [stdout] 176 | pub fn bos_capability_descs<'a>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `HCS_PARAMS2_SPR_SHIFT` is never used [INFO] [stdout] --> xhcid/src/xhci/capability.rs:35:11 [INFO] [stdout] | [INFO] [stdout] 35 | pub const HCS_PARAMS2_SPR_SHIFT: u8 = 26; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `ssac` is never used [INFO] [stdout] --> xhcid/src/usb/bos.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn ssac(&self) -> u8 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `spr` is never used [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: associated function `sublink_speed_attr` is never used [INFO] [stdout] --> xhcid/src/usb/bos.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn sublink_speed_attr(&self) -> &[u32] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `is_superspeed` is never used [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: variants `EnabledOrDisabled`, `Default`, and `Addressed` are never constructed [INFO] [stdout] --> xhcid/src/xhci/context.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 29 | pub enum SlotState { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 30 | EnabledOrDisabled = 0, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 31 | Default = 1, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 32 | Addressed = 2, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `is_superspeedplus` is never used [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: fields `edtla` and `rsvd` are never read [INFO] [stdout] --> xhcid/src/xhci/context.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 107 | pub struct StreamContext { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 110 | edtla: Mmio, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 111 | rsvd: Mmio, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `minor_usb_vers` is never used [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 `major_usb_vers` is never used [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: multiple variants are never constructed [INFO] [stdout] --> xhcid/src/xhci/context.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 117 | pub enum StreamContextType { [INFO] [stdout] | ----------------- variants in this enum [INFO] [stdout] 118 | SecondaryRing, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 119 | PrimaryRing, [INFO] [stdout] 120 | PrimarySsa8, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 121 | PrimarySsa16, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 122 | PrimarySsa32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 123 | PrimarySsa64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 124 | PrimarySsa128, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 125 | PrimarySsa256, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `ty` is never used [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: associated function `dump_control` is never used [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: variant `Reserved` is never constructed [INFO] [stdout] --> xhcid/src/usb/setup.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 29 | pub enum ReqType { [INFO] [stdout] | ------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 41 | Reserved = 3, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `read` is never used [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: constant `USB_SETUP_DIR_BIT` is never used [INFO] [stdout] --> xhcid/src/usb/setup.rs:74:11 [INFO] [stdout] | [INFO] [stdout] 74 | pub const USB_SETUP_DIR_BIT: u8 = 1 << 7; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `next` is never used [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: constant `USB_SETUP_REQ_TY_MASK` is never used [INFO] [stdout] --> xhcid/src/usb/setup.rs:76:11 [INFO] [stdout] | [INFO] [stdout] 76 | pub const USB_SETUP_REQ_TY_MASK: u8 = 0x60; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `USB_SETUP_RECIPIENT_MASK` is never used [INFO] [stdout] --> xhcid/src/usb/setup.rs:78:11 [INFO] [stdout] | [INFO] [stdout] 78 | pub const USB_SETUP_RECIPIENT_MASK: u8 = 0x1F; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `direction` is never used [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 `req_ty` is never used [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: multiple variants are never constructed [INFO] [stdout] --> xhcid/src/xhci/extended.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 39 | pub enum CapabilityId { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 40 | // bit 0 is reserved [INFO] [stdout] 41 | UsbLegacySupport = 1, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 42 | SupportedProtocol, [INFO] [stdout] 43 | ExtendedPowerManagement, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 44 | IoVirtualization, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 45 | MessageInterrupt, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 46 | LocalMem, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 47 | // bits 7-9 are reserved [INFO] [stdout] 48 | UsbDebugCapability = 10, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 49 | // bits 11-16 are reserved [INFO] [stdout] 50 | ExtendedMessageInterrupt = 17, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `req_recipient` is never used [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: variant `Bps` is never constructed [INFO] [stdout] --> xhcid/src/xhci/extended.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 89 | pub enum Psie { [INFO] [stdout] | ---- variant in this enum [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] [INFO] [stdout] [INFO] [stdout] warning: associated function `is_allowed_from_api` is never used [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 `get_status` is never used [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: variants `Reserved`, `AsymmetricRx`, and `AsymmetricTx` are never constructed [INFO] [stdout] --> xhcid/src/xhci/extended.rs:99:5 [INFO] [stdout] | [INFO] [stdout] 97 | pub enum Plt { [INFO] [stdout] | --- variants in this enum [INFO] [stdout] 98 | Symmetric, [INFO] [stdout] 99 | Reserved, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 100 | AsymmetricRx, [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] [INFO] [stdout] [INFO] [stdout] warning: associated function `clear_feature` is never used [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 `set_feature` is never used [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 `set_address` is never used [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 `set_descriptor` is never used [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: variants `Rsvd2` and `Rsvd3` are never constructed [INFO] [stdout] --> xhcid/src/xhci/extended.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 105 | pub enum Lp { [INFO] [stdout] | -- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 108 | Rsvd2, [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] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_configuration` is never used [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 `protocol_speeds_mut` is never used [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: field `pcid_handle` is never read [INFO] [stdout] --> xhcid/src/xhci/mod.rs:203:5 [INFO] [stdout] | [INFO] [stdout] 174 | pub struct Xhci { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 203 | pcid_handle: Mutex, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Other` is never constructed [INFO] [stdout] --> xhcid/src/xhci/irq_reactor.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 67 | pub enum StateKind { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 70 | 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] [INFO] [stdout] [INFO] [stdout] warning: associated function `pba_pointer_unchecked` is never used [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 `trb_type` is never used [INFO] [stdout] --> xhcid/src/xhci/irq_reactor.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn trb_type(&self) -> TrbType { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `with_ring_mut` is never used [INFO] [stdout] --> xhcid/src/xhci/irq_reactor.rs:434:12 [INFO] [stdout] | [INFO] [stdout] 434 | pub fn with_ring_mut T>(&self, id: RingId, function: F) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `next_misc_event_trb` is never used [INFO] [stdout] --> xhcid/src/xhci/irq_reactor.rs:484:12 [INFO] [stdout] | [INFO] [stdout] 484 | 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 `pba_pointer` is never used [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 `iter` is never used [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 `pba` is never used [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: associated function `phys_addr_to_entry_ref` is never used [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 `fetch_bos_desc` is never used [INFO] [stdout] --> xhcid/src/xhci/mod.rs:155:14 [INFO] [stdout] | [INFO] [stdout] 155 | async fn fetch_bos_desc(&self, port: usize, slot: u8) -> Result<(usb::BosDescriptor, [u8; 4087])> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `start_virt_addr` is never used [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 `disable_port_slot` is never used [INFO] [stdout] --> xhcid/src/xhci/mod.rs:475:18 [INFO] [stdout] | [INFO] [stdout] 475 | pub async fn disable_port_slot(&self, slot: u8) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `end_virt_addr` is never used [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: associated function `msix_info` is never used [INFO] [stdout] --> xhcid/src/xhci/mod.rs:729:12 [INFO] [stdout] | [INFO] [stdout] 729 | pub fn msix_info(&self) -> Option> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Ready` and `WaitingForStatusReq` are never constructed [INFO] [stdout] --> xhcid/src/xhci/scheme.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 70 | pub enum PortTransferState { [INFO] [stdout] | ----------------- variants in this enum [INFO] [stdout] 71 | /// Ready to read or write to do another transfer [INFO] [stdout] 72 | Ready, [INFO] [stdout] | ^^^^^ [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] [INFO] [stdout] [INFO] [stdout] warning: associated function `msix_info_mut` is never used [INFO] [stdout] --> xhcid/src/xhci/mod.rs:735:12 [INFO] [stdout] | [INFO] [stdout] 735 | pub fn msix_info_mut(&self) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `port_state` is never used [INFO] [stdout] --> xhcid/src/xhci/scheme.rs:595:8 [INFO] [stdout] | [INFO] [stdout] 595 | fn port_state(&self, port: usize) -> Result> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `HCS_PARAMS1_MAX_SLOTS_SHIFT` is never used [INFO] [stdout] --> xhcid/src/xhci/capability.rs:30:11 [INFO] [stdout] | [INFO] [stdout] 30 | pub const HCS_PARAMS1_MAX_SLOTS_SHIFT: u8 = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `endp_direction` is never used [INFO] [stdout] --> xhcid/src/xhci/scheme.rs:1812:12 [INFO] [stdout] | [INFO] [stdout] 1812 | pub fn endp_direction(&self, port_num: usize, endp_num: u8) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `HCS_PARAMS2_SPR_BIT` is never used [INFO] [stdout] --> xhcid/src/xhci/capability.rs:34:11 [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: associated function `slot` is never used [INFO] [stdout] --> xhcid/src/xhci/scheme.rs:1830:12 [INFO] [stdout] | [INFO] [stdout] 1830 | pub fn slot(&self, port_num: usize) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `HCS_PARAMS2_SPR_SHIFT` is never used [INFO] [stdout] --> xhcid/src/xhci/capability.rs:35:11 [INFO] [stdout] | [INFO] [stdout] 35 | pub const HCS_PARAMS2_SPR_SHIFT: u8 = 26; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `spr` is never used [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: variants `EnabledOrDisabled`, `Default`, and `Addressed` are never constructed [INFO] [stdout] --> xhcid/src/xhci/context.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 29 | pub enum SlotState { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 30 | EnabledOrDisabled = 0, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 31 | Default = 1, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 32 | Addressed = 2, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `edtla` and `rsvd` are never read [INFO] [stdout] --> xhcid/src/xhci/context.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 107 | pub struct StreamContext { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 110 | edtla: Mmio, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 111 | rsvd: Mmio, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> xhcid/src/xhci/trb.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum TrbType { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 18 | EventData, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | Rsv26, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 40 | Rsv27, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 41 | Rsv28, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 42 | Rsv29, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 43 | Rsv30, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 44 | Rsv31, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | PortStatusChange, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 49 | BandwidthRequest, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 50 | Doorbell, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 51 | HostController, [INFO] [stdout] 52 | DeviceNotification, [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] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> xhcid/src/xhci/context.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 117 | pub enum StreamContextType { [INFO] [stdout] | ----------------- variants in this enum [INFO] [stdout] 118 | SecondaryRing, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 119 | PrimaryRing, [INFO] [stdout] 120 | PrimarySsa8, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 121 | PrimarySsa16, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 122 | PrimarySsa32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 123 | PrimarySsa64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 124 | PrimarySsa128, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 125 | PrimarySsa256, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `dump_control` is never used [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: associated function `read` is never used [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 `next` is never used [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: multiple variants are never constructed [INFO] [stdout] --> xhcid/src/xhci/extended.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 39 | pub enum CapabilityId { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 40 | // bit 0 is reserved [INFO] [stdout] 41 | UsbLegacySupport = 1, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 42 | SupportedProtocol, [INFO] [stdout] 43 | ExtendedPowerManagement, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 44 | IoVirtualization, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 45 | MessageInterrupt, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 46 | LocalMem, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 47 | // bits 7-9 are reserved [INFO] [stdout] 48 | UsbDebugCapability = 10, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 49 | // bits 11-16 are reserved [INFO] [stdout] 50 | ExtendedMessageInterrupt = 17, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> xhcid/src/xhci/trb.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 59 | pub enum TrbCompletionCode { [INFO] [stdout] | ----------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 62 | DataBuffer, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 63 | BabbleDetected, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 64 | UsbTransaction, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 65 | Trb, [INFO] [stdout] | ^^^ [INFO] [stdout] 66 | Stall, [INFO] [stdout] 67 | Resource, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 68 | Bandwidth, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 69 | NoSlotsAvailable, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 70 | InvalidStreamType, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 71 | SlotNotEnabled, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 72 | EndpointNotEnabled, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | Parameter, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 78 | BandwidthOverrun, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 79 | ContextState, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 80 | NoPingResponse, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 81 | EventRingFull, [INFO] [stdout] 82 | IncompatibleDevice, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 83 | MissedService, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 84 | CommandRingStopped, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 85 | CommandAborted, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 86 | Stopped, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 87 | StoppedLengthInvalid, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 88 | StoppedShortPacket, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 89 | MaxExitLatencyTooLarge, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 90 | Rsv30, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 91 | IsochBuffer, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 92 | EventLost, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 93 | Undefined, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 94 | InvalidStreamId, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 95 | SecondaryBandwidth, [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] [INFO] [stdout] [INFO] [stdout] warning: variant `Bps` is never constructed [INFO] [stdout] --> xhcid/src/xhci/extended.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 89 | pub enum Psie { [INFO] [stdout] | ---- variant in this enum [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] [INFO] [stdout] [INFO] [stdout] warning: variant `Reserved` is never constructed [INFO] [stdout] --> xhcid/src/xhci/trb.rs:106:5 [INFO] [stdout] | [INFO] [stdout] 104 | pub enum TransferKind { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] 105 | NoData, [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] [INFO] [stdout] [INFO] [stdout] warning: constant `TRB_STATUS_COMPLETION_CODE_MASK` is never used [INFO] [stdout] --> xhcid/src/xhci/trb.rs:128:11 [INFO] [stdout] | [INFO] [stdout] 128 | pub const TRB_STATUS_COMPLETION_CODE_MASK: u32 = 0xFF00_0000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Reserved`, `AsymmetricRx`, and `AsymmetricTx` are never constructed [INFO] [stdout] --> xhcid/src/xhci/extended.rs:99:5 [INFO] [stdout] | [INFO] [stdout] 97 | pub enum Plt { [INFO] [stdout] | --- variants in this enum [INFO] [stdout] 98 | Symmetric, [INFO] [stdout] 99 | Reserved, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 100 | AsymmetricRx, [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] [INFO] [stdout] [INFO] [stdout] warning: constant `TRB_STATUS_COMPLETION_PARAM_SHIFT` is never used [INFO] [stdout] --> xhcid/src/xhci/trb.rs:130:11 [INFO] [stdout] | [INFO] [stdout] 130 | pub const TRB_STATUS_COMPLETION_PARAM_SHIFT: u8 = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Rsvd2` and `Rsvd3` are never constructed [INFO] [stdout] --> xhcid/src/xhci/extended.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 105 | pub enum Lp { [INFO] [stdout] | -- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 108 | Rsvd2, [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] [INFO] [stdout] [INFO] [stdout] warning: constant `TRB_STATUS_COMPLETION_PARAM_MASK` is never used [INFO] [stdout] --> xhcid/src/xhci/trb.rs:131:11 [INFO] [stdout] | [INFO] [stdout] 131 | pub const TRB_STATUS_COMPLETION_PARAM_MASK: u32 = 0x00FF_FFFF; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `protocol_speeds_mut` is never used [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: constant `TRB_STATUS_TRANSFER_LENGTH_SHIFT` is never used [INFO] [stdout] --> xhcid/src/xhci/trb.rs:133:11 [INFO] [stdout] | [INFO] [stdout] 133 | pub const TRB_STATUS_TRANSFER_LENGTH_SHIFT: u8 = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TRB_CONTROL_ENDPOINT_ID_MASK` is never used [INFO] [stdout] --> xhcid/src/xhci/trb.rs:142:11 [INFO] [stdout] | [INFO] [stdout] 142 | pub const TRB_CONTROL_ENDPOINT_ID_MASK: u32 = 0x001F_0000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Other` is never constructed [INFO] [stdout] --> xhcid/src/xhci/irq_reactor.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 67 | pub enum StateKind { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 70 | 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] [INFO] [stdout] [INFO] [stdout] warning: associated function `trb_type` is never used [INFO] [stdout] --> xhcid/src/xhci/irq_reactor.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn trb_type(&self) -> TrbType { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TRB_CONTROL_ENDPOINT_ID_SHIFT` is never used [INFO] [stdout] --> xhcid/src/xhci/trb.rs:143:11 [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 `with_ring_mut` is never used [INFO] [stdout] --> xhcid/src/xhci/irq_reactor.rs:434:12 [INFO] [stdout] | [INFO] [stdout] 434 | pub fn with_ring_mut T>(&self, id: RingId, function: F) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `completion_param` is never used [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 `next_misc_event_trb` is never used [INFO] [stdout] --> xhcid/src/xhci/irq_reactor.rs:484:12 [INFO] [stdout] | [INFO] [stdout] 484 | 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 `endpoint_id` is never used [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 `iter` is never used [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 `no_op_cmd` is never used [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 `disable_slot` is never used [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 `evaluate_context` is never used [INFO] [stdout] --> xhcid/src/xhci/trb.rs:277:12 [INFO] [stdout] | [INFO] [stdout] 277 | pub fn evaluate_context(&mut self, slot_id: u8, input_ctx_ptr: usize, bsr: bool, cycle: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `phys_addr_to_entry_ref` is never used [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 `start_virt_addr` is never used [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 `stop_endpoint` is never used [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 `end_virt_addr` is never used [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: associated function `reset_device` is never used [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: variants `Ready` and `WaitingForStatusReq` are never constructed [INFO] [stdout] --> xhcid/src/xhci/scheme.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 70 | pub enum PortTransferState { [INFO] [stdout] | ----------------- variants in this enum [INFO] [stdout] 71 | /// Ready to read or write to do another transfer [INFO] [stdout] 72 | Ready, [INFO] [stdout] | ^^^^^ [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] [INFO] [stdout] [INFO] [stdout] warning: associated function `port_state` is never used [INFO] [stdout] --> xhcid/src/xhci/scheme.rs:595:8 [INFO] [stdout] | [INFO] [stdout] 595 | fn port_state(&self, port: usize) -> Result> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `endp_direction` is never used [INFO] [stdout] --> xhcid/src/xhci/scheme.rs:1812:12 [INFO] [stdout] | [INFO] [stdout] 1812 | pub fn endp_direction(&self, port_num: usize, endp_num: u8) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `slot` is never used [INFO] [stdout] --> xhcid/src/xhci/scheme.rs:1830:12 [INFO] [stdout] | [INFO] [stdout] 1830 | pub fn slot(&self, port_num: usize) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> xhcid/src/xhci/trb.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum TrbType { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 18 | EventData, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | Rsv26, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 40 | Rsv27, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 41 | Rsv28, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 42 | Rsv29, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 43 | Rsv30, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 44 | Rsv31, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | PortStatusChange, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 49 | BandwidthRequest, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 50 | Doorbell, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 51 | HostController, [INFO] [stdout] 52 | DeviceNotification, [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] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> xhcid/src/xhci/trb.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 59 | pub enum TrbCompletionCode { [INFO] [stdout] | ----------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 62 | DataBuffer, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 63 | BabbleDetected, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 64 | UsbTransaction, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 65 | Trb, [INFO] [stdout] | ^^^ [INFO] [stdout] 66 | Stall, [INFO] [stdout] 67 | Resource, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 68 | Bandwidth, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 69 | NoSlotsAvailable, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 70 | InvalidStreamType, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 71 | SlotNotEnabled, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 72 | EndpointNotEnabled, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | Parameter, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 78 | BandwidthOverrun, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 79 | ContextState, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 80 | NoPingResponse, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 81 | EventRingFull, [INFO] [stdout] 82 | IncompatibleDevice, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 83 | MissedService, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 84 | CommandRingStopped, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 85 | CommandAborted, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 86 | Stopped, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 87 | StoppedLengthInvalid, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 88 | StoppedShortPacket, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 89 | MaxExitLatencyTooLarge, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 90 | Rsv30, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 91 | IsochBuffer, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 92 | EventLost, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 93 | Undefined, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 94 | InvalidStreamId, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 95 | SecondaryBandwidth, [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] [INFO] [stdout] [INFO] [stdout] warning: variant `Reserved` is never constructed [INFO] [stdout] --> xhcid/src/xhci/trb.rs:106:5 [INFO] [stdout] | [INFO] [stdout] 104 | pub enum TransferKind { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] 105 | NoData, [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] [INFO] [stdout] [INFO] [stdout] warning: constant `TRB_STATUS_COMPLETION_CODE_MASK` is never used [INFO] [stdout] --> xhcid/src/xhci/trb.rs:128:11 [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 `TRB_STATUS_COMPLETION_PARAM_SHIFT` is never used [INFO] [stdout] --> xhcid/src/xhci/trb.rs:130:11 [INFO] [stdout] | [INFO] [stdout] 130 | pub const TRB_STATUS_COMPLETION_PARAM_SHIFT: u8 = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TRB_STATUS_COMPLETION_PARAM_MASK` is never used [INFO] [stdout] --> xhcid/src/xhci/trb.rs:131:11 [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 `TRB_STATUS_TRANSFER_LENGTH_SHIFT` is never used [INFO] [stdout] --> xhcid/src/xhci/trb.rs:133:11 [INFO] [stdout] | [INFO] [stdout] 133 | pub const TRB_STATUS_TRANSFER_LENGTH_SHIFT: u8 = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TRB_CONTROL_ENDPOINT_ID_MASK` is never used [INFO] [stdout] --> xhcid/src/xhci/trb.rs:142:11 [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 `TRB_CONTROL_ENDPOINT_ID_SHIFT` is never used [INFO] [stdout] --> xhcid/src/xhci/trb.rs:143:11 [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 `completion_param` is never used [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 `endpoint_id` is never used [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 `no_op_cmd` is never used [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 `disable_slot` is never used [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 `evaluate_context` is never used [INFO] [stdout] --> xhcid/src/xhci/trb.rs:277:12 [INFO] [stdout] | [INFO] [stdout] 277 | pub fn evaluate_context(&mut self, slot_id: u8, input_ctx_ptr: usize, bsr: bool, cycle: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `stop_endpoint` is never used [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 `reset_device` is never used [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: 143 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 143 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "fd10d089b98262ce03a0d8230a4b334e29300b4fbdf6e7e702a460dec4998136", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd10d089b98262ce03a0d8230a4b334e29300b4fbdf6e7e702a460dec4998136", kill_on_drop: false }` [INFO] [stdout] fd10d089b98262ce03a0d8230a4b334e29300b4fbdf6e7e702a460dec4998136