[INFO] cloning repository https://github.com/Dangornushi/Mushix
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Dangornushi/Mushix" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDangornushi%2FMushix", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDangornushi%2FMushix'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 54ec305166ba1ac1967d12886f759e6b054e102b
[INFO] checking Dangornushi/Mushix against try#f77b5bc6c7c84df104f86b0dd01d9490e3923fa8 for pr-147834
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDangornushi%2FMushix" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'...
[INFO] [stderr] done.
[INFO] removed /workspace/builds/worker-3-tc2/source/.cargo/config.toml
[INFO] removed /workspace/builds/worker-3-tc2/source/rust-toolchain.toml
[INFO] started tweaking git repo https://github.com/Dangornushi/Mushix
[INFO] finished tweaking git repo https://github.com/Dangornushi/Mushix
[INFO] tweaked toml for git repo https://github.com/Dangornushi/Mushix written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Dangornushi/Mushix on toolchain f77b5bc6c7c84df104f86b0dd01d9490e3923fa8
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f77b5bc6c7c84df104f86b0dd01d9490e3923fa8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Dangornushi/Mushix 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" "+f77b5bc6c7c84df104f86b0dd01d9490e3923fa8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+f77b5bc6c7c84df104f86b0dd01d9490e3923fa8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 8828b86ffe2bc2b126141c87334f0df6a4423f483257a18b58d49d6f89e8d42f
[INFO] running `Command { std: "docker" "start" "-a" "8828b86ffe2bc2b126141c87334f0df6a4423f483257a18b58d49d6f89e8d42f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8828b86ffe2bc2b126141c87334f0df6a4423f483257a18b58d49d6f89e8d42f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8828b86ffe2bc2b126141c87334f0df6a4423f483257a18b58d49d6f89e8d42f", kill_on_drop: false }`
[INFO] [stdout] 8828b86ffe2bc2b126141c87334f0df6a4423f483257a18b58d49d6f89e8d42f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+f77b5bc6c7c84df104f86b0dd01d9490e3923fa8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 5969560ec6954f11ae80a600e250b98f9a2bfff1b9de762d06f0064f309153ac
[INFO] running `Command { std: "docker" "start" "-a" "5969560ec6954f11ae80a600e250b98f9a2bfff1b9de762d06f0064f309153ac", kill_on_drop: false }`
[INFO] [stderr]     Checking mushix v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `crate::info`
[INFO] [stdout]  --> src/hpet.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::info;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::graphics::draw_font_fg`
[INFO] [stdout]  --> src/uefi.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::graphics::draw_font_fg;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `core::fmt`
[INFO] [stdout]  --> src/uefi.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use core::fmt;
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::info`
[INFO] [stdout]  --> src/x86.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::info;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `cbw::CommandBlockWrapper`
[INFO] [stdout]   --> src/xhci.rs:31:5
[INFO] [stdout]    |
[INFO] [stdout] 31 |     cbw::CommandBlockWrapper,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]   --> src/xhci.rs:77:55
[INFO] [stdout]    |
[INFO] [stdout] 77 |     fn setup_xhc_registers(bar0: &BarMem64) -> Result<(XhcRegisters)> {
[INFO] [stdout]    |                                                       ^            ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 77 -     fn setup_xhc_registers(bar0: &BarMem64) -> Result<(XhcRegisters)> {
[INFO] [stdout] 77 +     fn setup_xhc_registers(bar0: &BarMem64) -> Result<XhcRegisters > {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: trailing semicolon in macro used in expression position
[INFO] [stdout]    --> src/print.rs:26:56
[INFO] [stdout]     |
[INFO] [stdout]  26 |     $crate::print::global_print(format_args!($($arg)*));
[INFO] [stdout]     |                                                        ^
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/xhci.rs:655:22
[INFO] [stdout]     |
[INFO] [stdout] 655 |             Ok(_) => info!("Configure Endpoint command succeeded"),
[INFO] [stdout]     |                      --------------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #79813 <https://github.com/rust-lang/rust/issues/79813>
[INFO] [stdout]     = note: `#[deny(semicolon_in_expressions_from_macros)]` (part of `#[deny(future_incompatible)]`) on by default
[INFO] [stdout]     = note: this error originates in the macro `$crate::print` which comes from the expansion of the macro `info` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: trailing semicolon in macro used in expression position
[INFO] [stdout]    --> src/print.rs:26:56
[INFO] [stdout]     |
[INFO] [stdout]  26 |     $crate::print::global_print(format_args!($($arg)*));
[INFO] [stdout]     |                                                        ^
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/xhci.rs:656:23
[INFO] [stdout]     |
[INFO] [stdout] 656 |             Err(e) => info!("Configure Endpoint command failed: {:?}", e),
[INFO] [stdout]     |                       --------------------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #79813 <https://github.com/rust-lang/rust/issues/79813>
[INFO] [stdout]     = note: this error originates in the macro `$crate::print` which comes from the expansion of the macro `info` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `const_caller_location` has been stable since 1.79.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/lib.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | #![feature(const_caller_location)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(stable_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `const_location_fields` has been stable since 1.79.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/lib.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | #![feature(const_location_fields)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `offset_of` has been stable since 1.77.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/lib.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | #![feature(offset_of)]
[INFO] [stdout]   |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `option_get_or_insert_default` has been stable since 1.83.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/lib.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | #![feature(option_get_or_insert_default)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::info`
[INFO] [stdout]  --> src/hpet.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::info;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::graphics::draw_font_fg`
[INFO] [stdout]  --> src/uefi.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::graphics::draw_font_fg;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `core::fmt`
[INFO] [stdout]  --> src/uefi.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use core::fmt;
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::info`
[INFO] [stdout]  --> src/x86.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::info;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `cbw::CommandBlockWrapper`
[INFO] [stdout]   --> src/xhci.rs:31:5
[INFO] [stdout]    |
[INFO] [stdout] 31 |     cbw::CommandBlockWrapper,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]   --> src/xhci.rs:77:55
[INFO] [stdout]    |
[INFO] [stdout] 77 |     fn setup_xhc_registers(bar0: &BarMem64) -> Result<(XhcRegisters)> {
[INFO] [stdout]    |                                                       ^            ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 77 -     fn setup_xhc_registers(bar0: &BarMem64) -> Result<(XhcRegisters)> {
[INFO] [stdout] 77 +     fn setup_xhc_registers(bar0: &BarMem64) -> Result<XhcRegisters > {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: trailing semicolon in macro used in expression position
[INFO] [stdout]    --> src/print.rs:26:56
[INFO] [stdout]     |
[INFO] [stdout]  26 |     $crate::print::global_print(format_args!($($arg)*));
[INFO] [stdout]     |                                                        ^
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/xhci.rs:655:22
[INFO] [stdout]     |
[INFO] [stdout] 655 |             Ok(_) => info!("Configure Endpoint command succeeded"),
[INFO] [stdout]     |                      --------------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #79813 <https://github.com/rust-lang/rust/issues/79813>
[INFO] [stdout]     = note: `#[deny(semicolon_in_expressions_from_macros)]` (part of `#[deny(future_incompatible)]`) on by default
[INFO] [stdout]     = note: this error originates in the macro `$crate::print` which comes from the expansion of the macro `info` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: trailing semicolon in macro used in expression position
[INFO] [stdout]    --> src/print.rs:26:56
[INFO] [stdout]     |
[INFO] [stdout]  26 |     $crate::print::global_print(format_args!($($arg)*));
[INFO] [stdout]     |                                                        ^
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/xhci.rs:656:23
[INFO] [stdout]     |
[INFO] [stdout] 656 |             Err(e) => info!("Configure Endpoint command failed: {:?}", e),
[INFO] [stdout]     |                       --------------------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #79813 <https://github.com/rust-lang/rust/issues/79813>
[INFO] [stdout]     = note: this error originates in the macro `$crate::print` which comes from the expansion of the macro `info` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unwinding panics are not supported without std
[INFO] [stdout]   |
[INFO] [stdout]   = help: using nightly cargo, use -Zbuild-std with panic="abort" to avoid unwinding
[INFO] [stdout]   = note: since the core library is usually precompiled with panic="unwind", rebuilding your crate with panic="abort" may not be enough to fix the problem
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `const_caller_location` has been stable since 1.79.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/lib.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | #![feature(const_caller_location)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(stable_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `const_location_fields` has been stable since 1.79.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/lib.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | #![feature(const_location_fields)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `offset_of` has been stable since 1.77.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/lib.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | #![feature(offset_of)]
[INFO] [stdout]   |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `option_get_or_insert_default` has been stable since 1.83.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/lib.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | #![feature(option_get_or_insert_default)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `interface_desc`
[INFO] [stdout]    --> src/xhci.rs:359:13
[INFO] [stdout]     |
[INFO] [stdout] 359 |         let interface_desc = usb_interface.ok_or("Interface descriptor not found")?;
[INFO] [stdout]     |             ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_interface_desc`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `consumed` is assigned to, but never used
[INFO] [stdout]     --> src/xhci.rs:1507:17
[INFO] [stdout]      |
[INFO] [stdout] 1507 |             let mut consumed = false;
[INFO] [stdout]      |                 ^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: consider using `_consumed` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `idx`
[INFO] [stdout]     --> src/xhci.rs:1508:18
[INFO] [stdout]      |
[INFO] [stdout] 1508 |             for (idx, w) in self.wait_list.iter().enumerate() {
[INFO] [stdout]      |                  ^^^ help: if this is intentional, prefix it with an underscore: `_idx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `consumed` is never read
[INFO] [stdout]     --> src/xhci.rs:1513:25
[INFO] [stdout]      |
[INFO] [stdout] 1513 |                         consumed = true;
[INFO] [stdout]      |                         ^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = help: maybe it is overwritten before being read?
[INFO] [stdout]      = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]     --> src/xhci.rs:1352:18
[INFO] [stdout]      |
[INFO] [stdout] 1352 |         let op = unsafe { self.regs.op_regs.as_ref() };
[INFO] [stdout]      |                  ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0596]: cannot borrow `op.usbsts` as mutable, as it is behind a `&` reference
[INFO] [stdout]     --> src/xhci.rs:1358:9
[INFO] [stdout]      |
[INFO] [stdout] 1358 |         op.usbsts.write(sts & !TO_CLEAR); // 念のため残りのフラグは保持したい場合
[INFO] [stdout]      |         ^^^^^^^^^ `op` is a `&` reference, so the data it refers to cannot be borrowed as mutable
[INFO] [stdout]      |
[INFO] [stdout] help: consider annotating `OperationalRegisters` with `#[derive(Clone)]`
[INFO] [stdout]      |
[INFO] [stdout]  983 + #[derive(Clone)]
[INFO] [stdout]  984 | struct OperationalRegisters {
[INFO] [stdout]      |
[INFO] [stdout] help: consider specifying this binding's type
[INFO] [stdout]      |
[INFO] [stdout] 1352 |         let op: &mut OperationalRegisters = unsafe { self.regs.op_regs.as_ref() };
[INFO] [stdout]      |               +++++++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0596`.
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `interface_desc`
[INFO] [stdout]    --> src/xhci.rs:359:13
[INFO] [stdout]     |
[INFO] [stdout] 359 |         let interface_desc = usb_interface.ok_or("Interface descriptor not found")?;
[INFO] [stdout]     |             ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_interface_desc`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `mushix` (lib) due to 5 previous errors; 15 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: variable `consumed` is assigned to, but never used
[INFO] [stdout]     --> src/xhci.rs:1507:17
[INFO] [stdout]      |
[INFO] [stdout] 1507 |             let mut consumed = false;
[INFO] [stdout]      |                 ^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: consider using `_consumed` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `idx`
[INFO] [stdout]     --> src/xhci.rs:1508:18
[INFO] [stdout]      |
[INFO] [stdout] 1508 |             for (idx, w) in self.wait_list.iter().enumerate() {
[INFO] [stdout]      |                  ^^^ help: if this is intentional, prefix it with an underscore: `_idx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `consumed` is never read
[INFO] [stdout]     --> src/xhci.rs:1513:25
[INFO] [stdout]      |
[INFO] [stdout] 1513 |                         consumed = true;
[INFO] [stdout]      |                         ^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = help: maybe it is overwritten before being read?
[INFO] [stdout]      = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]     --> src/xhci.rs:1352:18
[INFO] [stdout]      |
[INFO] [stdout] 1352 |         let op = unsafe { self.regs.op_regs.as_ref() };
[INFO] [stdout]      |                  ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0596]: cannot borrow `op.usbsts` as mutable, as it is behind a `&` reference
[INFO] [stdout]     --> src/xhci.rs:1358:9
[INFO] [stdout]      |
[INFO] [stdout] 1358 |         op.usbsts.write(sts & !TO_CLEAR); // 念のため残りのフラグは保持したい場合
[INFO] [stdout]      |         ^^^^^^^^^ `op` is a `&` reference, so the data it refers to cannot be borrowed as mutable
[INFO] [stdout]      |
[INFO] [stdout] help: consider annotating `OperationalRegisters` with `#[derive(Clone)]`
[INFO] [stdout]      |
[INFO] [stdout]  983 + #[derive(Clone)]
[INFO] [stdout]  984 | struct OperationalRegisters {
[INFO] [stdout]      |
[INFO] [stdout] help: consider specifying this binding's type
[INFO] [stdout]      |
[INFO] [stdout] 1352 |         let op: &mut OperationalRegisters = unsafe { self.regs.op_regs.as_ref() };
[INFO] [stdout]      |               +++++++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0596`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `mushix` (lib test) due to 6 previous errors; 15 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "5969560ec6954f11ae80a600e250b98f9a2bfff1b9de762d06f0064f309153ac", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5969560ec6954f11ae80a600e250b98f9a2bfff1b9de762d06f0064f309153ac", kill_on_drop: false }`
[INFO] [stdout] 5969560ec6954f11ae80a600e250b98f9a2bfff1b9de762d06f0064f309153ac
