diff --git a/build-live.log b/build-live.log new file mode 100644 index 0000000000..3b39b0697a --- /dev/null +++ b/build-live.log @@ -0,0 +1,1244 @@ +fusermount3 -u build/x86_64/redbear-full/filesystem/ || true +fusermount3: entry for /mnt/data/Builds/RedBear-OS/build/x86_64/redbear-full/filesystem not found in /etc/mtab +fusermount3 -u /tmp/redbear_installer/ || true +fusermount3: entry for /tmp/redbear_installer not found in /etc/mtab +rm -f build/x86_64/redbear-full.iso build/x86_64/redbear-full.img build/x86_64/redbear-full-bootloader-live.efi build/x86_64/redbear-full.ipxe +make build/x86_64/redbear-full.iso +make[1]: вход в каталог «/mnt/data/Builds/RedBear-OS» +bash -c 'export REDBEAR_TAG="$1"; exec bash local/scripts/integrate-redbear.sh' _ 'build/x86_64/redbear-full/redbear.tag' +======================================== + Red Bear OS Pre-Build Integration +======================================== +Root: RedBear-OS +Tag: build/x86_64/redbear-full/redbear.tag + +==> Ensuring custom recipe symlinks... +⚠️ Refusing to replace directory recipes/archives/uutils-tar +⚠️ Refusing to replace directory recipes/libs/freetype2 +⚠️ Refusing to replace directory recipes/libs/glib +⚠️ Refusing to replace directory recipes/libs/libxau +⚠️ Refusing to replace directory recipes/tools/file +✅ Custom recipe symlinks ready (188 linked, 5 skipped) + +==> Validating local source forks... +✅ local/sources/base: 177 commits +✅ local/sources/bootloader: 9 commits +✅ local/sources/installer: 328 commits +✅ local/sources/relibc: 1594 commits +✅ local/sources/kernel: 2782 commits +✅ Local source forks validated + +==> Validating Red Bear configs... +✅ Found Red Bear target config(s): redbear-mini.toml redbear-full.toml redbear-grub.toml + +==> Validating branding assets... +✅ Branding assets present + +==> Checking AMD firmware blobs... +⚠️ No AMD firmware blobs found in local/firmware/amdgpu/ + +==> Staging branding assets into recipe source... +✅ branding icon already staged +✅ branding loading background already staged + +==> Staging firmware blobs into firmware-loader recipe source... +⚠️ Skipping firmware staging because no AMD firmware blobs were found + +==> Updating build tag... +✅ Updated tag file: build/x86_64/redbear-full/redbear.tag + +✅ Red Bear integration complete +export PATH="/mnt/data/Builds/RedBear-OS/prefix/x86_64-unknown-redox/sysroot//bin:$PATH" && \ +export COOKBOOK_HOST_SYSROOT="/mnt/data/Builds/RedBear-OS/prefix/x86_64-unknown-redox/sysroot/" && \ +./target/release/repo cook "--filesystem=config/redbear-full.toml" --with-package-deps +DEBUG: dependency blake3 hashes unchanged (content-based cache) +DEBUG: updating 'recipes/core/base/target/x86_64-unknown-redox/stage' +DEBUG: updating 'recipes/core/base/target/x86_64-unknown-redox/sysroot' ++ export PATH=/mnt/data/Builds/RedBear-OS/bin:/home/kellito/.redoxer/x86_64-unknown-redox/toolchain/bin:/mnt/data/Builds/RedBear-OS/prefix/x86_64-unknown-redox/sysroot//bin:/home/kellito/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/opt/android-sdk/cmdline-tools/latest/bin:/opt/android-sdk/platform-tools:/opt/android-sdk/tools:/opt/android-sdk/tools/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/usr/lib/rustup/bin ++ PATH=/mnt/data/Builds/RedBear-OS/bin:/home/kellito/.redoxer/x86_64-unknown-redox/toolchain/bin:/mnt/data/Builds/RedBear-OS/prefix/x86_64-unknown-redox/sysroot//bin:/home/kellito/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/opt/android-sdk/cmdline-tools/latest/bin:/opt/android-sdk/platform-tools:/opt/android-sdk/tools:/opt/android-sdk/tools/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/usr/lib/rustup/bin ++ '[' '!' -z '' ']' ++ REDOXER_TOOLCHAIN=/home/kellito/.redoxer/x86_64-unknown-redox/toolchain ++ '[' -d /home/kellito/.redoxer/x86_64-unknown-redox/toolchain/bin ']' ++ export PATH=/home/kellito/.redoxer/x86_64-unknown-redox/toolchain/bin:/mnt/data/Builds/RedBear-OS/bin:/home/kellito/.redoxer/x86_64-unknown-redox/toolchain/bin:/mnt/data/Builds/RedBear-OS/prefix/x86_64-unknown-redox/sysroot//bin:/home/kellito/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/opt/android-sdk/cmdline-tools/latest/bin:/opt/android-sdk/platform-tools:/opt/android-sdk/tools:/opt/android-sdk/tools/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/usr/lib/rustup/bin ++ PATH=/home/kellito/.redoxer/x86_64-unknown-redox/toolchain/bin:/mnt/data/Builds/RedBear-OS/bin:/home/kellito/.redoxer/x86_64-unknown-redox/toolchain/bin:/mnt/data/Builds/RedBear-OS/prefix/x86_64-unknown-redox/sysroot//bin:/home/kellito/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/opt/android-sdk/cmdline-tools/latest/bin:/opt/android-sdk/platform-tools:/opt/android-sdk/tools:/opt/android-sdk/tools/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/usr/lib/rustup/bin ++ export CARGO_TARGET_DIR=/mnt/data/Builds/RedBear-OS/recipes/core/base/target/x86_64-unknown-redox/build/target ++ CARGO_TARGET_DIR=/mnt/data/Builds/RedBear-OS/recipes/core/base/target/x86_64-unknown-redox/build/target ++ export CPPFLAGS=-I/mnt/data/Builds/RedBear-OS/recipes/core/base/target/x86_64-unknown-redox/sysroot/include ++ CPPFLAGS=-I/mnt/data/Builds/RedBear-OS/recipes/core/base/target/x86_64-unknown-redox/sysroot/include ++ USER_LDFLAGS= ++ export 'LDFLAGS=-L/mnt/data/Builds/RedBear-OS/recipes/core/base/target/x86_64-unknown-redox/sysroot/lib --static' ++ LDFLAGS='-L/mnt/data/Builds/RedBear-OS/recipes/core/base/target/x86_64-unknown-redox/sysroot/lib --static' ++ REDBEAR_PREFIX_SYSROOT=/mnt/data/Builds/RedBear-OS/prefix/x86_64-unknown-redox/sysroot ++ '[' -d /mnt/data/Builds/RedBear-OS/prefix/x86_64-unknown-redox/sysroot/x86_64-unknown-redox/lib ']' ++ export 'LDFLAGS=-L/mnt/data/Builds/RedBear-OS/recipes/core/base/target/x86_64-unknown-redox/sysroot/lib --static -L/mnt/data/Builds/RedBear-OS/prefix/x86_64-unknown-redox/sysroot/x86_64-unknown-redox/lib' ++ LDFLAGS='-L/mnt/data/Builds/RedBear-OS/recipes/core/base/target/x86_64-unknown-redox/sysroot/lib --static -L/mnt/data/Builds/RedBear-OS/prefix/x86_64-unknown-redox/sysroot/x86_64-unknown-redox/lib' ++ '[' x86_64-unknown-redox '!=' x86_64-unknown-linux-gnu ']' ++ export PKG_CONFIG_ALLOW_CROSS=1 ++ PKG_CONFIG_ALLOW_CROSS=1 ++ export PKG_CONFIG_PATH= ++ PKG_CONFIG_PATH= ++ export PKG_CONFIG_LIBDIR=/mnt/data/Builds/RedBear-OS/recipes/core/base/target/x86_64-unknown-redox/sysroot/lib/pkgconfig ++ PKG_CONFIG_LIBDIR=/mnt/data/Builds/RedBear-OS/recipes/core/base/target/x86_64-unknown-redox/sysroot/lib/pkgconfig ++ export PKG_CONFIG_SYSROOT_DIR=/mnt/data/Builds/RedBear-OS/recipes/core/base/target/x86_64-unknown-redox/sysroot ++ PKG_CONFIG_SYSROOT_DIR=/mnt/data/Builds/RedBear-OS/recipes/core/base/target/x86_64-unknown-redox/sysroot ++ build_type=release ++ install_flags=--no-track ++ build_flags=--release ++ '[' '!' -z '' ']' ++ '[' '!' -z '' ']' ++ reexport_flags ++ target=x86_64_unknown_redox ++ export CFLAGS_x86_64_unknown_redox=-I/mnt/data/Builds/RedBear-OS/recipes/core/base/target/x86_64-unknown-redox/sysroot/include ++ CFLAGS_x86_64_unknown_redox=-I/mnt/data/Builds/RedBear-OS/recipes/core/base/target/x86_64-unknown-redox/sysroot/include ++ export CXXFLAGS_x86_64_unknown_redox=-I/mnt/data/Builds/RedBear-OS/recipes/core/base/target/x86_64-unknown-redox/sysroot/include ++ CXXFLAGS_x86_64_unknown_redox=-I/mnt/data/Builds/RedBear-OS/recipes/core/base/target/x86_64-unknown-redox/sysroot/include ++ export 'LDFLAGS_x86_64_unknown_redox=-L/mnt/data/Builds/RedBear-OS/recipes/core/base/target/x86_64-unknown-redox/sysroot/lib --static -L/mnt/data/Builds/RedBear-OS/prefix/x86_64-unknown-redox/sysroot/x86_64-unknown-redox/lib' ++ LDFLAGS_x86_64_unknown_redox='-L/mnt/data/Builds/RedBear-OS/recipes/core/base/target/x86_64-unknown-redox/sysroot/lib --static -L/mnt/data/Builds/RedBear-OS/prefix/x86_64-unknown-redox/sysroot/x86_64-unknown-redox/lib' ++ COOKBOOK_CARGO=/mnt/data/Builds/RedBear-OS/target/release/cookbook_redbear_redoxer ++ COOKBOOK_CARGO_FLAGS=(--locked) ++ COOKBOOK_CONFIGURE=/mnt/data/Builds/RedBear-OS/local/sources/base/configure ++ COOKBOOK_CONFIGURE_FLAGS=(--host="${GNU_TARGET}" --prefix="/usr" --disable-shared --enable-static) ++ COOKBOOK_MAKE=make ++ COOKBOOK_CMAKE=cmake ++ COOKBOOK_NINJA=ninja ++ COOKBOOK_CMAKE_FLAGS=(-DBUILD_SHARED_LIBS=False -DENABLE_SHARED=False -DENABLE_STATIC=True) ++ COOKBOOK_MESON=meson ++ COOKBOOK_MESON_FLAGS=(--buildtype release --wrap-mode nofallback -Ddefault_library=static -Dprefix=/usr) ++ COOKBOOK_AUTORECONF=autoreconf ++ mkdir -pv /mnt/data/Builds/RedBear-OS/recipes/core/base/target/x86_64-unknown-redox/stage.tmp/usr/bin +mkdir: создан каталог '/mnt/data/Builds/RedBear-OS/recipes/core/base/target/x86_64-unknown-redox/stage.tmp/usr' +mkdir: создан каталог '/mnt/data/Builds/RedBear-OS/recipes/core/base/target/x86_64-unknown-redox/stage.tmp/usr/bin' ++ for package in audiod ipcd ptyd dhcpd ++ /mnt/data/Builds/RedBear-OS/target/release/cookbook_redbear_redoxer build --manifest-path /mnt/data/Builds/RedBear-OS/local/sources/base/audiod/Cargo.toml --target x86_64-unknown-redox --release +warning: /mnt/data/Builds/RedBear-OS/local/sources/base/netstack/Cargo.toml: `default-features` is ignored for log, since `default-features` was not specified for `workspace.dependencies.log`, this could become a hard error in the future +warning: /mnt/data/Builds/RedBear-OS/local/sources/base/drivers/hwd/Cargo.toml: `default-features` is ignored for libredox, since `default-features` was true for `workspace.dependencies.libredox`, this could become a hard error in the future +warning: `extern` block uses type `[u8]`, which is not FFI-safe + --> /mnt/data/Builds/RedBear-OS/local/sources/libredox/src/lib.rs:314:77 + | +314 | fn redox_get_proc_credentials_v1(cap_fd: usize, target_pid: usize, buf: &mut [u8]) + | ^^^^^^^^^ not FFI-safe + | + = help: consider using a raw pointer instead + = note: slices have no C equivalent + = note: `#[warn(improper_ctypes)]` on by default + +warning: `libredox` (lib) generated 1 warning +warning: direct cast of function item into an integer + --> audiod/src/main.rs:44:83 + | +44 | addr_of_mut!((*sigaction.as_mut_ptr()).sa_sigaction).write(sigusr_handler as usize); + | ^^^^^^^^ + | + = note: `#[warn(function_casts_as_integer)]` on by default +help: first cast to a pointer `as *const ()` + | +44 | addr_of_mut!((*sigaction.as_mut_ptr()).sa_sigaction).write(sigusr_handler as *const () as usize); + | ++++++++++++ + +warning: `audiod` (bin "audiod") generated 1 warning (run `cargo fix --bin "audiod" -p audiod` to apply 1 suggestion) + Finished `release` profile [optimized] target(s) in 0.26s ++ cp -v target/x86_64-unknown-redox/release/audiod /mnt/data/Builds/RedBear-OS/recipes/core/base/target/x86_64-unknown-redox/stage.tmp/usr/bin/audiod +'target/x86_64-unknown-redox/release/audiod' -> '/mnt/data/Builds/RedBear-OS/recipes/core/base/target/x86_64-unknown-redox/stage.tmp/usr/bin/audiod' ++ for package in audiod ipcd ptyd dhcpd ++ /mnt/data/Builds/RedBear-OS/target/release/cookbook_redbear_redoxer build --manifest-path /mnt/data/Builds/RedBear-OS/local/sources/base/ipcd/Cargo.toml --target x86_64-unknown-redox --release +warning: /mnt/data/Builds/RedBear-OS/local/sources/base/drivers/hwd/Cargo.toml: `default-features` is ignored for libredox, since `default-features` was true for `workspace.dependencies.libredox`, this could become a hard error in the future +warning: /mnt/data/Builds/RedBear-OS/local/sources/base/netstack/Cargo.toml: `default-features` is ignored for log, since `default-features` was not specified for `workspace.dependencies.log`, this could become a hard error in the future +warning: `extern` block uses type `[u8]`, which is not FFI-safe + --> /mnt/data/Builds/RedBear-OS/local/sources/libredox/src/lib.rs:314:77 + | +314 | fn redox_get_proc_credentials_v1(cap_fd: usize, target_pid: usize, buf: &mut [u8]) + | ^^^^^^^^^ not FFI-safe + | + = help: consider using a raw pointer instead + = note: slices have no C equivalent + = note: `#[warn(improper_ctypes)]` on by default + +warning: `libredox` (lib) generated 1 warning + Finished `release` profile [optimized] target(s) in 0.09s ++ cp -v target/x86_64-unknown-redox/release/ipcd /mnt/data/Builds/RedBear-OS/recipes/core/base/target/x86_64-unknown-redox/stage.tmp/usr/bin/ipcd +'target/x86_64-unknown-redox/release/ipcd' -> '/mnt/data/Builds/RedBear-OS/recipes/core/base/target/x86_64-unknown-redox/stage.tmp/usr/bin/ipcd' ++ for package in audiod ipcd ptyd dhcpd ++ /mnt/data/Builds/RedBear-OS/target/release/cookbook_redbear_redoxer build --manifest-path /mnt/data/Builds/RedBear-OS/local/sources/base/ptyd/Cargo.toml --target x86_64-unknown-redox --release +warning: /mnt/data/Builds/RedBear-OS/local/sources/base/drivers/hwd/Cargo.toml: `default-features` is ignored for libredox, since `default-features` was true for `workspace.dependencies.libredox`, this could become a hard error in the future +warning: /mnt/data/Builds/RedBear-OS/local/sources/base/netstack/Cargo.toml: `default-features` is ignored for log, since `default-features` was not specified for `workspace.dependencies.log`, this could become a hard error in the future +warning: `extern` block uses type `[u8]`, which is not FFI-safe + --> /mnt/data/Builds/RedBear-OS/local/sources/libredox/src/lib.rs:314:77 + | +314 | fn redox_get_proc_credentials_v1(cap_fd: usize, target_pid: usize, buf: &mut [u8]) + | ^^^^^^^^^ not FFI-safe + | + = help: consider using a raw pointer instead + = note: slices have no C equivalent + = note: `#[warn(improper_ctypes)]` on by default + +warning: `libredox` (lib) generated 1 warning + Finished `release` profile [optimized] target(s) in 0.09s ++ cp -v target/x86_64-unknown-redox/release/ptyd /mnt/data/Builds/RedBear-OS/recipes/core/base/target/x86_64-unknown-redox/stage.tmp/usr/bin/ptyd +'target/x86_64-unknown-redox/release/ptyd' -> '/mnt/data/Builds/RedBear-OS/recipes/core/base/target/x86_64-unknown-redox/stage.tmp/usr/bin/ptyd' ++ for package in audiod ipcd ptyd dhcpd ++ /mnt/data/Builds/RedBear-OS/target/release/cookbook_redbear_redoxer build --manifest-path /mnt/data/Builds/RedBear-OS/local/sources/base/dhcpd/Cargo.toml --target x86_64-unknown-redox --release +warning: /mnt/data/Builds/RedBear-OS/local/sources/base/netstack/Cargo.toml: `default-features` is ignored for log, since `default-features` was not specified for `workspace.dependencies.log`, this could become a hard error in the future +warning: /mnt/data/Builds/RedBear-OS/local/sources/base/drivers/hwd/Cargo.toml: `default-features` is ignored for libredox, since `default-features` was true for `workspace.dependencies.libredox`, this could become a hard error in the future +warning: unused imports: `DHCPOFFER` and `DHCPRELEASE` + --> dhcpd/src/main.rs:8:43 + | +8 | Dhcp, DHCPACK, DHCPDISCOVER, DHCPNAK, DHCPOFFER, DHCPREQUEST, DHCPRELEASE, + | ^^^^^^^^^ ^^^^^^^^^^^ + | + = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default + +warning: unused variable: `iface` + --> dhcpd/src/main.rs:260:5 + | +260 | iface: &str, + | ^^^^^ help: if this is intentional, prefix it with an underscore: `_iface` + | + = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default + +warning: constant `DHCPOFFER` is never used + --> dhcpd/src/dhcp/mod.rs:22:11 + | +22 | pub const DHCPOFFER: u8 = 2; + | ^^^^^^^^^ + | + = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default + +warning: constant `DHCPDECLINE` is never used + --> dhcpd/src/dhcp/mod.rs:24:11 + | +24 | pub const DHCPDECLINE: u8 = 4; + | ^^^^^^^^^^^ + +warning: constant `DHCPRELEASE` is never used + --> dhcpd/src/dhcp/mod.rs:27:11 + | +27 | pub const DHCPRELEASE: u8 = 7; + | ^^^^^^^^^^^ + +warning: constant `OPT_PARAM_REQUEST` is never used + --> dhcpd/src/dhcp/mod.rs:36:11 + | +36 | pub const OPT_PARAM_REQUEST: u8 = 55; + | ^^^^^^^^^^^^^^^^^ + +warning: `dhcpd` (bin "dhcpd") generated 6 warnings (run `cargo fix --bin "dhcpd" -p dhcpd` to apply 2 suggestions) + Finished `release` profile [optimized] target(s) in 0.07s ++ cp -v target/x86_64-unknown-redox/release/dhcpd /mnt/data/Builds/RedBear-OS/recipes/core/base/target/x86_64-unknown-redox/stage.tmp/usr/bin/dhcpd +'target/x86_64-unknown-redox/release/dhcpd' -> '/mnt/data/Builds/RedBear-OS/recipes/core/base/target/x86_64-unknown-redox/stage.tmp/usr/bin/dhcpd' ++ /mnt/data/Builds/RedBear-OS/target/release/cookbook_redbear_redoxer build --manifest-path /mnt/data/Builds/RedBear-OS/local/sources/base/netstack/Cargo.toml --target x86_64-unknown-redox --release +warning: /mnt/data/Builds/RedBear-OS/local/sources/base/drivers/hwd/Cargo.toml: `default-features` is ignored for libredox, since `default-features` was true for `workspace.dependencies.libredox`, this could become a hard error in the future +warning: /mnt/data/Builds/RedBear-OS/local/sources/base/netstack/Cargo.toml: `default-features` is ignored for log, since `default-features` was not specified for `workspace.dependencies.log`, this could become a hard error in the future +warning: `extern` block uses type `[u8]`, which is not FFI-safe + --> /mnt/data/Builds/RedBear-OS/local/sources/libredox/src/lib.rs:314:77 + | +314 | fn redox_get_proc_credentials_v1(cap_fd: usize, target_pid: usize, buf: &mut [u8]) + | ^^^^^^^^^ not FFI-safe + | + = help: consider using a raw pointer instead + = note: slices have no C equivalent + = note: `#[warn(improper_ctypes)]` on by default + +warning: `libredox` (lib) generated 1 warning +warning: unused import: `Verdict` + --> netstack/src/filter/conntrack.rs:73:28 + | +73 | use super::{PacketContext, Verdict}; + | ^^^^^^^ + | + = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default + +warning: unused import: `alloc::collections::BTreeMap` + --> netstack/src/filter/nat.rs:17:5 + | +17 | use alloc::collections::BTreeMap; + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +warning: unused import: `alloc::rc::Rc` + --> netstack/src/filter/nat.rs:18:5 + | +18 | use alloc::rc::Rc; + | ^^^^^^^^^^^^^ + +warning: unused import: `PacketContext` + --> netstack/src/filter/nat.rs:23:19 + | +23 | use super::{Hook, PacketContext}; + | ^^^^^^^^^^^^^ + +warning: unused imports: `Ipv4Address` and `Ipv6Address` + --> netstack/src/filter/rule.rs:18:32 + | +18 | use smoltcp::wire::{IpAddress, Ipv4Address, Ipv6Address}; + | ^^^^^^^^^^^ ^^^^^^^^^^^ + +warning: unused import: `ConnState` + --> netstack/src/filter/rule.rs:20:13 + | +20 | use super::{ConnState, Hook, PacketContext, Verdict}; + | ^^^^^^^^^ + +warning: unused import: `NatRule` + --> netstack/src/filter/table.rs:35:18 + | +35 | use super::nat::{NatRule, NatTable}; + | ^^^^^^^ + +warning: unused import: `ConntrackTable` + --> netstack/src/filter/mod.rs:23:32 + | +23 | pub use conntrack::{ConnState, ConntrackTable}; + | ^^^^^^^^^^^^^^ + +warning: unused imports: `NatBinding`, `NatRule`, and `NatTable` + --> netstack/src/filter/mod.rs:24:15 + | +24 | pub use nat::{NatBinding, NatRule, NatTable, NatType, rewrite_src_ipv4, parse_nat_rule}; + | ^^^^^^^^^^ ^^^^^^^ ^^^^^^^^ + +warning: unused imports: `FilterRule`, `MatchResult`, `Protocol`, and `StateMatch` + --> netstack/src/filter/mod.rs:25:16 + | +25 | pub use rule::{FilterRule, MatchResult, Protocol, StateMatch}; + | ^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^ + +warning: unused imports: `IpAddress`, `Ipv4Address`, and `Ipv6Address` + --> netstack/src/icmp_error.rs:12:57 + | +12 | Icmpv4Packet, Icmpv4Repr, Icmpv6Packet, Icmpv6Repr, IpAddress, Ipv4Address, Ipv4Packet, + | ^^^^^^^^^ ^^^^^^^^^^^ +13 | Ipv4Repr, Ipv6Address, Ipv6Packet, Ipv6Repr, + | ^^^^^^^^^^^ + +warning: unused import: `self` + --> netstack/src/link/bridge.rs:24:18 + | +24 | use super::stp::{self, BPDU_MAC, PortState, StpState}; + | ^^^^ + +warning: unnecessary parentheses around block return value + --> netstack/src/link/stp.rs:126:13 + | +126 | ((d.total_millis() as u64).wrapping_mul(256).wrapping_div(1000) as u16) + | ^ ^ + | + = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default +help: remove these parentheses + | +126 - ((d.total_millis() as u64).wrapping_mul(256).wrapping_div(1000) as u16) +126 + (d.total_millis() as u64).wrapping_mul(256).wrapping_div(1000) as u16 + | + +warning: unused imports: `EthernetFrame` and `EthernetProtocol` + --> netstack/src/link/vlan.rs:18:22 + | +18 | EthernetAddress, EthernetFrame, EthernetProtocol, IpAddress, IpCidr, + | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ + +warning: unused import: `Ipv4Address` + --> netstack/src/router/mod.rs:7:32 + | +7 | use smoltcp::wire::{IpAddress, Ipv4Address, Ipv4Packet, Ipv6Packet}; + | ^^^^^^^^^^^ + +warning: unused imports: `PacketContext` and `Verdict` + --> netstack/src/scheme/mod.rs:42:34 + | +42 | use crate::filter::{FilterTable, PacketContext, Verdict}; + | ^^^^^^^^^^^^^ ^^^^^^^ + +warning: unused import: `redox_scheme::CallerCtx` + --> netstack/src/scheme/udp.rs:2:5 + | +2 | use redox_scheme::CallerCtx; + | ^^^^^^^^^^^^^^^^^^^^^^^ + +warning: unused import: `anyhow::Context` + --> netstack/src/scheme/tcp.rs:9:5 + | +9 | use anyhow::Context as _; + | ^^^^^^^^^^^^^^^ + +warning: unused variable: `is_orig` + --> netstack/src/filter/conntrack.rs:289:14 + | +289 | let (is_orig, entry_key) = if let Some(entry) = self.entries.get_mut(&reply_key) { + | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_orig` + | + = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default + +warning: unused variable: `icmp_code` + --> netstack/src/filter/conntrack.rs:370:13 + | +370 | let icmp_code = ctx.packet[icmp_offset + 1]; + | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_icmp_code` + +warning: unused variable: `l3num` + --> netstack/src/filter/conntrack.rs:460:9 + | +460 | l3num: u8, + | ^^^^^ help: if this is intentional, prefix it with an underscore: `_l3num` + +warning: unused variable: `now` + --> netstack/src/filter/conntrack.rs:462:9 + | +462 | now: Instant, + | ^^^ help: if this is intentional, prefix it with an underscore: `_now` + +warning: unused variable: `old_port` + --> netstack/src/filter/nat.rs:245:5 + | +245 | old_port: u16, + | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_old_port` + +warning: value assigned to `silent_until` is never read + --> netstack/src/link/ethernet.rs:531:25 + | +531 | let (mut tries, mut silent_until) = match self.ndp_state { + | ^^^^^^^^^^^^^^^^ this value is reassigned later and never used +... +536 | silent_until = now + Self::NDP_SILENCE_TIME; + | ------------------------------------------- `silent_until` is overwritten here before the previous value is read + | + = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default + +warning: unused variable: `hop_limit` + --> netstack/src/link/ethernet.rs:696:17 + | +696 | hop_limit, + | ^^^^^^^^^ help: try ignoring the field: `hop_limit: _` + +warning: unused variable: `router_lifetime` + --> netstack/src/link/ethernet.rs:697:17 + | +697 | router_lifetime, + | ^^^^^^^^^^^^^^^ help: try ignoring the field: `router_lifetime: _` + +warning: unused variable: `reachable_time` + --> netstack/src/link/ethernet.rs:698:17 + | +698 | reachable_time, + | ^^^^^^^^^^^^^^ help: try ignoring the field: `reachable_time: _` + +warning: unused variable: `retrans_time` + --> netstack/src/link/ethernet.rs:699:17 + | +699 | retrans_time, + | ^^^^^^^^^^^^ help: try ignoring the field: `retrans_time: _` + +warning: unused variable: `mtu` + --> netstack/src/link/ethernet.rs:701:17 + | +701 | mtu, + | ^^^ help: try ignoring the field: `mtu: _` + +warning: unused variable: `ipv4` + --> netstack/src/link/ipip.rs:101:16 + | +101 | let Ok(ipv4) = Ipv4Packet::new_checked(&packet) else { + | ^^^^ help: if this is intentional, prefix it with an underscore: `_ipv4` + +warning: unused variable: `now` + --> netstack/src/link/stp.rs:70:9 + | +70 | now: Instant, + | ^^^ help: if this is intentional, prefix it with an underscore: `_now` + +warning: unreachable pattern + --> netstack/src/scheme/netcfg/mod.rs:179:25 + | +179 | _ => {} + | ^ no value can reach this + | +note: multiple earlier patterns match some of the same values + --> netstack/src/scheme/netcfg/mod.rs:179:25 + | +175 | smoltcp::socket::Socket::Tcp(_) => tcp += 1, + | ------------------------------- matches some of the same values +176 | smoltcp::socket::Socket::Udp(_) => udp += 1, + | ------------------------------- matches some of the same values +177 | smoltcp::socket::Socket::Icmp(_) => icmp += 1, + | -------------------------------- matches some of the same values +178 | smoltcp::socket::Socket::Raw(_) => raw += 1, + | ------------------------------- matches some of the same values +179 | _ => {} + | ^ collectively making this unreachable + = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default + +warning: unreachable pattern + --> netstack/src/scheme/netcfg/mod.rs:296:29 + | +296 | ... _ => {} + | ^ no value can reach this + | +note: multiple earlier patterns match some of the same values + --> netstack/src/scheme/netcfg/mod.rs:296:29 + | +292 | ... smoltcp::socket::Socket::Tcp(_) => tcp += 1, + | ------------------------------- matches some of the same values +293 | ... smoltcp::socket::Socket::Udp(_) => udp += 1, + | ------------------------------- matches some of the same values +294 | ... smoltcp::socket::Socket::Icmp(_) => icmp += 1, + | -------------------------------- matches some of the same values +295 | ... smoltcp::socket::Socket::Raw(_) => raw += 1, + | ------------------------------- matches some of the same values +296 | ... _ => {} + | ^ collectively making this unreachable + +warning: unused variable: `e` + --> netstack/src/scheme/netcfg/mod.rs:741:59 + | +741 | ... dev.set_qdisc(&kind).map_err(|e| { + | ^ help: if this is intentional, prefix it with an underscore: `_e` + +warning: unused variable: `e` + --> netstack/src/scheme/netfilter.rs:265:27 + | +265 | .map_err(|e| SyscallError::new(syscall::EINVAL))?; + | ^ help: if this is intentional, prefix it with an underscore: `_e` + +warning: unused variable: `flags` + --> netstack/src/scheme/udp.rs:234:13 + | +234 | let flags = metadata.first().copied().unwrap_or(0) as usize; + | ^^^^^ help: if this is intentional, prefix it with an underscore: `_flags` + +warning: type alias `BufferStack` is never used + --> netstack/src/buffer_pool.rs:6:6 + | +6 | type BufferStack = Rc>>>; + | ^^^^^^^^^^^ + | + = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default + +warning: struct `Buffer` is never constructed + --> netstack/src/buffer_pool.rs:8:12 + | +8 | pub struct Buffer { + | ^^^^^^ + +warning: methods `resize` and `move_out` are never used + --> netstack/src/buffer_pool.rs:14:12 + | +13 | impl Buffer { + | ----------- methods in this implementation +14 | pub fn resize(&mut self, new_len: usize) { + | ^^^^^^ +... +18 | pub fn move_out(&mut self) -> Buffer { + | ^^^^^^^^ + +warning: struct `BufferPool` is never constructed + --> netstack/src/buffer_pool.rs:65:12 + | +65 | pub struct BufferPool { + | ^^^^^^^^^^ + +warning: associated items `new` and `get_buffer` are never used + --> netstack/src/buffer_pool.rs:71:12 + | +70 | impl BufferPool { + | --------------- associated items in this implementation +71 | pub fn new(buffers_size: usize) -> BufferPool { + | ^^^ +... +78 | pub fn get_buffer(&mut self) -> Buffer { + | ^^^^^^^^^^ + +warning: associated items `as_u32` and `from_u32` are never used + --> netstack/src/filter/mod.rs:65:18 + | +53 | impl Hook { + | --------- associated items in this implementation +... +65 | pub const fn as_u32(self) -> u32 { + | ^^^^^^ +... +76 | pub const fn from_u32(id: u32) -> Option { + | ^^^^^^^^ + +warning: associated items `as_u32` and `from_u32` are never used + --> netstack/src/filter/mod.rs:123:18 + | +122 | impl Verdict { + | ------------ associated items in this implementation +123 | pub const fn as_u32(self) -> u32 { + | ^^^^^^ +... +132 | pub const fn from_u32(id: u32) -> Option { + | ^^^^^^^^ + +warning: field `reply_key` is never read + --> netstack/src/filter/conntrack.rs:151:5 + | +149 | struct ConnEntry { + | --------- field in this struct +150 | key: ConnKey, +151 | reply_key: ConnKey, + | ^^^^^^^^^ + | + = note: `ConnEntry` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis + +warning: field `dst_match` is never read + --> netstack/src/filter/nat.rs:37:9 + | +32 | pub struct NatRule { + | ------- field in this struct +... +37 | pub dst_match: Option, + | ^^^^^^^^^ + | + = note: `NatRule` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis + +warning: fields `orig_dst`, `trans_dst`, `orig_dport`, and `trans_dport` are never read + --> netstack/src/filter/nat.rs:47:9 + | +44 | pub struct NatBinding { + | ---------- fields in this struct +... +47 | pub orig_dst: IpAddress, + | ^^^^^^^^ +48 | pub trans_dst: IpAddress, + | ^^^^^^^^^ +... +51 | pub orig_dport: u16, + | ^^^^^^^^^^ +52 | pub trans_dport: u16, + | ^^^^^^^^^^^ + | + = note: `NatBinding` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis + +warning: field `ephemeral_port` is never read + --> netstack/src/filter/nat.rs:75:5 + | +71 | pub struct NatTable { + | -------- field in this struct +... +75 | ephemeral_port: u16, + | ^^^^^^^^^^^^^^ + | + = note: `NatTable` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis + +warning: methods `lookup_dnat` and `alloc_ephemeral_port` are never used + --> netstack/src/filter/nat.rs:147:12 + | + 78 | impl NatTable { + | ------------- methods in this implementation +... +147 | pub fn lookup_dnat( + | ^^^^^^^^^^^ +... +166 | pub fn alloc_ephemeral_port(&mut self) -> u16 { + | ^^^^^^^^^^^^^^^^^^^^ + +warning: function `rewrite_dst_ipv4` is never used + --> netstack/src/filter/nat.rs:230:8 + | +230 | pub fn rewrite_dst_ipv4(packet: &mut [u8], new_dst: Ipv4Address) -> bool { + | ^^^^^^^^^^^^^^^^ + +warning: function `rewrite_port_ipv4` is never used + --> netstack/src/filter/nat.rs:243:8 + | +243 | pub fn rewrite_port_ipv4( + | ^^^^^^^^^^^^^^^^^ + +warning: function `recompute_transport_checksum` is never used + --> netstack/src/filter/nat.rs:280:4 + | +280 | fn recompute_transport_checksum( + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +warning: associated constant `ANY` is never used + --> netstack/src/filter/rule.rs:40:15 + | +39 | impl Protocol { + | ------------- associated constant in this implementation +40 | pub const ANY: Option = None; + | ^^^ + +warning: variant `BadFlagValue` is never constructed + --> netstack/src/filter/table.rs:260:5 + | +248 | pub enum ParseError { + | ---------- variant in this enum +... +260 | BadFlagValue { flag: &'static str, value: String }, + | ^^^^^^^^^^^^ + | + = note: `ParseError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis + +warning: enum `BondMode` is never used + --> netstack/src/link/bond.rs:24:10 + | +24 | pub enum BondMode { + | ^^^^^^^^ + +warning: struct `Slave` is never constructed + --> netstack/src/link/bond.rs:29:8 + | +29 | struct Slave { + | ^^^^^ + +warning: struct `BondDevice` is never constructed + --> netstack/src/link/bond.rs:34:12 + | +34 | pub struct BondDevice { + | ^^^^^^^^^^ + +warning: associated items `new`, `add_slave`, and `select_slave` are never used + --> netstack/src/link/bond.rs:45:12 + | +44 | impl BondDevice { + | --------------- associated items in this implementation +45 | pub fn new(name: &str, mode: BondMode) -> Self { + | ^^^ +... +57 | pub fn add_slave(&self, dev: T) { + | ^^^^^^^^^ +... +64 | fn select_slave(&self) -> Option { + | ^^^^^^^^^^^^ + +warning: constant `MAC_AGE_TIMEOUT` is never used + --> netstack/src/link/bridge.rs:28:7 + | +28 | const MAC_AGE_TIMEOUT: Duration = Duration::from_secs(300); + | ^^^^^^^^^^^^^^^ + +warning: struct `MacEntry` is never constructed + --> netstack/src/link/bridge.rs:30:8 + | +30 | struct MacEntry { + | ^^^^^^^^ + +warning: struct `BridgeDevice` is never constructed + --> netstack/src/link/bridge.rs:35:12 + | +35 | pub struct BridgeDevice { + | ^^^^^^^^^^^^ + +warning: multiple associated items are never used + --> netstack/src/link/bridge.rs:45:12 + | +44 | impl BridgeDevice { + | ----------------- associated items in this implementation +45 | pub fn new(name: &str) -> Self { + | ^^^ +... +56 | pub fn add_port(&self, dev: T) { + | ^^^^^^^^ +... +67 | pub fn enable_stp(&self, priority: u16, bridge_mac: EthernetAddress) { + | ^^^^^^^^^^ +... +72 | fn learn(&self, mac: EthernetAddress, port: usize, now: Instant) { + | ^^^^^ +... +85 | fn age_entries(&self, now: Instant) { + | ^^^^^^^^^^^ +... +91 | fn lookup(&self, mac: EthernetAddress) -> Option { + | ^^^^^^ +... +95 | fn flood(&self, packet: &[u8], now: Instant, except_port: Option) { + | ^^^^^ + +warning: variant `LinkLocalOnly` is never constructed + --> netstack/src/link/ethernet.rs:57:5 + | +54 | enum SlaacState { + | ---------- variant in this enum +... +57 | LinkLocalOnly, + | ^^^^^^^^^^^^^ + | + = note: `SlaacState` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis + +warning: constant `GRE_PROTO_IPV4` is never used + --> netstack/src/link/gre.rs:33:7 + | +33 | const GRE_PROTO_IPV4: u16 = 0x0800; + | ^^^^^^^^^^^^^^ + +warning: constant `GRE_FLAG_KEY` is never used + --> netstack/src/link/gre.rs:34:7 + | +34 | const GRE_FLAG_KEY: u16 = 0x2000; + | ^^^^^^^^^^^^ + +warning: struct `GreDevice` is never constructed + --> netstack/src/link/gre.rs:36:12 + | +36 | pub struct GreDevice { + | ^^^^^^^^^ + +warning: associated items `new`, `push_received`, `build_encapsulated`, and `matches_endpoint` are never used + --> netstack/src/link/gre.rs:52:12 + | + 51 | impl GreDevice { + | -------------- associated items in this implementation + 52 | pub fn new( + | ^^^ +... + 93 | pub fn push_received(&mut self, packet: Vec) { + | ^^^^^^^^^^^^^ +... + 97 | fn build_encapsulated(&mut self, inner_packet: &[u8]) -> &[u8] { + | ^^^^^^^^^^^^^^^^^^ +... +119 | fn matches_endpoint(&self, outer_packet: &[u8]) -> bool { + | ^^^^^^^^^^^^^^^^ + +warning: constant `IPIP_PROTO` is never used + --> netstack/src/link/ipip.rs:24:7 + | +24 | const IPIP_PROTO: u8 = 4; + | ^^^^^^^^^^ + +warning: struct `IpipDevice` is never constructed + --> netstack/src/link/ipip.rs:26:12 + | +26 | pub struct IpipDevice { + | ^^^^^^^^^^ + +warning: associated items `new`, `push_received`, `build_outer_header`, and `matches_endpoint` are never used + --> netstack/src/link/ipip.rs:39:12 + | +38 | impl IpipDevice { + | --------------- associated items in this implementation +39 | pub fn new(name: &str, parent_name: &str, local_ip: Ipv4Address, remote_ip: Ipv4Address, devices: Rc>) -> Se... + | ^^^ +... +53 | pub fn push_received(&mut self, packet: Vec) { + | ^^^^^^^^^^^^^ +... +57 | fn build_outer_header(&mut self, inner_packet: &[u8]) -> &[u8] { + | ^^^^^^^^^^^^^^^^^^ +... +74 | fn matches_endpoint(&self, outer_packet: &[u8]) -> bool { + | ^^^^^^^^^^^^^^^^ + +warning: methods `set_rate` and `set_burst` are never used + --> netstack/src/link/qdisc.rs:34:12 + | +26 | impl TokenBucket { + | ---------------- methods in this implementation +... +34 | pub fn set_rate(&mut self, rate_bps: u64) { + | ^^^^^^^^ +... +38 | pub fn set_burst(&mut self, burst_bytes: u64) { + | ^^^^^^^^^ + +warning: method `flush` is never used + --> netstack/src/link/qdisc.rs:112:12 + | + 71 | impl PriorityQueue { + | ------------------ method in this implementation +... +112 | pub fn flush(&mut self) -> Vec> { + | ^^^^^ + +warning: constant `BPDU_MAC` is never used + --> netstack/src/link/stp.rs:17:11 + | +17 | pub const BPDU_MAC: EthernetAddress = EthernetAddress([0x01, 0x80, 0xc2, 0x00, 0x00, 0x00]); + | ^^^^^^^^ + +warning: constant `DEFAULT_PRIORITY` is never used + --> netstack/src/link/stp.rs:18:11 + | +18 | pub const DEFAULT_PRIORITY: u16 = 32768; + | ^^^^^^^^^^^^^^^^ + +warning: constant `DEFAULT_HELLO` is never used + --> netstack/src/link/stp.rs:19:11 + | +19 | pub const DEFAULT_HELLO: Duration = Duration::from_secs(2); + | ^^^^^^^^^^^^^ + +warning: constant `DEFAULT_MAX_AGE` is never used + --> netstack/src/link/stp.rs:20:11 + | +20 | pub const DEFAULT_MAX_AGE: Duration = Duration::from_secs(20); + | ^^^^^^^^^^^^^^^ + +warning: constant `DEFAULT_FORWARD_DELAY` is never used + --> netstack/src/link/stp.rs:21:11 + | +21 | pub const DEFAULT_FORWARD_DELAY: Duration = Duration::from_secs(15); + | ^^^^^^^^^^^^^^^^^^^^^ + +warning: enum `PortState` is never used + --> netstack/src/link/stp.rs:24:10 + | +24 | pub enum PortState { + | ^^^^^^^^^ + +warning: struct `StpState` is never constructed + --> netstack/src/link/stp.rs:30:12 + | +30 | pub struct StpState { + | ^^^^^^^^ + +warning: multiple associated items are never used + --> netstack/src/link/stp.rs:41:12 + | + 40 | impl StpState { + | ------------- associated items in this implementation + 41 | pub fn new(priority: u16, mac: EthernetAddress, port_count: usize) -> Self { + | ^^^ +... + 54 | pub fn bridge_id(&self) -> u64 { + | ^^^^^^^^^ +... + 58 | pub fn send_hello(&mut self, now: Instant) -> bool { + | ^^^^^^^^^^ +... + 66 | pub fn process_bpdu( + | ^^^^^^^^^^^^ +... +102 | pub fn is_blocked(&self, port_idx: usize) -> bool { + | ^^^^^^^^^^ +... +106 | fn port_cost(&self) -> u32 { + | ^^^^^^^^^ +... +110 | pub fn build_bpdu(&self) -> Vec { + | ^^^^^^^^^^ + +warning: struct `BpduMessage` is never constructed + --> netstack/src/link/stp.rs:135:8 + | +135 | struct BpduMessage { + | ^^^^^^^^^^^ + +warning: associated function `parse` is never used + --> netstack/src/link/stp.rs:142:8 + | +141 | impl BpduMessage { + | ---------------- associated function in this implementation +142 | fn parse(data: &[u8]) -> Option { + | ^^^^^ + +warning: function `mac_to_u64` is never used + --> netstack/src/link/stp.rs:153:4 + | +153 | fn mac_to_u64(mac: EthernetAddress) -> u64 { + | ^^^^^^^^^^ + +warning: constant `TPID_8021Q` is never used + --> netstack/src/link/vlan.rs:23:7 + | +23 | const TPID_8021Q: u16 = 0x8100; + | ^^^^^^^^^^ + +warning: struct `VlanDevice` is never constructed + --> netstack/src/link/vlan.rs:25:12 + | +25 | pub struct VlanDevice { + | ^^^^^^^^^^ + +warning: multiple associated items are never used + --> netstack/src/link/vlan.rs:40:12 + | + 39 | impl VlanDevice { + | --------------- associated items in this implementation + 40 | pub fn new(name: &str, parent_name: &str, vlan_id: u16, devices: Rc>) -> Self { + | ^^^ +... + 63 | pub fn vlan_id(&self) -> u16 { + | ^^^^^^^ +... + 67 | pub fn parent_name(&self) -> &str { + | ^^^^^^^^^^^ +... + 71 | pub fn set_priority(&mut self, pcp: u8) { + | ^^^^^^^^^^^^ +... + 78 | pub fn push_received(&mut self, packet: Vec) { + | ^^^^^^^^^^^^^ +... + 82 | fn insert_tag(&mut self, packet: &[u8]) -> &[u8] { + | ^^^^^^^^^^ +... + 94 | fn strip_tag(&mut self, packet: &[u8]) -> Option<&[u8]> { + | ^^^^^^^^^ +... +108 | pub fn matches_tag(&self, packet: &[u8]) -> bool { + | ^^^^^^^^^^^ + +warning: constant `VXLAN_PORT` is never used + --> netstack/src/link/vxlan.rs:27:7 + | +27 | const VXLAN_PORT: u16 = 4789; + | ^^^^^^^^^^ + +warning: constant `VXLAN_FLAGS` is never used + --> netstack/src/link/vxlan.rs:28:7 + | +28 | const VXLAN_FLAGS: u8 = 0x08; + | ^^^^^^^^^^^ + +warning: struct `VxlanDevice` is never constructed + --> netstack/src/link/vxlan.rs:30:12 + | +30 | pub struct VxlanDevice { + | ^^^^^^^^^^^ + +warning: associated items `new`, `push_received`, `build_encapsulated`, `matches_endpoint`, and `decapsulate` are never used + --> netstack/src/link/vxlan.rs:46:12 + | + 45 | impl VxlanDevice { + | ---------------- associated items in this implementation + 46 | pub fn new( + | ^^^ +... + 74 | pub fn push_received(&mut self, packet: Vec) { + | ^^^^^^^^^^^^^ +... + 78 | fn build_encapsulated(&mut self, inner_packet: &[u8]) -> &[u8] { + | ^^^^^^^^^^^^^^^^^^ +... +134 | fn matches_endpoint(&self, outer_packet: &[u8]) -> bool { + | ^^^^^^^^^^^^^^^^ +... +160 | fn decapsulate(&mut self, outer_packet: &[u8]) -> Option<&[u8]> { + | ^^^^^^^^^^^ + +warning: variants `Blackhole`, `Unreachable`, and `Prohibit` are never constructed + --> netstack/src/router/route_table.rs:9:5 + | + 7 | pub enum RouteType { + | --------- variants in this enum + 8 | Unicast, + 9 | Blackhole, + | ^^^^^^^^^ +10 | Unreachable, + | ^^^^^^^^^^^ +11 | Prohibit, + | ^^^^^^^^ + | + = note: `RouteType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis + +warning: associated function `from_str` is never used + --> netstack/src/router/route_table.rs:24:12 + | +14 | impl RouteType { + | -------------- associated function in this implementation +... +24 | pub fn from_str(s: &str) -> Option { + | ^^^^^^^^ + +warning: associated function `with_type` is never used + --> netstack/src/router/route_table.rs:57:12 + | +45 | impl Rule { + | --------- associated function in this implementation +... +57 | pub fn with_type( + | ^^^^^^^^^ + +warning: method `lookup_device` is never used + --> netstack/src/router/route_table.rs:125:12 + | +104 | impl RouteTable { + | --------------- method in this implementation +... +125 | pub fn lookup_device(&self, dst: &IpAddress) -> Option> { + | ^^^^^^^^^^^^^ + +warning: field `observer` is never read + --> netstack/src/scheme/mod.rs:83:5 + | +67 | pub struct Smolnetd { + | -------- field in this struct +... +83 | observer: ObserverRef, + | ^^^^^^^^ + +warning: associated constant `MAX_PACKET_SIZE` is never used + --> netstack/src/scheme/mod.rs:87:15 + | +86 | impl Smolnetd { + | ------------- associated constant in this implementation +87 | pub const MAX_PACKET_SIZE: usize = 2048; + | ^^^^^^^^^^^^^^^ + +warning: constant `SO_REUSEADDR` is never used + --> netstack/src/scheme/tcp.rs:19:7 + | +19 | const SO_REUSEADDR: usize = 2; + | ^^^^^^^^^^^^ + +warning: field `write_buf` is never read + --> netstack/src/scheme/tun.rs:51:5 + | +47 | struct TunFile { + | ------- field in this struct +... +51 | write_buf: Vec, + | ^^^^^^^^^ + +warning: constant `SO_REUSEADDR` is never used + --> netstack/src/scheme/udp.rs:20:7 + | +20 | const SO_REUSEADDR: usize = 2; + | ^^^^^^^^^^^^ + +warning: constant `SO_BROADCAST` is never used + --> netstack/src/scheme/udp.rs:21:7 + | +21 | const SO_BROADCAST: usize = 6; + | ^^^^^^^^^^^^ + +warning: constant `LINK_LOCAL_PREFIX` is never used + --> netstack/src/slaac.rs:23:11 + | +23 | pub const LINK_LOCAL_PREFIX: Ipv6Cidr = Ipv6Cidr::new( + | ^^^^^^^^^^^^^^^^^ + +warning: constant `ALL_NODES_MULTICAST` is never used + --> netstack/src/slaac.rs:31:11 + | +31 | pub const ALL_NODES_MULTICAST: Ipv6Address = + | ^^^^^^^^^^^^^^^^^^^ + +warning: constant `ICMPV6_RS` is never used + --> netstack/src/slaac.rs:34:7 + | +34 | const ICMPV6_RS: u8 = 133; + | ^^^^^^^^^ + +warning: constant `ICMPV6_RA` is never used + --> netstack/src/slaac.rs:35:7 + | +35 | const ICMPV6_RA: u8 = 134; + | ^^^^^^^^^ + +warning: constant `ND_OPT_SOURCE_LL_ADDR` is never used + --> netstack/src/slaac.rs:39:7 + | +39 | const ND_OPT_SOURCE_LL_ADDR: u8 = 1; + | ^^^^^^^^^^^^^^^^^^^^^ + +warning: constant `ND_OPT_PREFIX_INFO` is never used + --> netstack/src/slaac.rs:41:7 + | +41 | const ND_OPT_PREFIX_INFO: u8 = 3; + | ^^^^^^^^^^^^^^^^^^ + +warning: constant `RA_TIMEOUT` is never used + --> netstack/src/slaac.rs:43:7 + | +43 | const RA_TIMEOUT: Duration = Duration::from_secs(5); + | ^^^^^^^^^^ + +warning: constant `MAX_RS_RETRIES` is never used + --> netstack/src/slaac.rs:44:7 + | +44 | const MAX_RS_RETRIES: u8 = 3; + | ^^^^^^^^^^^^^^ + +warning: enum `SlacdState` is never used + --> netstack/src/slaac.rs:47:10 + | +47 | pub enum SlacdState { + | ^^^^^^^^^^ + +warning: function `build_router_solicitation` is never used + --> netstack/src/slaac.rs:103:8 + | +103 | pub fn build_router_solicitation(mac: EthernetAddress) -> Vec { + | ^^^^^^^^^^^^^^^^^^^^^^^^^ + +warning: struct `ParsedRa` is never constructed + --> netstack/src/slaac.rs:118:12 + | +118 | pub struct ParsedRa { + | ^^^^^^^^ + +warning: struct `RaPrefix` is never constructed + --> netstack/src/slaac.rs:127:12 + | +127 | pub struct RaPrefix { + | ^^^^^^^^ + +warning: function `parse_router_advertisement` is never used + --> netstack/src/slaac.rs:137:8 + | +137 | pub fn parse_router_advertisement(data: &[u8]) -> Option { + | ^^^^^^^^^^^^^^^^^^^^^^^^^^ + +warning: struct `Slacd` is never constructed + --> netstack/src/slaac.rs:205:12 + | +205 | pub struct Slacd { + | ^^^^^ + +warning: associated items `new`, `state`, `link_local`, `tick`, and `process_ra` are never used + --> netstack/src/slaac.rs:213:12 + | +212 | impl Slacd { + | ---------- associated items in this implementation +213 | pub fn new(mac: EthernetAddress) -> Self { + | ^^^ +... +223 | pub fn state(&self) -> SlacdState { + | ^^^^^ +... +227 | pub fn link_local(&self) -> Ipv6Cidr { + | ^^^^^^^^^^ +... +233 | pub fn tick(&mut self, now: Instant) -> Option> { + | ^^^^ +... +257 | pub fn process_ra(&mut self, ra: &ParsedRa) -> Vec { + | ^^^^^^^^^^ + +warning: unused `std::result::Result` that must be used + --> netstack/src/main.rs:197:9 + | +197 | / match event_res.map_err(|e| anyhow!("event result is error: {:?}", e))? { +198 | | EventSource::Network => smolnetd.on_network_scheme_event(), +199 | | EventSource::Time => smolnetd.on_time_event(), +200 | | EventSource::IpScheme => smolnetd.on_ip_scheme_event(), +... | +208 | | .map_err(|e| error!("Received packet error: {:?}", e)); + | |______________________________________________________________^ + | + = note: this `Result` may be an `Err` variant, which should be handled + = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default +help: use `let _ = ...` to ignore the resulting value + | +197 | let _ = match event_res.map_err(|e| anyhow!("event result is error: {:?}", e))? { + | +++++++ + +warning: `netstack` (bin "netstack") generated 115 warnings (run `cargo fix --bin "netstack" -p netstack` to apply 32 suggestions) + Finished `release` profile [optimized] target(s) in 0.12s ++ cp -v target/x86_64-unknown-redox/release/netstack /mnt/data/Builds/RedBear-OS/recipes/core/base/target/x86_64-unknown-redox/stage.tmp/usr/bin/netstack +'target/x86_64-unknown-redox/release/netstack' -> '/mnt/data/Builds/RedBear-OS/recipes/core/base/target/x86_64-unknown-redox/stage.tmp/usr/bin/netstack' ++ cp -v target/x86_64-unknown-redox/release/netstack /mnt/data/Builds/RedBear-OS/recipes/core/base/target/x86_64-unknown-redox/stage.tmp/usr/bin/smolnetd +'target/x86_64-unknown-redox/release/netstack' -> '/mnt/data/Builds/RedBear-OS/recipes/core/base/target/x86_64-unknown-redox/stage.tmp/usr/bin/smolnetd' ++ BINS=(gpiod i2c-gpio-expanderd intel-gpiod amd-mp2-i2cd dw-acpi-i2cd e1000d ihdad ihdgd i2c-hidd intel-thc-hidd intel-lpss-i2cd ixgbed pcid pcid-spawner rtl8139d rtl8168d usbctl usbhidd thermald usbhubd ucsid usbscsid virtio-gpud virtio-netd xhcid i2cd inputd fbcond redoxerd) ++ case "${TARGET}" in ++ BINS+=(ac97d sb16d vboxd) ++ mkdir -pv /mnt/data/Builds/RedBear-OS/recipes/core/base/target/x86_64-unknown-redox/stage.tmp/usr/bin /mnt/data/Builds/RedBear-OS/recipes/core/base/target/x86_64-unknown-redox/stage.tmp/usr/lib/drivers +mkdir: создан каталог '/mnt/data/Builds/RedBear-OS/recipes/core/base/target/x86_64-unknown-redox/stage.tmp/usr/lib' +mkdir: создан каталог '/mnt/data/Builds/RedBear-OS/recipes/core/base/target/x86_64-unknown-redox/stage.tmp/usr/lib/drivers' ++ export CARGO_PROFILE_RELEASE_OPT_LEVEL=s ++ CARGO_PROFILE_RELEASE_OPT_LEVEL=s ++ export CARGO_PROFILE_RELEASE_PANIC=abort ++ CARGO_PROFILE_RELEASE_PANIC=abort ++ EXISTING_BINS=() ++ for bin in "${BINS[@]}" ++ grep -Rqs '^name = "gpiod"$' /mnt/data/Builds/RedBear-OS/local/sources/base ++ EXISTING_BINS+=("${bin}") ++ for bin in "${BINS[@]}" ++ grep -Rqs '^name = "i2c-gpio-expanderd"$' /mnt/data/Builds/RedBear-OS/local/sources/base ++ EXISTING_BINS+=("${bin}") ++ for bin in "${BINS[@]}" ++ grep -Rqs '^name = "intel-gpiod"$' /mnt/data/Builds/RedBear-OS/local/sources/base ++ EXISTING_BINS+=("${bin}") ++ for bin in "${BINS[@]}" ++ grep -Rqs '^name = "amd-mp2-i2cd"$' /mnt/data/Builds/RedBear-OS/local/sources/base diff --git a/build-redbear-mini.log b/build-redbear-mini.log index 1316503768..5bd89f3118 100644 --- a/build-redbear-mini.log +++ b/build-redbear-mini.log @@ -65482,3 +65482,3720 @@ warning: /mnt/data/Builds/RedBear-OS/local/sources/base/drivers/hwd/Cargo.toml: Compiling crossbeam-channel v0.4.4 Compiling parking_lot_core v0.9.10 (https://github.com/Amanieu/parking_lot.git?rev=0.12.3#a29dd3d4) Compiling chashmap v2.2.2 + Compiling thiserror v1.0.69 + Compiling usb-core v0.3.0 (/mnt/data/Builds/RedBear-OS/local/recipes/drivers/usb-core/source) + Compiling ransid v0.4.9 + Compiling nom v3.2.1 + Compiling spinning_top v0.3.0 + Compiling byte-tools v0.3.1 + Compiling hidreport v0.4.1 (https://github.com/jackpot51/hidreport#1cf47ffc) + Compiling block-padding v0.1.5 + Compiling base64 v0.21.7 + Compiling static_assertions v1.1.0 + Compiling generic-array v0.12.4 + Compiling heck v0.5.0 + Compiling crossbeam-queue v0.3.13 + Compiling spin v0.10.0 + Compiling bitflags v2.13.0 + Compiling toml_datetime v1.1.1+spec-1.1.0 + Compiling serde_spanned v1.1.1 + Compiling regex-automata v0.4.14 + Compiling edid v0.3.0 + Compiling redox_syscall v0.9.0+rb0.3.0 (/mnt/data/Builds/RedBear-OS/local/sources/syscall) + Compiling pci_types v0.10.1 + Compiling toml v1.1.2+spec-1.1.0 + Compiling gpt v3.1.0 + Compiling redox_syscall v0.5.18 + Compiling scroll_derive v0.10.5 + Compiling acpi v6.1.1 (https://gitlab.redox-os.org/redox-os/acpi.git?branch=redox-6.x#90cbe88e) + Compiling digest v0.8.1 + Compiling block-buffer v0.7.3 + Compiling hashbrown v0.17.1 + Compiling opaque-debug v0.2.3 + Compiling config v0.0.0 (/mnt/data/Builds/RedBear-OS/local/sources/base/config) + Compiling libredox v0.1.18+rb0.3.0 (/mnt/data/Builds/RedBear-OS/local/sources/libredox) + Compiling scroll v0.10.2 + Compiling drm-ffi v0.9.1 +warning: `extern` block uses type `[u8]`, which is not FFI-safe + --> /mnt/data/Builds/RedBear-OS/local/sources/libredox/src/lib.rs:314:77 + | +314 | fn redox_get_proc_credentials_v1(cap_fd: usize, target_pid: usize, buf: &mut [u8]) + | ^^^^^^^^^ not FFI-safe + | + = help: consider using a raw pointer instead + = note: slices have no C equivalent + = note: `#[warn(improper_ctypes)]` on by default + +warning: `libredox` (lib) generated 1 warning + Compiling redox-scheme v0.11.2+rb0.3.0 (/mnt/data/Builds/RedBear-OS/local/sources/redox-scheme) + Compiling redox_event v0.4.8 + Compiling executor v0.1.0 (/mnt/data/Builds/RedBear-OS/local/sources/base/drivers/executor) + Compiling partitionlib v0.1.0 (/mnt/data/Builds/RedBear-OS/local/sources/base/drivers/storage/partitionlib) + Compiling regex v1.12.4 + Compiling redox-ioctl v0.1.0 (/mnt/data/Builds/RedBear-OS/local/sources/relibc/redox-ioctl) + Compiling ppv-lite86 v0.2.21 + Compiling fake-simd v0.1.2 + Compiling daemon v0.0.0 (/mnt/data/Builds/RedBear-OS/local/sources/base/daemon) + Compiling scheme-utils v0.0.0 (/mnt/data/Builds/RedBear-OS/local/sources/base/scheme-utils) + Compiling driver-network v0.1.0 (/mnt/data/Builds/RedBear-OS/local/sources/base/drivers/net/driver-network) + Compiling rand_core v0.5.1 + Compiling equivalent v1.0.2 + Compiling strum v0.27.2 + Compiling sha2 v0.8.2 + Compiling indexmap v2.14.0 + Compiling num-derive v0.3.3 + Compiling raw-cpuid v11.6.0 + Compiling arrayvec v0.7.8 + Compiling rand_chacha v0.2.2 + Compiling base64 v0.11.0 + Compiling rustc-hash v1.1.0 + Compiling zerod v0.1.0 (/mnt/data/Builds/RedBear-OS/local/sources/base/zerod) + Compiling logd v0.1.0 (/mnt/data/Builds/RedBear-OS/local/sources/base/logd) + Compiling serde_derive v1.0.228 + Compiling futures-macro v0.3.32 + Compiling thiserror-impl v2.0.18 + Compiling bytemuck_derive v1.10.2 + Compiling thiserror-impl v1.0.69 + Compiling strum_macros v0.27.2 + Compiling ramfs v0.1.0 (/mnt/data/Builds/RedBear-OS/local/sources/base/ramfs) +warning: unused variable: `payload` + --> ramfs/src/scheme.rs:641:9 + | +641 | payload: &mut [u8], + | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_payload` + | + = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default + + Compiling futures-util v0.3.32 + Compiling bytemuck v1.25.0 + Compiling drm v0.15.0 +warning: `ramfs` (bin "ramfs") generated 1 warning (run `cargo fix --bin "ramfs" -p ramfs` to apply 1 suggestion) + Compiling rehid v0.1.0 (https://gitlab.redox-os.org/redox-os/rehid.git#da987bc6) + Compiling randd v0.1.0 (/mnt/data/Builds/RedBear-OS/local/sources/base/randd) + Compiling graphics-ipc v0.1.0 (/mnt/data/Builds/RedBear-OS/local/sources/base/drivers/graphics/graphics-ipc) + Compiling console-draw v0.1.0 (/mnt/data/Builds/RedBear-OS/local/sources/base/drivers/graphics/console-draw) + Compiling futures-executor v0.3.32 + Compiling smallvec v1.15.2 + Compiling bincode v1.3.3 + Compiling ron v0.8.1 + Compiling amlserde v0.0.1 (/mnt/data/Builds/RedBear-OS/local/sources/base/drivers/amlserde) + Compiling futures v0.3.32 + Compiling driver-block v0.1.0 (/mnt/data/Builds/RedBear-OS/local/sources/base/drivers/storage/driver-block) + Compiling init v0.1.0 (/mnt/data/Builds/RedBear-OS/local/sources/base/init) +warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified + --> drivers/storage/driver-block/src/lib.rs:78:5 + | +78 | async fn read(&mut self, block: u64, buffer: &mut [u8]) -> syscall::Result; + | ^^^^^ + | + = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` + = note: `#[warn(async_fn_in_trait)]` on by default +help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change + | +78 - async fn read(&mut self, block: u64, buffer: &mut [u8]) -> syscall::Result; +78 + fn read(&mut self, block: u64, buffer: &mut [u8]) -> impl std::future::Future> + Send; + | + +warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified + --> drivers/storage/driver-block/src/lib.rs:79:5 + | +79 | async fn write(&mut self, block: u64, buffer: &[u8]) -> syscall::Result; + | ^^^^^ + | + = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` +help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change + | +79 - async fn write(&mut self, block: u64, buffer: &[u8]) -> syscall::Result; +79 + fn write(&mut self, block: u64, buffer: &[u8]) -> impl std::future::Future> + Send; + | + +warning: unreachable expression + --> drivers/amlserde/src/lib.rs:391:24 + | +389 | code: (return None), //TODO figure out what to do here + | ------------- any code following this expression is unreachable +390 | //TODO check specs to see if all bit patterns are allowed +391 | flags: MethodFlags( + | ________________________^ +392 | | (arg_count as u8).clamp(0, 7) +393 | | + (serialize as u8).shl(3) +394 | | + sync_level.clamp(0, 15).shl(4), +395 | | ), + | |_________________^ unreachable expression + | + = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default + +warning: `driver-block` (lib) generated 2 warnings + Compiling redox-log v0.1.5 (https://gitlab.redox-os.org/redox-os/redox-log.git#ac8cbc40) +warning: unused variable: `arg_count` + --> drivers/amlserde/src/lib.rs:385:17 + | +385 | arg_count, + | ^^^^^^^^^ help: try ignoring the field: `arg_count: _` + | + = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default + +warning: unused variable: `serialize` + --> drivers/amlserde/src/lib.rs:386:17 + | +386 | serialize, + | ^^^^^^^^^ help: try ignoring the field: `serialize: _` + +warning: unused variable: `sync_level` + --> drivers/amlserde/src/lib.rs:387:17 + | +387 | sync_level, + | ^^^^^^^^^^ help: try ignoring the field: `sync_level: _` + + Compiling lived v0.1.0 (/mnt/data/Builds/RedBear-OS/local/sources/base/drivers/storage/lived) + Compiling common v0.1.0 (/mnt/data/Builds/RedBear-OS/local/sources/base/drivers/common) + Compiling parking_lot v0.12.3 (https://github.com/Amanieu/parking_lot.git?rev=0.12.3#a29dd3d4) +warning: value assigned to `offset` is never read + --> drivers/storage/lived/src/main.rs:100:13 + | +100 | offset += PAGE_SIZE; + | ^^^^^^^^^^^^^^^^^^^ + | + = help: maybe it is overwritten before being read? + = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default + + Compiling pcid v0.1.0 (/mnt/data/Builds/RedBear-OS/local/sources/base/drivers/pcid) +warning: `amlserde` (lib) generated 4 warnings (run `cargo fix --lib -p amlserde` to apply 3 suggestions) + Compiling inputd v0.1.0 (/mnt/data/Builds/RedBear-OS/local/sources/base/drivers/inputd) + Compiling driver-graphics v0.1.0 (/mnt/data/Builds/RedBear-OS/local/sources/base/drivers/graphics/driver-graphics) + Compiling fbbootlogd v0.1.0 (/mnt/data/Builds/RedBear-OS/local/sources/base/drivers/graphics/fbbootlogd) + Compiling ps2d v0.1.0 (/mnt/data/Builds/RedBear-OS/local/sources/base/drivers/input/ps2d) + Compiling fbcond v0.1.0 (/mnt/data/Builds/RedBear-OS/local/sources/base/drivers/graphics/fbcond) + Compiling vesad v0.1.0 (/mnt/data/Builds/RedBear-OS/local/sources/base/drivers/graphics/vesad) +warning: fields `name` and `description` are never read + --> drivers/graphics/fbcond/src/keymap.rs:46:9 + | +44 | pub struct Keymap { + | ------ fields in this struct +45 | /// Human-readable name (e.g. "us", "ru"). +46 | pub name: String, + | ^^^^ +47 | /// Description (e.g. "US English (QWERTY)"). +48 | pub description: String, + | ^^^^^^^^^^^ + | + = note: `Keymap` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis + = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default + + Compiling xhcid v0.1.0 (/mnt/data/Builds/RedBear-OS/local/sources/base/drivers/usb/xhcid) +warning: unused import: `info` + --> drivers/input/ps2d/src/controller.rs:16:25 + | +16 | use log::{debug, error, info, trace, warn}; + | ^^^^ + | + = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default + + Compiling virtio-core v0.1.0 (/mnt/data/Builds/RedBear-OS/local/sources/base/drivers/virtio-core) + Compiling rtcd v0.1.0 (/mnt/data/Builds/RedBear-OS/local/sources/base/drivers/rtcd) +warning: unused variable: `cmd` + --> drivers/input/ps2d/src/mouse.rs:194:13 + | +194 | let cmd = TouchpadCommand::Identify as u8; + | ^^^ help: if this is intentional, prefix it with an underscore: `_cmd` + | + = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default + +warning: type `controller::Command` is more private than the item `controller::Error::CommandTimeout::0` + --> drivers/input/ps2d/src/controller.rs:26:20 + | +26 | CommandTimeout(Command), + | ^^^^^^^ field `controller::Error::CommandTimeout::0` is reachable at visibility `pub(crate)` + | +note: but type `controller::Command` is only usable at visibility `pub(self)` + --> drivers/input/ps2d/src/controller.rs:66:1 + | +66 | enum Command { + | ^^^^^^^^^^^^ + = note: `#[warn(private_interfaces)]` on by default + +warning: type `KeyboardCommand` is more private than the item `controller::Error::KeyboardCommandFail::0` + --> drivers/input/ps2d/src/controller.rs:28:25 + | +28 | KeyboardCommandFail(KeyboardCommand), + | ^^^^^^^^^^^^^^^ field `controller::Error::KeyboardCommandFail::0` is reachable at visibility `pub(crate)` + | +note: but type `KeyboardCommand` is only usable at visibility `pub(self)` + --> drivers/input/ps2d/src/controller.rs:83:1 + | +83 | enum KeyboardCommand { + | ^^^^^^^^^^^^^^^^^^^^ + +warning: type `KeyboardCommandData` is more private than the item `controller::Error::KeyboardCommandDataFail::0` + --> drivers/input/ps2d/src/controller.rs:29:29 + | +29 | KeyboardCommandDataFail(KeyboardCommandData), + | ^^^^^^^^^^^^^^^^^^^ field `controller::Error::KeyboardCommandDataFail::0` is reachable at visibility `pub(crate)` + | +note: but type `KeyboardCommandData` is only usable at visibility `pub(self)` + --> drivers/input/ps2d/src/controller.rs:92:1 + | +92 | enum KeyboardCommandData { + | ^^^^^^^^^^^^^^^^^^^^^^^^ + +warning: type `MouseTx` is more private than the item `MouseState::IdentifyTouchpad::tx` + --> drivers/input/ps2d/src/mouse.rs:106:24 + | +106 | IdentifyTouchpad { tx: MouseTx }, + | ^^^^^^^^^^^ field `MouseState::IdentifyTouchpad::tx` is reachable at visibility `pub(crate)` + | +note: but type `MouseTx` is only usable at visibility `pub(self)` + --> drivers/input/ps2d/src/mouse.rs:30:1 + | + 30 | struct MouseTx { + | ^^^^^^^^^^^^^^ + +warning: type `MouseTx` is more private than the item `MouseState::EnableIntellimouse::tx` + --> drivers/input/ps2d/src/mouse.rs:108:26 + | +108 | EnableIntellimouse { tx: MouseTx }, + | ^^^^^^^^^^^ field `MouseState::EnableIntellimouse::tx` is reachable at visibility `pub(crate)` + | +note: but type `MouseTx` is only usable at visibility `pub(self)` + --> drivers/input/ps2d/src/mouse.rs:30:1 + | + 30 | struct MouseTx { + | ^^^^^^^^^^^^^^ + +warning: field `0` is never read + --> drivers/input/ps2d/src/controller.rs:26:20 + | +26 | CommandTimeout(Command), + | -------------- ^^^^^^^ + | | + | field in this variant + | + = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis + = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default +help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field + | +26 - CommandTimeout(Command), +26 + CommandTimeout(()), + | + +warning: field `0` is never read + --> drivers/input/ps2d/src/controller.rs:27:24 + | +27 | WriteConfigTimeout(ConfigFlags), + | ------------------ ^^^^^^^^^^^ + | | + | field in this variant + | + = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis +help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field + | +27 - WriteConfigTimeout(ConfigFlags), +27 + WriteConfigTimeout(()), + | + +warning: field `0` is never read + --> drivers/input/ps2d/src/controller.rs:28:25 + | +28 | KeyboardCommandFail(KeyboardCommand), + | ------------------- ^^^^^^^^^^^^^^^ + | | + | field in this variant + | + = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis +help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field + | +28 - KeyboardCommandFail(KeyboardCommand), +28 + KeyboardCommandFail(()), + | + +warning: field `0` is never read + --> drivers/input/ps2d/src/controller.rs:29:29 + | +29 | KeyboardCommandDataFail(KeyboardCommandData), + | ----------------------- ^^^^^^^^^^^^^^^^^^^ + | | + | field in this variant + | + = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis +help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field + | +29 - KeyboardCommandDataFail(KeyboardCommandData), +29 + KeyboardCommandDataFail(()), + | + +warning: constant `RESET_TIMEOUT` is never used + --> drivers/input/ps2d/src/controller.rs:99:7 + | +99 | const RESET_TIMEOUT: u64 = 1_000_000; + | ^^^^^^^^^^^^^ + +warning: methods `config` and `next` are never used + --> drivers/input/ps2d/src/controller.rs:204:8 + | +119 | impl Ps2 { + | -------- methods in this implementation +... +204 | fn config(&mut self) -> Result { + | ^^^^^^ +... +264 | pub fn next(&mut self) -> Option<(bool, u8)> { + | ^^^^ + +warning: method `irq` is never used + --> drivers/input/ps2d/src/state.rs:102:12 + | + 61 | impl Ps2d { + | --------- method in this implementation +... +102 | pub fn irq(&mut self) { + | ^^^ + +warning: constant `RELATIVE_PACKET` is never used + --> drivers/input/ps2d/src/vm.rs:26:11 + | +26 | pub const RELATIVE_PACKET: u32 = 0x00010000; + | ^^^^^^^^^^^^^^^ + +warning: unused `MouseResult` that must be used + --> drivers/input/ps2d/src/state.rs:73:13 + | +73 | MouseState::Bat.handle(3, &mut ps2); + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + | + = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default +help: use `let _ = ...` to ignore the resulting value + | +73 | let _ = MouseState::Bat.handle(3, &mut ps2); + | +++++++ + +warning: variants `Notification`, `Rsvd2`, and `Rsvd3` are never constructed + --> drivers/usb/xhcid/src/driver_interface.rs:172:13 + | +170 | enum InterruptUsageBits { + | ------------------ variants in this enum +171 | Periodic, +172 | Notification, + | ^^^^^^^^^^^^ +173 | Rsvd2, + | ^^^^^ +174 | Rsvd3, + | ^^^^^ + | + = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default + +warning: field `inner` is never read + --> drivers/usb/xhcid/src/driver_interface.rs:909:5 + | +908 | pub struct TransferWriteStream<'a> { + | ------------------- field in this struct +909 | inner: TransferStream<'a>, + | ^^^^^ + +warning: field `inner` is never read + --> drivers/usb/xhcid/src/driver_interface.rs:912:5 + | +911 | pub struct TransferReadStream<'a> { + | ------------------ field in this struct +912 | inner: TransferStream<'a>, + | ^^^^^ + +warning: fields `bytes_to_transfer`, `bytes_transferred`, `bytes_per_transfer`, and `endp_handle` are never read + --> drivers/usb/xhcid/src/driver_interface.rs:915:5 + | +914 | struct TransferStream<'a> { + | -------------- fields in this struct +915 | bytes_to_transfer: u32, + | ^^^^^^^^^^^^^^^^^ +916 | bytes_transferred: u32, + | ^^^^^^^^^^^^^^^^^ +917 | bytes_per_transfer: u32, + | ^^^^^^^^^^^^^^^^^^ +918 | endp_handle: &'a mut XhciEndpHandle, + | ^^^^^^^^^^^ + +warning: struct `OtherSpeedConfig` is never constructed + --> drivers/usb/xhcid/src/usb/config.rs:18:12 + | +18 | pub struct OtherSpeedConfig { + | ^^^^^^^^^^^^^^^^ + +warning: struct `DeviceQualifier` is never constructed + --> drivers/usb/xhcid/src/usb/device.rs:151:12 + | +151 | pub struct DeviceQualifier { + | ^^^^^^^^^^^^^^^ + +warning: method `ty` is never used + --> drivers/usb/xhcid/src/usb/endpoint.rs:38:8 + | +37 | impl EndpointDescriptor { + | ----------------------- method in this implementation +38 | fn ty(self) -> EndpointTy { + | ^^ + +warning: variant `Reserved` is never constructed + --> drivers/usb/xhcid/src/usb/setup.rs:41:5 + | +29 | pub enum ReqType { + | ------- variant in this enum +... +41 | Reserved = 3, + | ^^^^^^^^ + +warning: enum `ReqRecipient` is never used + --> drivers/usb/xhcid/src/usb/setup.rs:54:10 + | +54 | pub enum ReqRecipient { + | ^^^^^^^^^^^^ + +warning: constant `USB_SETUP_DIR_SHIFT` is never used + --> drivers/usb/xhcid/src/usb/setup.rs:90:11 + | +90 | pub const USB_SETUP_DIR_SHIFT: u8 = 7; + | ^^^^^^^^^^^^^^^^^^^ + +warning: field `size` is never read + --> drivers/virtio-core/src/transport.rs:251:5 + | +248 | pub struct Borrowed<'a> { + | -------- field in this struct +... +251 | size: usize, + | ^^^^ + | + = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default + + Compiling acpid v0.1.0 (/mnt/data/Builds/RedBear-OS/local/sources/base/drivers/acpid) + Compiling hwd v0.1.0 (/mnt/data/Builds/RedBear-OS/local/sources/base/drivers/hwd) +warning: unused variable: `len_bytes` + --> drivers/acpid/src/acpi/dmar/mod.rs:492:13 + | +492 | let len_bytes = match self.bytes.get(2..4) { + | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_len_bytes` + | + = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default + +warning: unused variable: `dt` + --> drivers/hwd/src/backend/devicetree.rs:33:13 + | +33 | let dt = fdt::Fdt::new(&dtb).map_err(|err| format!("failed to parse dtb: {}", err))?; + | ^^ help: if this is intentional, prefix it with an underscore: `_dt` + | + = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default + +warning: field `rxsdt` is never read + --> drivers/hwd/src/backend/acpi.rs:9:5 + | +8 | pub struct AcpiBackend { + | ----------- field in this struct +9 | rxsdt: Vec, + | ^^^^^ + | + = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default + +warning: unused variable: `handle` + --> drivers/acpid/src/acpi.rs:321:33 + | +321 | for (child_seg, handle) in level.values.iter() { + | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_handle` + + Compiling pcid-spawner v0.1.0 (/mnt/data/Builds/RedBear-OS/local/sources/base/drivers/pcid-spawner) + Compiling rtl8168d v0.1.0 (/mnt/data/Builds/RedBear-OS/local/sources/base/drivers/net/rtl8168d) +warning: `lived` (bin "lived") generated 1 warning + Compiling e1000d v0.1.0 (/mnt/data/Builds/RedBear-OS/local/sources/base/drivers/net/e1000d) +warning: field `0` is never read + --> drivers/acpid/src/acpi.rs:235:17 + | +235 | pub struct Dsdt(Sdt); + | ---- ^^^ + | | + | field in this struct + | + = help: consider removing this field + = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default + + Compiling ahcid v0.1.0 (/mnt/data/Builds/RedBear-OS/local/sources/base/drivers/storage/ahcid) +warning: struct `Ssdt` is never constructed + --> drivers/acpid/src/acpi.rs:236:12 + | +236 | pub struct Ssdt(Sdt); + | ^^^^ + +warning: field `next_ctx` is never read + --> drivers/acpid/src/acpi.rs:402:9 + | +380 | pub struct AcpiContext { + | ----------- field in this struct +... +402 | pub next_ctx: RwLock, + | ^^^^^^^^ + +warning: multiple methods are never used + --> drivers/acpid/src/acpi.rs:536:12 + | + 411 | impl AcpiContext { + | ---------------- methods in this implementation +... + 536 | pub fn facs(&self) -> Option<&Facs> { + | ^^^^ +... + 545 | pub fn facs_mut(&mut self) -> Option<&mut Facs> { + | ^^^^^^^^ +... + 572 | pub fn enter_s2idle(&mut self) { + | ^^^^^^^^^^^^ +... + 658 | pub fn acpi_waking_vector(&self) -> Option { + | ^^^^^^^^^^^^^^^^^^ +... + 662 | pub fn dsdt(&self) -> Option<&Dsdt> { + | ^^^^ +... + 665 | pub fn ssdts(&self) -> impl Iterator + '_ { + | ^^^^^ +... + 689 | pub fn find_multiple_sdts<'a>(&'a self, signature: [u8; 4]) -> impl Iterator { + | ^^^^^^^^^^^^^^^^^^ +... + 708 | pub fn get_signature_from_index(&self, index: usize) -> Option { + | ^^^^^^^^^^^^^^^^^^^^^^^^ +... + 711 | pub fn get_index_from_signature(&self, signature: &SdtSignature) -> Option { + | ^^^^^^^^^^^^^^^^^^^^^^^^ +... + 758 | pub fn power_adapters(&self) -> Vec { + | ^^^^^^^^^^^^^^ +... + 859 | pub fn aml_symbols_reset(&self) { + | ^^^^^^^^^^^^^^^^^ +... +1012 | pub fn transition_to_s_state(&self, state: u8) { + | ^^^^^^^^^^^^^^^^^^^^^ +... +1097 | pub fn enter_sleep_state(&self, state: u8) { + | ^^^^^^^^^^^^^^^^^ +... +1196 | pub fn battery_status_text(&self, battery_name: &str, file: &str) -> String { + | ^^^^^^^^^^^^^^^^^^^ + +warning: methods `waking_vector`, `set_waking_vector`, and `set_x_waking_vector` are never used + --> drivers/acpid/src/acpi.rs:1707:12 + | +1690 | impl Facs { + | --------- methods in this implementation +... +1707 | pub fn waking_vector(&self) -> u32 { + | ^^^^^^^^^^^^^ +... +1722 | pub fn set_waking_vector(&mut self, addr: u32) -> bool { + | ^^^^^^^^^^^^^^^^^ +... +1748 | pub fn set_x_waking_vector(&mut self, addr: u64) -> bool { + | ^^^^^^^^^^^^^^^^^^^ + +warning: enum `PossibleAmlTables` is never used + --> drivers/acpid/src/acpi.rs:1775:10 + | +1775 | pub enum PossibleAmlTables { + | ^^^^^^^^^^^^^^^^^ + +warning: associated function `try_new` is never used + --> drivers/acpid/src/acpi.rs:1780:12 + | +1779 | impl PossibleAmlTables { + | ---------------------- associated function in this implementation +1780 | pub fn try_new(inner: Sdt) -> Option { + | ^^^^^^^ + +warning: trait `AmlContainingTable` is never used + --> drivers/acpid/src/acpi.rs:1803:11 + | +1803 | pub trait AmlContainingTable { + | ^^^^^^^^^^^^^^^^^^ + +warning: associated function `init` is never used + --> drivers/acpid/src/acpi/dmar/mod.rs:63:12 + | +52 | impl Dmar { + | --------- associated function in this implementation +... +63 | pub fn init(acpi_ctx: &AcpiContext) { + | ^^^^ + +warning: struct `DeviceScopeHeader` is never constructed + --> drivers/acpid/src/acpi/dmar/mod.rs:162:12 + | +162 | pub struct DeviceScopeHeader { + | ^^^^^^^^^^^^^^^^^ + +warning: struct `DeviceScope` is never constructed + --> drivers/acpid/src/acpi/dmar/mod.rs:172:12 + | +172 | pub struct DeviceScope(Box<[u8]>); + | ^^^^^^^^^^^ + +warning: associated function `try_new` is never used + --> drivers/acpid/src/acpi/dmar/mod.rs:175:12 + | +174 | impl DeviceScope { + | ---------------- associated function in this implementation +175 | pub fn try_new(raw: &[u8]) -> Option { + | ^^^^^^^ + +warning: method `path` is never used + --> drivers/acpid/src/acpi/dmar/mod.rs:214:12 + | +213 | impl DeviceScope { + | ---------------- method in this implementation +214 | pub fn path(&self) -> &[u8] { + | ^^^^ + +warning: method `device_scope_area` is never used + --> drivers/acpid/src/acpi/dmar/mod.rs:229:12 + | +221 | impl DmarDrhd { + | ------------- method in this implementation +... +229 | pub fn device_scope_area(&self) -> &[u8] { + | ^^^^^^^^^^^^^^^^^ + +warning: field `0` is never read + --> drivers/acpid/src/acpi/dmar/mod.rs:463:10 + | +463 | Rmrr(DmarRmrr), + | ---- ^^^^^^^^ + | | + | field in this variant + | + = note: `DmarEntry` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis +help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field + | +463 - Rmrr(DmarRmrr), +463 + Rmrr(()), + | + +warning: field `0` is never read + --> drivers/acpid/src/acpi/dmar/mod.rs:464:10 + | +464 | Atsr(DmarAtsr), + | ---- ^^^^^^^^ + | | + | field in this variant + | + = note: `DmarEntry` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis +help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field + | +464 - Atsr(DmarAtsr), +464 + Atsr(()), + | + +warning: field `0` is never read + --> drivers/acpid/src/acpi/dmar/mod.rs:465:10 + | +465 | Rhsa(DmarRhsa), + | ---- ^^^^^^^^ + | | + | field in this variant + | + = note: `DmarEntry` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis +help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field + | +465 - Rhsa(DmarRhsa), +465 + Rhsa(()), + | + +warning: field `0` is never read + --> drivers/acpid/src/acpi/dmar/mod.rs:466:10 + | +466 | Andd(DmarAndd), + | ---- ^^^^^^^^ + | | + | field in this variant + | + = note: `DmarEntry` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis +help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field + | +466 - Andd(DmarAndd), +466 + Andd(()), + | + +warning: field `0` is never read + --> drivers/acpid/src/acpi/dmar/mod.rs:469:10 + | +469 | Satc(DmarSatc), + | ---- ^^^^^^^^ + | | + | field in this variant + | + = note: `DmarEntry` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis +help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field + | +469 - Satc(DmarSatc), +469 + Satc(()), + | + +warning: field `0` is never read + --> drivers/acpid/src/acpi/dmar/mod.rs:471:14 + | +471 | TooShort(EntryType), + | -------- ^^^^^^^^^ + | | + | field in this variant + | + = note: `DmarEntry` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis +help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field + | +471 - TooShort(EntryType), +471 + TooShort(()), + | + +warning: field `0` is never read + --> drivers/acpid/src/acpi/dmar/mod.rs:472:13 + | +472 | Unknown(u16), + | ------- ^^^ + | | + | field in this variant + | + = note: `DmarEntry` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis +help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field + | +472 - Unknown(u16), +472 + Unknown(()), + | + +warning: method `clear` is never used + --> drivers/acpid/src/aml_physmem.rs:134:12 + | + 52 | impl AmlPageCache { + | ----------------- method in this implementation +... +134 | pub fn clear(&mut self) { + | ^^^^^ + +warning: variant `DmiDir` is never constructed + --> drivers/acpid/src/scheme.rs:85:5 + | +46 | enum HandleKind<'a> { + | ---------- variant in this enum +... +85 | DmiDir, + | ^^^^^^ + +warning: methods `kstop_enter_s2idle` and `kstop_enter_s3` are never used + --> drivers/acpid/src/scheme.rs:215:12 + | +152 | impl<'acpi, 'sock> AcpiScheme<'acpi, 'sock> { + | ------------------------------------------- methods in this implementation +... +215 | pub fn kstop_enter_s2idle(&self) -> syscall::Result<()> { + | ^^^^^^^^^^^^^^^^^^ +... +234 | pub fn kstop_enter_s3(&self, trampoline_addr: u64) -> syscall::Result<()> { + | ^^^^^^^^^^^^^^ + +warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item + --> drivers/acpid/src/acpi/dmar/mod.rs:448:30 + | +448 | #[derive(Clone, Copy, Debug, FromPrimitive)] + | ^------------ + | | + | `FromPrimitive` is not local + | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_EntryType` +449 | #[repr(u16)] +450 | pub enum EntryType { + | --------- `EntryType` is not local + | + = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed + = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` + = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` + = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint + = note: `#[warn(non_local_definitions)]` on by default + = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) + + Compiling nvmed v0.1.0 (/mnt/data/Builds/RedBear-OS/local/sources/base/drivers/storage/nvmed) +warning: the feature `if_let_guard` has been stable since 1.95.0 and no longer requires an attribute to enable + --> drivers/pcid/src/main.rs:2:12 + | +2 | #![feature(if_let_guard)] + | ^^^^^^^^^^^^ + | + = note: `#[warn(stable_features)]` on by default + +warning: `ps2d` (bin "ps2d") generated 16 warnings (run `cargo fix --bin "ps2d" -p ps2d` to apply 2 suggestions) + Compiling ided v0.1.0 (/mnt/data/Builds/RedBear-OS/local/sources/base/drivers/storage/ided) +warning: unnecessary parentheses around `match` scrutinee expression + --> drivers/storage/nvmed/src/nvme/identify.rs:124:15 + | +124 | match ((self.0 >> 24) & 0b11) { + | ^ ^ + | + = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default +help: remove these parentheses + | +124 - match ((self.0 >> 24) & 0b11) { +124 + match (self.0 >> 24) & 0b11 { + | + +warning: use of deprecated unit struct `driver_block::FuturesExecutor`: use custom executor + --> drivers/storage/ided/src/main.rs:2:53 + | +2 | use driver_block::{Disk, DiskScheme, ExecutorTrait, FuturesExecutor}; + | ^^^^^^^^^^^^^^^ + | + = note: `#[warn(deprecated)]` on by default + +warning: use of deprecated unit struct `driver_block::FuturesExecutor`: use custom executor + --> drivers/storage/ided/src/main.rs:222:10 + | +222 | &FuturesExecutor, + | ^^^^^^^^^^^^^^^ + +warning: use of deprecated unit struct `driver_block::FuturesExecutor`: use custom executor + --> drivers/storage/ided/src/main.rs:260:13 + | +260 | FuturesExecutor.block_on(scheme.tick()).unwrap(); + | ^^^^^^^^^^^^^^^ + +warning: use of deprecated unit struct `driver_block::FuturesExecutor`: use custom executor + --> drivers/storage/ided/src/main.rs:275:17 + | +275 | FuturesExecutor.block_on(scheme.tick()).unwrap(); + | ^^^^^^^^^^^^^^^ + +warning: use of deprecated unit struct `driver_block::FuturesExecutor`: use custom executor + --> drivers/storage/ided/src/main.rs:291:17 + | +291 | FuturesExecutor.block_on(scheme.tick()).unwrap(); + | ^^^^^^^^^^^^^^^ + +warning: unused variable: `func` + --> drivers/pcid/src/driver_handler.rs:11:37 + | +11 | fn read_full_device_id(pcie: &Pcie, func: &PciFunction, addr: pci_types::PciAddress) -> Option { + | ^^^^ help: if this is intentional, prefix it with an underscore: `_func` + | + = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default + +warning: use of deprecated unit struct `driver_block::FuturesExecutor`: use custom executor + --> drivers/storage/ahcid/src/main.rs:8:47 + | +8 | use driver_block::{DiskScheme, ExecutorTrait, FuturesExecutor}; + | ^^^^^^^^^^^^^^^ + | + = note: `#[warn(deprecated)]` on by default + +warning: use of deprecated unit struct `driver_block::FuturesExecutor`: use custom executor + --> drivers/storage/ahcid/src/main.rs:54:14 + | +54 | &FuturesExecutor, + | ^^^^^^^^^^^^^^^ + +warning: use of deprecated unit struct `driver_block::FuturesExecutor`: use custom executor + --> drivers/storage/ahcid/src/main.rs:74:17 + | +74 | FuturesExecutor.block_on(scheme.tick()).unwrap(); + | ^^^^^^^^^^^^^^^ + +warning: use of deprecated unit struct `driver_block::FuturesExecutor`: use custom executor + --> drivers/storage/ahcid/src/main.rs:99:25 + | +99 | FuturesExecutor.block_on(scheme.tick()).unwrap(); + | ^^^^^^^^^^^^^^^ + +warning: constant `IMS_TXDW` is never used + --> drivers/net/e1000d/src/device.rs:29:7 + | +29 | const IMS_TXDW: u32 = 1; + | ^^^^^^^^ + | + = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default + +warning: constant `IMS_TXQE` is never used + --> drivers/net/e1000d/src/device.rs:30:7 + | +30 | const IMS_TXQE: u32 = 1 << 1; + | ^^^^^^^^ + +warning: constant `IMS_LSC` is never used + --> drivers/net/e1000d/src/device.rs:31:7 + | +31 | const IMS_LSC: u32 = 1 << 2; + | ^^^^^^^ + +warning: constant `RCTL_MPE` is never used + --> drivers/net/e1000d/src/device.rs:40:7 + | +40 | const RCTL_MPE: u32 = 1 << 4; + | ^^^^^^^^ + +warning: constant `RD_EOP` is never used + --> drivers/net/e1000d/src/device.rs:69:7 + | +69 | const RD_EOP: u8 = 1 << 1; + | ^^^^^^ + +warning: constant `TD_DD` is never used + --> drivers/net/e1000d/src/device.rs:95:7 + | +95 | const TD_DD: u8 = 1; + | ^^^^^ + +warning: `fbcond` (bin "fbcond") generated 1 warning +warning: unused variable: `cid` + --> drivers/storage/nvmed/src/nvme/cmd.rs:118:25 + | +118 | pub fn get_features(cid: u16, ptr: usize, fid: u8) -> Self { + | ^^^ help: if this is intentional, prefix it with an underscore: `_cid` + | + = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default + +warning: unused variable: `comp` + --> drivers/storage/nvmed/src/nvme/identify.rs:204:13 + | +204 | let comp = self + | ^^^^ help: if this is intentional, prefix it with an underscore: `_comp` + +warning: unnecessary `unsafe` block + --> drivers/storage/nvmed/src/nvme/queues.rs:89:17 + | +89 | unsafe { + | ^^^^^^ unnecessary `unsafe` block + | + = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default + +warning: unused variable: `comp` + --> drivers/storage/nvmed/src/nvme/mod.rs:360:13 + | +360 | let comp = self + | ^^^^ help: if this is intentional, prefix it with an underscore: `_comp` + +warning: unused variable: `comp` + --> drivers/storage/nvmed/src/nvme/mod.rs:390:13 + | +390 | let comp = self + | ^^^^ help: if this is intentional, prefix it with an underscore: `_comp` + +warning: type alias `AtomicCmdId` is never used + --> drivers/storage/nvmed/src/nvme/mod.rs:72:10 + | +72 | pub type AtomicCmdId = AtomicU16; + | ^^^^^^^^^^^ + | + = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default + +warning: fields `pcid_interface`, `next_sqid`, and `next_cqid` are never read + --> drivers/storage/nvmed/src/nvme/mod.rs:77:5 + | +75 | pub struct Nvme { + | ---- fields in this struct +76 | interrupt_vector: Mutex, +77 | pcid_interface: Mutex, + | ^^^^^^^^^^^^^^ +... +86 | next_sqid: AtomicSqId, + | ^^^^^^^^^ +87 | next_cqid: AtomicCqId, + | ^^^^^^^^^ + +warning: enum `FullSqHandling` is never used + --> drivers/storage/nvmed/src/nvme/mod.rs:103:10 + | +103 | pub enum FullSqHandling { + | ^^^^^^^^^^^^^^ + +warning: associated function `get_features` is never used + --> drivers/storage/nvmed/src/nvme/cmd.rs:118:12 + | + 3 | impl NvmeCmd { + | ------------ associated function in this implementation +... +118 | pub fn get_features(cid: u16, ptr: usize, fid: u8) -> Self { + | ^^^^^^^^^^^^ + +warning: method `has_metadata_after_data` is never used + --> drivers/storage/nvmed/src/nvme/identify.rs:93:12 + | +79 | impl IdentifyNamespaceData { + | -------------------------- method in this implementation +... +93 | pub fn has_metadata_after_data(&self) -> bool { + | ^^^^^^^^^^^^^^^^^^^^^^^ + +warning: enum `RelativePerformance` is never used + --> drivers/storage/nvmed/src/nvme/identify.rs:104:10 + | +104 | pub enum RelativePerformance { + | ^^^^^^^^^^^^^^^^^^^ + +warning: methods `relative_performance`, `is_available`, and `metadata_size` are never used + --> drivers/storage/nvmed/src/nvme/identify.rs:123:12 + | +122 | impl LbaFormat { + | -------------- methods in this implementation +123 | pub fn relative_performance(&self) -> RelativePerformance { + | ^^^^^^^^^^^^^^^^^^^^ +... +132 | pub fn is_available(&self) -> bool { + | ^^^^^^^^^^^^ +... +147 | pub fn metadata_size(&self) -> u16 { + | ^^^^^^^^^^^^^ + +warning: method `complete_spin` is never used + --> drivers/storage/nvmed/src/nvme/queues.rs:83:12 + | +58 | impl NvmeCompQueue { + | ------------------ method in this implementation +... +83 | pub fn complete_spin(&mut self) -> (u16, NvmeComp) { + | ^^^^^^^^^^^^^ + +warning: method `is_empty` is never used + --> drivers/storage/nvmed/src/nvme/queues.rs:113:12 + | +104 | impl NvmeCmdQueue { + | ----------------- method in this implementation +... +113 | pub fn is_empty(&self) -> bool { + | ^^^^^^^^ + +warning: enum `Status` is never used + --> drivers/storage/nvmed/src/nvme/queues.rs:130:10 + | +130 | pub enum Status { + | ^^^^^^ + +warning: associated function `parse` is never used + --> drivers/storage/nvmed/src/nvme/queues.rs:139:12 + | +138 | impl Status { + | ----------- associated function in this implementation +139 | pub fn parse(raw: u16) -> Self { + | ^^^^^ + +warning: field `id` is never read + --> drivers/storage/ahcid/src/ahci/disk_ata.rs:24:5 + | +23 | pub struct DiskATA { + | ------- field in this struct +24 | id: usize, + | ^^ + | + = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default + +warning: `xhcid` (lib) generated 10 warnings + Compiling usbhubd v0.1.0 (/mnt/data/Builds/RedBear-OS/local/sources/base/drivers/usb/usbhubd) +warning: unused import: `EndpDesc` + --> drivers/usb/usbhubd/src/main.rs:4:76 + | +4 | plain, usb, ConfigureEndpointsReq, DevDesc, DeviceReqData, EndpointTy, EndpDesc, + | ^^^^^^^^ + | + = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default + +warning: `virtio-core` (lib) generated 1 warning + Compiling virtio-gpud v0.1.0 (/mnt/data/Builds/RedBear-OS/local/sources/base/drivers/graphics/virtio-gpud) +warning: field `port_id` is never read + --> drivers/usb/usbhubd/src/main.rs:174:9 + | +173 | struct PortState { + | --------- field in this struct +174 | port_id: PortId, + | ^^^^^^^ + | + = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default + +warning: field `transport` is never read + --> drivers/graphics/virtio-gpud/src/scheme.rs:94:5 + | +90 | pub struct VirtGpuAdapter<'a> { + | -------------- field in this struct +... +94 | transport: Arc, + | ^^^^^^^^^ + | + = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default + + Compiling virtio-blkd v0.1.0 (/mnt/data/Builds/RedBear-OS/local/sources/base/drivers/storage/virtio-blkd) +warning: use of deprecated unit struct `driver_block::FuturesExecutor`: use custom executor + --> drivers/storage/virtio-blkd/src/main.rs:162:24 + | +162 | &driver_block::FuturesExecutor, + | ^^^^^^^^^^^^^^^ + | + = note: `#[warn(deprecated)]` on by default + +warning: `usbhubd` (bin "usbhubd") generated 2 warnings (run `cargo fix --bin "usbhubd" -p usbhubd` to apply 1 suggestion) + Compiling usbscsid v0.1.0 (/mnt/data/Builds/RedBear-OS/local/sources/base/drivers/storage/usbscsid) +warning: unused import: `std::io` + --> drivers/storage/usbscsid/src/protocol/uas.rs:16:5 + | +16 | use std::io; + | ^^^^^^^ + | + = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default + +warning: unused imports: `EndpDirection` and `XhciClientHandleError` + --> drivers/storage/usbscsid/src/protocol/uas.rs:19:30 + | +19 | ConfDesc, DeviceReqData, EndpDirection, IfDesc, PortTransferStatusKind, XhciClientHandle, + | ^^^^^^^^^^^^^ +20 | XhciClientHandleError, XhciEndpHandle, + | ^^^^^^^^^^^^^^^^^^^^^ + +warning: use of deprecated unit struct `driver_block::FuturesExecutor`: use custom executor + --> drivers/storage/usbscsid/src/main.rs:135:24 + | +135 | &driver_block::FuturesExecutor, + | ^^^^^^^^^^^^^^^ + | + = note: `#[warn(deprecated)]` on by default + +warning: use of deprecated unit struct `driver_block::FuturesExecutor`: use custom executor + --> drivers/storage/usbscsid/src/main.rs:162:47 + | +162 | if let Err(e) = driver_block::FuturesExecutor.block_on(scheme.tick()) { + | ^^^^^^^^^^^^^^^ + +warning: unused variable: `config_desc` + --> drivers/storage/usbscsid/src/protocol/bot.rs:102:9 + | +102 | config_desc: &ConfDesc, + | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_config_desc` + | + = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default + +warning: unused variable: `dev_desc` + --> drivers/storage/usbscsid/src/protocol/mod.rs:79:5 + | +79 | dev_desc: &DevDesc, + | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dev_desc` + +warning: fields `handle`, `cmd_num`, `status_num`, `data_in_num`, `data_out_num`, and `qdepth` are never read + --> drivers/storage/usbscsid/src/protocol/uas.rs:82:5 + | +81 | pub struct UasTransport<'a> { + | ------------ fields in this struct +82 | handle: &'a XhciClientHandle, + | ^^^^^^ +... +87 | cmd_num: u8, + | ^^^^^^^ +88 | status_num: u8, + | ^^^^^^^^^^ +89 | data_in_num: u8, + | ^^^^^^^^^^^ +90 | data_out_num: u8, + | ^^^^^^^^^^^^ +91 | current_tag: u16, +92 | qdepth: u16, + | ^^^^^^ + | + = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default + +warning: constant `REPORT_SUPP_OPCODES_CMD_LEN` is never used + --> drivers/storage/usbscsid/src/scsi/mod.rs:25:7 + | +25 | const REPORT_SUPP_OPCODES_CMD_LEN: u8 = 12; + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +warning: constant `MIN_REPORT_SUPP_OPCODES_ALLOC_LEN` is never used + --> drivers/storage/usbscsid/src/scsi/mod.rs:28:7 + | +28 | const MIN_REPORT_SUPP_OPCODES_ALLOC_LEN: u32 = 4; + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +warning: `e1000d` (bin "e1000d") generated 6 warnings + Compiling usbhidd v0.1.0 (/mnt/data/Builds/RedBear-OS/local/sources/base/drivers/input/usbhidd) +warning: unused imports: `BosAnyDevDesc` and `BosSuperSpeedDesc` + --> drivers/usb/xhcid/src/usb/mod.rs:11:43 + | +11 | pub use self::bos::{bos_capability_descs, BosAnyDevDesc, BosDescriptor, BosSuperSpeedDesc}; + | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ + | + = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default + +warning: unused import: `self::hub::*` + --> drivers/usb/xhcid/src/usb/mod.rs:18:9 + | +18 | pub use self::hub::*; + | ^^^^^^^^^^^^ + +warning: unused import: `SetupReq` + --> drivers/usb/xhcid/src/usb/mod.rs:20:30 + | +20 | pub use self::setup::{Setup, SetupReq}; + | ^^^^^^^^ + +warning: unused import: `common::io::Io` + --> drivers/usb/xhcid/src/xhci/device_enumerator.rs:3:5 + | +3 | use common::io::Io; + | ^^^^^^^^^^^^^^ + +warning: unused import: `error` + --> drivers/usb/xhcid/src/xhci/irq_reactor.rs:11:18 + | +11 | use log::{debug, error, info, trace, warn}; + | ^^^^^ + +warning: unused import: `crate::xhci::port::PortFlags` + --> drivers/usb/xhcid/src/xhci/irq_reactor.rs:19:5 + | +19 | use crate::xhci::port::PortFlags; + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +warning: unused imports: `ENOSYS`, `EOPNOTSUPP`, `ESPIPE`, `SEEK_CUR`, `SEEK_END`, and `SEEK_SET` + --> drivers/usb/xhcid/src/xhci/scheme.rs:36:87 + | +36 | Error, Result, Stat, EACCES, EBADF, EBADFD, EBADMSG, EINVAL, EIO, EISDIR, ENOENT, ENOSYS, + | ^^^^^^ +37 | ENOTDIR, EOPNOTSUPP, EPROTO, ESPIPE, MODE_CHR, MODE_DIR, MODE_FILE, O_DIRECTORY, O_RDWR, + | ^^^^^^^^^^ ^^^^^^ +38 | O_STAT, O_WRONLY, SEEK_CUR, SEEK_END, SEEK_SET, + | ^^^^^^^^ ^^^^^^^^ ^^^^^^^^ + +warning: unused imports: `CONTEXT_32` and `CONTEXT_64` + --> drivers/usb/xhcid/src/xhci/scheme.rs:45:55 + | +45 | SlotState, StreamContextArray, StreamContextType, CONTEXT_32, CONTEXT_64, + | ^^^^^^^^^^ ^^^^^^^^^^ + +warning: unnecessary trailing semicolon + --> drivers/usb/xhcid/src/xhci/scheme.rs:337:10 + | +337 | }; + | ^ help: remove this semicolon + | + = note: `#[warn(redundant_semicolons)]` (part of `#[warn(unused)]`) on by default + +warning: unnecessary trailing semicolon + --> drivers/usb/xhcid/src/xhci/scheme.rs:353:10 + | +353 | }; + | ^ help: remove this semicolon + +warning: unnecessary trailing semicolon + --> drivers/usb/xhcid/src/xhci/scheme.rs:365:10 + | +365 | }; + | ^ help: remove this semicolon + +warning: variable `gamepad_buttons` is assigned to, but never used + --> drivers/input/usbhidd/src/main.rs:371:13 + | +371 | let mut gamepad_buttons: u32 = 0; + | ^^^^^^^^^^^^^^^^^^^ + | + = note: consider using `_gamepad_buttons` instead + = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default + +warning: variable `hat_switch` is assigned to, but never used + --> drivers/input/usbhidd/src/main.rs:372:13 + | +372 | let mut hat_switch: i8 = -1; + | ^^^^^^^^^^^^^^ + | + = note: consider using `_hat_switch` instead + +warning: unused variable: `shift_opt` + --> drivers/input/usbhidd/src/main.rs:427:31 + | +427 | let (pressed, shift_opt) = if event.value != 0 { + | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shift_opt` + +warning: value assigned to `gamepad_buttons` is never read + --> drivers/input/usbhidd/src/main.rs:453:25 + | +451 | gamepad_buttons |= bit; + | ---------------------- `gamepad_buttons` is overwritten here before the previous value is read +452 | } else { +453 | gamepad_buttons &= !bit; + | ^^^^^^^^^^^^^^^^^^^^^^^ this value is reassigned later and never used + | + = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default + +warning: value assigned to `gamepad_buttons` is never read + --> drivers/input/usbhidd/src/main.rs:451:25 + | +451 | gamepad_buttons |= bit; + | ^^^^^^^^^^^^^^^^^^^^^^ + | + = help: maybe it is overwritten before being read? + +warning: value assigned to `hat_switch` is never read + --> drivers/input/usbhidd/src/main.rs:417:21 + | +417 | hat_switch = event.value as i8; + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + | + = help: maybe it is overwritten before being read? + +warning: constant `SET_REPORT_REQ` is never used + --> drivers/input/usbhidd/src/reqs.rs:9:7 + | +9 | const SET_REPORT_REQ: u8 = 0x9; + | ^^^^^^^^^^^^^^ + | + = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default + +warning: constant `GET_IDLE_REQ` is never used + --> drivers/input/usbhidd/src/reqs.rs:10:7 + | +10 | const GET_IDLE_REQ: u8 = 0x2; + | ^^^^^^^^^^^^ + +warning: constant `GET_PROTOCOL_REQ` is never used + --> drivers/input/usbhidd/src/reqs.rs:12:7 + | +12 | const GET_PROTOCOL_REQ: u8 = 0x3; + | ^^^^^^^^^^^^^^^^ + +warning: constant `SET_PROTOCOL_REQ` is never used + --> drivers/input/usbhidd/src/reqs.rs:13:7 + | +13 | const SET_PROTOCOL_REQ: u8 = 0xB; + | ^^^^^^^^^^^^^^^^ + +warning: function `set_report` is never used + --> drivers/input/usbhidd/src/reqs.rs:35:8 + | +35 | pub fn set_report( + | ^^^^^^^^^^ + +warning: function `get_idle` is never used + --> drivers/input/usbhidd/src/reqs.rs:51:8 + | +51 | pub fn get_idle( + | ^^^^^^^^ + +warning: function `get_protocol` is never used + --> drivers/input/usbhidd/src/reqs.rs:83:8 + | +83 | pub fn get_protocol(handle: &XhciClientHandle, if_num: u16) -> Result { + | ^^^^^^^^^^^^ + +warning: function `set_protocol` is never used + --> drivers/input/usbhidd/src/reqs.rs:96:8 + | +96 | pub fn set_protocol( + | ^^^^^^^^^^^^ + +warning: variable does not need to be mutable + --> drivers/usb/xhcid/src/xhci/scheme.rs:731:17 + | +731 | let mut endpoint_state = port_state + | ----^^^^^^^^^^^^^^ + | | + | help: remove this `mut` + | + = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default + +warning: variable does not need to be mutable + --> drivers/usb/xhcid/src/xhci/scheme.rs:962:21 + | +962 | let mut endpoint_state = port_state + | ----^^^^^^^^^^^^^^ + | | + | help: remove this `mut` + +warning: variable does not need to be mutable + --> drivers/usb/xhcid/src/xhci/scheme.rs:1587:13 + | +1587 | let mut req: ConfigureEndpointsReq = + | ----^^^ + | | + | help: remove this `mut` + +warning: variable does not need to be mutable + --> drivers/usb/xhcid/src/xhci/scheme.rs:1709:13 + | +1709 | let mut port_state = self + | ----^^^^^^^^^^ + | | + | help: remove this `mut` + +warning: `hwd` (bin "hwd") generated 2 warnings (run `cargo fix --bin "hwd" -p hwd` to apply 1 suggestion) +warning: variable does not need to be mutable + --> drivers/usb/xhcid/src/xhci/scheme.rs:2828:13 + | +2828 | let mut endpoint_state = port_state + | ----^^^^^^^^^^^^^^ + | | + | help: remove this `mut` + +warning: unreachable pattern + --> drivers/usb/xhcid/src/xhci/scheme.rs:2990:13 + | +2990 | other => { + | ^^^^^ no value can reach this + | +note: multiple earlier patterns match some of the same values + --> drivers/usb/xhcid/src/xhci/scheme.rs:2990:13 + | +2940 | XhciEndpCtlReq::Status => match ep_if_state { + | ---------------------- matches some of the same values +... +2946 | XhciEndpCtlReq::Reset { no_clear_feature } => match ep_if_state { + | ------------------------------------------ matches some of the same values +... +2955 | XhciEndpCtlReq::Transfer { direction, count, stream_id } => match ep_if_state { + | -------------------------------------------------------- matches some of the same values +... +2990 | other => { + | ^^^^^ collectively making this unreachable + = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default + +warning: variable does not need to be mutable + --> drivers/usb/xhcid/src/xhci/scheme.rs:3066:13 + | +3066 | let mut endpoint_state = port_state + | ----^^^^^^^^^^^^^^ + | | + | help: remove this `mut` + +warning: variable does not need to be mutable + --> drivers/usb/xhcid/src/xhci/scheme.rs:3095:21 + | +3095 | let mut endpoint_state = port_state + | ----^^^^^^^^^^^^^^ + | | + | help: remove this `mut` + +warning: variable does not need to be mutable + --> drivers/usb/xhcid/src/xhci/scheme.rs:3168:13 + | +3168 | let mut ep_if_state = &mut port_state + | ----^^^^^^^^^^^ + | | + | help: remove this `mut` + +warning: variable does not need to be mutable + --> drivers/usb/xhcid/src/xhci/scheme.rs:3198:21 + | +3198 | let mut ep_state = port_state + | ----^^^^^^^^ + | | + | help: remove this `mut` + +warning: `usbhidd` (bin "usbhidd") generated 14 warnings (run `cargo fix --bin "usbhidd" -p usbhidd` to apply 1 suggestion) +warning: variable does not need to be mutable + --> drivers/usb/xhcid/src/xhci/mod.rs:1144:17 + | +1144 | let mut ring = match self + | ----^^^^ + | | + | help: remove this `mut` + +warning: variable does not need to be mutable + --> drivers/usb/xhcid/src/xhci/mod.rs:1178:17 + | +1178 | let mut port_state = PortState { + | ----^^^^^^^^^^ + | | + | help: remove this `mut` + +warning: variable does not need to be mutable + --> drivers/usb/xhcid/src/xhci/mod.rs:1203:21 + | +1203 | let mut port_state = self.port_states.get_mut(&port_id).ok_or(Error::new(EBADFD))?; + | ----^^^^^^^^^^ + | | + | help: remove this `mut` + +warning: variable does not need to be mutable + --> drivers/usb/xhcid/src/xhci/mod.rs:1219:21 + | +1219 | let mut port_state = self.port_states.get_mut(&port_id).ok_or(Error::new(EBADFD))?; + | ----^^^^^^^^^^ + | | + | help: remove this `mut` + +warning: `ided` (bin "ided") generated 5 warnings +warning: variable does not need to be mutable + --> drivers/usb/xhcid/src/xhci/mod.rs:1384:13 + | +1384 | let mut mtt = false; + | ----^^^ + | | + | help: remove this `mut` + +warning: variable does not need to be mutable + --> drivers/usb/xhcid/src/xhci/mod.rs:1413:13 + | +1413 | let mut ring = Ring::new::(self.ac64_effective(), 16, true)?; + | ----^^^^ + | | + | help: remove this `mut` + +warning: `pcid` (bin "pcid") generated 2 warnings (run `cargo fix --bin "pcid" -p pcid` to apply 1 suggestion) +warning: `ahcid` (bin "ahcid") generated 5 warnings +warning: `virtio-blkd` (bin "virtio-blkd") generated 1 warning +warning: `nvmed` (bin "nvmed") generated 17 warnings (run `cargo fix --bin "nvmed" -p nvmed` to apply 5 suggestions) +warning: unused variable: `len` + --> drivers/usb/xhcid/src/xhci/device_enumerator.rs:50:18 + | +50 | let (len, flags) = { + | ^^^ help: if this is intentional, prefix it with an underscore: `_len` + | + = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default + +warning: unused variable: `slot_ty` + --> drivers/usb/xhcid/src/xhci/mod.rs:1378:9 + | +1378 | slot_ty: u8, + | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_slot_ty` + +warning: value assigned to `needs_parent_info` is never read + --> drivers/usb/xhcid/src/xhci/mod.rs:1391:49 + | +1391 | let mut needs_parent_info = false; + | ^^^^^ this value is reassigned later and never used +... +1397 | needs_parent_info = true; + | ------------------------ `needs_parent_info` is overwritten here before the previous value is read + | + = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default + +warning: unused variable: `supports_superspeed` + --> drivers/usb/xhcid/src/xhci/scheme.rs:1912:13 + | +1912 | let supports_superspeed = usb::bos_capability_descs(bos_desc, &bos_data).any(|desc| desc.is_superspeed()); + | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_supports_superspeed` + +warning: unused variable: `supports_superspeedplus` + --> drivers/usb/xhcid/src/xhci/scheme.rs:1913:13 + | +1913 | let supports_superspeedplus = usb::bos_capability_descs(bos_desc, &bos_data).any(|desc| desc.is_superspeedplus()); + | ^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_supports_superspeedplus` + +warning: variable does not need to be mutable + --> drivers/usb/xhcid/src/xhci/irq_reactor.rs:696:13 + | +696 | let mut endpoint_state = slot_state.endpoint_states.get_mut(&id.endpoint_num)?; + | ----^^^^^^^^^^^^^^ + | | + | help: remove this `mut` + +warning: unused variable: `name` + --> drivers/usb/xhcid/src/xhci/scheme.rs:949:9 + | +949 | name: &str, + | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` + +warning: unused variable: `name` + --> drivers/usb/xhcid/src/xhci/scheme.rs:1040:9 + | +1040 | name: &str, + | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` + +warning: `virtio-gpud` (bin "virtio-gpud") generated 1 warning +warning: `usbscsid` (bin "usbscsid") generated 9 warnings (run `cargo fix --bin "usbscsid" -p usbscsid` to apply 4 suggestions) +warning: unused variable: `direction` + --> drivers/usb/xhcid/src/xhci/scheme.rs:1703:9 + | +1703 | direction: PortReqDirection, + | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_direction` + +warning: unused variable: `port_num` + --> drivers/usb/xhcid/src/xhci/scheme.rs:2063:32 + | +2063 | fn port_req_init_st(&self, port_num: PortId, req: &PortReq) -> Result { + | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_port_num` + +warning: unused variable: `other` + --> drivers/usb/xhcid/src/xhci/scheme.rs:2942:17 + | +2942 | other => { + | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` + +warning: unused variable: `other` + --> drivers/usb/xhcid/src/xhci/scheme.rs:2951:17 + | +2951 | other => { + | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` + +warning: unused variable: `other` + --> drivers/usb/xhcid/src/xhci/scheme.rs:2986:17 + | +2986 | other => { + | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` + +warning: unused variable: `other` + --> drivers/usb/xhcid/src/xhci/scheme.rs:2990:13 + | +2990 | other => { + | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` + +warning: variable does not need to be mutable + --> drivers/usb/xhcid/src/xhci/mod.rs:568:17 + | +568 | let mut op = self.op.get_mut().unwrap(); + | ----^^ + | | + | help: remove this `mut` + +warning: variable does not need to be mutable + --> drivers/usb/xhcid/src/xhci/mod.rs:578:17 + | +578 | let mut op = self.op.get_mut().unwrap(); + | ----^^ + | | + | help: remove this `mut` + +warning: variable does not need to be mutable + --> drivers/usb/xhcid/src/xhci/mod.rs:870:17 + | +870 | let mut ports = self.ports.lock().unwrap_or_else(|e| e.into_inner()); + | ----^^^^^ + | | + | help: remove this `mut` + +warning: variable does not need to be mutable + --> drivers/usb/xhcid/src/xhci/mod.rs:881:17 + | +881 | let mut flags; + | ----^^^^^ + | | + | help: remove this `mut` + +warning: variable does not need to be mutable + --> drivers/usb/xhcid/src/xhci/mod.rs:883:21 + | +883 | let mut ports = self.ports.lock().unwrap_or_else(|e| e.into_inner()); + | ----^^^^^ + | | + | help: remove this `mut` + +warning: unused variable: `instant` + --> drivers/usb/xhcid/src/xhci/mod.rs:916:13 + | +916 | let instant = std::time::Instant::now(); + | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instant` + +warning: variable does not need to be mutable + --> drivers/usb/xhcid/src/xhci/mod.rs:1000:17 + | +1000 | let mut int = &mut run.ints[index]; + | ----^^^ + | | + | help: remove this `mut` + +warning: variable does not need to be mutable + --> drivers/usb/xhcid/src/xhci/mod.rs:1012:13 + | +1012 | let mut int = &mut run.ints[index]; + | ----^^^ + | | + | help: remove this `mut` + +warning: variable does not need to be mutable + --> drivers/usb/xhcid/src/main.rs:144:20 + | +144 | let (irq_file, mut interrupt_method) = get_int_method(&mut pcid_handle); + | ----^^^^^^^^^^^^^^^^ + | | + | help: remove this `mut` + +warning: type `xhci::scheme::ControlFlow` is more private than the item `xhci::scheme::>::execute_control_transfer` + --> drivers/usb/xhcid/src/xhci/scheme.rs:944:5 + | +944 | / pub async fn execute_control_transfer( +945 | | &self, +946 | | port_num: PortId, +947 | | setup: usb::Setup, +... | +952 | | where +953 | | D: FnMut(&mut Trb, bool) -> ControlFlow, + | |________________________________________________^ method `xhci::scheme::>::execute_control_transfer` is reachable at visibility `pub` + | +note: but type `xhci::scheme::ControlFlow` is only usable at visibility `pub(crate)` + --> drivers/usb/xhcid/src/xhci/scheme.rs:85:1 + | + 85 | pub(crate) enum ControlFlow { + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ + = note: `#[warn(private_bounds)]` on by default + +warning: type `xhci::scheme::ControlFlow` is more private than the item `xhci::scheme::>::execute_transfer` + --> drivers/usb/xhcid/src/xhci/scheme.rs:1035:5 + | +1035 | / pub async fn execute_transfer( +1036 | | &self, +1037 | | port_num: PortId, +1038 | | endp_num: u8, +... | +1043 | | where +1044 | | D: FnMut(&mut Trb, bool) -> ControlFlow, + | |________________________________________________^ method `xhci::scheme::>::execute_transfer` is reachable at visibility `pub` + | +note: but type `xhci::scheme::ControlFlow` is only usable at visibility `pub(crate)` + --> drivers/usb/xhcid/src/xhci/scheme.rs:85:1 + | + 85 | pub(crate) enum ControlFlow { + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +warning: methods `ssac` and `sublink_speed_attr` are never used + --> drivers/usb/xhcid/src/usb/bos.rs:73:12 + | +72 | impl BosSuperSpeedPlusDesc { + | -------------------------- methods in this implementation +73 | pub fn ssac(&self) -> u8 { + | ^^^^ +... +76 | pub fn sublink_speed_attr(&self) -> &[u32] { + | ^^^^^^^^^^^^^^^^^^ + +warning: field `0` is never read + --> drivers/usb/xhcid/src/usb/bos.rs:118:13 + | +118 | Usb2Ext(BosUsb2ExtDesc), + | ------- ^^^^^^^^^^^^^^ + | | + | field in this variant + | + = note: `BosAnyDevDesc` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis +help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field + | +118 - Usb2Ext(BosUsb2ExtDesc), +118 + Usb2Ext(()), + | + +warning: field `0` is never read + --> drivers/usb/xhcid/src/usb/bos.rs:119:16 + | +119 | SuperSpeed(BosSuperSpeedDesc), + | ---------- ^^^^^^^^^^^^^^^^^ + | | + | field in this variant + | + = note: `BosAnyDevDesc` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis +help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field + | +119 - SuperSpeed(BosSuperSpeedDesc), +119 + SuperSpeed(()), + | + +warning: field `0` is never read + --> drivers/usb/xhcid/src/usb/bos.rs:120:20 + | +120 | SuperSpeedPlus(BosSuperSpeedPlusDesc), + | -------------- ^^^^^^^^^^^^^^^^^^^^^ + | | + | field in this variant + | + = note: `BosAnyDevDesc` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis +help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field + | +120 - SuperSpeedPlus(BosSuperSpeedPlusDesc), +120 + SuperSpeedPlus(()), + | + +warning: methods `minor_usb_vers` and `major_usb_vers` are never used + --> drivers/usb/xhcid/src/usb/device.rs:87:12 + | +85 | impl DeviceDescriptor { + | --------------------- methods in this implementation +86 | /// Gets the USB Minor Version +87 | pub fn minor_usb_vers(&self) -> u8 { + | ^^^^^^^^^^^^^^ +... +91 | pub fn major_usb_vers(&self) -> u8 { + | ^^^^^^^^^^^^^^ + +warning: struct `HubDescriptorV2` is never constructed + --> drivers/usb/xhcid/src/usb/hub.rs:3:12 + | +3 | pub struct HubDescriptorV2 { + | ^^^^^^^^^^^^^^^ + +warning: associated constant `DESCRIPTOR_KIND` is never used + --> drivers/usb/xhcid/src/usb/hub.rs:20:15 + | +19 | impl HubDescriptorV2 { + | -------------------- associated constant in this implementation +20 | pub const DESCRIPTOR_KIND: u8 = 0x29; + | ^^^^^^^^^^^^^^^ + +warning: struct `HubDescriptorV3` is never constructed + --> drivers/usb/xhcid/src/usb/hub.rs:41:12 + | +41 | pub struct HubDescriptorV3 { + | ^^^^^^^^^^^^^^^ + +warning: associated constant `DESCRIPTOR_KIND` is never used + --> drivers/usb/xhcid/src/usb/hub.rs:60:15 + | +59 | impl HubDescriptorV3 { + | -------------------- associated constant in this implementation +60 | pub const DESCRIPTOR_KIND: u8 = 0x2A; + | ^^^^^^^^^^^^^^^ + +warning: enum `HubPortFeature` is never used + --> drivers/usb/xhcid/src/usb/hub.rs:84:10 + | +84 | pub enum HubPortFeature { + | ^^^^^^^^^^^^^^ + +warning: enum `HubPortStatus` is never used + --> drivers/usb/xhcid/src/usb/hub.rs:160:10 + | +160 | pub enum HubPortStatus { + | ^^^^^^^^^^^^^ + +warning: methods `is_powered`, `is_connected`, `is_resetting`, `is_enabled`, and `is_over_current_changed` are never used + --> drivers/usb/xhcid/src/usb/hub.rs:166:12 + | +165 | impl HubPortStatus { + | ------------------ methods in this implementation +166 | pub fn is_powered(&self) -> bool { + | ^^^^^^^^^^ +... +173 | pub fn is_connected(&self) -> bool { + | ^^^^^^^^^^^^ +... +180 | pub fn is_resetting(&self) -> bool { + | ^^^^^^^^^^^^ +... +187 | pub fn is_enabled(&self) -> bool { + | ^^^^^^^^^^ +... +194 | pub fn is_over_current_changed(&self) -> bool { + | ^^^^^^^^^^^^^^^^^^^^^^^ + +warning: enum `SetupReq` is never used + --> drivers/usb/xhcid/src/usb/setup.rs:75:10 + | +75 | pub enum SetupReq { + | ^^^^^^^^ + +warning: field `pcid_handle` is never read + --> drivers/usb/xhcid/src/xhci/mod.rs:296:5 + | +256 | pub struct Xhci { + | ---- field in this struct +... +296 | pcid_handle: Mutex, + | ^^^^^^^^^^^ + +warning: method `dma_pool_put` is never used + --> drivers/usb/xhcid/src/xhci/mod.rs:1091:8 + | + 377 | impl Xhci { + | ---------------------------- method in this implementation +... +1091 | fn dma_pool_put(&self, buf: Dma<[u8]>) { + | ^^^^^^^^^^^^ + +warning: constant `HCC_PARAMS1_PPC_BIT` is never used + --> drivers/usb/xhcid/src/xhci/capability.rs:136:11 + | +136 | pub const HCC_PARAMS1_PPC_BIT: u32 = 1u32 << 3; + | ^^^^^^^^^^^^^^^^^^^ + +warning: constant `HCC_PARAMS1_PIND_BIT` is never used + --> drivers/usb/xhcid/src/xhci/capability.rs:138:11 + | +138 | pub const HCC_PARAMS1_PIND_BIT: u32 = 1u32 << 4; + | ^^^^^^^^^^^^^^^^^^^^ + +warning: constant `HCC_PARAMS1_LHRC_BIT` is never used + --> drivers/usb/xhcid/src/xhci/capability.rs:140:11 + | +140 | pub const HCC_PARAMS1_LHRC_BIT: u32 = 1u32 << 5; + | ^^^^^^^^^^^^^^^^^^^^ + +warning: constant `HCC_PARAMS1_LTC_BIT` is never used + --> drivers/usb/xhcid/src/xhci/capability.rs:142:11 + | +142 | pub const HCC_PARAMS1_LTC_BIT: u32 = 1u32 << 6; + | ^^^^^^^^^^^^^^^^^^^ + +warning: constant `HCC_PARAMS1_NSS_BIT` is never used + --> drivers/usb/xhcid/src/xhci/capability.rs:144:11 + | +144 | pub const HCC_PARAMS1_NSS_BIT: u32 = 1u32 << 7; + | ^^^^^^^^^^^^^^^^^^^ + +warning: constant `HCC_PARAMS1_SPC_BIT` is never used + --> drivers/usb/xhcid/src/xhci/capability.rs:146:11 + | +146 | pub const HCC_PARAMS1_SPC_BIT: u32 = 1u32 << 9; + | ^^^^^^^^^^^^^^^^^^^ + +warning: constant `HCC_PARAMS1_CFC_BIT` is never used + --> drivers/usb/xhcid/src/xhci/capability.rs:148:11 + | +148 | pub const HCC_PARAMS1_CFC_BIT: u32 = 1u32 << 11; + | ^^^^^^^^^^^^^^^^^^^ + +warning: constant `HCC_PARAMS2_CTC_BIT` is never used + --> drivers/usb/xhcid/src/xhci/capability.rs:168:11 + | +168 | pub const HCC_PARAMS2_CTC_BIT: u32 = 1u32 << 3; + | ^^^^^^^^^^^^^^^^^^^ + +warning: constant `HCC_PARAMS2_ETC_TSC_BIT` is never used + --> drivers/usb/xhcid/src/xhci/capability.rs:174:11 + | +174 | pub const HCC_PARAMS2_ETC_TSC_BIT: u32 = 1u32 << 7; + | ^^^^^^^^^^^^^^^^^^^^^^^ + +warning: constant `HCC_PARAMS2_EUSB2_DIC_BIT` is never used + --> drivers/usb/xhcid/src/xhci/capability.rs:180:11 + | +180 | pub const HCC_PARAMS2_EUSB2_DIC_BIT: u32 = 1u32 << 11; + | ^^^^^^^^^^^^^^^^^^^^^^^^^ + +warning: constant `HCS_PARAMS1_MAX_SLOTS_SHIFT` is never used + --> drivers/usb/xhcid/src/xhci/capability.rs:203:11 + | +203 | pub const HCS_PARAMS1_MAX_SLOTS_SHIFT: u8 = 0; + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +warning: constant `HCS_PARAMS2_SPR_BIT` is never used + --> drivers/usb/xhcid/src/xhci/capability.rs:209:11 + | +209 | pub const HCS_PARAMS2_SPR_BIT: u32 = 1 << HCS_PARAMS2_SPR_SHIFT; + | ^^^^^^^^^^^^^^^^^^^ + +warning: constant `HCS_PARAMS2_SPR_SHIFT` is never used + --> drivers/usb/xhcid/src/xhci/capability.rs:211:11 + | +211 | pub const HCS_PARAMS2_SPR_SHIFT: u8 = 26; + | ^^^^^^^^^^^^^^^^^^^^^ + +warning: multiple methods are never used + --> drivers/usb/xhcid/src/xhci/capability.rs:246:12 + | +218 | impl CapabilityRegs { + | ------------------- methods in this implementation +... +246 | pub fn hcc2_ctc(&self) -> bool { self.hcc_params2.readf(HCC_PARAMS2_CTC_BIT) } + | ^^^^^^^^ +... +250 | pub fn hcc2_etc_tsc(&self) -> bool { self.hcc_params2.readf(HCC_PARAMS2_ETC_TSC_BIT) } + | ^^^^^^^^^^^^ +... +256 | pub fn hcc2_eusb2_dic(&self) -> bool { self.hcc_params2.readf(HCC_PARAMS2_EUSB2_DIC_BIT) } + | ^^^^^^^^^^^^^^ +... +262 | pub fn ppc(&self) -> bool { self.hcc_params1.readf(HCC_PARAMS1_PPC_BIT) } + | ^^^ +263 | /// Port Indicators (bit 4). +264 | pub fn pind(&self) -> bool { self.hcc_params1.readf(HCC_PARAMS1_PIND_BIT) } + | ^^^^ +265 | /// Light Host Controller Reset (bit 5). +266 | pub fn lhrc(&self) -> bool { self.hcc_params1.readf(HCC_PARAMS1_LHRC_BIT) } + | ^^^^ +267 | /// Latency Tolerance Messaging (bit 6). +268 | pub fn ltc(&self) -> bool { self.hcc_params1.readf(HCC_PARAMS1_LTC_BIT) } + | ^^^ +269 | /// No Secondary Stream ID (bit 7). +270 | pub fn nss(&self) -> bool { self.hcc_params1.readf(HCC_PARAMS1_NSS_BIT) } + | ^^^ +271 | /// Short Packet Capability (bit 9). +272 | pub fn spc(&self) -> bool { self.hcc_params1.readf(HCC_PARAMS1_SPC_BIT) } + | ^^^ +273 | /// Contiguous Frame ID Capability (bit 11). +274 | pub fn cfc(&self) -> bool { self.hcc_params1.readf(HCC_PARAMS1_CFC_BIT) } + | ^^^ +... +323 | pub fn spr(&self) -> bool { + | ^^^ + +warning: variants `EnabledOrDisabled`, `Default`, and `Addressed` are never constructed + --> drivers/usb/xhcid/src/xhci/context.rs:34:5 + | +33 | pub enum SlotState { + | --------- variants in this enum +34 | EnabledOrDisabled = 0, + | ^^^^^^^^^^^^^^^^^ +35 | Default = 1, + | ^^^^^^^ +36 | Addressed = 2, + | ^^^^^^^^^ + +warning: field `pages` is never read + --> drivers/usb/xhcid/src/xhci/context.rs:190:9 + | +188 | pub struct ScratchpadBufferArray { + | --------------------- field in this struct +189 | pub entries: Dma<[ScratchpadBufferEntry]>, +190 | pub pages: Vec>, + | ^^^^^ + +warning: method `read` is never used + --> drivers/usb/xhcid/src/xhci/doorbell.rs:7:12 + | +6 | impl Doorbell { + | ------------- method in this implementation +7 | pub fn read(&self) -> u32 { + | ^^^^ + +warning: method `next` is never used + --> drivers/usb/xhcid/src/xhci/event.rs:43:12 + | +25 | impl EventRing { + | -------------- method in this implementation +... +43 | pub fn next(&mut self) -> &mut Trb { + | ^^^^ + +warning: multiple variants are never constructed + --> drivers/usb/xhcid/src/xhci/extended.rs:41:5 + | +39 | pub enum CapabilityId { + | ------------ variants in this enum +40 | // bit 0 is reserved +41 | UsbLegacySupport = 1, + | ^^^^^^^^^^^^^^^^ +42 | SupportedProtocol, +43 | ExtendedPowerManagement, + | ^^^^^^^^^^^^^^^^^^^^^^^ +44 | IoVirtualization, + | ^^^^^^^^^^^^^^^^ +45 | MessageInterrupt, + | ^^^^^^^^^^^^^^^^ +46 | LocalMem, + | ^^^^^^^^ +47 | // bits 7-9 are reserved +48 | UsbDebugCapability = 10, + | ^^^^^^^^^^^^^^^^^^ +49 | // bits 11-16 are reserved +50 | ExtendedMessageInterrupt = 17, + | ^^^^^^^^^^^^^^^^^^^^^^^^ + +warning: method `trb_type` is never used + --> drivers/usb/xhcid/src/xhci/irq_reactor.rs:86:12 + | +85 | impl StateKind { + | -------------- method in this implementation +86 | pub fn trb_type(&self) -> TrbType { + | ^^^^^^^^ + +warning: constant `ATI` is never used + --> drivers/usb/xhcid/src/xhci/quirks.rs:76:15 + | +76 | pub const ATI: u16 = 0x1002; + | ^^^ + +warning: constant `CDNS` is never used + --> drivers/usb/xhcid/src/xhci/quirks.rs:82:15 + | +82 | pub const CDNS: u16 = 0x17cd; + | ^^^^ + +warning: constant `PORT_HLE` is never used + --> drivers/usb/xhcid/src/xhci/port.rs:60:11 + | +60 | pub const PORT_HLE: u32 = 1u32 << 16; // Hardware LPM Enable + | ^^^^^^^^ + +warning: constant `PORT_HIRD_MASK` is never used + --> drivers/usb/xhcid/src/xhci/port.rs:61:11 + | +61 | pub const PORT_HIRD_MASK: u32 = 0xFu32 << 4; // Host Initiated Resume Duration + | ^^^^^^^^^^^^^^ + +warning: constant `PORT_L1_TIMEOUT_MASK` is never used + --> drivers/usb/xhcid/src/xhci/port.rs:62:11 + | +62 | pub const PORT_L1_TIMEOUT_MASK: u32 = 0xFFu32 << 2; + | ^^^^^^^^^^^^^^^^^^^^ + +warning: constant `PORT_BESLD_MASK` is never used + --> drivers/usb/xhcid/src/xhci/port.rs:63:11 + | +63 | pub const PORT_BESLD_MASK: u32 = 0xFu32 << 10; // Best Effort Service Latency Deep + | ^^^^^^^^^^^^^^^ + +warning: constant `PORT_HIRDM_MASK` is never used + --> drivers/usb/xhcid/src/xhci/port.rs:64:11 + | +64 | pub const PORT_HIRDM_MASK: u32 = 0x3u32; // Host Initiated Resume Duration Mode + | ^^^^^^^^^^^^^^^ + +warning: constant `XHCI_DEFAULT_BESL` is never used + --> drivers/usb/xhcid/src/xhci/port.rs:65:11 + | +65 | pub const XHCI_DEFAULT_BESL: u32 = 4; + | ^^^^^^^^^^^^^^^^^ + +warning: constant `XHCI_L1_TIMEOUT` is never used + --> drivers/usb/xhcid/src/xhci/port.rs:66:11 + | +66 | pub const XHCI_L1_TIMEOUT: u32 = 512; // microseconds + | ^^^^^^^^^^^^^^^ + +warning: constant `XDEV_U1` is never used + --> drivers/usb/xhcid/src/xhci/port.rs:71:11 + | +71 | pub const XDEV_U1: u32 = 0x1 << 5; // Fast exit (<10us) + | ^^^^^^^ + +warning: constant `XDEV_U2` is never used + --> drivers/usb/xhcid/src/xhci/port.rs:72:11 + | +72 | pub const XDEV_U2: u32 = 0x2 << 5; // Slower exit (>100us) + | ^^^^^^^ + +warning: constant `XDEV_DISABLED` is never used + --> drivers/usb/xhcid/src/xhci/port.rs:74:11 + | +74 | pub const XDEV_DISABLED: u32 = 0x4 << 5; + | ^^^^^^^^^^^^^ + +warning: constant `XDEV_RXDETECT` is never used + --> drivers/usb/xhcid/src/xhci/port.rs:75:11 + | +75 | pub const XDEV_RXDETECT: u32 = 0x5 << 5; + | ^^^^^^^^^^^^^ + +warning: constant `XDEV_INACTIVE` is never used + --> drivers/usb/xhcid/src/xhci/port.rs:76:11 + | +76 | pub const XDEV_INACTIVE: u32 = 0x6 << 5; + | ^^^^^^^^^^^^^ + +warning: constant `XDEV_POLLING` is never used + --> drivers/usb/xhcid/src/xhci/port.rs:77:11 + | +77 | pub const XDEV_POLLING: u32 = 0x7 << 5; + | ^^^^^^^^^^^^ + +warning: constant `XDEV_RECOVERY` is never used + --> drivers/usb/xhcid/src/xhci/port.rs:78:11 + | +78 | pub const XDEV_RECOVERY: u32 = 0x8 << 5; + | ^^^^^^^^^^^^^ + +warning: constant `XDEV_HOT_RESET` is never used + --> drivers/usb/xhcid/src/xhci/port.rs:79:11 + | +79 | pub const XDEV_HOT_RESET: u32 = 0x9 << 5; + | ^^^^^^^^^^^^^^ + +warning: constant `XDEV_COMPLIANCE` is never used + --> drivers/usb/xhcid/src/xhci/port.rs:80:11 + | +80 | pub const XDEV_COMPLIANCE: u32 = 0xA << 5; + | ^^^^^^^^^^^^^^^ + +warning: constant `XDEV_TEST_MODE` is never used + --> drivers/usb/xhcid/src/xhci/port.rs:81:11 + | +81 | pub const XDEV_TEST_MODE: u32 = 0xB << 5; + | ^^^^^^^^^^^^^^ + +warning: constant `XDEV_RESUME` is never used + --> drivers/usb/xhcid/src/xhci/port.rs:82:11 + | +82 | pub const XDEV_RESUME: u32 = 0xF << 5; + | ^^^^^^^^^^^ + +warning: constant `PORT_U1_TIMEOUT_MASK` is never used + --> drivers/usb/xhcid/src/xhci/port.rs:87:11 + | +87 | pub const PORT_U1_TIMEOUT_MASK: u32 = 0x0000_00FF; + | ^^^^^^^^^^^^^^^^^^^^ + +warning: constant `PORT_U2_TIMEOUT_SHIFT` is never used + --> drivers/usb/xhcid/src/xhci/port.rs:88:11 + | +88 | pub const PORT_U2_TIMEOUT_SHIFT: u32 = 8; + | ^^^^^^^^^^^^^^^^^^^^^ + +warning: constant `PORT_U2_TIMEOUT_MASK` is never used + --> drivers/usb/xhcid/src/xhci/port.rs:89:11 + | +89 | pub const PORT_U2_TIMEOUT_MASK: u32 = 0x0000_FF00; + | ^^^^^^^^^^^^^^^^^^^^ + +warning: constant `PORT_FORCE_LINK_PM_ACCEPT` is never used + --> drivers/usb/xhcid/src/xhci/port.rs:90:11 + | +90 | pub const PORT_FORCE_LINK_PM_ACCEPT: u32 = 1u32 << 19; // xHCI 1.1+ + | ^^^^^^^^^^^^^^^^^^^^^^^^^ + +warning: methods `enable_lpm`, `disable_lpm`, `set_u1_u2_timeout`, and `link_state` are never used + --> drivers/usb/xhcid/src/xhci/port.rs:151:12 + | + 92 | impl Port { + | --------- methods in this implementation +... +151 | pub fn enable_lpm(&mut self, hird: u32, l1_timeout: u32) { + | ^^^^^^^^^^ +... +159 | pub fn disable_lpm(&mut self) { + | ^^^^^^^^^^^ +... +167 | pub fn set_u1_u2_timeout(&mut self, u1_timeout: u8, u2_timeout: u8) { + | ^^^^^^^^^^^^^^^^^ +... +175 | pub fn link_state(&self) -> u8 { + | ^^^^^^^^^^ + +warning: methods `start_virt_addr` and `end_virt_addr` are never used + --> drivers/usb/xhcid/src/xhci/ring.rs:105:19 + | + 17 | impl Ring { + | --------- methods in this implementation +... +105 | pub(crate) fn start_virt_addr(&self) -> *const Trb { + | ^^^^^^^^^^^^^^^ +... +108 | pub(crate) fn end_virt_addr(&self) -> *const Trb { + | ^^^^^^^^^^^^^ + +warning: enum `PortTransferState` is never used + --> drivers/usb/xhcid/src/xhci/scheme.rs:116:10 + | +116 | pub enum PortTransferState { + | ^^^^^^^^^^^^^^^^^ + +warning: field `0` is never read + --> drivers/usb/xhcid/src/xhci/scheme.rs:518:12 + | +518 | Device(usb::DeviceDescriptor), + | ------ ^^^^^^^^^^^^^^^^^^^^^ + | | + | field in this variant + | + = note: `AnyDescriptor` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis +help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field + | +518 - Device(usb::DeviceDescriptor), +518 + Device(()), + | + +warning: field `0` is never read + --> drivers/usb/xhcid/src/xhci/scheme.rs:519:12 + | +519 | Config(usb::ConfigDescriptor), + | ------ ^^^^^^^^^^^^^^^^^^^^^ + | | + | field in this variant + | + = note: `AnyDescriptor` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis +help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field + | +519 - Config(usb::ConfigDescriptor), +519 + Config(()), + | + +warning: method `port_state` is never used + --> drivers/usb/xhcid/src/xhci/scheme.rs:1301:8 + | + 559 | impl Xhci { + | ---------------------------- method in this implementation +... +1301 | fn port_state( + | ^^^^^^^^^^ + +warning: variants `Rsv30` and `Undefined` are never constructed + --> drivers/usb/xhcid/src/xhci/trb.rs:90:5 + | +59 | pub enum TrbCompletionCode { + | ----------------- variants in this enum +... +90 | Rsv30 = 0x1E, + | ^^^^^ +... +93 | Undefined = 0x21, + | ^^^^^^^^^ + | + = note: `TrbCompletionCode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis + +warning: constant `TRB_STATUS_COMPLETION_CODE_MASK` is never used + --> drivers/usb/xhcid/src/xhci/trb.rs:130:11 + | +130 | pub const TRB_STATUS_COMPLETION_CODE_MASK: u32 = 0xFF00_0000; + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +warning: constant `TRB_STATUS_COMPLETION_PARAM_SHIFT` is never used + --> drivers/usb/xhcid/src/xhci/trb.rs:132:11 + | +132 | pub const TRB_STATUS_COMPLETION_PARAM_SHIFT: u8 = 0; + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +warning: constant `TRB_STATUS_TRANSFER_LENGTH_SHIFT` is never used + --> drivers/usb/xhcid/src/xhci/trb.rs:135:11 + | +135 | pub const TRB_STATUS_TRANSFER_LENGTH_SHIFT: u8 = 0; + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +warning: using `.deref()` on a double reference, which returns `&[T]` instead of dereferencing the inner type + --> drivers/usb/xhcid/src/xhci/scheme.rs:434:37 + | +434 | .field("virt_ptr", &(dma.deref().as_ptr() as *const u8)) + | ^^^^^^^^ + | + = note: `#[warn(suspicious_double_ref_op)]` on by default + +warning: `acpid` (bin "acpid") generated 27 warnings (run `cargo fix --bin "acpid" -p acpid` to apply 2 suggestions) +warning: `xhcid` (bin "xhcid") generated 130 warnings (8 duplicates) (run `cargo fix --bin "xhcid" -p xhcid` to apply 45 suggestions) + Finished `release` profile [optimized] target(s) in 1m 20s +warning: the following packages contain code that will be rejected by a future version of Rust: nom v3.2.1 +note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` ++ mkdir -pv /mnt/data/Builds/RedBear-OS/recipes/core/base-initfs/target/x86_64-unknown-redox/build/initfs/bin /mnt/data/Builds/RedBear-OS/recipes/core/base-initfs/target/x86_64-unknown-redox/build/initfs/lib/drivers +mkdir: создан каталог '/mnt/data/Builds/RedBear-OS/recipes/core/base-initfs/target/x86_64-unknown-redox/build/initfs/bin' +mkdir: создан каталог '/mnt/data/Builds/RedBear-OS/recipes/core/base-initfs/target/x86_64-unknown-redox/build/initfs/lib/drivers' ++ for bin in "${BINS[@]}" ++ case "${bin}" in ++ cp -v target/x86_64-unknown-redox/release/init /mnt/data/Builds/RedBear-OS/recipes/core/base-initfs/target/x86_64-unknown-redox/build/initfs/bin +'target/x86_64-unknown-redox/release/init' -> '/mnt/data/Builds/RedBear-OS/recipes/core/base-initfs/target/x86_64-unknown-redox/build/initfs/bin/init' ++ for bin in "${BINS[@]}" ++ case "${bin}" in ++ cp -v target/x86_64-unknown-redox/release/logd /mnt/data/Builds/RedBear-OS/recipes/core/base-initfs/target/x86_64-unknown-redox/build/initfs/bin +'target/x86_64-unknown-redox/release/logd' -> '/mnt/data/Builds/RedBear-OS/recipes/core/base-initfs/target/x86_64-unknown-redox/build/initfs/bin/logd' ++ for bin in "${BINS[@]}" ++ case "${bin}" in ++ cp -v target/x86_64-unknown-redox/release/ramfs /mnt/data/Builds/RedBear-OS/recipes/core/base-initfs/target/x86_64-unknown-redox/build/initfs/bin +'target/x86_64-unknown-redox/release/ramfs' -> '/mnt/data/Builds/RedBear-OS/recipes/core/base-initfs/target/x86_64-unknown-redox/build/initfs/bin/ramfs' ++ for bin in "${BINS[@]}" ++ case "${bin}" in ++ cp -v target/x86_64-unknown-redox/release/randd /mnt/data/Builds/RedBear-OS/recipes/core/base-initfs/target/x86_64-unknown-redox/build/initfs/bin +'target/x86_64-unknown-redox/release/randd' -> '/mnt/data/Builds/RedBear-OS/recipes/core/base-initfs/target/x86_64-unknown-redox/build/initfs/bin/randd' ++ for bin in "${BINS[@]}" ++ case "${bin}" in ++ cp -v target/x86_64-unknown-redox/release/zerod /mnt/data/Builds/RedBear-OS/recipes/core/base-initfs/target/x86_64-unknown-redox/build/initfs/bin +'target/x86_64-unknown-redox/release/zerod' -> '/mnt/data/Builds/RedBear-OS/recipes/core/base-initfs/target/x86_64-unknown-redox/build/initfs/bin/zerod' ++ for bin in "${BINS[@]}" ++ case "${bin}" in ++ cp -v target/x86_64-unknown-redox/release/acpid /mnt/data/Builds/RedBear-OS/recipes/core/base-initfs/target/x86_64-unknown-redox/build/initfs/bin +'target/x86_64-unknown-redox/release/acpid' -> '/mnt/data/Builds/RedBear-OS/recipes/core/base-initfs/target/x86_64-unknown-redox/build/initfs/bin/acpid' ++ for bin in "${BINS[@]}" ++ case "${bin}" in ++ cp -v target/x86_64-unknown-redox/release/fbbootlogd /mnt/data/Builds/RedBear-OS/recipes/core/base-initfs/target/x86_64-unknown-redox/build/initfs/bin +'target/x86_64-unknown-redox/release/fbbootlogd' -> '/mnt/data/Builds/RedBear-OS/recipes/core/base-initfs/target/x86_64-unknown-redox/build/initfs/bin/fbbootlogd' ++ for bin in "${BINS[@]}" ++ case "${bin}" in ++ cp -v target/x86_64-unknown-redox/release/fbcond /mnt/data/Builds/RedBear-OS/recipes/core/base-initfs/target/x86_64-unknown-redox/build/initfs/bin +'target/x86_64-unknown-redox/release/fbcond' -> '/mnt/data/Builds/RedBear-OS/recipes/core/base-initfs/target/x86_64-unknown-redox/build/initfs/bin/fbcond' ++ for bin in "${BINS[@]}" ++ case "${bin}" in ++ cp -v target/x86_64-unknown-redox/release/hwd /mnt/data/Builds/RedBear-OS/recipes/core/base-initfs/target/x86_64-unknown-redox/build/initfs/bin +'target/x86_64-unknown-redox/release/hwd' -> '/mnt/data/Builds/RedBear-OS/recipes/core/base-initfs/target/x86_64-unknown-redox/build/initfs/bin/hwd' ++ for bin in "${BINS[@]}" ++ case "${bin}" in ++ cp -v target/x86_64-unknown-redox/release/inputd /mnt/data/Builds/RedBear-OS/recipes/core/base-initfs/target/x86_64-unknown-redox/build/initfs/bin +'target/x86_64-unknown-redox/release/inputd' -> '/mnt/data/Builds/RedBear-OS/recipes/core/base-initfs/target/x86_64-unknown-redox/build/initfs/bin/inputd' ++ for bin in "${BINS[@]}" ++ case "${bin}" in ++ cp -v target/x86_64-unknown-redox/release/lived /mnt/data/Builds/RedBear-OS/recipes/core/base-initfs/target/x86_64-unknown-redox/build/initfs/bin +'target/x86_64-unknown-redox/release/lived' -> '/mnt/data/Builds/RedBear-OS/recipes/core/base-initfs/target/x86_64-unknown-redox/build/initfs/bin/lived' ++ for bin in "${BINS[@]}" ++ case "${bin}" in ++ cp -v target/x86_64-unknown-redox/release/nvmed /mnt/data/Builds/RedBear-OS/recipes/core/base-initfs/target/x86_64-unknown-redox/build/initfs/lib/drivers +'target/x86_64-unknown-redox/release/nvmed' -> '/mnt/data/Builds/RedBear-OS/recipes/core/base-initfs/target/x86_64-unknown-redox/build/initfs/lib/drivers/nvmed' ++ for bin in "${BINS[@]}" ++ case "${bin}" in ++ cp -v target/x86_64-unknown-redox/release/pcid /mnt/data/Builds/RedBear-OS/recipes/core/base-initfs/target/x86_64-unknown-redox/build/initfs/bin +'target/x86_64-unknown-redox/release/pcid' -> '/mnt/data/Builds/RedBear-OS/recipes/core/base-initfs/target/x86_64-unknown-redox/build/initfs/bin/pcid' ++ for bin in "${BINS[@]}" ++ case "${bin}" in ++ cp -v target/x86_64-unknown-redox/release/pcid-spawner /mnt/data/Builds/RedBear-OS/recipes/core/base-initfs/target/x86_64-unknown-redox/build/initfs/bin +'target/x86_64-unknown-redox/release/pcid-spawner' -> '/mnt/data/Builds/RedBear-OS/recipes/core/base-initfs/target/x86_64-unknown-redox/build/initfs/bin/pcid-spawner' ++ for bin in "${BINS[@]}" ++ case "${bin}" in ++ cp -v target/x86_64-unknown-redox/release/rtcd /mnt/data/Builds/RedBear-OS/recipes/core/base-initfs/target/x86_64-unknown-redox/build/initfs/bin +'target/x86_64-unknown-redox/release/rtcd' -> '/mnt/data/Builds/RedBear-OS/recipes/core/base-initfs/target/x86_64-unknown-redox/build/initfs/bin/rtcd' ++ for bin in "${BINS[@]}" ++ case "${bin}" in ++ cp -v target/x86_64-unknown-redox/release/vesad /mnt/data/Builds/RedBear-OS/recipes/core/base-initfs/target/x86_64-unknown-redox/build/initfs/bin +'target/x86_64-unknown-redox/release/vesad' -> '/mnt/data/Builds/RedBear-OS/recipes/core/base-initfs/target/x86_64-unknown-redox/build/initfs/bin/vesad' ++ for bin in "${BINS[@]}" ++ case "${bin}" in ++ cp -v target/x86_64-unknown-redox/release/ahcid /mnt/data/Builds/RedBear-OS/recipes/core/base-initfs/target/x86_64-unknown-redox/build/initfs/lib/drivers +'target/x86_64-unknown-redox/release/ahcid' -> '/mnt/data/Builds/RedBear-OS/recipes/core/base-initfs/target/x86_64-unknown-redox/build/initfs/lib/drivers/ahcid' ++ for bin in "${BINS[@]}" ++ case "${bin}" in ++ cp -v target/x86_64-unknown-redox/release/ided /mnt/data/Builds/RedBear-OS/recipes/core/base-initfs/target/x86_64-unknown-redox/build/initfs/lib/drivers +'target/x86_64-unknown-redox/release/ided' -> '/mnt/data/Builds/RedBear-OS/recipes/core/base-initfs/target/x86_64-unknown-redox/build/initfs/lib/drivers/ided' ++ for bin in "${BINS[@]}" ++ case "${bin}" in ++ cp -v target/x86_64-unknown-redox/release/ps2d /mnt/data/Builds/RedBear-OS/recipes/core/base-initfs/target/x86_64-unknown-redox/build/initfs/bin +'target/x86_64-unknown-redox/release/ps2d' -> '/mnt/data/Builds/RedBear-OS/recipes/core/base-initfs/target/x86_64-unknown-redox/build/initfs/bin/ps2d' ++ for bin in "${BINS[@]}" ++ case "${bin}" in ++ cp -v target/x86_64-unknown-redox/release/usbhidd /mnt/data/Builds/RedBear-OS/recipes/core/base-initfs/target/x86_64-unknown-redox/build/initfs/lib/drivers +'target/x86_64-unknown-redox/release/usbhidd' -> '/mnt/data/Builds/RedBear-OS/recipes/core/base-initfs/target/x86_64-unknown-redox/build/initfs/lib/drivers/usbhidd' ++ for bin in "${BINS[@]}" ++ case "${bin}" in ++ cp -v target/x86_64-unknown-redox/release/usbscsid /mnt/data/Builds/RedBear-OS/recipes/core/base-initfs/target/x86_64-unknown-redox/build/initfs/lib/drivers +'target/x86_64-unknown-redox/release/usbscsid' -> '/mnt/data/Builds/RedBear-OS/recipes/core/base-initfs/target/x86_64-unknown-redox/build/initfs/lib/drivers/usbscsid' ++ for bin in "${BINS[@]}" ++ case "${bin}" in ++ cp -v target/x86_64-unknown-redox/release/usbhubd /mnt/data/Builds/RedBear-OS/recipes/core/base-initfs/target/x86_64-unknown-redox/build/initfs/lib/drivers +'target/x86_64-unknown-redox/release/usbhubd' -> '/mnt/data/Builds/RedBear-OS/recipes/core/base-initfs/target/x86_64-unknown-redox/build/initfs/lib/drivers/usbhubd' ++ for bin in "${BINS[@]}" ++ case "${bin}" in ++ cp -v target/x86_64-unknown-redox/release/xhcid /mnt/data/Builds/RedBear-OS/recipes/core/base-initfs/target/x86_64-unknown-redox/build/initfs/lib/drivers +'target/x86_64-unknown-redox/release/xhcid' -> '/mnt/data/Builds/RedBear-OS/recipes/core/base-initfs/target/x86_64-unknown-redox/build/initfs/lib/drivers/xhcid' ++ for bin in "${BINS[@]}" ++ case "${bin}" in ++ cp -v target/x86_64-unknown-redox/release/vesad /mnt/data/Builds/RedBear-OS/recipes/core/base-initfs/target/x86_64-unknown-redox/build/initfs/bin +'target/x86_64-unknown-redox/release/vesad' -> '/mnt/data/Builds/RedBear-OS/recipes/core/base-initfs/target/x86_64-unknown-redox/build/initfs/bin/vesad' ++ for bin in "${BINS[@]}" ++ case "${bin}" in ++ cp -v target/x86_64-unknown-redox/release/e1000d /mnt/data/Builds/RedBear-OS/recipes/core/base-initfs/target/x86_64-unknown-redox/build/initfs/lib/drivers +'target/x86_64-unknown-redox/release/e1000d' -> '/mnt/data/Builds/RedBear-OS/recipes/core/base-initfs/target/x86_64-unknown-redox/build/initfs/lib/drivers/e1000d' ++ for bin in "${BINS[@]}" ++ case "${bin}" in ++ cp -v target/x86_64-unknown-redox/release/rtl8168d /mnt/data/Builds/RedBear-OS/recipes/core/base-initfs/target/x86_64-unknown-redox/build/initfs/lib/drivers +'target/x86_64-unknown-redox/release/rtl8168d' -> '/mnt/data/Builds/RedBear-OS/recipes/core/base-initfs/target/x86_64-unknown-redox/build/initfs/lib/drivers/rtl8168d' ++ for bin in "${BINS[@]}" ++ case "${bin}" in ++ cp -v target/x86_64-unknown-redox/release/virtio-blkd /mnt/data/Builds/RedBear-OS/recipes/core/base-initfs/target/x86_64-unknown-redox/build/initfs/lib/drivers +'target/x86_64-unknown-redox/release/virtio-blkd' -> '/mnt/data/Builds/RedBear-OS/recipes/core/base-initfs/target/x86_64-unknown-redox/build/initfs/lib/drivers/virtio-blkd' ++ for bin in "${BINS[@]}" ++ case "${bin}" in ++ cp -v target/x86_64-unknown-redox/release/virtio-gpud /mnt/data/Builds/RedBear-OS/recipes/core/base-initfs/target/x86_64-unknown-redox/build/initfs/lib/drivers +'target/x86_64-unknown-redox/release/virtio-gpud' -> '/mnt/data/Builds/RedBear-OS/recipes/core/base-initfs/target/x86_64-unknown-redox/build/initfs/lib/drivers/virtio-gpud' ++ cp /mnt/data/Builds/RedBear-OS/recipes/core/base-initfs/target/x86_64-unknown-redox/sysroot/usr/bin/redoxfs /mnt/data/Builds/RedBear-OS/recipes/core/base-initfs/target/x86_64-unknown-redox/build/initfs/bin ++ cp /mnt/data/Builds/RedBear-OS/recipes/core/base-initfs/target/x86_64-unknown-redox/sysroot/usr/bin/ion /mnt/data/Builds/RedBear-OS/recipes/core/base-initfs/target/x86_64-unknown-redox/build/initfs/bin ++ cp /mnt/data/Builds/RedBear-OS/recipes/core/base-initfs/target/x86_64-unknown-redox/sysroot/usr/bin/driver-manager /mnt/data/Builds/RedBear-OS/recipes/core/base-initfs/target/x86_64-unknown-redox/build/initfs/bin +++ echo x86_64-unknown-redox +++ cut -d - -f1 ++ ARCH=x86_64 ++ RUSTFLAGS=' -Ctarget-feature=+crt-static -Clink-arg=-nostartfiles -Clink-arg=-nostdlib' ++ cargo -Zbuild-std=core,alloc,compiler_builtins -Zbuild-std-features=compiler-builtins-mem build --target x86_64-unknown-redox --manifest-path /mnt/data/Builds/RedBear-OS/local/sources/base/bootstrap/Cargo.toml --release --target-dir /mnt/data/Builds/RedBear-OS/recipes/core/base-initfs/target/x86_64-unknown-redox/build + Compiling compiler_builtins v0.1.160 (/home/kellito/.redoxer/x86_64-unknown-redox/toolchain/lib/rustlib/src/rust/library/compiler-builtins/compiler-builtins) + Compiling core v0.0.0 (/home/kellito/.redoxer/x86_64-unknown-redox/toolchain/lib/rustlib/src/rust/library/core) + Compiling proc-macro2 v1.0.106 + Compiling quote v1.0.46 + Compiling unicode-ident v1.0.24 + Compiling libc v0.2.186 + Compiling bootstrap v0.0.0 (/mnt/data/Builds/RedBear-OS/local/sources/base/bootstrap) + Compiling syn v2.0.118 + Compiling scroll_derive v0.13.1 + Compiling alloc v0.0.0 (/home/kellito/.redoxer/x86_64-unknown-redox/toolchain/lib/rustlib/src/rust/library/alloc) + Compiling plain v0.2.3 + Compiling bitflags v2.13.0 + Compiling scopeguard v1.2.0 + Compiling log v0.4.33 + Compiling scroll v0.13.0 + Compiling generic-rt v0.1.0 (/mnt/data/Builds/RedBear-OS/local/sources/relibc/generic-rt) + Compiling ioslice v0.6.0 + Compiling foldhash v0.1.5 + Compiling redox-path v0.3.1 + Compiling arrayvec v0.7.8 + Compiling slab v0.4.12 + Compiling lock_api v0.4.14 + Compiling redox-initfs v0.2.0 (/mnt/data/Builds/RedBear-OS/local/sources/base/initfs) + Compiling hashbrown v0.15.5 + Compiling redox_syscall v0.9.0+rb0.3.0 (/mnt/data/Builds/RedBear-OS/local/sources/syscall) + Compiling spinning_top v0.2.5 + Compiling linked_list_allocator v0.10.6 + Compiling goblin v0.10.7 + Compiling libredox v0.1.18+rb0.3.0 (/mnt/data/Builds/RedBear-OS/local/sources/libredox) +warning: `extern` block uses type `[u8]`, which is not FFI-safe + --> /mnt/data/Builds/RedBear-OS/local/sources/libredox/src/lib.rs:314:77 + | +314 | fn redox_get_proc_credentials_v1(cap_fd: usize, target_pid: usize, buf: &mut [u8]) + | ^^^^^^^^^ not FFI-safe + | + = help: consider using a raw pointer instead + = note: slices have no C equivalent + = note: `#[warn(improper_ctypes)]` on by default + + Compiling redox-rt v0.1.0 (/mnt/data/Builds/RedBear-OS/local/sources/relibc/redox-rt) + Compiling redox-scheme v0.11.2+rb0.3.0 (/mnt/data/Builds/RedBear-OS/local/sources/redox-scheme) +warning: `libredox` (lib) generated 1 warning +warning: unused variable: `id` + --> /mnt/data/Builds/RedBear-OS/local/sources/redox-scheme/src/scheme.rs:1578:9 + | +1578 | id: usize, + | ^^ help: if this is intentional, prefix it with an underscore: `_id` + | + = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default + +warning: unused variable: `kind` + --> /mnt/data/Builds/RedBear-OS/local/sources/redox-scheme/src/scheme.rs:1579:9 + | +1579 | kind: StdFsCallKind, + | ^^^^ help: if this is intentional, prefix it with an underscore: `_kind` + +warning: unused variable: `inode` + --> /mnt/data/Builds/RedBear-OS/local/sources/redox-scheme/src/scheme.rs:1580:9 + | +1580 | inode: Option, + | ^^^^^ help: if this is intentional, prefix it with an underscore: `_inode` + +warning: unused variable: `metadata` + --> /mnt/data/Builds/RedBear-OS/local/sources/redox-scheme/src/scheme.rs:1581:9 + | +1581 | metadata: StdFsCallMeta, + | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_metadata` + +warning: unused variable: `payload` + --> /mnt/data/Builds/RedBear-OS/local/sources/redox-scheme/src/scheme.rs:1582:9 + | +1582 | payload: &mut [u8], + | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_payload` + +warning: unused variable: `ctx` + --> /mnt/data/Builds/RedBear-OS/local/sources/redox-scheme/src/scheme.rs:1583:9 + | +1583 | ctx: &CallerCtx, + | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` + +warning: unused variable: `id` + --> /mnt/data/Builds/RedBear-OS/local/sources/redox-scheme/src/scheme.rs:1587:32 + | +1587 | pub fn on_close(&mut self, id: usize) {} + | ^^ help: if this is intentional, prefix it with an underscore: `_id` + +warning: feature `linked_list_cursors` is declared but not used + --> /mnt/data/Builds/RedBear-OS/local/sources/redox-scheme/src/lib.rs:2:12 + | +2 | #![feature(linked_list_cursors)] // advisory_flock.rs + | ^^^^^^^^^^^^^^^^^^^ + | + = note: `#[warn(unused_features)]` (part of `#[warn(unused)]`) on by default + +warning: `redox-scheme` (lib) generated 8 warnings (run `cargo fix --lib -p redox-scheme` to apply 7 suggestions) +warning: direct cast of function item into an integer + --> /mnt/data/Builds/RedBear-OS/local/sources/relibc/redox-rt/src/arch/x86_64.rs:467:64 + | +467 | if stack.regs.rip == __relibc_internal_sigentry_crit_first as usize { + | ^^^^^^^^ + | + = note: `#[warn(function_casts_as_integer)]` on by default +help: first cast to a pointer `as *const ()` + | +467 | if stack.regs.rip == __relibc_internal_sigentry_crit_first as *const () as usize { + | ++++++++++++ + +warning: direct cast of function item into an integer + --> /mnt/data/Builds/RedBear-OS/local/sources/relibc/redox-rt/src/arch/x86_64.rs:474:72 + | +474 | } else if stack.regs.rip == __relibc_internal_sigentry_crit_second as usize + | ^^^^^^^^ + | +help: first cast to a pointer `as *const ()` + | +474 | } else if stack.regs.rip == __relibc_internal_sigentry_crit_second as *const () as usize + | ++++++++++++ + +warning: direct cast of function item into an integer + --> /mnt/data/Builds/RedBear-OS/local/sources/relibc/redox-rt/src/arch/x86_64.rs:475:68 + | +475 | || stack.regs.rip == __relibc_internal_sigentry_crit_third as usize + | ^^^^^^^^ + | +help: first cast to a pointer `as *const ()` + | +475 | || stack.regs.rip == __relibc_internal_sigentry_crit_third as *const () as usize + | ++++++++++++ + +warning: direct cast of function item into an integer + --> /mnt/data/Builds/RedBear-OS/local/sources/relibc/redox-rt/src/arch/x86_64.rs:488:87 + | +488 | let orig_rip = core::mem::replace(&mut stack.regs.rip, __relibc_internal_sigentry as usize); + | ^^^^^^^^ + | +help: first cast to a pointer `as *const ()` + | +488 | let orig_rip = core::mem::replace(&mut stack.regs.rip, __relibc_internal_sigentry as *const () as usize); + | ++++++++++++ + +warning: direct cast of function item into an integer + --> /mnt/data/Builds/RedBear-OS/local/sources/relibc/redox-rt/src/proc.rs:1027:44 + | +1027 | __relibc_internal_fork_ret as usize, + | ^^^^^^^^ + | +help: first cast to a pointer `as *const ()` + | +1027 | __relibc_internal_fork_ret as *const () as usize, + | ++++++++++++ + +warning: direct cast of function item into an integer + --> /mnt/data/Builds/RedBear-OS/local/sources/relibc/redox-rt/src/signal.rs:33:32 + | +33 | __relibc_internal_sigentry as usize + | ^^^^^^^^ + | +help: first cast to a pointer `as *const ()` + | +33 | __relibc_internal_sigentry as *const () as usize + | ++++++++++++ + +warning: direct cast of function item into an integer + --> /mnt/data/Builds/RedBear-OS/local/sources/relibc/redox-rt/src/signal.rs:470:46 + | +470 | let kind = if handler == default_handler as usize { + | ^^^^^^^^ + | +help: first cast to a pointer `as *const ()` + | +470 | let kind = if handler == default_handler as *const () as usize { + | ++++++++++++ + +warning: direct cast of function item into an integer + --> /mnt/data/Builds/RedBear-OS/local/sources/relibc/redox-rt/src/signal.rs:553:37 + | +553 | default_handler as usize + | ^^^^^^^^ + | +help: first cast to a pointer `as *const ()` + | +553 | default_handler as *const () as usize + | ++++++++++++ + +warning: direct cast of function item into an integer + --> /mnt/data/Builds/RedBear-OS/local/sources/relibc/redox-rt/src/signal.rs:563:29 + | +563 | default_handler as usize, + | ^^^^^^^^ + | +help: first cast to a pointer `as *const ()` + | +563 | default_handler as *const () as usize, + | ++++++++++++ + +warning: direct cast of function item into an integer + --> /mnt/data/Builds/RedBear-OS/local/sources/relibc/redox-rt/src/signal.rs:580:33 + | +580 | default_handler as usize, + | ^^^^^^^^ + | +help: first cast to a pointer `as *const ()` + | +580 | default_handler as *const () as usize, + | ++++++++++++ + +warning: direct cast of function item into an integer + --> /mnt/data/Builds/RedBear-OS/local/sources/relibc/redox-rt/src/signal.rs:584:78 + | +584 | (_, SigactionKind::Default) => (new.mask, new.flags, default_handler as usize), + | ^^^^^^^^ + | +help: first cast to a pointer `as *const ()` + | +584 | (_, SigactionKind::Default) => (new.mask, new.flags, default_handler as *const () as usize), + | ++++++++++++ + +warning: direct cast of function item into an integer + --> /mnt/data/Builds/RedBear-OS/local/sources/relibc/redox-rt/src/signal.rs:696:66 + | +696 | (u64::from(bits.bits()) << 32) | default_handler as u64, + | ^^^^^^ + | +help: first cast to a pointer `as *const ()` + | +696 | (u64::from(bits.bits()) << 32) | default_handler as *const () as u64, + | ++++++++++++ + +warning: `redox-rt` (lib) generated 12 warnings (run `cargo fix --lib -p redox-rt` to apply 12 suggestions) +warning: unused variable: `ctx` + --> src/initnsmgr.rs:169:9 + | +169 | ctx: &CallerCtx, + | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` + | + = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default + +warning: unused variable: `ctx` + --> src/initnsmgr.rs:327:65 + | +327 | fn unlinkat(&mut self, fd: usize, path: &str, flags: usize, ctx: &CallerCtx) -> Result<()> { + | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` + +warning: unused variable: `proc` + --> src/procmgr.rs:2214:38 + | +2214 | KillTarget::Proc(proc) => { + | ^^^^ help: if this is intentional, prefix it with an underscore: `_proc` + +warning: unused variable: `caller_pid` + --> src/procmgr.rs:2589:9 + | +2589 | caller_pid: ProcessId, + | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_caller_pid` + +warning: methods `ancestors` and `debug` are never used + --> src/procmgr.rs:1622:8 + | + 580 | impl<'a> ProcScheme<'a> { + | ----------------------- methods in this implementation +... +1622 | fn ancestors(&self, pid: ProcessId) -> impl Iterator + '_ { + | ^^^^^^^^^ +... +1853 | fn debug(&self) { + | ^^^^^ + | + = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default + +warning: feature `str_from_raw_parts` is declared but not used + --> src/main.rs:4:29 + | +4 | #![feature(core_intrinsics, str_from_raw_parts, never_type)] + | ^^^^^^^^^^^^^^^^^^ + | + = note: `#[warn(unused_features)]` (part of `#[warn(unused)]`) on by default + +warning: linker stderr: /home/kellito/.redoxer/x86_64-unknown-redox/toolchain/bin/../lib/gcc/x86_64-unknown-redox/13.2.0/../../../../x86_64-unknown-redox/bin/ld: /mnt/data/Builds/RedBear-OS/recipes/core/base-initfs/target/x86_64-unknown-redox/build/x86_64-unknown-redox/release/deps/bootstrap-d9b066821457fbcf has a LOAD segment with RWX permissions + | + = note: `#[warn(linker_messages)]` on by default + +warning: `bootstrap` (bin "bootstrap") generated 7 warnings (run `cargo fix --bin "bootstrap" -p bootstrap` to apply 4 suggestions) + Finished `release` profile [optimized] target(s) in 26.80s ++ '[' -f /mnt/data/Builds/RedBear-OS/recipes/core/base-initfs/target/x86_64-unknown-redox/build/x86_64-unknown-redox/release/libbootstrap.a ']' ++ cp -v /mnt/data/Builds/RedBear-OS/recipes/core/base-initfs/target/x86_64-unknown-redox/build/x86_64-unknown-redox/release/bootstrap /mnt/data/Builds/RedBear-OS/recipes/core/base-initfs/target/x86_64-unknown-redox/build/bootstrap +'/mnt/data/Builds/RedBear-OS/recipes/core/base-initfs/target/x86_64-unknown-redox/build/x86_64-unknown-redox/release/bootstrap' -> '/mnt/data/Builds/RedBear-OS/recipes/core/base-initfs/target/x86_64-unknown-redox/build/bootstrap' ++ CARGO_PROFILE_RELEASE_OPT_LEVEL=s ++ CARGO_PROFILE_RELEASE_PANIC=abort ++ /mnt/data/Builds/RedBear-OS/target/release/cookbook_redbear_redoxer build --release --manifest-path /mnt/data/Builds/RedBear-OS/local/sources/base/initfs/tools/Cargo.toml --target x86_64-unknown-redox --bin loop_mnt +warning: /mnt/data/Builds/RedBear-OS/local/sources/base/netstack/Cargo.toml: `default-features` is ignored for log, since `default-features` was not specified for `workspace.dependencies.log`, this could become a hard error in the future +warning: /mnt/data/Builds/RedBear-OS/local/sources/base/drivers/hwd/Cargo.toml: `default-features` is ignored for libredox, since `default-features` was true for `workspace.dependencies.libredox`, this could become a hard error in the future + Compiling libc v0.2.186 + Compiling memchr v2.8.3 + Compiling utf8parse v0.2.2 + Compiling colorchoice v1.0.5 + Compiling is_terminal_polyfill v1.70.2 + Compiling regex-syntax v0.8.11 + Compiling anstyle-query v1.1.5 + Compiling anstyle v1.0.14 + Compiling strsim v0.11.1 + Compiling clap_lex v1.1.0 + Compiling humantime v2.4.0 + Compiling log v0.4.33 + Compiling termcolor v1.4.1 + Compiling redox-initfs v0.2.0 (/mnt/data/Builds/RedBear-OS/local/sources/base/initfs) + Compiling pathdiff v0.2.3 + Compiling anstyle-parse v1.0.0 + Compiling anstream v1.0.0 + Compiling getrandom v0.2.17 + Compiling atty v0.2.14 + Compiling aho-corasick v1.1.4 + Compiling clap_builder v4.6.0 + Compiling rand_core v0.6.4 + Compiling rand_chacha v0.3.1 + Compiling rand v0.8.6 + Compiling regex-automata v0.4.14 + Compiling twox-hash v1.6.3 + Compiling clap v4.6.1 + Compiling regex v1.12.4 + Compiling env_logger v0.8.4 + Compiling redox-initfs-tools v0.2.0 (/mnt/data/Builds/RedBear-OS/local/sources/base/initfs/tools) + Finished `release` profile [optimized] target(s) in 9.65s ++ cp -v target/x86_64-unknown-redox/release/loop_mnt /mnt/data/Builds/RedBear-OS/recipes/core/base-initfs/target/x86_64-unknown-redox/build/initfs/bin/loop_mnt +'target/x86_64-unknown-redox/release/loop_mnt' -> '/mnt/data/Builds/RedBear-OS/recipes/core/base-initfs/target/x86_64-unknown-redox/build/initfs/bin/loop_mnt' ++ env -u CARGO -u RUSTFLAGS cargo run --manifest-path /mnt/data/Builds/RedBear-OS/local/sources/base/initfs/tools/Cargo.toml --bin redox-initfs-ar -- /mnt/data/Builds/RedBear-OS/recipes/core/base-initfs/target/x86_64-unknown-redox/build/initfs /mnt/data/Builds/RedBear-OS/recipes/core/base-initfs/target/x86_64-unknown-redox/build/bootstrap -o /mnt/data/Builds/RedBear-OS/recipes/core/base-initfs/target/x86_64-unknown-redox/build/initfs.img +warning: /mnt/data/Builds/RedBear-OS/local/sources/base/drivers/hwd/Cargo.toml: `default-features` is ignored for libredox, since `default-features` was true for `workspace.dependencies.libredox`, this could become a hard error in the future +warning: /mnt/data/Builds/RedBear-OS/local/sources/base/netstack/Cargo.toml: `default-features` is ignored for log, since `default-features` was not specified for `workspace.dependencies.log`, this could become a hard error in the future + Compiling libc v0.2.186 + Compiling zerocopy v0.8.53 + Compiling cfg-if v1.0.4 + Compiling utf8parse v0.2.2 + Compiling memchr v2.8.3 + Compiling is_terminal_polyfill v1.70.2 + Compiling anstyle v1.0.14 + Compiling anstyle-query v1.1.5 + Compiling regex-syntax v0.8.11 + Compiling colorchoice v1.0.5 + Compiling strsim v0.11.1 + Compiling anyhow v1.0.103 + Compiling clap_lex v1.1.0 + Compiling static_assertions v1.1.0 + Compiling termcolor v1.4.1 + Compiling humantime v2.4.0 + Compiling plain v0.2.3 + Compiling log v0.4.33 + Compiling anstyle-parse v1.0.0 + Compiling pathdiff v0.2.3 + Compiling anstream v1.0.0 + Compiling redox-initfs v0.2.0 (/mnt/data/Builds/RedBear-OS/local/sources/base/initfs) + Compiling clap_builder v4.6.0 + Compiling aho-corasick v1.1.4 + Compiling getrandom v0.2.17 + Compiling atty v0.2.14 + Compiling rand_core v0.6.4 + Compiling regex-automata v0.4.14 + Compiling clap v4.6.1 + Compiling ppv-lite86 v0.2.21 + Compiling regex v1.12.4 + Compiling rand_chacha v0.3.1 + Compiling env_logger v0.8.4 + Compiling rand v0.8.6 + Compiling twox-hash v1.6.3 + Compiling redox-initfs-tools v0.2.0 (/mnt/data/Builds/RedBear-OS/local/sources/base/initfs/tools) + Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.62s + Running `target/debug/redox-initfs-ar /mnt/data/Builds/RedBear-OS/recipes/core/base-initfs/target/x86_64-unknown-redox/build/initfs /mnt/data/Builds/RedBear-OS/recipes/core/base-initfs/target/x86_64-unknown-redox/build/bootstrap -o /mnt/data/Builds/RedBear-OS/recipes/core/base-initfs/target/x86_64-unknown-redox/build/initfs.img` ++ mkdir -pv /mnt/data/Builds/RedBear-OS/recipes/core/base-initfs/target/x86_64-unknown-redox/stage.tmp/usr/lib/boot +mkdir: создан каталог '/mnt/data/Builds/RedBear-OS/recipes/core/base-initfs/target/x86_64-unknown-redox/stage.tmp/usr' +mkdir: создан каталог '/mnt/data/Builds/RedBear-OS/recipes/core/base-initfs/target/x86_64-unknown-redox/stage.tmp/usr/lib' +mkdir: создан каталог '/mnt/data/Builds/RedBear-OS/recipes/core/base-initfs/target/x86_64-unknown-redox/stage.tmp/usr/lib/boot' ++ cp /mnt/data/Builds/RedBear-OS/recipes/core/base-initfs/target/x86_64-unknown-redox/build/initfs.img /mnt/data/Builds/RedBear-OS/recipes/core/base-initfs/target/x86_64-unknown-redox/stage.tmp/usr/lib/boot/initfs ++ for dir in "${COOKBOOK_STAGE}/bin" "${COOKBOOK_STAGE}/usr/bin" "${COOKBOOK_STAGE}/libexec" "${COOKBOOK_STAGE}/usr/libexec" ++ '[' -d /mnt/data/Builds/RedBear-OS/recipes/core/base-initfs/target/x86_64-unknown-redox/stage.tmp/bin ']' ++ for dir in "${COOKBOOK_STAGE}/bin" "${COOKBOOK_STAGE}/usr/bin" "${COOKBOOK_STAGE}/libexec" "${COOKBOOK_STAGE}/usr/libexec" ++ '[' -d /mnt/data/Builds/RedBear-OS/recipes/core/base-initfs/target/x86_64-unknown-redox/stage.tmp/usr/bin ']' ++ for dir in "${COOKBOOK_STAGE}/bin" "${COOKBOOK_STAGE}/usr/bin" "${COOKBOOK_STAGE}/libexec" "${COOKBOOK_STAGE}/usr/libexec" ++ '[' -d /mnt/data/Builds/RedBear-OS/recipes/core/base-initfs/target/x86_64-unknown-redox/stage.tmp/libexec ']' ++ for dir in "${COOKBOOK_STAGE}/bin" "${COOKBOOK_STAGE}/usr/bin" "${COOKBOOK_STAGE}/libexec" "${COOKBOOK_STAGE}/usr/libexec" ++ '[' -d /mnt/data/Builds/RedBear-OS/recipes/core/base-initfs/target/x86_64-unknown-redox/stage.tmp/usr/libexec ']' ++ for dir in "${COOKBOOK_STAGE}/lib" "${COOKBOOK_STAGE}/usr/lib" ++ '[' -d /mnt/data/Builds/RedBear-OS/recipes/core/base-initfs/target/x86_64-unknown-redox/stage.tmp/lib ']' ++ for dir in "${COOKBOOK_STAGE}/lib" "${COOKBOOK_STAGE}/usr/lib" ++ '[' -d /mnt/data/Builds/RedBear-OS/recipes/core/base-initfs/target/x86_64-unknown-redox/stage.tmp/usr/lib ']' ++ find /mnt/data/Builds/RedBear-OS/recipes/core/base-initfs/target/x86_64-unknown-redox/stage.tmp/usr/lib -type f -name '*.la' -exec rm -fv '{}' ';' ++ for file in .crates.toml .crates2.json ++ '[' -f /mnt/data/Builds/RedBear-OS/recipes/core/base-initfs/target/x86_64-unknown-redox/stage.tmp/.crates.toml ']' ++ for file in .crates.toml .crates2.json ++ '[' -f /mnt/data/Builds/RedBear-OS/recipes/core/base-initfs/target/x86_64-unknown-redox/stage.tmp/.crates2.json ']' ++ for dir in "${COOKBOOK_STAGE}/share/metainfo" "${COOKBOOK_STAGE}/usr/share/metainfo" ++ '[' -d /mnt/data/Builds/RedBear-OS/recipes/core/base-initfs/target/x86_64-unknown-redox/stage.tmp/share/metainfo ']' ++ for dir in "${COOKBOOK_STAGE}/share/metainfo" "${COOKBOOK_STAGE}/usr/share/metainfo" ++ '[' -d /mnt/data/Builds/RedBear-OS/recipes/core/base-initfs/target/x86_64-unknown-redox/stage.tmp/usr/share/metainfo ']' +DEBUG: updating recipes/core/base-initfs/target/x86_64-unknown-redox/auto_deps.toml +cook base-initfs - successful +DEBUG: dependency blake3 hashes unchanged (content-based cache) +DEBUG: using cached build +cook openssl3 - cached +DEBUG: dependency blake3 hashes unchanged (content-based cache) +DEBUG: using cached build +cook redbear-notifications - cached +DEBUG: dependency blake3 hashes unchanged (content-based cache) +DEBUG: using cached build +cook redbear-polkit - cached +DEBUG: dependency blake3 hashes unchanged (content-based cache) +DEBUG: using cached build +cook redbear-sessiond - cached +DEBUG: dependency blake3 hashes unchanged (content-based cache) +DEBUG: using cached build +cook redbear-udisks - cached +DEBUG: dependency blake3 hashes unchanged (content-based cache) +DEBUG: using cached build +cook redbear-upower - cached +DEBUG: dependency blake3 hashes unchanged (content-based cache) +DEBUG: using cached build +cook curl - cached +DEBUG: dependency blake3 hashes unchanged (content-based cache) +DEBUG: using cached build +cook python312 - cached +repo - publishing base +repo - publishing kernel +repo - publishing uutils +repo - publishing diffutils +repo - publishing htop +repo - publishing base-initfs +repo - generating repo.toml +mkdir -p build/x86_64/redbear-mini +touch build/x86_64/redbear-mini/repo.tag +mkdir -p build/x86_64 +rm -rf build/x86_64/redbear-mini.img build/x86_64/redbear-mini.img.partial +fusermount3 -u /tmp/redox_installer 2>/dev/null || echo "Warning: failed to unmount /tmp/redox_installer (may not have been mounted)" +Warning: failed to unmount /tmp/redox_installer (may not have been mounted) +FILESYSTEM_SIZE= && \ +if [ -z "$FILESYSTEM_SIZE" ] ; then \ + FILESYSTEM_SIZE=512; \ +fi && \ +truncate -s "$FILESYSTEM_SIZE"m build/x86_64/redbear-mini.img.partial +umask 002 && /usr/bin/fakeroot build/fstools/bin/redox_installer --cookbook=. --no-mount -c config/redbear-mini.toml --write-bootloader="build/x86_64/redbear-mini-bootloader-live.efi" --live build/x86_64/redbear-mini.img.partial +Installing to build/x86_64/redbear-mini.img.partial: +files: +- /etc/init.d/00_base.service size=146B +- /etc/init.d/00_sudo.service size=112B +- /etc/login_schemes.toml size=477B +- /etc/hostname size=7B +- /etc/net/dns size=8B +- /etc/net/ip size=10B +- /etc/net/ip_router size=9B +- /etc/net/ip_subnet size=14B +- /etc/os-release -> ../usr/lib/os-release +- /etc/pkg.d/50_redox size=31B +- /usr type=dir mode=755 +- /usr/bin type=dir mode=755 +- /bin -> usr/bin +- /usr/include type=dir mode=755 +- /include -> usr/include +- /usr/lib type=dir mode=755 +- /lib -> usr/lib +- /usr/libexec type=dir mode=755 +- /usr/share type=dir mode=755 +- /share -> usr/share +- /ui -> usr/share/ui +- /usr/share/ui/fonts -> /usr/share/fonts +- /usr/share/ui/icons -> /usr/share/icons +- /var type=dir mode=755 +- /var/cache type=dir mode=755 +- /var/lib type=dir mode=755 +- /var/lock type=dir mode=1777 +- /var/log type=dir mode=755 +- /var/run type=dir mode=755 +- /var/tmp type=dir mode=1777 +- /dev/null -> /scheme/null +- /dev/random -> /scheme/rand +- /dev/urandom -> /scheme/rand +- /dev/zero -> /scheme/zero +- /dev/tty -> libc:tty +- /dev/stdin -> libc:stdin +- /dev/stdout -> libc:stdout +- /dev/stderr -> libc:stderr +- /etc/init.d/29_activate_console.service size=146B +- /etc/init.d/30_console.service size=180B +- /etc/init.d/31_debug_console.service size=206B +- /etc/init.d/00_base.service size=146B +- /etc/init.d/20_audiod.service size=119B +- /etc/init.d/00_pcid-spawner.service size=91B +- /etc/netctl type=dir mode=755 +- /etc/netctl/examples type=dir mode=755 +- /etc/netctl/examples/wired-dhcp size=85B +- /etc/netctl/wired-dhcp size=85B +- /etc/netctl/examples/wired-static size=155B +- /etc/netctl/examples/wifi-dhcp size=145B +- /etc/netctl/examples/wifi-open size=129B +- /etc/netctl/examples/wifi-open-bounded size=137B +- /etc/netctl/wifi-open-bounded size=137B +- /etc/init.d/12_netctl.service size=197B +- /etc/firmware-fallbacks.d/00-amdgpu.toml size=193B +- /etc/firmware-fallbacks.d/10-iwlwifi.toml size=127B +- /etc/firmware-fallbacks.d/20-intel-dmc.toml size=118B +- /etc/init.d/12_boot-late.target size=91B +- /etc/firmware-fallbacks.d/00-amdgpu.toml size=193B +- /etc/firmware-fallbacks.d/10-iwlwifi.toml size=127B +- /etc/firmware-fallbacks.d/20-intel-dmc.toml size=118B +- /lib/drivers.d type=dir mode=755 +- /etc/firmware-fallbacks.d/00-amdgpu.toml size=193B +- /etc/firmware-fallbacks.d/10-iwlwifi.toml size=127B +- /etc/firmware-fallbacks.d/20-intel-dmc.toml size=118B +- /lib/drivers.d/00-storage.toml size=665B +- /etc/firmware-fallbacks.d/00-amdgpu.toml size=193B +- /etc/firmware-fallbacks.d/10-iwlwifi.toml size=127B +- /etc/firmware-fallbacks.d/20-intel-dmc.toml size=118B +- /lib/drivers.d/10-network.toml size=856B +- /etc/firmware-fallbacks.d/00-amdgpu.toml size=193B +- /etc/firmware-fallbacks.d/10-iwlwifi.toml size=127B +- /etc/firmware-fallbacks.d/20-intel-dmc.toml size=118B +- /lib/drivers.d/20-usb.toml size=904B +- /etc/firmware-fallbacks.d/00-amdgpu.toml size=193B +- /etc/firmware-fallbacks.d/10-iwlwifi.toml size=127B +- /etc/firmware-fallbacks.d/20-intel-dmc.toml size=118B +- /lib/drivers.d/30-graphics.toml size=311B +- /etc/firmware-fallbacks.d/00-amdgpu.toml size=193B +- /etc/firmware-fallbacks.d/10-iwlwifi.toml size=127B +- /etc/firmware-fallbacks.d/20-intel-dmc.toml size=118B +- /lib/drivers.d/40-input.toml size=122B +- /etc/firmware-fallbacks.d/00-amdgpu.toml size=193B +- /etc/firmware-fallbacks.d/10-iwlwifi.toml size=127B +- /etc/firmware-fallbacks.d/20-intel-dmc.toml size=118B +- /lib/drivers.d/50-audio.toml size=328B +- /lib/drivers.d/70-usb-class.toml size=390B +- /etc/firmware-fallbacks.d/00-amdgpu.toml size=193B +- /etc/firmware-fallbacks.d/10-iwlwifi.toml size=127B +- /etc/firmware-fallbacks.d/20-intel-dmc.toml size=118B +- /etc/init.d/00_driver-manager.service size=139B +- /etc/firmware-fallbacks.d/00-amdgpu.toml size=193B +- /etc/firmware-fallbacks.d/10-iwlwifi.toml size=127B +- /etc/firmware-fallbacks.d/20-intel-dmc.toml size=118B +- /lib/drivers.d type=dir mode=755 +- /etc/firmware-fallbacks.d/00-amdgpu.toml size=193B +- /etc/firmware-fallbacks.d/10-iwlwifi.toml size=127B +- /etc/firmware-fallbacks.d/20-intel-dmc.toml size=118B +- /etc/init.d/10_evdevd.service size=169B +- /etc/firmware-fallbacks.d/00-amdgpu.toml size=193B +- /etc/firmware-fallbacks.d/10-iwlwifi.toml size=127B +- /etc/firmware-fallbacks.d/20-intel-dmc.toml size=118B +- /etc/firmware-fallbacks.d type=dir mode=755 +- /etc/firmware-fallbacks.d/00-amdgpu.toml size=193B +- /etc/firmware-fallbacks.d/10-iwlwifi.toml size=127B +- /etc/firmware-fallbacks.d/20-intel-dmc.toml size=118B +- /etc/init.d/15_cpufreqd.service size=152B +- /etc/firmware-fallbacks.d/00-amdgpu.toml size=193B +- /etc/firmware-fallbacks.d/10-iwlwifi.toml size=127B +- /etc/firmware-fallbacks.d/20-intel-dmc.toml size=118B +- /etc/init.d/15_thermald.service size=149B +- /etc/firmware-fallbacks.d/00-amdgpu.toml size=193B +- /etc/firmware-fallbacks.d/10-iwlwifi.toml size=127B +- /etc/firmware-fallbacks.d/20-intel-dmc.toml size=118B +- /etc/init.d/15_hwrngd.service size=144B +- /etc/firmware-fallbacks.d/00-amdgpu.toml size=193B +- /etc/firmware-fallbacks.d/10-iwlwifi.toml size=127B +- /etc/firmware-fallbacks.d/20-intel-dmc.toml size=118B +- /etc/init.d/13_driver-params.service size=171B +- /etc/init.d/02_early_hw.target size=103B +- /etc/init.d/02_serial_early_hw.service size=176B +- /etc/init.d/04_drivers.target size=91B +- /etc/init.d/04_serial_drivers.service size=167B +- /etc/init.d/06_services.target size=124B +- /etc/init.d/06_serial_services.service size=170B +- /etc/init.d/08_userland.target size=108B +- /etc/init.d/08_serial_userland.service size=170B +- /etc/netctl/active size=11B +- /etc/init.d/10_smolnetd.service size=167B +- /etc/init.d/10_dhcpd.service size=179B +- /etc/issue size=165B +- /etc/init.d/20_audiod.service size=160B +- /etc/init.d/02_usb_hotplug.service size=213B +- /etc/init.d/02_serial_probe.service size=161B +- /etc/init.d/00_gpiod.service size=142B +- /etc/init.d/00_i2cd.service size=136B +- /etc/init.d/00_i2c-dw-acpi.service size=152B +- /etc/init.d/00_intel-gpiod.service size=170B +- /etc/init.d/00_i2c-gpio-expanderd.service size=186B +- /etc/init.d/00_i2c-hidd.service size=243B +- /etc/init.d/00_ucsid.service size=169B +- /etc/init.d/12_boot-late.target size=91B +- /etc/init.d/11_udev.service size=177B +- /etc/init.d/10_evdevd.service size=169B +- /etc/init.d/11_wifictl.service size=180B +- /etc/init.d/12_dbus.service size=304B +- /etc/init.d/13_seatd.service size=146B +- /etc/init.d/13_redbear-sessiond.service size=251B +- /etc/init.d/13_iommu.service size=185B +- /etc/init.d/14_redbear-upower.service size=246B +- /etc/init.d/14_redbear-udisks.service size=248B +- /etc/init.d/14_redbear-polkit.service size=254B +- /var/lib/dbus type=dir mode=755 +- /run/dbus type=dir mode=755 +- /etc/pcid.d/ihdgd.toml size=85B +- /etc/pcid.d/virtio-gpud.toml size=91B +- /etc/pcid.d/00_text_mode_gpu_mask.toml size=79B +- /etc/init.d/29_activate_console.service size=158B +- /etc/init.d/30_cpufreqd.service size=185B +- /etc/init.d/30_console.service size=180B +- /etc/init.d/31_debug_console.service size=206B +- /etc/init.d/00_pcid-spawner.service size=125B +- /etc/init.d/00_ipcd.service size=133B +- /etc/init.d/13_ftdi-probe.service size=187B +- /etc/init.d/00_ptyd.service size=114B +- filesystem.toml size=46.1KB +users: +- messagebus: uid=100 gid=100 name=messagebus home=/nonexistent shell=/usr/bin/zsh +- root: uid=0 gid=0 shell=/usr/bin/zsh password=yes +- user: shell=/usr/bin/zsh +packages: base base-initfs bash bison bootloader bottom ca-certificates coreutils cpufreqd cub curl dbus diffutils driver-manager driver-params ehcid evdevd ext4d extrautils fatd findutils flex htop hwrngd installer iommu kernel kibi libgcc libstdcxx m4 meson netdb netutils ninja-build ohcid pciids pkgutils redbear-acmd redbear-dbus-services redbear-ecmd redbear-ftdi redbear-hwutils redbear-info redbear-mtr redbear-netctl redbear-netctl-console redbear-netstat redbear-nmap redbear-notifications redbear-polkit redbear-power redbear-quirks redbear-release redbear-sessiond redbear-traceroute redbear-udisks redbear-upower redbear-usb-hotplugd redbear-usbaudiod redbear-wifictl redoxfs relibc shared-mime-info thermald tlc udev-shim uhcid userutils uutils uutils-tar zsh + + bootloader Fetching: [1/1] Fetch complete. + +Packages to install: + + bootloader + + Download size: 1.19 MiB + Install size: 1.19 MiB + +Extracting bootloader... +Committing changes... + Committing: [4/4] +Commit done. +Opening disk build/x86_64/redbear-mini.img.partial +Write bootloader with size 0x60000 +Writing protective MBR with disk blocks 0xfffff +Writing GPT tables: { + 1: Partition { + part_type_guid: Type { + guid: "21686148-6449-6E6F-744E-656564454649", + os: None, + }, + part_guid: e0200f2b-c9e5-41fb-95bf-ab4c474f3749, + first_lba: 34, + last_lba: 2047, + flags: 0, + name: "BIOS", + }, + 2: Partition { + part_type_guid: Type { + guid: "C12A7328-F81F-11D2-BA4B-00A0C93EC93B", + os: None, + }, + part_guid: 67955e21-63a1-41f1-988f-4d0b2166516c, + first_lba: 2048, + last_lba: 4095, + flags: 0, + name: "EFI", + }, + 3: Partition { + part_type_guid: Type { + guid: "0FC63DAF-8483-4772-8E79-3D69D8477DE4", + os: Linux, + }, + part_guid: bc679194-9af4-45fd-966d-bb5cf7dbef58, + first_lba: 4096, + last_lba: 1046527, + flags: 0, + name: "REDOX", + }, +} +Formatting EFI partition with size 0x100000 +Opening EFI partition +Creating EFI directory +Creating EFI/BOOT directory +Writing EFI/BOOT/BOOTX64.EFI file with size 0x38800 +Installing to RedoxFS partition with size 0x1fcffe00 +Create file parent /tmp/redox_installer_3243320/etc/init.d +Create file /tmp/redox_installer_3243320/etc/init.d/00_base.service +Create file parent /tmp/redox_installer_3243320/etc/init.d +Create file /tmp/redox_installer_3243320/etc/init.d/00_sudo.service +Create file parent /tmp/redox_installer_3243320/etc +Create file /tmp/redox_installer_3243320/etc/login_schemes.toml +Create file parent /tmp/redox_installer_3243320/etc +Create file /tmp/redox_installer_3243320/etc/hostname +Create file parent /tmp/redox_installer_3243320/etc/net +Create file /tmp/redox_installer_3243320/etc/net/dns +Create file parent /tmp/redox_installer_3243320/etc/net +Create file /tmp/redox_installer_3243320/etc/net/ip +Create file parent /tmp/redox_installer_3243320/etc/net +Create file /tmp/redox_installer_3243320/etc/net/ip_router +Create file parent /tmp/redox_installer_3243320/etc/net +Create file /tmp/redox_installer_3243320/etc/net/ip_subnet +Create file parent /tmp/redox_installer_3243320/etc +Create symlink /tmp/redox_installer_3243320/etc/os-release to ../usr/lib/os-release +Create file parent /tmp/redox_installer_3243320/etc/pkg.d +Create file /tmp/redox_installer_3243320/etc/pkg.d/50_redox +Create directory /tmp/redox_installer_3243320/usr +Create directory /tmp/redox_installer_3243320/usr/bin +Create file parent /tmp/redox_installer_3243320 +Create symlink /tmp/redox_installer_3243320/bin to usr/bin +Create directory /tmp/redox_installer_3243320/usr/include +Create file parent /tmp/redox_installer_3243320 +Create symlink /tmp/redox_installer_3243320/include to usr/include +Create directory /tmp/redox_installer_3243320/usr/lib +Create file parent /tmp/redox_installer_3243320 +Create symlink /tmp/redox_installer_3243320/lib to usr/lib +Create directory /tmp/redox_installer_3243320/usr/libexec +Create directory /tmp/redox_installer_3243320/usr/share +Create file parent /tmp/redox_installer_3243320 +Create symlink /tmp/redox_installer_3243320/share to usr/share +Create file parent /tmp/redox_installer_3243320 +Create symlink /tmp/redox_installer_3243320/ui to usr/share/ui +Create file parent /tmp/redox_installer_3243320/usr/share/ui +Create symlink /tmp/redox_installer_3243320/usr/share/ui/fonts to /usr/share/fonts +Create file parent /tmp/redox_installer_3243320/usr/share/ui +Create symlink /tmp/redox_installer_3243320/usr/share/ui/icons to /usr/share/icons +Create directory /tmp/redox_installer_3243320/var +Create directory /tmp/redox_installer_3243320/var/cache +Create directory /tmp/redox_installer_3243320/var/lib +Create directory /tmp/redox_installer_3243320/var/lock +Create directory /tmp/redox_installer_3243320/var/log +Create directory /tmp/redox_installer_3243320/var/run +Create directory /tmp/redox_installer_3243320/var/tmp +Create file parent /tmp/redox_installer_3243320/dev +Create symlink /tmp/redox_installer_3243320/dev/null to /scheme/null +Create file parent /tmp/redox_installer_3243320/dev +Create symlink /tmp/redox_installer_3243320/dev/random to /scheme/rand +Create file parent /tmp/redox_installer_3243320/dev +Create symlink /tmp/redox_installer_3243320/dev/urandom to /scheme/rand +Create file parent /tmp/redox_installer_3243320/dev +Create symlink /tmp/redox_installer_3243320/dev/zero to /scheme/zero +Create file parent /tmp/redox_installer_3243320/dev +Create symlink /tmp/redox_installer_3243320/dev/tty to libc:tty +Create file parent /tmp/redox_installer_3243320/dev +Create symlink /tmp/redox_installer_3243320/dev/stdin to libc:stdin +Create file parent /tmp/redox_installer_3243320/dev +Create symlink /tmp/redox_installer_3243320/dev/stdout to libc:stdout +Create file parent /tmp/redox_installer_3243320/dev +Create symlink /tmp/redox_installer_3243320/dev/stderr to libc:stderr +Create file parent /tmp/redox_installer_3243320/etc/init.d +Create file /tmp/redox_installer_3243320/etc/init.d/29_activate_console.service +Create file parent /tmp/redox_installer_3243320/etc/init.d +Create file /tmp/redox_installer_3243320/etc/init.d/30_console.service +Create file parent /tmp/redox_installer_3243320/etc/init.d +Create file /tmp/redox_installer_3243320/etc/init.d/31_debug_console.service +Create file parent /tmp/redox_installer_3243320/etc/init.d +Create file /tmp/redox_installer_3243320/etc/init.d/00_base.service +Create file parent /tmp/redox_installer_3243320/etc/init.d +Create file /tmp/redox_installer_3243320/etc/init.d/20_audiod.service +Create file parent /tmp/redox_installer_3243320/etc/init.d +Create file /tmp/redox_installer_3243320/etc/init.d/00_pcid-spawner.service +Create directory /tmp/redox_installer_3243320/etc/netctl +Create directory /tmp/redox_installer_3243320/etc/netctl/examples +Create file parent /tmp/redox_installer_3243320/etc/netctl/examples +Create file /tmp/redox_installer_3243320/etc/netctl/examples/wired-dhcp +Create file parent /tmp/redox_installer_3243320/etc/netctl +Create file /tmp/redox_installer_3243320/etc/netctl/wired-dhcp +Create file parent /tmp/redox_installer_3243320/etc/netctl/examples +Create file /tmp/redox_installer_3243320/etc/netctl/examples/wired-static +Create file parent /tmp/redox_installer_3243320/etc/netctl/examples +Create file /tmp/redox_installer_3243320/etc/netctl/examples/wifi-dhcp +Create file parent /tmp/redox_installer_3243320/etc/netctl/examples +Create file /tmp/redox_installer_3243320/etc/netctl/examples/wifi-open +Create file parent /tmp/redox_installer_3243320/etc/netctl/examples +Create file /tmp/redox_installer_3243320/etc/netctl/examples/wifi-open-bounded +Create file parent /tmp/redox_installer_3243320/etc/netctl +Create file /tmp/redox_installer_3243320/etc/netctl/wifi-open-bounded +Create file parent /tmp/redox_installer_3243320/etc/init.d +Create file /tmp/redox_installer_3243320/etc/init.d/12_netctl.service +Create file parent /tmp/redox_installer_3243320/etc/firmware-fallbacks.d +Create file /tmp/redox_installer_3243320/etc/firmware-fallbacks.d/00-amdgpu.toml +Create file parent /tmp/redox_installer_3243320/etc/firmware-fallbacks.d +Create file /tmp/redox_installer_3243320/etc/firmware-fallbacks.d/10-iwlwifi.toml +Create file parent /tmp/redox_installer_3243320/etc/firmware-fallbacks.d +Create file /tmp/redox_installer_3243320/etc/firmware-fallbacks.d/20-intel-dmc.toml +Create file parent /tmp/redox_installer_3243320/etc/init.d +Create file /tmp/redox_installer_3243320/etc/init.d/12_boot-late.target +Create file parent /tmp/redox_installer_3243320/etc/firmware-fallbacks.d +Create file /tmp/redox_installer_3243320/etc/firmware-fallbacks.d/00-amdgpu.toml +Create file parent /tmp/redox_installer_3243320/etc/firmware-fallbacks.d +Create file /tmp/redox_installer_3243320/etc/firmware-fallbacks.d/10-iwlwifi.toml +Create file parent /tmp/redox_installer_3243320/etc/firmware-fallbacks.d +Create file /tmp/redox_installer_3243320/etc/firmware-fallbacks.d/20-intel-dmc.toml +Create directory /tmp/redox_installer_3243320/lib/drivers.d +Create file parent /tmp/redox_installer_3243320/etc/firmware-fallbacks.d +Create file /tmp/redox_installer_3243320/etc/firmware-fallbacks.d/00-amdgpu.toml +Create file parent /tmp/redox_installer_3243320/etc/firmware-fallbacks.d +Create file /tmp/redox_installer_3243320/etc/firmware-fallbacks.d/10-iwlwifi.toml +Create file parent /tmp/redox_installer_3243320/etc/firmware-fallbacks.d +Create file /tmp/redox_installer_3243320/etc/firmware-fallbacks.d/20-intel-dmc.toml +Create file parent /tmp/redox_installer_3243320/lib/drivers.d +Create file /tmp/redox_installer_3243320/lib/drivers.d/00-storage.toml +Create file parent /tmp/redox_installer_3243320/etc/firmware-fallbacks.d +Create file /tmp/redox_installer_3243320/etc/firmware-fallbacks.d/00-amdgpu.toml +Create file parent /tmp/redox_installer_3243320/etc/firmware-fallbacks.d +Create file /tmp/redox_installer_3243320/etc/firmware-fallbacks.d/10-iwlwifi.toml +Create file parent /tmp/redox_installer_3243320/etc/firmware-fallbacks.d +Create file /tmp/redox_installer_3243320/etc/firmware-fallbacks.d/20-intel-dmc.toml +Create file parent /tmp/redox_installer_3243320/lib/drivers.d +Create file /tmp/redox_installer_3243320/lib/drivers.d/10-network.toml +Create file parent /tmp/redox_installer_3243320/etc/firmware-fallbacks.d +Create file /tmp/redox_installer_3243320/etc/firmware-fallbacks.d/00-amdgpu.toml +Create file parent /tmp/redox_installer_3243320/etc/firmware-fallbacks.d +Create file /tmp/redox_installer_3243320/etc/firmware-fallbacks.d/10-iwlwifi.toml +Create file parent /tmp/redox_installer_3243320/etc/firmware-fallbacks.d +Create file /tmp/redox_installer_3243320/etc/firmware-fallbacks.d/20-intel-dmc.toml +Create file parent /tmp/redox_installer_3243320/lib/drivers.d +Create file /tmp/redox_installer_3243320/lib/drivers.d/20-usb.toml +Create file parent /tmp/redox_installer_3243320/etc/firmware-fallbacks.d +Create file /tmp/redox_installer_3243320/etc/firmware-fallbacks.d/00-amdgpu.toml +Create file parent /tmp/redox_installer_3243320/etc/firmware-fallbacks.d +Create file /tmp/redox_installer_3243320/etc/firmware-fallbacks.d/10-iwlwifi.toml +Create file parent /tmp/redox_installer_3243320/etc/firmware-fallbacks.d +Create file /tmp/redox_installer_3243320/etc/firmware-fallbacks.d/20-intel-dmc.toml +Create file parent /tmp/redox_installer_3243320/lib/drivers.d +Create file /tmp/redox_installer_3243320/lib/drivers.d/30-graphics.toml +Create file parent /tmp/redox_installer_3243320/etc/firmware-fallbacks.d +Create file /tmp/redox_installer_3243320/etc/firmware-fallbacks.d/00-amdgpu.toml +Create file parent /tmp/redox_installer_3243320/etc/firmware-fallbacks.d +Create file /tmp/redox_installer_3243320/etc/firmware-fallbacks.d/10-iwlwifi.toml +Create file parent /tmp/redox_installer_3243320/etc/firmware-fallbacks.d +Create file /tmp/redox_installer_3243320/etc/firmware-fallbacks.d/20-intel-dmc.toml +Create file parent /tmp/redox_installer_3243320/lib/drivers.d +Create file /tmp/redox_installer_3243320/lib/drivers.d/40-input.toml +Create file parent /tmp/redox_installer_3243320/etc/firmware-fallbacks.d +Create file /tmp/redox_installer_3243320/etc/firmware-fallbacks.d/00-amdgpu.toml +Create file parent /tmp/redox_installer_3243320/etc/firmware-fallbacks.d +Create file /tmp/redox_installer_3243320/etc/firmware-fallbacks.d/10-iwlwifi.toml +Create file parent /tmp/redox_installer_3243320/etc/firmware-fallbacks.d +Create file /tmp/redox_installer_3243320/etc/firmware-fallbacks.d/20-intel-dmc.toml +Create file parent /tmp/redox_installer_3243320/lib/drivers.d +Create file /tmp/redox_installer_3243320/lib/drivers.d/50-audio.toml +Create file parent /tmp/redox_installer_3243320/lib/drivers.d +Create file /tmp/redox_installer_3243320/lib/drivers.d/70-usb-class.toml +Create file parent /tmp/redox_installer_3243320/etc/firmware-fallbacks.d +Create file /tmp/redox_installer_3243320/etc/firmware-fallbacks.d/00-amdgpu.toml +Create file parent /tmp/redox_installer_3243320/etc/firmware-fallbacks.d +Create file /tmp/redox_installer_3243320/etc/firmware-fallbacks.d/10-iwlwifi.toml +Create file parent /tmp/redox_installer_3243320/etc/firmware-fallbacks.d +Create file /tmp/redox_installer_3243320/etc/firmware-fallbacks.d/20-intel-dmc.toml +Create file parent /tmp/redox_installer_3243320/etc/init.d +Create file /tmp/redox_installer_3243320/etc/init.d/00_driver-manager.service +Create file parent /tmp/redox_installer_3243320/etc/firmware-fallbacks.d +Create file /tmp/redox_installer_3243320/etc/firmware-fallbacks.d/00-amdgpu.toml +Create file parent /tmp/redox_installer_3243320/etc/firmware-fallbacks.d +Create file /tmp/redox_installer_3243320/etc/firmware-fallbacks.d/10-iwlwifi.toml +Create file parent /tmp/redox_installer_3243320/etc/firmware-fallbacks.d +Create file /tmp/redox_installer_3243320/etc/firmware-fallbacks.d/20-intel-dmc.toml +Create directory /tmp/redox_installer_3243320/lib/drivers.d +Create file parent /tmp/redox_installer_3243320/etc/firmware-fallbacks.d +Create file /tmp/redox_installer_3243320/etc/firmware-fallbacks.d/00-amdgpu.toml +Create file parent /tmp/redox_installer_3243320/etc/firmware-fallbacks.d +Create file /tmp/redox_installer_3243320/etc/firmware-fallbacks.d/10-iwlwifi.toml +Create file parent /tmp/redox_installer_3243320/etc/firmware-fallbacks.d +Create file /tmp/redox_installer_3243320/etc/firmware-fallbacks.d/20-intel-dmc.toml +Create file parent /tmp/redox_installer_3243320/etc/init.d +Create file /tmp/redox_installer_3243320/etc/init.d/10_evdevd.service +Create file parent /tmp/redox_installer_3243320/etc/firmware-fallbacks.d +Create file /tmp/redox_installer_3243320/etc/firmware-fallbacks.d/00-amdgpu.toml +Create file parent /tmp/redox_installer_3243320/etc/firmware-fallbacks.d +Create file /tmp/redox_installer_3243320/etc/firmware-fallbacks.d/10-iwlwifi.toml +Create file parent /tmp/redox_installer_3243320/etc/firmware-fallbacks.d +Create file /tmp/redox_installer_3243320/etc/firmware-fallbacks.d/20-intel-dmc.toml +Create directory /tmp/redox_installer_3243320/etc/firmware-fallbacks.d +Create file parent /tmp/redox_installer_3243320/etc/firmware-fallbacks.d +Create file /tmp/redox_installer_3243320/etc/firmware-fallbacks.d/00-amdgpu.toml +Create file parent /tmp/redox_installer_3243320/etc/firmware-fallbacks.d +Create file /tmp/redox_installer_3243320/etc/firmware-fallbacks.d/10-iwlwifi.toml +Create file parent /tmp/redox_installer_3243320/etc/firmware-fallbacks.d +Create file /tmp/redox_installer_3243320/etc/firmware-fallbacks.d/20-intel-dmc.toml +Create file parent /tmp/redox_installer_3243320/etc/init.d +Create file /tmp/redox_installer_3243320/etc/init.d/15_cpufreqd.service +Create file parent /tmp/redox_installer_3243320/etc/firmware-fallbacks.d +Create file /tmp/redox_installer_3243320/etc/firmware-fallbacks.d/00-amdgpu.toml +Create file parent /tmp/redox_installer_3243320/etc/firmware-fallbacks.d +Create file /tmp/redox_installer_3243320/etc/firmware-fallbacks.d/10-iwlwifi.toml +Create file parent /tmp/redox_installer_3243320/etc/firmware-fallbacks.d +Create file /tmp/redox_installer_3243320/etc/firmware-fallbacks.d/20-intel-dmc.toml +Create file parent /tmp/redox_installer_3243320/etc/init.d +Create file /tmp/redox_installer_3243320/etc/init.d/15_thermald.service +Create file parent /tmp/redox_installer_3243320/etc/firmware-fallbacks.d +Create file /tmp/redox_installer_3243320/etc/firmware-fallbacks.d/00-amdgpu.toml +Create file parent /tmp/redox_installer_3243320/etc/firmware-fallbacks.d +Create file /tmp/redox_installer_3243320/etc/firmware-fallbacks.d/10-iwlwifi.toml +Create file parent /tmp/redox_installer_3243320/etc/firmware-fallbacks.d +Create file /tmp/redox_installer_3243320/etc/firmware-fallbacks.d/20-intel-dmc.toml +Create file parent /tmp/redox_installer_3243320/etc/init.d +Create file /tmp/redox_installer_3243320/etc/init.d/15_hwrngd.service +Create file parent /tmp/redox_installer_3243320/etc/firmware-fallbacks.d +Create file /tmp/redox_installer_3243320/etc/firmware-fallbacks.d/00-amdgpu.toml +Create file parent /tmp/redox_installer_3243320/etc/firmware-fallbacks.d +Create file /tmp/redox_installer_3243320/etc/firmware-fallbacks.d/10-iwlwifi.toml +Create file parent /tmp/redox_installer_3243320/etc/firmware-fallbacks.d +Create file /tmp/redox_installer_3243320/etc/firmware-fallbacks.d/20-intel-dmc.toml +Create file parent /tmp/redox_installer_3243320/etc/init.d +Create file /tmp/redox_installer_3243320/etc/init.d/13_driver-params.service +Create file parent /tmp/redox_installer_3243320/etc/init.d +Create file /tmp/redox_installer_3243320/etc/init.d/02_early_hw.target +Create file parent /tmp/redox_installer_3243320/etc/init.d +Create file /tmp/redox_installer_3243320/etc/init.d/02_serial_early_hw.service +Create file parent /tmp/redox_installer_3243320/etc/init.d +Create file /tmp/redox_installer_3243320/etc/init.d/04_drivers.target +Create file parent /tmp/redox_installer_3243320/etc/init.d +Create file /tmp/redox_installer_3243320/etc/init.d/04_serial_drivers.service +Create file parent /tmp/redox_installer_3243320/etc/init.d +Create file /tmp/redox_installer_3243320/etc/init.d/06_services.target +Create file parent /tmp/redox_installer_3243320/etc/init.d +Create file /tmp/redox_installer_3243320/etc/init.d/06_serial_services.service +Create file parent /tmp/redox_installer_3243320/etc/init.d +Create file /tmp/redox_installer_3243320/etc/init.d/08_userland.target +Create file parent /tmp/redox_installer_3243320/etc/init.d +Create file /tmp/redox_installer_3243320/etc/init.d/08_serial_userland.service +Create file parent /tmp/redox_installer_3243320/etc/netctl +Create file /tmp/redox_installer_3243320/etc/netctl/active +Create file parent /tmp/redox_installer_3243320/etc/init.d +Create file /tmp/redox_installer_3243320/etc/init.d/10_smolnetd.service +Create file parent /tmp/redox_installer_3243320/etc/init.d +Create file /tmp/redox_installer_3243320/etc/init.d/10_dhcpd.service +Create file parent /tmp/redox_installer_3243320/etc +Create file /tmp/redox_installer_3243320/etc/issue +Create file parent /tmp/redox_installer_3243320/etc/init.d +Create file /tmp/redox_installer_3243320/etc/init.d/20_audiod.service +Create file parent /tmp/redox_installer_3243320/etc/init.d +Create file /tmp/redox_installer_3243320/etc/init.d/02_usb_hotplug.service +Create file parent /tmp/redox_installer_3243320/etc/init.d +Create file /tmp/redox_installer_3243320/etc/init.d/02_serial_probe.service +Create file parent /tmp/redox_installer_3243320/etc/init.d +Create file /tmp/redox_installer_3243320/etc/init.d/00_gpiod.service +Create file parent /tmp/redox_installer_3243320/etc/init.d +Create file /tmp/redox_installer_3243320/etc/init.d/00_i2cd.service +Create file parent /tmp/redox_installer_3243320/etc/init.d +Create file /tmp/redox_installer_3243320/etc/init.d/00_i2c-dw-acpi.service +Create file parent /tmp/redox_installer_3243320/etc/init.d +Create file /tmp/redox_installer_3243320/etc/init.d/00_intel-gpiod.service +Create file parent /tmp/redox_installer_3243320/etc/init.d +Create file /tmp/redox_installer_3243320/etc/init.d/00_i2c-gpio-expanderd.service +Create file parent /tmp/redox_installer_3243320/etc/init.d +Create file /tmp/redox_installer_3243320/etc/init.d/00_i2c-hidd.service +Create file parent /tmp/redox_installer_3243320/etc/init.d +Create file /tmp/redox_installer_3243320/etc/init.d/00_ucsid.service +Create file parent /tmp/redox_installer_3243320/etc/init.d +Create file /tmp/redox_installer_3243320/etc/init.d/12_boot-late.target +Create file parent /tmp/redox_installer_3243320/etc/init.d +Create file /tmp/redox_installer_3243320/etc/init.d/11_udev.service +Create file parent /tmp/redox_installer_3243320/etc/init.d +Create file /tmp/redox_installer_3243320/etc/init.d/10_evdevd.service +Create file parent /tmp/redox_installer_3243320/etc/init.d +Create file /tmp/redox_installer_3243320/etc/init.d/11_wifictl.service +Create file parent /tmp/redox_installer_3243320/etc/init.d +Create file /tmp/redox_installer_3243320/etc/init.d/12_dbus.service +Create file parent /tmp/redox_installer_3243320/etc/init.d +Create file /tmp/redox_installer_3243320/etc/init.d/13_seatd.service +Create file parent /tmp/redox_installer_3243320/etc/init.d +Create file /tmp/redox_installer_3243320/etc/init.d/13_redbear-sessiond.service +Create file parent /tmp/redox_installer_3243320/etc/init.d +Create file /tmp/redox_installer_3243320/etc/init.d/13_iommu.service +Create file parent /tmp/redox_installer_3243320/etc/init.d +Create file /tmp/redox_installer_3243320/etc/init.d/14_redbear-upower.service +Create file parent /tmp/redox_installer_3243320/etc/init.d +Create file /tmp/redox_installer_3243320/etc/init.d/14_redbear-udisks.service +Create file parent /tmp/redox_installer_3243320/etc/init.d +Create file /tmp/redox_installer_3243320/etc/init.d/14_redbear-polkit.service +Create directory /tmp/redox_installer_3243320/var/lib/dbus +Create directory /tmp/redox_installer_3243320/run/dbus +Create file parent /tmp/redox_installer_3243320/etc/pcid.d +Create file /tmp/redox_installer_3243320/etc/pcid.d/ihdgd.toml +Create file parent /tmp/redox_installer_3243320/etc/pcid.d +Create file /tmp/redox_installer_3243320/etc/pcid.d/virtio-gpud.toml +Create file parent /tmp/redox_installer_3243320/etc/pcid.d +Create file /tmp/redox_installer_3243320/etc/pcid.d/00_text_mode_gpu_mask.toml +Create file parent /tmp/redox_installer_3243320/etc/init.d +Create file /tmp/redox_installer_3243320/etc/init.d/29_activate_console.service +Create file parent /tmp/redox_installer_3243320/etc/init.d +Create file /tmp/redox_installer_3243320/etc/init.d/30_cpufreqd.service +Create file parent /tmp/redox_installer_3243320/etc/init.d +Create file /tmp/redox_installer_3243320/etc/init.d/30_console.service +Create file parent /tmp/redox_installer_3243320/etc/init.d +Create file /tmp/redox_installer_3243320/etc/init.d/31_debug_console.service +Create file parent /tmp/redox_installer_3243320/etc/init.d +Create file /tmp/redox_installer_3243320/etc/init.d/00_pcid-spawner.service +Create file parent /tmp/redox_installer_3243320/etc/init.d +Create file /tmp/redox_installer_3243320/etc/init.d/00_ipcd.service +Create file parent /tmp/redox_installer_3243320/etc/init.d +Create file /tmp/redox_installer_3243320/etc/init.d/13_ftdi-probe.service +Create file parent /tmp/redox_installer_3243320/etc/init.d +Create file /tmp/redox_installer_3243320/etc/init.d/00_ptyd.service +Create file parent /tmp/redox_installer_3243320 +Create file /tmp/redox_installer_3243320/filesystem.toml + base base-initfs bash bison bootloader bottom ca-certificates coreutils cpufreqd cub curl dbus diffutils driver-manager driver-params ehcid evdevd ext4d extrautils fatd findutils flex htop hwrngd installer iommu kernel kibi libgcc libstdcxx m4 meson netdb netutils ninja-build ohcid pciids pkgutils redbear-acmd redbear-dbus-services redbear-ecmd redbear-ftdi redbear-hwutils redbear-info redbear-mtr redbear-netctl redbear-netctl-console redbear-netstat redbear-nmap redbear-notifications redbear-polkit redbear-power redbear-quirks redbear-release redbear-sessiond redbear-traceroute redbear-udisks redbear-upower redbear-usb-hotplugd redbear-usbaudiod redbear-wifictl redoxfs relibc shared-mime-info thermald tlc udev-shim uhcid userutils uutils uutils-tar zsh Fetching: [72/72] openssl3 zlib terminfo python312 ncursesw Fetching: [83/83] zstd bzip2 readline sqlite3 Fetching: [91/91] Fetch complete. + +Packages to install: + + base + + base-initfs + + bash + + bison + + bootloader + + bottom + + bzip2 + + ca-certificates + + coreutils + + cpufreqd + + cub + + curl + + dbus + + diffutils + + driver-manager + + driver-params + + ehcid + + evdevd + + ext4d + + extrautils + + fatd + + findutils + + flex + + htop + + hwrngd + + installer + + iommu + + kernel + + kibi + + libgcc + + libstdcxx + + m4 + + meson + + ncursesw + + netdb + + netutils + + ninja-build + + ohcid + + openssl3 + + pciids + + pkgutils + + python312 + + readline + + redbear-acmd + + redbear-dbus-services + + redbear-ecmd + + redbear-ftdi + + redbear-hwutils + + redbear-info + + redbear-mtr + + redbear-netctl + + redbear-netctl-console + + redbear-netstat + + redbear-nmap + + redbear-notifications + + redbear-polkit + + redbear-power + + redbear-quirks + + redbear-release + + redbear-sessiond + + redbear-traceroute + + redbear-udisks + + redbear-upower + + redbear-usb-hotplugd + + redbear-usbaudiod + + redbear-wifictl + + redoxfs + + relibc + + shared-mime-info + + sqlite3 + + terminfo + + thermald + + tlc + + udev-shim + + uhcid + + userutils + + uutils + + uutils-tar + + zlib + + zsh + + zstd + + Download size: 384.44 MiB + Install size: 384.44 MiB + +Extracting base... +Extracting base-initfs... +Extracting bash... +Extracting bison... +Extracting bootloader... +Extracting bottom... +Extracting bzip2... +Extracting ca-certificates... +Extracting coreutils... +Extracting cpufreqd... +Extracting cub... +Extracting curl... +Extracting dbus... +Extracting diffutils... +Extracting driver-manager... +Extracting driver-params... +Extracting ehcid... +Extracting evdevd... +Extracting ext4d... +Extracting extrautils... +Extracting fatd... +Extracting findutils... +Extracting flex... +Extracting htop... +Extracting hwrngd... +Extracting installer... +Extracting iommu... +Extracting kernel... +Extracting kibi... +Extracting libgcc... +Extracting libstdcxx... +Extracting m4... +Extracting meson... +Extracting ncursesw... +Extracting netdb... +Extracting netutils... +Extracting ninja-build... +Extracting ohcid... +Extracting openssl3... +Extracting pciids... +Extracting pkgutils... +Extracting python312... +Extracting readline... +Extracting redbear-acmd... +Extracting redbear-dbus-services... +Extracting redbear-ecmd... +Extracting redbear-ftdi... +Extracting redbear-hwutils... +Extracting redbear-info... +Extracting redbear-mtr... +Extracting redbear-netctl... +Extracting redbear-netctl-console... +Extracting redbear-netstat... +Extracting redbear-nmap... +Extracting redbear-notifications... +Extracting redbear-polkit... +Extracting redbear-power... +Extracting redbear-quirks... +Extracting redbear-release... +Extracting redbear-sessiond... +Extracting redbear-traceroute... +Extracting redbear-udisks... +Extracting redbear-upower... +Extracting redbear-usb-hotplugd... +Extracting redbear-usbaudiod... +Extracting redbear-wifictl... +Extracting redoxfs... +Extracting relibc... +Extracting shared-mime-info... +Extracting sqlite3... +Extracting terminfo... +Extracting thermald... +Extracting tlc... +Extracting udev-shim... +Extracting uhcid... +Extracting userutils... +Extracting uutils... +Extracting uutils-tar... +Extracting zlib... +Extracting zsh... +Extracting zstd... +Transaction conflict detected: + -> /tmp/redox_installer_3243320/usr/lib/init.d/10_evdevd.service (from "./repo/x86_64-unknown-redox/base.pkgar" replaced by "./repo/x86_64-unknown-redox/evdevd.pkgar") + -> /tmp/redox_installer_3243320/usr/share/info/dir (from "./repo/x86_64-unknown-redox/bison.pkgar" replaced by "./repo/x86_64-unknown-redox/flex.pkgar") + -> /tmp/redox_installer_3243320/usr/share/info/dir (from "./repo/x86_64-unknown-redox/bison.pkgar" replaced by "./repo/x86_64-unknown-redox/m4.pkgar") + -> /tmp/redox_installer_3243320/usr/share/info/dir (from "./repo/x86_64-unknown-redox/bison.pkgar" replaced by "./repo/x86_64-unknown-redox/readline.pkgar") + +Committing changes... + Committing: [1/7642] Committing: [7642/7642] +Commit done. +Adding user messagebus: + Password: unset + UID: 100 + GID: 100 + Name: messagebus + Home: /nonexistent + Shell: /usr/bin/zsh +Create directory /tmp/redox_installer_3243320/nonexistent +Adding user root: + Password: set + UID: 0 + GID: 0 + Name: root + Home: /home/root + Shell: /usr/bin/zsh +Create directory /tmp/redox_installer_3243320/home/root +Adding user user: + Password: unset + UID: 1000 + GID: 1000 + Name: user + Home: /home/user + Shell: /usr/bin/zsh +Create directory /tmp/redox_installer_3243320/home/user +Create directory /tmp/redox_installer_3243320/home/user/Desktop +Create directory /tmp/redox_installer_3243320/home/user/Documents +Create directory /tmp/redox_installer_3243320/home/user/Downloads +Create directory /tmp/redox_installer_3243320/home/user/Music +Create directory /tmp/redox_installer_3243320/home/user/Pictures +Create directory /tmp/redox_installer_3243320/home/user/Public +Create directory /tmp/redox_installer_3243320/home/user/Templates +Create directory /tmp/redox_installer_3243320/home/user/Videos +Create directory /tmp/redox_installer_3243320/home/user/.config +Create directory /tmp/redox_installer_3243320/home/user/.local +Create directory /tmp/redox_installer_3243320/home/user/.local/share +Create directory /tmp/redox_installer_3243320/home/user/.local/share/Trash +Create directory /tmp/redox_installer_3243320/home/user/.local/share/Trash/info +Create file parent /tmp/redox_installer_3243320/home/user/.config +Create file /tmp/redox_installer_3243320/home/user/.config/user-dirs.dirs +Create directory /tmp/redox_installer_3243320/home/user +Create file parent /tmp/redox_installer_3243320/home/user +Create file /tmp/redox_installer_3243320/home/user/.bashrc +Create file parent /tmp/redox_installer_3243320/home/user +Create file /tmp/redox_installer_3243320/home/user/.profile +Create file parent /tmp/redox_installer_3243320/home/user +Create file /tmp/redox_installer_3243320/home/user/.zprofile +Create file parent /tmp/redox_installer_3243320/home/user +Create file /tmp/redox_installer_3243320/home/user/.zshrc +Create file parent /tmp/redox_installer_3243320/etc +Create file /tmp/redox_installer_3243320/etc/passwd +Create file parent /tmp/redox_installer_3243320/etc +Create file /tmp/redox_installer_3243320/etc/shadow +Adding group messagebus: + GID: 100 + Members: messagebus +Adding group root: + GID: 0 + Members: root +Adding group user: + GID: 1000 + Members: user +Adding group sudo: + GID: 1 + Members: user +Create file parent /tmp/redox_installer_3243320/etc +Create file /tmp/redox_installer_3243320/etc/group +mv build/x86_64/redbear-mini.img.partial build/x86_64/redbear-mini.img +mkdir -p build/x86_64 +rm -rf build/x86_64/redbear-mini.iso build/x86_64/redbear-mini.iso.partial +cp "build/x86_64/redbear-mini.img" build/x86_64/redbear-mini.iso.partial +mv build/x86_64/redbear-mini.iso.partial build/x86_64/redbear-mini.iso +cp redbear.ipxe build/x86_64/redbear-mini.ipxe +make[1]: выход из каталога «/mnt/data/Builds/RedBear-OS» + +======================================== + Build Complete! +======================================== +ISO: build/x86_64/redbear-mini.iso + +To run in QEMU: + make qemu QEMUFLAGS="-m 4G" +-rw-r--r-- 1 kellito kellito 512M июл 9 11:51 /home/kellito/Builds/RedBear-OS/build/x86_64/redbear-mini.iso diff --git a/qemu-boot.log b/qemu-boot.log index d2a3adbd43..c4ae135f17 100644 --- a/qemu-boot.log +++ b/qemu-boot.log @@ -22,22 +22,22 @@ kernel::arch::x86_shared::start:INFO -- Redox OS starting... kernel::startup::memory:INFO -- Memory 100000:7FFDF000 contains reservation 146000:1FE46000 kernel::startup::memory:INFO -- Memory 100000:146000 contains reservation 125000:126000 kernel::startup::memory:INFO -- Memory 100000:125000 overlaps with reservation 100000:101000 -kernel::startup::memory:INFO -- Memory 1FE46000:7FFDF000 contains reservation 247E8000:247F4000 -kernel::startup::memory:INFO -- Memory 1FE46000:247E8000 overlaps with reservation 1FE46000:1FF8E000 -kernel::startup::memory:INFO -- Memory 1FF8E000:247E8000 overlaps with reservation 223BB000:247E8000 -kernel::startup::memory:INFO -- Memory 247F4000:7FFDF000 overlaps with reservation 247F4000:247F5000 +kernel::startup::memory:INFO -- Memory 1FE46000:7FFDF000 contains reservation 247EE000:247FA000 +kernel::startup::memory:INFO -- Memory 1FE46000:247EE000 overlaps with reservation 1FE46000:1FF92000 +kernel::startup::memory:INFO -- Memory 1FF92000:247EE000 overlaps with reservation 223C0000:247EE000 +kernel::startup::memory:INFO -- Memory 247FA000:7FFDF000 overlaps with reservation 247FA000:247FB000 kernel::startup::memory:INFO -- Memory: 3549 MB kernel::startup::memory:INFO -- Permanently used: 8228 KB -Page fault: 0000000000000604 (empty) +Page fault: 000000007FFE0040 (empty) RFLAG: 0000000000010002 CS: 0000000000000008 -RIP: ffffffff80077895 -RSP: ffffffff800fb060 +RIP: ffffffff8007a205 +RSP: ffffffff800fdf60 SS: 0000000000000010 FSBASE 0000000000000000 GSBASE 0000000000000000 -KGSBASE ffffffff800d2000 -RAX: 0000000000000604 +KGSBASE ffffffff800d5000 +RAX: 000000007ffe0040 RCX: 0000000000000020 RDX: 0000000000000020 RDI: ffffff7f80100000 @@ -47,43 +47,43 @@ R9: 0000000000000010 R10: 00000000000fccd8 R11: ffffff7f80100010 RBX: ffff80007ffe2393 -RBP: ffffffff800fb1a0 +RBP: ffffffff800fe0a0 R12: ffff80007ffe2407 R13: ffffff7f80100020 R14: ffff800000000000 R15: 0000000000000001 - FP ffffffff800faf10: PC ffffffff8004e072 - FFFFFFFF8004DE40+0232 + FP ffffffff800fde10: PC ffffffff800a07ff + FFFFFFFF800A0660+019F kernel::arch::x86_shared::interrupt::exception::page::inner - FP ffffffff800fafb0: PC ffffffff80046caf - FFFFFFFF80046C78+0037 + FP ffffffff800fdeb0: PC ffffffff8009d3cf + FFFFFFFF8009D398+0037 kernel::arch::x86_shared::interrupt::exception::page - FP ffffffff800fb1a0: PC ffffffff80085687 - FFFFFFFF800855B0+00D7 + FP ffffffff800fe0a0: PC ffffffff80068377 + FFFFFFFF800682A0+00D7 kernel::arch::x86_shared::start::start - ffffffff800fb270: EMPTY RETURN + ffffffff800fe170: EMPTY RETURN KERNEL PANIC: panicked at src/context/switch.rs:535:14: not inside of context - FP ffffffff800fad30: PC ffffffff8006abd2 - FFFFFFFF8006AA60+0172 + FP ffffffff800fdc30: PC ffffffff80097762 + FFFFFFFF800975F0+0172 kernel::panic::panic_handler_inner - FP ffffffff800fadd0: PC ffffffff80068ce9 - FP ffffffff800fade0: PC ffffffff800b244b - FP ffffffff800fae20: PC ffffffff800bb610 - FFFFFFFF800BB610+0000 + FP ffffffff800fdcd0: PC ffffffff80095739 + FP ffffffff800fdce0: PC ffffffff800b34bb + FP ffffffff800fdd20: PC ffffffff800bc680 + FFFFFFFF800BC680+0000 core::option::unwrap_failed - FP ffffffff800fae50: PC ffffffff80088704 - FFFFFFFF800885C0+0144 + FP ffffffff800fdd50: PC ffffffff8006cd04 + FFFFFFFF8006CBC0+0144 kernel::context::signal::excp_handler - FP ffffffff800faf10: PC ffffffff8004e08f - FFFFFFFF8004DE40+024F + FP ffffffff800fde10: PC ffffffff800a081c + FFFFFFFF800A0660+01BC kernel::arch::x86_shared::interrupt::exception::page::inner - FP ffffffff800fafb0: PC ffffffff80046caf - FFFFFFFF80046C78+0037 + FP ffffffff800fdeb0: PC ffffffff8009d3cf + FFFFFFFF8009D398+0037 kernel::arch::x86_shared::interrupt::exception::page - FP ffffffff800fb1a0: PC ffffffff80085687 - FFFFFFFF800855B0+00D7 + FP ffffffff800fe0a0: PC ffffffff80068377 + FFFFFFFF800682A0+00D7 kernel::arch::x86_shared::start::start - ffffffff800fb270: EMPTY RETURN + ffffffff800fe170: EMPTY RETURN CPU #0, CID HALT