Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ➜ redox git:(master) ✗ make all
- cd kernel && xargo clean
- rm -rf build/initfs
- cargo run --manifest-path installer/Cargo.toml -- --cookbook=cookbook initfs.toml
- Compiling arg_parser v0.1.0 (https://github.com/redox-os/arg-parser.git#ed88287e)
- Compiling quote v0.3.15
- Compiling redox_syscall v0.1.28
- Compiling constant_time_eq v0.1.2
- Compiling winapi-build v0.1.1
- Compiling winapi v0.2.8
- Compiling byteorder v1.1.0
- Compiling rayon-core v1.2.1
- Compiling libc v0.2.28
- Compiling extra v0.1.0 (https://github.com/redox-os/libextra.git#40293208)
- Compiling httparse v1.2.3
- Compiling futures v0.1.14
- Compiling unicode-width v0.1.4
- Compiling adler32 v1.0.0
- Compiling pkgutils v0.1.1 (https://github.com/redox-os/pkgutils.git#baf57e81)
- Compiling untrusted v0.5.0
- Compiling bitflags v0.9.1
- Compiling lazy_static v0.2.8
- Compiling unicode-xid v0.0.4
- Compiling matches v0.1.6
- Compiling typeable v0.1.2
- Compiling unicode-segmentation v1.1.0
- Compiling safemem v0.2.0
- Compiling gcc v0.3.51
- Compiling serde v1.0.11
- Compiling either v1.1.0
- Compiling scoped_threadpool v0.1.7
- Compiling version_check v0.1.3
- Compiling typenum v1.9.0
- Compiling version-compare v0.0.4
- Compiling serde v0.8.23
- Compiling vec_map v0.8.0
- Compiling log v0.3.8
- Compiling unicode-normalization v0.1.5
- Compiling byteorder v0.5.3
- Compiling traitobject v0.1.0
- Compiling language-tags v0.2.2
- Compiling scopeguard v0.3.2
- Compiling percent-encoding v1.0.0
- Compiling blake2-rfc v0.2.17
- Compiling redox_termios v0.1.0
- Compiling kernel32-sys v0.2.2
- Compiling base64 v0.5.2
- Compiling termion v1.5.0
- Compiling term_size v0.3.0
- Compiling num_cpus v1.6.2
- Compiling time v0.1.38
- Compiling rand v0.3.16
- Compiling xattr v0.1.11
- Compiling libflate v0.1.10
- Compiling syn v0.10.8
- Compiling synom v0.11.3
- Compiling unicode-bidi v0.3.4
- Compiling base64 v0.6.0
- Compiling unicase v1.4.2
- Compiling mime v0.2.6
- Compiling coco v0.1.1
- Compiling argon2rs v0.2.5
- Compiling toml v0.4.4
- Compiling textwrap v0.6.0
- Compiling toml v0.2.1
- Compiling liner v0.1.5
- Compiling tar v0.4.13 (https://github.com/redox-os/tar-rs#b71c2202)
- Compiling syn v0.11.11
- Compiling idna v0.1.4
- Compiling clap v2.25.1
- Compiling serde_codegen_internals v0.11.3
- Compiling userutils v0.1.0 (https://github.com/redox-os/userutils.git#d0e22dd1)
- Compiling pbr v1.0.0 (https://github.com/ids1024/pb?branch=duration#abe4d6e4)
- Compiling generic-array v0.2.1
- Compiling url v1.5.1
- Compiling rayon v0.7.1
- Compiling serde_codegen v0.8.23
- Compiling static-buffer v0.2.0
- Compiling serde_derive_internals v0.15.1
- Compiling ring v0.11.0
- Compiling octavo-digest v0.1.2 (https://github.com/libOctavo/octavo.git#d94d9246)
- Compiling hyper v0.10.12
- Compiling serde_derive v1.0.11
- Compiling serde_derive v0.8.23
- Compiling octavo v0.1.1 (https://github.com/libOctavo/octavo.git#d94d9246)
- Compiling webpki v0.14.0
- Compiling webpki-roots v0.11.0
- Compiling rustls v0.9.0
- Compiling hyper-rustls v0.6.1
- Compiling redox_installer v0.1.0 (file:///home/moony/Projects/redox/installer)
- Finished dev [unoptimized + debuginfo] target(s) in 192.51 secs
- Running `installer/target/debug/redox_installer --cookbook=cookbook initfs.toml`
- Install Config {
- general: GeneralConfig {
- prompt: false,
- sysroot: Some(
- "build/initfs"
- )
- },
- packages: {
- "drivers": PackageConfig {
- version: None,
- git: None,
- path: None
- },
- "init": PackageConfig {
- version: None,
- git: None,
- path: None
- },
- "redoxfs": PackageConfig {
- version: None,
- git: None,
- path: None
- }
- },
- files: [
- FileConfig {
- path: "/etc/init.rc",
- data: "export PATH /bin\nexport TMPDIR /tmp\nvesad T T G\nstdio display:1\nps2d\npcid /etc/pcid/initfs.toml\nredoxfs disk:0 file\ncd file:\nrun.d /etc/init.d\n"
- }
- ],
- users: {}
- }
- Create directory /home/moony/Projects/redox/build/initfs/
- repo - preparing drivers
- cook - drivers prepare
- repo - building drivers
- cook - drivers build
- Updating registry `https://github.com/rust-lang/crates.io-index`
- Compiling unwind v0.0.0 (file:///home/moony/Projects/redox/rust/src/libunwind)
- Compiling core v0.0.0 (file:///home/moony/Projects/redox/rust/src/libcore)
- Compiling gcc v0.3.51
- Compiling libc v0.0.0 (file:///home/moony/Projects/redox/rust/src/rustc/libc_shim)
- Compiling libc v0.2.28
- Compiling filetime v0.1.10
- Compiling build_helper v0.1.0 (file:///home/moony/Projects/redox/rust/src/build_helper)
- Compiling compiler_builtins v0.0.0 (file:///home/moony/Projects/redox/rust/src/rustc/compiler_builtins_shim)
- Compiling std v0.0.0 (file:///home/moony/Projects/redox/rust/src/libstd)
- Compiling std_unicode v0.0.0 (file:///home/moony/Projects/redox/rust/src/libstd_unicode)
- Compiling rand v0.0.0 (file:///home/moony/Projects/redox/rust/src/librand)
- Compiling panic_abort v0.0.0 (file:///home/moony/Projects/redox/rust/src/libpanic_abort)
- Compiling alloc v0.0.0 (file:///home/moony/Projects/redox/rust/src/liballoc)
- Compiling alloc_system v0.0.0 (file:///home/moony/Projects/redox/rust/src/liballoc_system)
- Compiling collections v0.0.0 (file:///home/moony/Projects/redox/rust/src/libcollections)
- Compiling panic_unwind v0.0.0 (file:///home/moony/Projects/redox/rust/src/libpanic_unwind)
- warning: dropping unsupported crate type `dylib` for target `x86_64-unknown-redox`
- Finished release [optimized] target(s) in 97.82 secs
- Compiling untrusted v0.5.0
- Compiling log v0.3.8
- Compiling serde v1.0.11
- Compiling httparse v1.2.3
- Compiling unicode-normalization v0.1.5
- Compiling redox_syscall v0.1.28
- Compiling safemem v0.2.0
- Compiling byteorder v1.1.0
- Compiling bitflags v0.7.0
- Compiling rayon-core v1.2.1
- Compiling version_check v0.1.3
- Compiling either v1.1.0
- Compiling ransid v0.2.9
- Compiling quote v0.3.15
- Compiling typeable v0.1.2
- Compiling libc v0.2.28
- Compiling spin v0.4.5
- Compiling percent-encoding v1.0.0
- Compiling lazy_static v0.2.8
- Compiling gcc v0.3.51
- Compiling matches v0.1.6
- Compiling futures v0.1.14
- Compiling unicode-xid v0.0.4
- Compiling language-tags v0.2.2
- Compiling traitobject v0.1.0
- Compiling byteorder v0.5.3
- Compiling scopeguard v0.3.2
- Compiling mime v0.2.6
- Compiling redox_termios v0.1.0
- Compiling orbclient v0.3.8
- Compiling redox_event v0.1.0 (https://github.com/redox-os/event.git#42d552e4)
- Compiling bgad v0.1.0 (file:///home/moony/Projects/redox/cookbook/recipes/drivers/build/bgad)
- Compiling base64 v0.5.2
- Compiling base64 v0.6.0
- Compiling rand v0.3.16
- Compiling num_cpus v1.6.2
- Compiling ahcid v0.1.0 (file:///home/moony/Projects/redox/cookbook/recipes/drivers/build/ahcid)
- Compiling xhcid v0.1.0 (file:///home/moony/Projects/redox/cookbook/recipes/drivers/build/xhcid)
- warning: field is never used: `inner`
- --> xhcid/src/xhci/device.rs:6:5
- |
- 6 | inner: [u8; 32]
- | ^^^^^^^^^^^^^^^
- |
- = note: #[warn(dead_code)] on by default
- warning: field is never used: `inner`
- --> xhcid/src/xhci/device.rs:11:5
- |
- 11 | inner: [u8; 32]
- | ^^^^^^^^^^^^^^^
- warning: struct is never used: `InputContext`
- --> xhcid/src/xhci/device.rs:21:1
- |
- 21 | / pub struct InputContext {
- 22 | | pub drop_context: Mmio<u32>,
- 23 | | pub add_context: Mmio<u32>,
- 24 | | _rsvd: [Mmio<u32>; 5],
- 25 | | pub control: Mmio<u32>,
- 26 | | pub device: DeviceContext,
- 27 | | }
- | |_^
- warning: method is never used: `read`
- --> xhcid/src/xhci/doorbell.rs:7:5
- |
- 7 | / pub fn read(&self) -> u32 {
- 8 | | self.0.read()
- 9 | | }
- | |_____^
- warning: variant is never used: `Reserved`
- --> xhcid/src/xhci/trb.rs:5:5
- |
- 5 | Reserved,
- | ^^^^^^^^
- warning: variant is never used: `Normal`
- --> xhcid/src/xhci/trb.rs:7:5
- |
- 7 | Normal,
- | ^^^^^^
- warning: variant is never used: `SetupStage`
- --> xhcid/src/xhci/trb.rs:8:5
- |
- 8 | SetupStage,
- | ^^^^^^^^^^
- warning: variant is never used: `DataStage`
- --> xhcid/src/xhci/trb.rs:9:5
- |
- 9 | DataStage,
- | ^^^^^^^^^
- warning: variant is never used: `StatusStage`
- --> xhcid/src/xhci/trb.rs:10:5
- |
- 10 | StatusStage,
- | ^^^^^^^^^^^
- warning: variant is never used: `Isoch`
- --> xhcid/src/xhci/trb.rs:11:5
- |
- 11 | Isoch,
- | ^^^^^
- warning: variant is never used: `Link`
- --> xhcid/src/xhci/trb.rs:12:5
- |
- 12 | Link,
- | ^^^^
- warning: variant is never used: `EventData`
- --> xhcid/src/xhci/trb.rs:13:5
- |
- 13 | EventData,
- | ^^^^^^^^^
- warning: variant is never used: `NoOp`
- --> xhcid/src/xhci/trb.rs:14:5
- |
- 14 | NoOp,
- | ^^^^
- warning: variant is never used: `DisableSlot`
- --> xhcid/src/xhci/trb.rs:17:5
- |
- 17 | DisableSlot,
- | ^^^^^^^^^^^
- warning: variant is never used: `AddressDevice`
- --> xhcid/src/xhci/trb.rs:18:5
- |
- 18 | AddressDevice,
- | ^^^^^^^^^^^^^
- warning: variant is never used: `ConfigureEndpoint`
- --> xhcid/src/xhci/trb.rs:19:5
- |
- 19 | ConfigureEndpoint,
- | ^^^^^^^^^^^^^^^^^
- warning: variant is never used: `EvaluateContext`
- --> xhcid/src/xhci/trb.rs:20:5
- |
- 20 | EvaluateContext,
- | ^^^^^^^^^^^^^^^
- warning: variant is never used: `ResetEndpoint`
- --> xhcid/src/xhci/trb.rs:21:5
- |
- 21 | ResetEndpoint,
- | ^^^^^^^^^^^^^
- warning: variant is never used: `StopEndpoint`
- --> xhcid/src/xhci/trb.rs:22:5
- |
- 22 | StopEndpoint,
- | ^^^^^^^^^^^^
- warning: variant is never used: `SetTrDequeuePointer`
- --> xhcid/src/xhci/trb.rs:23:5
- |
- 23 | SetTrDequeuePointer,
- | ^^^^^^^^^^^^^^^^^^^
- warning: variant is never used: `ResetDevice`
- --> xhcid/src/xhci/trb.rs:24:5
- |
- 24 | ResetDevice,
- | ^^^^^^^^^^^
- warning: variant is never used: `ForceEvent`
- --> xhcid/src/xhci/trb.rs:25:5
- |
- 25 | ForceEvent,
- | ^^^^^^^^^^
- warning: variant is never used: `NegotiateBandwidth`
- --> xhcid/src/xhci/trb.rs:26:5
- |
- 26 | NegotiateBandwidth,
- | ^^^^^^^^^^^^^^^^^^
- warning: variant is never used: `SetLatencyToleranceValue`
- --> xhcid/src/xhci/trb.rs:27:5
- |
- 27 | SetLatencyToleranceValue,
- | ^^^^^^^^^^^^^^^^^^^^^^^^
- warning: variant is never used: `GetPortBandwidth`
- --> xhcid/src/xhci/trb.rs:28:5
- |
- 28 | GetPortBandwidth,
- | ^^^^^^^^^^^^^^^^
- warning: variant is never used: `ForceHeader`
- --> xhcid/src/xhci/trb.rs:29:5
- |
- 29 | ForceHeader,
- | ^^^^^^^^^^^
- warning: variant is never used: `NoOpCmd`
- --> xhcid/src/xhci/trb.rs:30:5
- |
- 30 | NoOpCmd,
- | ^^^^^^^
- warning: variant is never used: `Rsv24`
- --> xhcid/src/xhci/trb.rs:32:5
- |
- 32 | Rsv24,
- | ^^^^^
- warning: variant is never used: `Rsv25`
- --> xhcid/src/xhci/trb.rs:33:5
- |
- 33 | Rsv25,
- | ^^^^^
- warning: variant is never used: `Rsv26`
- --> xhcid/src/xhci/trb.rs:34:5
- |
- 34 | Rsv26,
- | ^^^^^
- warning: variant is never used: `Rsv27`
- --> xhcid/src/xhci/trb.rs:35:5
- |
- 35 | Rsv27,
- | ^^^^^
- warning: variant is never used: `Rsv28`
- --> xhcid/src/xhci/trb.rs:36:5
- |
- 36 | Rsv28,
- | ^^^^^
- warning: variant is never used: `Rsv29`
- --> xhcid/src/xhci/trb.rs:37:5
- |
- 37 | Rsv29,
- | ^^^^^
- warning: variant is never used: `Rsv30`
- --> xhcid/src/xhci/trb.rs:38:5
- |
- 38 | Rsv30,
- | ^^^^^
- warning: variant is never used: `Rsv31`
- --> xhcid/src/xhci/trb.rs:39:5
- |
- 39 | Rsv31,
- | ^^^^^
- warning: variant is never used: `Transfer`
- --> xhcid/src/xhci/trb.rs:41:5
- |
- 41 | Transfer,
- | ^^^^^^^^
- warning: variant is never used: `CommandCompletion`
- --> xhcid/src/xhci/trb.rs:42:5
- |
- 42 | CommandCompletion,
- | ^^^^^^^^^^^^^^^^^
- warning: variant is never used: `PortStatusChange`
- --> xhcid/src/xhci/trb.rs:43:5
- |
- 43 | PortStatusChange,
- | ^^^^^^^^^^^^^^^^
- warning: variant is never used: `BandwidthRequest`
- --> xhcid/src/xhci/trb.rs:44:5
- |
- 44 | BandwidthRequest,
- | ^^^^^^^^^^^^^^^^
- warning: variant is never used: `Doorbell`
- --> xhcid/src/xhci/trb.rs:45:5
- |
- 45 | Doorbell,
- | ^^^^^^^^
- warning: variant is never used: `HostController`
- --> xhcid/src/xhci/trb.rs:46:5
- |
- 46 | HostController,
- | ^^^^^^^^^^^^^^
- warning: variant is never used: `DeviceNotification`
- --> xhcid/src/xhci/trb.rs:47:5
- |
- 47 | DeviceNotification,
- | ^^^^^^^^^^^^^^^^^^
- warning: variant is never used: `MfindexWrap`
- --> xhcid/src/xhci/trb.rs:48:5
- |
- 48 | MfindexWrap,
- | ^^^^^^^^^^^
- warning: enum is never used: `TrbCompletionCode`
- --> xhcid/src/xhci/trb.rs:53:1
- |
- 53 | / pub enum TrbCompletionCode {
- 54 | | Invalid,
- 55 | | Success,
- 56 | | DataBuffer,
- ... |
- 93 | | /* 224 to 255 are vendor defined information */
- 94 | | }
- | |_^
- warning: method is never used: `no_op_cmd`
- --> xhcid/src/xhci/trb.rs:116:5
- |
- 116 | / pub fn no_op_cmd(&mut self, cycle: bool) {
- 117 | | self.reset(0, 0, 0, TrbType::NoOpCmd, false, cycle);
- 118 | | }
- | |_____^
- warning: field is never used: `cap`
- --> xhcid/src/xhci/mod.rs:24:5
- |
- 24 | cap: &'static mut CapabilityRegs,
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Compiling nvmed v0.1.0 (file:///home/moony/Projects/redox/cookbook/recipes/drivers/build/nvmed)
- warning: unused import: `std::fs::File`
- --> nvmed/src/main.rs:9:5
- |
- 9 | use std::fs::File;
- | ^^^^^^^^^^^^^
- |
- = note: #[warn(unused_imports)] on by default
- warning: unused imports: `Read`, `Write`
- --> nvmed/src/main.rs:10:15
- |
- 10 | use std::io::{Read, Write};
- | ^^^^ ^^^^^
- warning: unused imports: `AsRawFd`, `FromRawFd`
- --> nvmed/src/main.rs:11:25
- |
- 11 | use std::os::unix::io::{AsRawFd, FromRawFd, RawFd};
- | ^^^^^^^ ^^^^^^^^^
- warning: unused imports: `EVENT_READ`, `Event`, `Packet`, `Scheme`
- --> nvmed/src/main.rs:12:15
- |
- 12 | use syscall::{EVENT_READ, MAP_WRITE, Event, Packet, Result, Scheme};
- | ^^^^^^^^^^ ^^^^^ ^^^^^^ ^^^^^^
- warning: struct is never used: `NvmeCmd`
- --> nvmed/src/nvme.rs:4:1
- |
- 4 | / pub struct NvmeCmd {
- 5 | | /// Opcode
- 6 | | opcode: u8,
- 7 | | /// Flags
- ... |
- 30 | | cdw15: u32,
- 31 | | }
- | |_^
- |
- = note: #[warn(dead_code)] on by default
- warning: method is never used: `read`
- --> nvmed/src/nvme.rs:34:5
- |
- 34 | / pub fn read(cid: u16, lba: u64, count: u16, dst: u64) -> Self {
- 35 | | NvmeCmd {
- 36 | | opcode: 2,
- 37 | | flags: 1 << 6,
- ... |
- 49 | | }
- 50 | | }
- | |_____^
- warning: method is never used: `write`
- --> nvmed/src/nvme.rs:52:5
- |
- 52 | / pub fn write(cid: u16, lba: u64, count: u16, src: u64) -> Self {
- 53 | | NvmeCmd {
- 54 | | opcode: 1,
- 55 | | flags: 1 << 6,
- ... |
- 67 | | }
- 68 | | }
- | |_____^
- warning: field is never used: `intms`
- --> nvmed/src/nvme.rs:78:5
- |
- 78 | intms: Mmio<u32>,
- | ^^^^^^^^^^^^^^^^
- warning: field is never used: `intmc`
- --> nvmed/src/nvme.rs:80:5
- |
- 80 | intmc: Mmio<u32>,
- | ^^^^^^^^^^^^^^^^
- warning: field is never used: `cc`
- --> nvmed/src/nvme.rs:82:5
- |
- 82 | cc: Mmio<u32>,
- | ^^^^^^^^^^^^^
- warning: field is never used: `csts`
- --> nvmed/src/nvme.rs:86:5
- |
- 86 | csts: Mmio<u32>,
- | ^^^^^^^^^^^^^^^
- warning: field is never used: `nssr`
- --> nvmed/src/nvme.rs:88:5
- |
- 88 | nssr: Mmio<u32>,
- | ^^^^^^^^^^^^^^^
- warning: field is never used: `aqa`
- --> nvmed/src/nvme.rs:90:5
- |
- 90 | aqa: Mmio<u32>,
- | ^^^^^^^^^^^^^^
- warning: field is never used: `asq`
- --> nvmed/src/nvme.rs:92:5
- |
- 92 | asq: Mmio<u64>,
- | ^^^^^^^^^^^^^^
- warning: field is never used: `acq`
- --> nvmed/src/nvme.rs:94:5
- |
- 94 | acq: Mmio<u64>,
- | ^^^^^^^^^^^^^^
- warning: field is never used: `cmbloc`
- --> nvmed/src/nvme.rs:96:5
- |
- 96 | cmbloc: Mmio<u32>,
- | ^^^^^^^^^^^^^^^^^
- warning: field is never used: `cmbsz`
- --> nvmed/src/nvme.rs:98:5
- |
- 98 | cmbsz: Mmio<u32>,
- | ^^^^^^^^^^^^^^^^
- warning: function is never used: `create_scheme_fallback`
- --> nvmed/src/main.rs:18:1
- |
- 18 | / fn create_scheme_fallback<'a>(name: &'a str, fallback: &'a str) -> Result<(&'a str, RawFd)> {
- 19 | | if let Ok(fd) = syscall::open(&format!(":{}", name), syscall::O_RDWR | syscall::O_CREAT | syscall::O_NONBLOCK) {
- 20 | | Ok((name, fd))
- 21 | | } else {
- ... |
- 24 | | }
- 25 | | }
- | |_^
- Compiling unicase v1.4.2
- Compiling unicode-bidi v0.3.4
- Compiling synom v0.11.3
- Compiling toml v0.4.4
- Compiling time v0.1.38
- Compiling coco v0.1.1
- Compiling termion v1.5.0
- Compiling ihdad v0.1.0 (file:///home/moony/Projects/redox/cookbook/recipes/drivers/build/ihdad)
- Compiling ps2d v0.1.0 (file:///home/moony/Projects/redox/cookbook/recipes/drivers/build/ps2d)
- warning: unnecessary parentheses around assigned value
- --> ihdad/src/HDA/device.rs:348:17
- |
- 348 | let addr = (addr_field & 0x7FFF);
- | ^^^^^^^^^^^^^^^^^^^^^
- |
- = note: #[warn(unused_parens)] on by default
- warning: unnecessary parentheses around `for` head expression
- --> ihdad/src/HDA/device.rs:353:16
- |
- 353 | for i in (list.pop().unwrap().1 .. (addr + 1)) {
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- warning: unnecessary parentheses around assigned value
- --> ihdad/src/HDA/device.rs:365:17
- |
- 365 | let addr = (addr_field & 0x7F);
- | ^^^^^^^^^^^^^^^^^^^
- warning: unnecessary parentheses around `for` head expression
- --> ihdad/src/HDA/device.rs:370:16
- |
- 370 | for i in (list.pop().unwrap().1 .. (addr + 1)) {
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- warning: unnecessary parentheses around `if` condition
- --> ihdad/src/HDA/device.rs:422:17
- |
- 422 | } else if (config.is_input()) {
- | ^^^^^^^^^^^^^^^^^^^
- warning: unnecessary parentheses around assigned value
- --> ihdad/src/HDA/device.rs:811:26
- |
- 811 | if output { payload |= (1 << 15); }
- | ^^^^^^^^^
- warning: unnecessary parentheses around assigned value
- --> ihdad/src/HDA/device.rs:812:26
- |
- 812 | if input { payload |= (1 << 14); }
- | ^^^^^^^^^
- warning: unnecessary parentheses around assigned value
- --> ihdad/src/HDA/device.rs:813:26
- |
- 813 | if left { payload |= (1 << 13); }
- | ^^^^^^^^^
- warning: unnecessary parentheses around assigned value
- --> ihdad/src/HDA/device.rs:814:26
- |
- 814 | if right { payload |= (1 << 12); }
- | ^^^^^^^^^
- warning: unnecessary parentheses around assigned value
- --> ihdad/src/HDA/device.rs:815:26
- |
- 815 | if mute { payload |= (1 << 7); }
- | ^^^^^^^^^
- warning: unnecessary parentheses around assigned value
- --> ihdad/src/HDA/device.rs:817:14
- |
- 817 | payload |= ((gain as u16) & 0x7F);
- | ^^^^^^^^^^^^^^^^^^^^^^^
- warning: unnecessary parentheses around assigned value
- --> ihdad/src/HDA/stream.rs:180:12
- |
- 180 | ctrl |= (1 << 2);
- | ^^^^^^^^
- warning: unused imports: `thread`, `u16`
- --> ihdad/src/main.rs:9:23
- |
- 9 | use std::{env, usize, u16, thread};
- | ^^^ ^^^^^^
- |
- = note: #[warn(unused_imports)] on by default
- warning: unused import: `RawFd`
- --> ihdad/src/main.rs:12:45
- |
- 12 | use std::os::unix::io::{AsRawFd, FromRawFd, RawFd};
- | ^^^^^
- warning: unused imports: `EVENT_READ`, `Event`
- --> ihdad/src/main.rs:13:15
- |
- 13 | use syscall::{EVENT_READ, MAP_WRITE, Event, Packet, Scheme, SchemeMut};
- | ^^^^^^^^^^ ^^^^^
- warning: unused import: `Scheme`
- --> ihdad/src/main.rs:13:53
- |
- 13 | use syscall::{EVENT_READ, MAP_WRITE, Event, Packet, Scheme, SchemeMut};
- | ^^^^^^
- warning: module `HDA` should have a snake case name such as `hda`
- --> ihdad/src/main.rs:22:1
- |
- 22 | pub mod HDA;
- | ^^^^^^^^^^^^
- |
- = note: #[warn(non_snake_case)] on by default
- warning: unused imports: `fmt`, `mem`, `ptr`
- --> ihdad/src/HDA/device.rs:3:11
- |
- 3 | use std::{mem, thread, ptr, fmt};
- | ^^^ ^^^ ^^^
- warning: unused import: `max`
- --> ihdad/src/HDA/device.rs:5:16
- |
- 5 | use std::cmp::{max, min};
- | ^^^
- warning: unused import: `std::ptr::copy_nonoverlapping`
- --> ihdad/src/HDA/device.rs:6:5
- |
- 6 | use std::ptr::copy_nonoverlapping;
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- warning: unused import: `std::sync::Arc`
- --> ihdad/src/HDA/device.rs:7:5
- |
- 7 | use std::sync::Arc;
- | ^^^^^^^^^^^^^^
- warning: unused import: `std::cell::RefCell`
- --> ihdad/src/HDA/device.rs:8:5
- |
- 8 | use std::cell::RefCell;
- | ^^^^^^^^^^^^^^^^^^
- warning: unused import: `std::string::String`
- --> ihdad/src/HDA/device.rs:11:5
- |
- 11 | use std::string::String;
- | ^^^^^^^^^^^^^^^^^^^
- warning: unnecessary `unsafe` block
- --> ihdad/src/HDA/device.rs:180:24
- |
- 180 | let buff_desc_phys = unsafe {
- | ________________________^
- 181 | | syscall::physalloc(0x1000)
- 182 | | .expect("Could not allocate physical memory for buffer descriptor list.")
- 183 | | };
- | |___^ unnecessary `unsafe` block
- |
- = note: #[warn(unused_unsafe)] on by default
- warning: unnecessary `unsafe` block
- --> ihdad/src/HDA/device.rs:186:24
- |
- 186 | let buff_desc_virt = unsafe {
- | ________________________^
- 187 | | syscall::physmap(buff_desc_phys, 0x1000, MAP_WRITE)
- 188 | | .expect("ihdad: failed to map address for buffer descriptor list.")
- 189 | | };
- | |___^ unnecessary `unsafe` block
- warning: unnecessary `unsafe` block
- --> ihdad/src/HDA/device.rs:198:26
- |
- 198 | let cmd_buff_address = unsafe {
- | __________________________^
- 199 | | syscall::physalloc(0x1000)
- 200 | | .expect("Could not allocate physical memory for CORB and RIRB.")
- 201 | | };
- | |___^ unnecessary `unsafe` block
- warning: unnecessary `unsafe` block
- --> ihdad/src/HDA/device.rs:204:23
- |
- 204 | let cmd_buff_virt = unsafe { syscall::physmap(cmd_buff_address, 0x1000, MAP_WRITE).expect("ihdad: failed to map address for CORB/RIRB buff") };
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unnecessary `unsafe` block
- warning: variable does not need to be mutable
- --> ihdad/src/HDA/device.rs:477:9
- |
- 477 | let mut res = self.find_path_to_dac(widget.connections[0]);
- | ^^^^^^^
- |
- = note: #[warn(unused_mut)] on by default
- warning: variable does not need to be mutable
- --> ihdad/src/HDA/device.rs:826:7
- |
- 826 | let mut output = self.get_output_stream_descriptor(index as usize).unwrap();
- | ^^^^^^^^^^
- warning: unused variable: `sample_size`
- --> ihdad/src/HDA/device.rs:831:7
- |
- 831 | let sample_size:usize = output.sample_size();
- | ^^^^^^^^^^^
- |
- = note: #[warn(unused_variables)] on by default
- warning: unused variable: `len`
- --> ihdad/src/HDA/device.rs:858:7
- |
- 858 | let len = min(os.block_size(), buf.len());
- | ^^^
- warning: unused variable: `codec_num`
- --> ihdad/src/HDA/device.rs:922:13
- |
- 922 | Ok(codec_num) => {
- | ^^^^^^^^^
- warning: unused variable: `id`
- --> ihdad/src/HDA/device.rs:924:15
- |
- 924 | let id = self.next_id.fetch_add(1, Ordering::SeqCst);
- | ^^
- warning: unused variable: `path`
- --> ihdad/src/HDA/device.rs:978:7
- |
- 978 | let path: Vec<&str>;
- | ^^^^
- warning: unused imports: `EACCES`, `EWOULDBLOCK`
- --> ihdad/src/HDA/stream.rs:5:29
- |
- 5 | use syscall::error::{Error, EACCES, EWOULDBLOCK, EIO, Result};
- | ^^^^^^ ^^^^^^^^^^^
- warning: unused import: `syscall::flag::O_NONBLOCK`
- --> ihdad/src/HDA/stream.rs:6:5
- |
- 6 | use syscall::flag::O_NONBLOCK;
- | ^^^^^^^^^^^^^^^^^^^^^^^^^
- warning: unused imports: `Dma`, `ReadOnly`
- --> ihdad/src/HDA/stream.rs:7:19
- |
- 7 | use syscall::io::{Dma, Mmio, Io, ReadOnly};
- | ^^^ ^^^^^^^^
- warning: unused import: `syscall::scheme::SchemeMut`
- --> ihdad/src/HDA/stream.rs:8:5
- |
- 8 | use syscall::scheme::SchemeMut;
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^
- warning: unused import: `std::sync::Arc`
- --> ihdad/src/HDA/stream.rs:9:5
- |
- 9 | use std::sync::Arc;
- | ^^^^^^^^^^^^^^
- warning: unused import: `std::cell::RefCell`
- --> ihdad/src/HDA/stream.rs:10:5
- |
- 10 | use std::cell::RefCell;
- | ^^^^^^^^^^^^^^^^^^
- warning: unused import: `max`
- --> ihdad/src/HDA/stream.rs:12:16
- |
- 12 | use std::cmp::{max, min};
- | ^^^
- warning: unused imports: `fmt`, `mem`, `ptr`, `thread`
- --> ihdad/src/HDA/stream.rs:14:11
- |
- 14 | use std::{mem, thread, ptr, fmt};
- | ^^^ ^^^^^^ ^^^ ^^^
- warning: variant `BR44_1` should have a camel case name such as `Br441`
- --> ihdad/src/HDA/stream.rs:19:2
- |
- 19 | BR44_1,
- | ^^^^^^
- |
- = note: #[warn(non_camel_case_types)] on by default
- warning: unnecessary `unsafe` block
- --> ihdad/src/HDA/stream.rs:219:3
- |
- 219 | / unsafe {
- 220 | | OutputStream {
- 221 | | buff: StreamBuffer::new(block_length, block_count).unwrap(),
- 222 | |
- 223 | | desc_regs: regs,
- 224 | | }
- 225 | | }
- | |___^ unnecessary `unsafe` block
- warning: unused `std::result::Result` which must be used
- --> ihdad/src/HDA/stream.rs:317:12
- |
- 317 | unsafe {syscall::physfree(phys_addr, block_length * block_count);}
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- |
- = note: #[warn(unused_must_use)] on by default
- warning: unused `std::result::Result` which must be used
- --> ihdad/src/HDA/stream.rs:377:4
- |
- 377 | syscall::physunmap(self.addr);
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- warning: unused `std::result::Result` which must be used
- --> ihdad/src/HDA/stream.rs:378:4
- |
- 378 | syscall::physfree(self.phys, self.block_len * self.block_cnt);
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- warning: unused imports: `mem`, `ptr`, `thread`
- --> ihdad/src/HDA/common.rs:3:11
- |
- 3 | use std::{mem, thread, ptr, fmt};
- | ^^^ ^^^^^^ ^^^
- warning: unused imports: `ptr`, `thread`
- --> ihdad/src/HDA/node.rs:2:16
- |
- 2 | use std::{mem, thread, ptr, fmt};
- | ^^^^^^ ^^^
- warning: unused imports: `fmt`, `mem`, `ptr`, `thread`
- --> ihdad/src/HDA/cmdbuff.rs:1:11
- |
- 1 | use std::{mem, thread, ptr, fmt};
- | ^^^ ^^^^^^ ^^^ ^^^
- warning: unused imports: `Dma`, `ReadOnly`
- --> ihdad/src/HDA/cmdbuff.rs:2:19
- |
- 2 | use syscall::io::{Dma, Mmio, Io, ReadOnly};
- | ^^^ ^^^^^^^^
- warning: variable `corbsize_bytes` is assigned to, but never used
- --> ihdad/src/HDA/cmdbuff.rs:101:7
- |
- 101 | let mut corbsize_bytes: usize = 0;
- | ^^^^^^^^^^^^^^^^^^
- warning: variable `corbsize` is assigned to, but never used
- --> ihdad/src/HDA/cmdbuff.rs:102:7
- |
- 102 | let mut corbsize: u8 = 0;
- | ^^^^^^^^^^^^
- warning: value assigned to `corbsize` is never read
- --> ihdad/src/HDA/cmdbuff.rs:105:4
- |
- 105 | corbsize = 2;
- | ^^^^^^^^
- |
- = note: #[warn(unused_assignments)] on by default
- warning: value assigned to `corbsize_bytes` is never read
- --> ihdad/src/HDA/cmdbuff.rs:106:4
- |
- 106 | corbsize_bytes = 1024;
- | ^^^^^^^^^^^^^^
- warning: value assigned to `corbsize` is never read
- --> ihdad/src/HDA/cmdbuff.rs:110:4
- |
- 110 | corbsize = 1;
- | ^^^^^^^^
- warning: value assigned to `corbsize_bytes` is never read
- --> ihdad/src/HDA/cmdbuff.rs:111:4
- |
- 111 | corbsize_bytes = 64;
- | ^^^^^^^^^^^^^^
- warning: value assigned to `corbsize` is never read
- --> ihdad/src/HDA/cmdbuff.rs:115:4
- |
- 115 | corbsize = 0;
- | ^^^^^^^^
- warning: value assigned to `corbsize_bytes` is never read
- --> ihdad/src/HDA/cmdbuff.rs:116:4
- |
- 116 | corbsize_bytes = 8;
- | ^^^^^^^^^^^^^^
- warning: variable does not need to be mutable
- --> ihdad/src/HDA/cmdbuff.rs:194:7
- |
- 194 | let mut write_pos: usize = ( (self.regs.corbwp.read() as usize & 0xFF) + 1) % self.corb_count;
- | ^^^^^^^^^^^^^
- warning: variable `rirbsize_bytes` is assigned to, but never used
- --> ihdad/src/HDA/cmdbuff.rs:246:7
- |
- 246 | let mut rirbsize_bytes: usize = 0;
- | ^^^^^^^^^^^^^^^^^^
- warning: variable `rirbsize` is assigned to, but never used
- --> ihdad/src/HDA/cmdbuff.rs:247:7
- |
- 247 | let mut rirbsize: u8 = 0;
- | ^^^^^^^^^^^^
- warning: value assigned to `rirbsize` is never read
- --> ihdad/src/HDA/cmdbuff.rs:250:4
- |
- 250 | rirbsize = 2;
- | ^^^^^^^^
- warning: value assigned to `rirbsize_bytes` is never read
- --> ihdad/src/HDA/cmdbuff.rs:251:4
- |
- 251 | rirbsize_bytes = 2048;
- | ^^^^^^^^^^^^^^
- warning: value assigned to `rirbsize` is never read
- --> ihdad/src/HDA/cmdbuff.rs:255:4
- |
- 255 | rirbsize = 1;
- | ^^^^^^^^
- warning: value assigned to `rirbsize_bytes` is never read
- --> ihdad/src/HDA/cmdbuff.rs:256:4
- |
- 256 | rirbsize_bytes = 128;
- | ^^^^^^^^^^^^^^
- warning: value assigned to `rirbsize` is never read
- --> ihdad/src/HDA/cmdbuff.rs:260:4
- |
- 260 | rirbsize = 0;
- | ^^^^^^^^
- warning: value assigned to `rirbsize_bytes` is never read
- --> ihdad/src/HDA/cmdbuff.rs:261:4
- |
- 261 | rirbsize_bytes = 16;
- | ^^^^^^^^^^^^^^
- warning: variable does not need to be mutable
- --> ihdad/src/HDA/cmdbuff.rs:301:7
- |
- 301 | let mut read_pos: u16 = (self.rirb_rp + 1) % self.rirb_count as u16;
- | ^^^^^^^^^^^^
- warning: variable does not need to be mutable
- --> ihdad/src/HDA/cmdbuff.rs:303:7
- |
- 303 | let mut res: u64;
- | ^^^^^^^
- warning: unused import: `HDA::IntelHDA`
- --> ihdad/src/main.rs:24:5
- |
- 24 | use HDA::IntelHDA;
- | ^^^^^^^^^^^^^
- warning: unused variable: `device_loop`
- --> ihdad/src/main.rs:89:8
- |
- 89 | let device_loop = device.clone();
- | ^^^^^^^^^^^
- warning: unnecessary `unsafe` block
- --> ihdad/src/main.rs:96:16
- |
- 96 | let _irq = unsafe { device_irq.borrow_mut().irq()};
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unnecessary `unsafe` block
- warning: unreachable expression
- --> ihdad/src/main.rs:186:3
- |
- 186 | unsafe { let _ = syscall::physunmap(address); }
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- |
- = note: #[warn(unreachable_code)] on by default
- Compiling vesad v0.1.0 (file:///home/moony/Projects/redox/cookbook/recipes/drivers/build/vesad)
- Compiling vboxd v0.1.0 (file:///home/moony/Projects/redox/cookbook/recipes/drivers/build/vboxd)
- warning: unused import: `slice`
- --> vboxd/src/main.rs:8:21
- |
- 8 | use std::{env, mem, slice};
- | ^^^^^
- |
- = note: #[warn(unused_imports)] on by default
- warning: method is never used: `read`
- --> vboxd/src/bga.rs:21:5
- |
- 21 | / fn read(&mut self, index: u16) -> u16 {
- 22 | | self.index.write(index);
- 23 | | self.data.read()
- 24 | | }
- | |_____^
- |
- = note: #[warn(dead_code)] on by default
- warning: method is never used: `width`
- --> vboxd/src/bga.rs:31:5
- |
- 31 | / pub fn width(&mut self) -> u16 {
- 32 | | self.read(BGA_INDEX_XRES)
- 33 | | }
- | |_____^
- warning: method is never used: `height`
- --> vboxd/src/bga.rs:35:5
- |
- 35 | / pub fn height(&mut self) -> u16 {
- 36 | | self.read(BGA_INDEX_YRES)
- 37 | | }
- | |_____^
- warning: field is never used: `size`
- --> vboxd/src/main.rs:29:5
- |
- 29 | size: Mmio<u32>,
- | ^^^^^^^^^^^^^^^
- warning: field is never used: `version`
- --> vboxd/src/main.rs:30:5
- |
- 30 | version: Mmio<u32>,
- | ^^^^^^^^^^^^^^^^^^
- warning: field is never used: `result`
- --> vboxd/src/main.rs:45:5
- |
- 45 | result: Mmio<u32>,
- | ^^^^^^^^^^^^^^^^^
- warning: field is never used: `features`
- --> vboxd/src/main.rs:54:5
- |
- 54 | features: Mmio<u32>,
- | ^^^^^^^^^^^^^^^^^^^
- warning: field is never used: `x`
- --> vboxd/src/main.rs:78:5
- |
- 78 | x: Mmio<u32>,
- | ^^^^^^^^^^^^
- warning: field is never used: `y`
- --> vboxd/src/main.rs:79:5
- |
- 79 | y: Mmio<u32>,
- | ^^^^^^^^^^^^
- warning: field is never used: `events`
- --> vboxd/src/main.rs:100:5
- |
- 100 | events: Mmio<u32>,
- | ^^^^^^^^^^^^^^^^^
- warning: field is never used: `bpp`
- --> vboxd/src/main.rs:143:5
- |
- 143 | bpp: Mmio<u32>,
- | ^^^^^^^^^^^^^^
- warning: field is never used: `eventack`
- --> vboxd/src/main.rs:144:5
- |
- 144 | eventack: Mmio<u32>,
- | ^^^^^^^^^^^^^^^^^^^
- Compiling syn v0.11.11
- Compiling ntpclient v0.0.1 (https://github.com/willem66745/ntpclient-rust#7e3bdf60)
- Compiling idna v0.1.4
- Compiling url v1.5.1
- Compiling rayon v0.7.1
- Compiling ring v0.11.0
- Compiling hyper v0.10.12
- Compiling serde_derive_internals v0.15.1
- Compiling webpki v0.14.0
- Compiling serde_derive v1.0.11
- Compiling rustls v0.9.0
- Compiling webpki-roots v0.11.0
- Compiling hyper-rustls v0.6.1
- Compiling netutils v0.1.0 (https://github.com/redox-os/netutils.git#f5ccf723)
- Compiling rtl8168d v0.1.0 (file:///home/moony/Projects/redox/cookbook/recipes/drivers/build/rtl8168d)
- Compiling e1000d v0.1.0 (file:///home/moony/Projects/redox/cookbook/recipes/drivers/build/e1000d)
- Compiling alxd v0.1.0 (file:///home/moony/Projects/redox/cookbook/recipes/drivers/build/alxd)
- warning: unused macro definition
- --> alxd/src/device/mod.rs:1726:9
- |
- 1726 | / macro_rules! goto_out {
- 1727 | | () => {{
- 1728 | | self.free_all_ring_resources();
- 1729 | | self.disable_advanced_intr();
- 1730 | | return err;
- 1731 | | }}
- 1732 | | }
- | |_________^
- |
- = note: #[warn(unused_macros)] on by default
- warning: constant item is never used: `IMS_TXDW`
- --> e1000d/src/device.rs:28:1
- |
- 28 | const IMS_TXDW: u32 = 1;
- | ^^^^^^^^^^^^^^^^^^^^^^^^
- |
- = note: #[warn(dead_code)] on by default
- warning: constant item is never used: `IMS_TXQE`
- --> e1000d/src/device.rs:29:1
- |
- 29 | const IMS_TXQE: u32 = 1 << 1;
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- warning: constant item is never used: `IMS_LSC`
- --> e1000d/src/device.rs:30:1
- |
- 30 | const IMS_LSC: u32 = 1 << 2;
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- warning: constant item is never used: `RCTL_MPE`
- --> e1000d/src/device.rs:39:1
- |
- 39 | const RCTL_MPE: u32 = 1 << 4;
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- warning: constant item is never used: `RD_EOP`
- --> e1000d/src/device.rs:68:1
- |
- 68 | const RD_EOP: u8 = 1 << 1;
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^
- warning: constant item is never used: `TD_DD`
- --> e1000d/src/device.rs:94:1
- |
- 94 | const TD_DD: u8 = 1;
- | ^^^^^^^^^^^^^^^^^^^^
- warning: unreachable expression
- --> e1000d/src/main.rs:133:9
- |
- 133 | unsafe { let _ = syscall::physunmap(address); }
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- |
- = note: #[warn(unreachable_code)] on by default
- warning: unreachable expression
- --> rtl8168d/src/main.rs:137:9
- |
- 137 | unsafe { let _ = syscall::physunmap(address); }
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- |
- = note: #[warn(unreachable_code)] on by default
- warning: value assigned to `val` is never read
- --> alxd/src/device/mod.rs:669:6
- |
- 669 | val = self.read(WOL0);
- | ^^^
- |
- = note: #[warn(unused_assignments)] on by default
- warning: value assigned to `err` is never read
- --> alxd/src/device/mod.rs:1127:6
- |
- 1127 | err = self.read_phy_reg(MII_BMSR, &mut bmsr);
- | ^^^
- warning: value assigned to `val` is never read
- --> alxd/src/device/mod.rs:1282:6
- |
- 1282 | val = self.read(DMA);
- | ^^^
- warning: variable does not need to be mutable
- --> alxd/src/device/mod.rs:1724:13
- |
- 1724 | let mut err: usize = 0;
- | ^^^^^^^
- |
- = note: #[warn(unused_mut)] on by default
- warning: unused variable: `err`
- --> alxd/src/device/mod.rs:1724:13
- |
- 1724 | let mut err: usize = 0;
- | ^^^^^^^
- |
- = note: #[warn(unused_variables)] on by default
- warning: unused variable: `buf`
- --> alxd/src/device/mod.rs:1808:35
- |
- 1808 | fn read(&mut self, id: usize, buf: &mut [u8]) -> Result<usize> {
- | ^^^
- warning: unused variable: `buf`
- --> alxd/src/device/mod.rs:1845:37
- |
- 1845 | fn write(&mut self, _id: usize, buf: &[u8]) -> Result<usize> {
- | ^^^
- warning: unreachable expression
- --> alxd/src/main.rs:138:9
- |
- 138 | unsafe { let _ = syscall::physunmap(address); }
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- |
- = note: #[warn(unreachable_code)] on by default
- Compiling pcid v0.1.0 (file:///home/moony/Projects/redox/cookbook/recipes/drivers/build/pcid)
- Finished release [optimized] target(s) in 365.45 secs
- cook - drivers stage
- cook - drivers unstage
- mkdir: created directory '../stage/etc'
- mkdir: created directory '../stage/etc/pcid'
- 'initfs.toml' -> '../stage/etc/pcid/initfs.toml'
- 'filesystem.toml' -> '../stage/etc/pcid/filesystem.toml'
- copy from `target/x86_64-unknown-redox/release/bgad' [elf64-x86-64] to `../stage/bin/bgad' [elf64-x86-64]
- copy from `target/x86_64-unknown-redox/release/vboxd' [elf64-x86-64] to `../stage/bin/vboxd' [elf64-x86-64]
- copy from `target/x86_64-unknown-redox/release/ps2d' [elf64-x86-64] to `../stage/bin/ps2d' [elf64-x86-64]
- copy from `target/x86_64-unknown-redox/release/nvmed' [elf64-x86-64] to `../stage/bin/nvmed' [elf64-x86-64]
- copy from `target/x86_64-unknown-redox/release/xhcid' [elf64-x86-64] to `../stage/bin/xhcid' [elf64-x86-64]
- copy from `target/x86_64-unknown-redox/release/rtl8168d' [elf64-x86-64] to `../stage/bin/rtl8168d' [elf64-x86-64]
- copy from `target/x86_64-unknown-redox/release/e1000d' [elf64-x86-64] to `../stage/bin/e1000d' [elf64-x86-64]
- copy from `target/x86_64-unknown-redox/release/pcid' [elf64-x86-64] to `../stage/bin/pcid' [elf64-x86-64]
- copy from `target/x86_64-unknown-redox/release/ahcid' [elf64-x86-64] to `../stage/bin/ahcid' [elf64-x86-64]
- copy from `target/x86_64-unknown-redox/release/vesad' [elf64-x86-64] to `../stage/bin/vesad' [elf64-x86-64]
- copy from `target/x86_64-unknown-redox/release/ihdad' [elf64-x86-64] to `../stage/bin/ihdad' [elf64-x86-64]
- copy from `target/x86_64-unknown-redox/release/alxd' [elf64-x86-64] to `../stage/bin/alxd' [elf64-x86-64]
- cook - drivers tar
- cook - drivers version
- 'stage.toml' -> 'stage/pkg/drivers.toml'
- Compiling unicode-segmentation v1.1.0
- Compiling scopeguard v0.3.2
- Compiling untrusted v0.5.0
- Compiling adler32 v1.0.0
- Compiling language-tags v0.2.2
- Compiling rayon-core v1.2.1
- Compiling gcc v0.3.51
- Compiling pkgutils v0.1.1 (file:///home/moony/Projects/redox/cookbook/pkgutils)
- Compiling unicode-xid v0.0.4
- Compiling unicode-normalization v0.1.5
- Compiling typenum v1.9.0
- Compiling byteorder v0.5.3
- Compiling winapi-build v0.1.1
- Compiling typeable v0.1.2
- Compiling either v1.1.0
- Compiling serde v1.0.11
- Compiling vec_map v0.8.0
- Compiling log v0.3.8
- Compiling libc v0.2.28
- Compiling matches v0.1.6
- Compiling httparse v1.2.3
- Compiling traitobject v0.1.0
- Compiling futures v0.1.14
- Compiling winapi v0.2.8
- Compiling unicode-width v0.1.4
- Compiling safemem v0.2.0
- Compiling lazy_static v0.2.8
- Compiling quote v0.3.15
- Compiling version-compare v0.0.4
- Compiling version_check v0.1.3
- Compiling byteorder v1.1.0
- Compiling bitflags v0.9.1
- Compiling percent-encoding v1.0.0
- Compiling synom v0.11.3
- Compiling kernel32-sys v0.2.2
- Compiling coco v0.1.1
- Compiling unicode-bidi v0.3.4
- Compiling mime v0.2.6
- Compiling rand v0.3.16
- Compiling term_size v0.3.0
- Compiling num_cpus v1.6.2
- Compiling xattr v0.1.11
- Compiling time v0.1.38
- Compiling termion v1.5.0
- Compiling base64 v0.6.0
- Compiling libflate v0.1.10
- Compiling base64 v0.5.2
- Compiling syn v0.11.11
- Compiling unicase v1.4.2
- Compiling toml v0.4.4
- Compiling textwrap v0.6.0
- Compiling tar v0.4.13 (https://github.com/redox-os/tar-rs#b71c2202)
- Compiling idna v0.1.4
- Compiling generic-array v0.2.1
- Compiling liner v0.1.5
- Compiling clap v2.25.1
- Compiling rayon v0.7.1
- Compiling pbr v1.0.0 (https://github.com/ids1024/pb?branch=duration#abe4d6e4)
- Compiling static-buffer v0.2.0
- Compiling url v1.5.1
- Compiling serde_derive_internals v0.15.1
- Compiling octavo-digest v0.1.2 (https://github.com/libOctavo/octavo.git#d94d9246)
- Compiling ring v0.11.0
- Compiling octavo v0.1.1 (https://github.com/libOctavo/octavo.git#d94d9246)
- Compiling hyper v0.10.12
- Compiling serde_derive v1.0.11
- Compiling webpki v0.14.0
- Compiling rustls v0.9.0
- Compiling webpki-roots v0.11.0
- Compiling hyper-rustls v0.6.1
- Finished release [optimized] target(s) in 472.98 secs
- Running `/home/moony/Projects/redox/cookbook/pkgutils/target/release/pkg --target=x86_64-unknown-redox create stage`
- pkg: create: stage: "stage.tar.gz"created stage.tar.gz
- repo - preparing init
- cook - init prepare
- repo - building init
- cook - init build
- Compiling redox_syscall v0.1.28
- Compiling init v0.1.0 (file:///home/moony/Projects/redox/cookbook/recipes/init/build)
- Finished release [optimized] target(s) in 6.2 secs
- cook - init stage
- cook - init unstage
- copy from `target/x86_64-unknown-redox/release/init' [elf64-x86-64] to `../stage/bin/init' [elf64-x86-64]
- cook - init tar
- cook - init version
- error: no such subcommand: `config`
- 'stage.toml' -> 'stage/pkg/init.toml'
- Finished release [optimized] target(s) in 0.0 secs
- Running `/home/moony/Projects/redox/cookbook/pkgutils/target/release/pkg --target=x86_64-unknown-redox create stage`
- pkg: create: stage: "stage.tar.gz"created stage.tar.gz
- repo - preparing redoxfs
- cook - redoxfs prepare
- repo - building redoxfs
- cook - redoxfs build
- Compiling spin v0.4.5
- Compiling redox_syscall v0.1.28
- Compiling redoxfs v0.1.2 (file:///home/moony/Projects/redox/cookbook/recipes/redoxfs/build)
- Finished release [optimized] target(s) in 16.76 secs
- cook - redoxfs stage
- cook - redoxfs unstage
- copy from `target/x86_64-unknown-redox/release/redoxfs' [elf64-x86-64] to `../stage/bin/redoxfs' [elf64-x86-64]
- copy from `target/x86_64-unknown-redox/release/redoxfs-mkfs' [elf64-x86-64] to `../stage/bin/redoxfs-mkfs' [elf64-x86-64]
- cook - redoxfs tar
- cook - redoxfs version
- error: no such subcommand: `config`
- 'stage.toml' -> 'stage/pkg/redoxfs.toml'
- Finished release [optimized] target(s) in 0.0 secs
- Running `/home/moony/Projects/redox/cookbook/pkgutils/target/release/pkg --target=x86_64-unknown-redox create stage`
- pkg: create: stage: "stage.tar.gz"created stage.tar.gz
- repo - publishing drivers
- cook - drivers publish
- 'stage.tar.gz' -> '/home/moony/Projects/redox/cookbook/repo/x86_64-unknown-redox/drivers.tar.gz'
- 'stage.sig' -> '/home/moony/Projects/redox/cookbook/repo/x86_64-unknown-redox/drivers.sig'
- 'stage.toml' -> '/home/moony/Projects/redox/cookbook/repo/x86_64-unknown-redox/drivers.toml'
- repo - publishing init
- cook - init publish
- 'stage.tar.gz' -> '/home/moony/Projects/redox/cookbook/repo/x86_64-unknown-redox/init.tar.gz'
- 'stage.sig' -> '/home/moony/Projects/redox/cookbook/repo/x86_64-unknown-redox/init.sig'
- 'stage.toml' -> '/home/moony/Projects/redox/cookbook/repo/x86_64-unknown-redox/init.toml'
- repo - publishing redoxfs
- cook - redoxfs publish
- 'stage.tar.gz' -> '/home/moony/Projects/redox/cookbook/repo/x86_64-unknown-redox/redoxfs.tar.gz'
- 'stage.sig' -> '/home/moony/Projects/redox/cookbook/repo/x86_64-unknown-redox/redoxfs.sig'
- 'stage.toml' -> '/home/moony/Projects/redox/cookbook/repo/x86_64-unknown-redox/redoxfs.toml'
- repo - generating repo.toml
- Installing package drivers
- Installing package init
- Installing package redoxfs
- Create file parent /home/moony/Projects/redox/build/initfs/etc
- Create file /home/moony/Projects/redox/build/initfs/etc/init.rc
- touch build/initfs.tag
- cd kernel && xargo rustc --lib --target x86_64-unknown-none --release -- -C soft-float --emit link=../build/libkernel.a
- Compiling core v0.0.0 (file:///home/moony/Projects/redox/rust/src/libcore)
- Compiling std_unicode v0.0.0 (file:///home/moony/Projects/redox/rust/src/libstd_unicode)
- Compiling alloc v0.0.0 (file:///home/moony/Projects/redox/rust/src/liballoc)
- Finished release [optimized] target(s) in 47.1 secs
- Compiling collections v0.0.0 (file:///home/moony/Projects/redox/rust/src/libcollections)
- Finished release [optimized] target(s) in 0.26 secs
- Compiling x86 v0.7.2
- Compiling gcc v0.3.51
- Compiling scroll v0.5.0
- Compiling spin v0.4.5
- Compiling plain v0.0.2
- Compiling redox_syscall v0.1.28
- Compiling bitflags v0.7.0
- Compiling kernel v0.1.0 (file:///home/moony/Projects/redox/kernel)
- Compiling linked_list_allocator v0.4.1 (https://github.com/redox-os/linked-list-allocator.git#465d15c4)
- warning: function is never used: `main`
- --> build.rs:118:5
- |
- 118 | / fn main() {
- 119 | | println!("cargo:rustc-env=TARGET={}", env::var("TARGET").unwrap());
- 120 | | }
- | |_____^
- |
- = note: #[warn(dead_code)] on by default
- Compiling goblin v0.0.10
- Compiling raw-cpuid v2.0.2
- Compiling alloc_kernel v0.1.0 (file:///home/moony/Projects/redox/kernel/alloc_kernel)
- Compiling raw-cpuid v3.0.0 (https://github.com/gz/rust-cpuid#d8ff30d6)
- warning: use of deprecated item: collections moved to `alloc`
- --> src/lib.rs:29:1
- |
- 29 | extern crate collections;
- | ^^^^^^^^^^^^^^^^^^^^^^^^^
- |
- = note: #[warn(deprecated)] on by default
- warning: unused import: `alloc::boxed::Box`
- --> src/acpi/aml/mod.rs:4:5
- |
- 4 | use alloc::boxed::Box;
- | ^^^^^^^^^^^^^^^^^
- |
- = note: #[warn(unused_imports)] on by default
- warning: unused import: `collections::vec::Vec`
- --> src/acpi/aml/mod.rs:6:5
- |
- 6 | use collections::vec::Vec;
- | ^^^^^^^^^^^^^^^^^^^^^
- warning: unused import: `core::fmt::Debug`
- --> src/acpi/aml/mod.rs:7:5
- |
- 7 | use core::fmt::Debug;
- | ^^^^^^^^^^^^^^^^
- warning: variant is never used: `Uninitialized`
- --> src/acpi/aml/namespace.rs:35:5
- |
- 35 | Uninitialized,
- | ^^^^^^^^^^^^^
- |
- = note: #[warn(dead_code)] on by default
- warning: variant is never used: `Buffer`
- --> src/acpi/aml/namespace.rs:36:5
- |
- 36 | Buffer,
- | ^^^^^^
- warning: variant is never used: `BufferField`
- --> src/acpi/aml/namespace.rs:37:5
- |
- 37 | BufferField,
- | ^^^^^^^^^^^
- warning: variant is never used: `DDBHandle`
- --> src/acpi/aml/namespace.rs:38:5
- |
- 38 | DDBHandle,
- | ^^^^^^^^^
- warning: variant is never used: `DebugObject`
- --> src/acpi/aml/namespace.rs:39:5
- |
- 39 | DebugObject,
- | ^^^^^^^^^^^
- warning: variant is never used: `Device`
- --> src/acpi/aml/namespace.rs:40:5
- |
- 40 | Device,
- | ^^^^^^
- warning: variant is never used: `Event`
- --> src/acpi/aml/namespace.rs:41:5
- |
- 41 | Event,
- | ^^^^^
- warning: variant is never used: `FieldUnit`
- --> src/acpi/aml/namespace.rs:42:5
- |
- 42 | FieldUnit,
- | ^^^^^^^^^
- warning: variant is never used: `Mutex`
- --> src/acpi/aml/namespace.rs:46:5
- |
- 46 | Mutex,
- | ^^^^^
- warning: variant is never used: `ObjectReference`
- --> src/acpi/aml/namespace.rs:47:5
- |
- 47 | ObjectReference,
- | ^^^^^^^^^^^^^^^
- warning: variant is never used: `OperationRegion`
- --> src/acpi/aml/namespace.rs:48:5
- |
- 48 | OperationRegion,
- | ^^^^^^^^^^^^^^^
- warning: variant is never used: `String`
- --> src/acpi/aml/namespace.rs:50:5
- |
- 50 | String,
- | ^^^^^^
- warning: variant is never used: `PowerResource`
- --> src/acpi/aml/namespace.rs:51:5
- |
- 51 | PowerResource,
- | ^^^^^^^^^^^^^
- warning: variant is never used: `Processor`
- --> src/acpi/aml/namespace.rs:52:5
- |
- 52 | Processor,
- | ^^^^^^^^^
- warning: variant is never used: `RawDataBuffer`
- --> src/acpi/aml/namespace.rs:53:5
- |
- 53 | RawDataBuffer,
- | ^^^^^^^^^^^^^
- warning: variant is never used: `ThermalZone`
- --> src/acpi/aml/namespace.rs:54:5
- |
- 54 | ThermalZone
- | ^^^^^^^^^^^
- warning: method is never used: `push`
- --> src/acpi/aml/namespace.rs:150:5
- |
- 150 | / pub fn push(&mut self, val: AmlNamespaceContents) {
- 151 | | match self.contents {
- 152 | | AmlNamespaceContents::Namespace(ref mut v) => v.push(val),
- 153 | | _ => () // TODO: Error this
- 154 | | }
- 155 | | }
- | |_____^
- warning: variable does not need to be mutable
- --> src/acpi/aml/namespace.rs:211:21
- |
- 211 | let mut next = AmlNamespace {
- | ^^^^^^^^
- |
- = note: #[warn(unused_mut)] on by default
- warning: unused import: `get_namespace_string`
- --> src/acpi/aml/termlist.rs:5:70
- |
- 5 | use super::{AmlInternalError, AmlExecutable, AmlValue, AmlNamespace, get_namespace_string};
- | ^^^^^^^^^^^^^^^^^^^^
- warning: unused variable: `l`
- --> src/acpi/aml/termlist.rs:53:31
- |
- 53 | TermArg::LocalObj(ref l) => Some(AmlValue::Integer),
- | ^^^^^
- |
- = note: #[warn(unused_variables)] on by default
- warning: unused variable: `a`
- --> src/acpi/aml/termlist.rs:55:29
- |
- 55 | TermArg::ArgObj(ref a) => Some(AmlValue::Integer),
- | ^^^^^
- warning: unused variable: `o`
- --> src/acpi/aml/termlist.rs:56:34
- |
- 56 | TermArg::Type2Opcode(ref o) => Some(AmlValue::Integer)
- | ^^^^^
- warning: unused variable: `name`
- --> src/acpi/aml/termlist.rs:121:10
- |
- 121 | let (name, name_len) = parse_name_string(data)?;
- | ^^^^
- warning: unused variable: `name_len`
- --> src/acpi/aml/termlist.rs:121:16
- |
- 121 | let (name, name_len) = parse_name_string(data)?;
- | ^^^^^^^^
- warning: unused import: `alloc::boxed::Box`
- --> src/acpi/aml/namespacemodifier.rs:1:5
- |
- 1 | use alloc::boxed::Box;
- | ^^^^^^^^^^^^^^^^^
- warning: the `name:` in this pattern is redundant and can be removed
- --> src/acpi/aml/namespacemodifier.rs:31:40
- |
- 31 | NamespaceModifier::Scope { name: ref name, terms: ref terms } => {
- | ^^^^^^^^^^^^^^
- |
- = note: #[warn(non_shorthand_field_patterns)] on by default
- warning: the `terms:` in this pattern is redundant and can be removed
- --> src/acpi/aml/namespacemodifier.rs:31:56
- |
- 31 | NamespaceModifier::Scope { name: ref name, terms: ref terms } => {
- | ^^^^^^^^^^^^^^^^
- warning: unused import: `alloc::boxed::Box`
- --> src/acpi/aml/namedobj.rs:1:5
- |
- 1 | use alloc::boxed::Box;
- | ^^^^^^^^^^^^^^^^^
- warning: unused variable: `name_seg_len`
- --> src/acpi/aml/namedobj.rs:589:20
- |
- 589 | let (name_seg, name_seg_len) = parse_name_seg(&data[0..4])?;
- | ^^^^^^^^^^^^
- warning: unused import: `get_namespace_string`
- --> src/acpi/aml/dataobj.rs:4:70
- |
- 4 | use super::{AmlInternalError, AmlExecutable, AmlValue, AmlNamespace, get_namespace_string};
- | ^^^^^^^^^^^^^^^^^^^^
- warning: unused variable: `namespace`
- --> src/acpi/aml/dataobj.rs:65:23
- |
- 65 | fn execute(&self, namespace: &mut AmlNamespace, scope: String) -> Option<AmlValue> {
- | ^^^^^^^^^
- warning: unused variable: `scope`
- --> src/acpi/aml/dataobj.rs:65:53
- |
- 65 | fn execute(&self, namespace: &mut AmlNamespace, scope: String) -> Option<AmlValue> {
- | ^^^^^
- warning: unused import: `alloc::boxed::Box`
- --> src/acpi/aml/type1opcode.rs:1:5
- |
- 1 | use alloc::boxed::Box;
- | ^^^^^^^^^^^^^^^^^
- warning: unused variable: `namespace`
- --> src/acpi/aml/type1opcode.rs:48:23
- |
- 48 | fn execute(&self, namespace: &mut AmlNamespace, scope: String) -> Option<AmlValue> {
- | ^^^^^^^^^
- warning: unused variable: `scope`
- --> src/acpi/aml/type1opcode.rs:48:53
- |
- 48 | fn execute(&self, namespace: &mut AmlNamespace, scope: String) -> Option<AmlValue> {
- | ^^^^^
- warning: unused variable: `namespace`
- --> src/acpi/aml/type2opcode.rs:204:23
- |
- 204 | fn execute(&self, namespace: &mut AmlNamespace, scope: String) -> Option<AmlValue> {
- | ^^^^^^^^^
- warning: unused variable: `scope`
- --> src/acpi/aml/type2opcode.rs:204:53
- |
- 204 | fn execute(&self, namespace: &mut AmlNamespace, scope: String) -> Option<AmlValue> {
- | ^^^^^
- warning: unused variable: `num_elements`
- --> src/acpi/aml/type2opcode.rs:278:35
- |
- 278 | DefPackage::Package { ref num_elements, ref elements } => {
- | ^^^^^^^^^^^^^^^^
- warning: unused import: `TermObj`
- --> src/acpi/aml/mod.rs:25:39
- |
- 25 | use self::termlist::{parse_term_list, TermObj};
- | ^^^^^^^
- warning: unused import: `core::mem`
- --> src/context/file.rs:6:5
- |
- 6 | use core::mem;
- | ^^^^^^^^^
- warning: unused imports: `Io`, `Pio`
- --> src/device/mod.rs:3:19
- |
- 3 | use syscall::io::{Pio, Io};
- | ^^^ ^^
- warning: field is never used: `header`
- --> src/elf.rs:133:5
- |
- 133 | header: &'a header::Header,
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^
- warning: found struct without foreign-function-safe representation annotation in foreign module, consider adding a #[repr(C)] attribute to the type
- --> src/interrupt/syscall.rs:6:103
- |
- 6 | fn syscall(a: usize, b: usize, c: usize, d: usize, e: usize, f: usize, rbp: usize, stack: &mut SyscallStack) -> usize;
- | ^^^^^^^^^^^^^^^^^
- |
- = note: #[warn(improper_ctypes)] on by default
- warning: unnecessary `unsafe` block
- --> src/paging/mod.rs:129:17
- |
- 129 | unsafe { result.ignore(); }
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ unnecessary `unsafe` block
- |
- = note: #[warn(unused_unsafe)] on by default
- note: because it's nested under this `unsafe` fn
- --> src/paging/mod.rs:81:1
- |
- 81 | / pub unsafe fn init(cpu_id: usize, kernel_start: usize, kernel_end: usize, stack_start: usize, stack_end: usize) -> (ActivePageTable, usize) {
- 82 | | extern {
- 83 | | /// The starting byte of the text (code) data segment.
- 84 | | static mut __text_start: u8;
- ... |
- 196 | | (active_table, init_tcb(cpu_id))
- 197 | | }
- | |_^
- warning: unnecessary `unsafe` block
- --> src/paging/mod.rs:171:17
- |
- 171 | unsafe { result.ignore(); }
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ unnecessary `unsafe` block
- |
- note: because it's nested under this `unsafe` fn
- --> src/paging/mod.rs:81:1
- |
- 81 | / pub unsafe fn init(cpu_id: usize, kernel_start: usize, kernel_end: usize, stack_start: usize, stack_end: usize) -> (ActivePageTable, usize) {
- 82 | | extern {
- 83 | | /// The starting byte of the text (code) data segment.
- 84 | | static mut __text_start: u8;
- ... |
- 196 | | (active_table, init_tcb(cpu_id))
- 197 | | }
- | |_^
- note: link against the following native artifacts when linking against this static library
- note: the order and any duplication can be significant on some platforms, and so may need to be preserved
- Finished release [optimized] target(s) in 153.73 secs
- ld --gc-sections -z max-page-size=0x1000 -T kernel/linkers/x86_64.ld -o build/kernel build/libkernel.a
- fusermount -u build/filesystem/ || true
- fusermount: entry for /home/moony/Projects/redox/build/filesystem not found in /etc/mtab
- rm -rf build/filesystem.bin build/filesystem.bin.partial build/filesystem/
- dd if=/dev/zero of=build/filesystem.bin.partial bs=1048576 count=512
- 512+0 records in
- 512+0 records out
- 536870912 bytes (537 MB, 512 MiB) copied, 0.69142 s, 776 MB/s
- cargo run --manifest-path redoxfs/Cargo.toml --quiet --release --bin redoxfs-mkfs build/filesystem.bin.partial
- redoxfs-mkfs: created filesystem on build/filesystem.bin.partial, size 512 MB
- mkdir -p build/filesystem/
- cargo build --manifest-path redoxfs/Cargo.toml --quiet --release --bin redoxfs
- cargo run --manifest-path redoxfs/Cargo.toml --quiet --release --bin redoxfs -- build/filesystem.bin.partial build/filesystem/
- redoxfs: opened filesystem build/filesystem.bin.partial
- sleep 2
- pgrep redoxfs
- 29997
- cp build/kernel build/filesystem/kernel
- cargo run --manifest-path installer/Cargo.toml -- --cookbook=cookbook filesystem.toml
- Finished dev [unoptimized + debuginfo] target(s) in 0.0 secs
- Running `installer/target/debug/redox_installer --cookbook=cookbook filesystem.toml`
- Install Config {
- general: GeneralConfig {
- prompt: false,
- sysroot: Some(
- "build/filesystem"
- )
- },
- packages: {
- "coreutils": PackageConfig {
- version: None,
- git: None,
- path: None
- },
- "drivers": PackageConfig {
- version: None,
- git: None,
- path: None
- },
- "extrautils": PackageConfig {
- version: None,
- git: None,
- path: None
- },
- "findutils": PackageConfig {
- version: None,
- git: None,
- path: None
- },
- "ion": PackageConfig {
- version: None,
- git: None,
- path: None
- },
- "netstack": PackageConfig {
- version: None,
- git: None,
- path: None
- },
- "netutils": PackageConfig {
- version: None,
- git: None,
- path: None
- },
- "orbdata": PackageConfig {
- version: None,
- git: None,
- path: None
- },
- "orbital": PackageConfig {
- version: None,
- git: None,
- path: None
- },
- "orbterm": PackageConfig {
- version: None,
- git: None,
- path: None
- },
- "orbutils": PackageConfig {
- version: None,
- git: None,
- path: None
- },
- "pkgutils": PackageConfig {
- version: None,
- git: None,
- path: None
- },
- "ptyd": PackageConfig {
- version: None,
- git: None,
- path: None
- },
- "randd": PackageConfig {
- version: None,
- git: None,
- path: None
- },
- "smith": PackageConfig {
- version: None,
- git: None,
- path: None
- },
- "userutils": PackageConfig {
- version: None,
- git: None,
- path: None
- }
- },
- files: [
- FileConfig {
- path: "/etc/init.d/00_base",
- data: "pcid /etc/pcid/filesystem.toml\nrandd\nptyd\n"
- },
- FileConfig {
- path: "/etc/init.d/10_net",
- data: "ethernetd\nipd\nicmpd\ntcpd\nudpd\ndhcpd -b\n"
- },
- FileConfig {
- path: "/etc/init.d/20_orbital",
- data: "orbital display:3/activate orblogin launcher\n"
- },
- FileConfig {
- path: "/etc/init.d/30_console",
- data: "getty display:2\ngetty debug: -J\n"
- },
- FileConfig {
- path: "/etc/net/dns",
- data: "208.67.222.222\n"
- },
- FileConfig {
- path: "/etc/net/ip",
- data: "10.0.2.15\n"
- },
- FileConfig {
- path: "/etc/net/ip_router",
- data: "10.0.2.2\n"
- },
- FileConfig {
- path: "/etc/net/ip_subnet",
- data: "255.255.255.0\n"
- },
- FileConfig {
- path: "/etc/net/mac",
- data: "54-52-00-ab-cd-ef\n"
- },
- FileConfig {
- path: "/etc/pkg.d/50_redox",
- data: "https://static.redox-os.org/pkg"
- },
- FileConfig {
- path: "/etc/group",
- data: "root;0;root\nuser;1000;user\nsudo;1;user\n"
- },
- FileConfig {
- path: "/etc/hostname",
- data: "redox\n"
- },
- FileConfig {
- path: "/etc/issue",
- data: "########## Redox OS ##########\n# Login with the following: #\n# `user` #\n# `root`:`password` #\n##############################\n\n"
- },
- FileConfig {
- path: "/etc/motd",
- data: "Welcome to Redox OS!\n\n"
- },
- FileConfig {
- path: "/home/user/.ionrc",
- data: ""
- },
- FileConfig {
- path: "/root/.ionrc",
- data: ""
- }
- ],
- users: {
- "root": UserConfig {
- password: Some(
- "$argon2i$m=4096,t=10,p=1$Tnc4UVV0N00$ML9LIOujd3nmAfkAwEcSTMPqakWUF0OUiLWrIy0nGLk"
- ),
- uid: Some(
- 0
- ),
- gid: Some(
- 0
- ),
- name: Some(
- "root"
- ),
- home: Some(
- "/root"
- ),
- shell: None
- },
- "user": UserConfig {
- password: Some(
- ""
- ),
- uid: None,
- gid: None,
- name: None,
- home: None,
- shell: None
- }
- }
- }
- Create directory /home/moony/Projects/redox/build/filesystem/
- repo - preparing coreutils
- cook - coreutils prepare
- repo - building coreutils
- cook - coreutils build
- Compiling scoped_threadpool v0.1.7
- Compiling redox_syscall v0.1.28
- Compiling libc v0.2.28
- Compiling unicode-width v0.1.4
- Compiling constant_time_eq v0.1.2
- Compiling same-file v0.1.3
- Compiling byteorder v1.1.0
- Compiling safemem v0.2.0
- Compiling arg_parser v0.1.0 (https://github.com/redox-os/arg-parser.git#ed88287e)
- Compiling extra v0.1.0 (https://github.com/redox-os/libextra.git#40293208)
- Compiling rand v0.3.16
- Compiling blake2-rfc v0.2.17
- Compiling walkdir v1.0.7
- Compiling redox_termios v0.1.0
- Compiling time v0.1.38
- Compiling filetime v0.1.10 (https://github.com/alexcrichton/filetime.git#143c1cf9)
- Compiling base64 v0.6.0
- Compiling termion v1.5.0
- Compiling termion v1.4.0 (https://github.com/redox-os/termion.git#63d2464a)
- Compiling argon2rs v0.2.5
- Compiling liner v0.1.5
- Compiling userutils v0.1.0 (https://github.com/redox-os/userutils.git#c05f37f6)
- Compiling coreutils v0.1.0 (file:///home/moony/Projects/redox/cookbook/recipes/coreutils/build)
- Finished release [optimized] target(s) in 166.25 secs
- cook - coreutils stage
- cook - coreutils unstage
- copy from `target/x86_64-unknown-redox/release/base64' [elf64-x86-64] to `../stage/bin/base64' [elf64-x86-64]
- copy from `target/x86_64-unknown-redox/release/cat' [elf64-x86-64] to `../stage/bin/cat' [elf64-x86-64]
- copy from `target/x86_64-unknown-redox/release/dirname' [elf64-x86-64] to `../stage/bin/dirname' [elf64-x86-64]
- copy from `target/x86_64-unknown-redox/release/ln' [elf64-x86-64] to `../stage/bin/ln' [elf64-x86-64]
- copy from `target/x86_64-unknown-redox/release/rm' [elf64-x86-64] to `../stage/bin/rm' [elf64-x86-64]
- copy from `target/x86_64-unknown-redox/release/readlink' [elf64-x86-64] to `../stage/bin/readlink' [elf64-x86-64]
- copy from `target/x86_64-unknown-redox/release/yes' [elf64-x86-64] to `../stage/bin/yes' [elf64-x86-64]
- copy from `target/x86_64-unknown-redox/release/which' [elf64-x86-64] to `../stage/bin/which' [elf64-x86-64]
- copy from `target/x86_64-unknown-redox/release/true' [elf64-x86-64] to `../stage/bin/true' [elf64-x86-64]
- copy from `target/x86_64-unknown-redox/release/uname' [elf64-x86-64] to `../stage/bin/uname' [elf64-x86-64]
- copy from `target/x86_64-unknown-redox/release/touch' [elf64-x86-64] to `../stage/bin/touch' [elf64-x86-64]
- copy from `target/x86_64-unknown-redox/release/printenv' [elf64-x86-64] to `../stage/bin/printenv' [elf64-x86-64]
- copy from `target/x86_64-unknown-redox/release/uptime' [elf64-x86-64] to `../stage/bin/uptime' [elf64-x86-64]
- copy from `target/x86_64-unknown-redox/release/stat' [elf64-x86-64] to `../stage/bin/stat' [elf64-x86-64]
- copy from `target/x86_64-unknown-redox/release/test' [elf64-x86-64] to `../stage/bin/test' [elf64-x86-64]
- copy from `target/x86_64-unknown-redox/release/false' [elf64-x86-64] to `../stage/bin/false' [elf64-x86-64]
- copy from `target/x86_64-unknown-redox/release/tail' [elf64-x86-64] to `../stage/bin/tail' [elf64-x86-64]
- copy from `target/x86_64-unknown-redox/release/env' [elf64-x86-64] to `../stage/bin/env' [elf64-x86-64]
- copy from `target/x86_64-unknown-redox/release/sleep' [elf64-x86-64] to `../stage/bin/sleep' [elf64-x86-64]
- copy from `target/x86_64-unknown-redox/release/rmdir' [elf64-x86-64] to `../stage/bin/rmdir' [elf64-x86-64]
- copy from `target/x86_64-unknown-redox/release/sort' [elf64-x86-64] to `../stage/bin/sort' [elf64-x86-64]
- copy from `target/x86_64-unknown-redox/release/shutdown' [elf64-x86-64] to `../stage/bin/shutdown' [elf64-x86-64]
- copy from `target/x86_64-unknown-redox/release/kill' [elf64-x86-64] to `../stage/bin/kill' [elf64-x86-64]
- copy from `target/x86_64-unknown-redox/release/tr' [elf64-x86-64] to `../stage/bin/tr' [elf64-x86-64]
- copy from `target/x86_64-unknown-redox/release/cut' [elf64-x86-64] to `../stage/bin/cut' [elf64-x86-64]
- copy from `target/x86_64-unknown-redox/release/free' [elf64-x86-64] to `../stage/bin/free' [elf64-x86-64]
- copy from `target/x86_64-unknown-redox/release/reset' [elf64-x86-64] to `../stage/bin/reset' [elf64-x86-64]
- copy from `target/x86_64-unknown-redox/release/time' [elf64-x86-64] to `../stage/bin/time' [elf64-x86-64]
- copy from `target/x86_64-unknown-redox/release/du' [elf64-x86-64] to `../stage/bin/du' [elf64-x86-64]
- copy from `target/x86_64-unknown-redox/release/ps' [elf64-x86-64] to `../stage/bin/ps' [elf64-x86-64]
- copy from `target/x86_64-unknown-redox/release/cp' [elf64-x86-64] to `../stage/bin/cp' [elf64-x86-64]
- copy from `target/x86_64-unknown-redox/release/date' [elf64-x86-64] to `../stage/bin/date' [elf64-x86-64]
- copy from `target/x86_64-unknown-redox/release/mv' [elf64-x86-64] to `../stage/bin/mv' [elf64-x86-64]
- copy from `target/x86_64-unknown-redox/release/pwd' [elf64-x86-64] to `../stage/bin/pwd' [elf64-x86-64]
- copy from `target/x86_64-unknown-redox/release/uniq' [elf64-x86-64] to `../stage/bin/uniq' [elf64-x86-64]
- copy from `target/x86_64-unknown-redox/release/ls' [elf64-x86-64] to `../stage/bin/ls' [elf64-x86-64]
- copy from `target/x86_64-unknown-redox/release/head' [elf64-x86-64] to `../stage/bin/head' [elf64-x86-64]
- copy from `target/x86_64-unknown-redox/release/seq' [elf64-x86-64] to `../stage/bin/seq' [elf64-x86-64]
- copy from `target/x86_64-unknown-redox/release/mkdir' [elf64-x86-64] to `../stage/bin/mkdir' [elf64-x86-64]
- copy from `target/x86_64-unknown-redox/release/realpath' [elf64-x86-64] to `../stage/bin/realpath' [elf64-x86-64]
- copy from `target/x86_64-unknown-redox/release/echo' [elf64-x86-64] to `../stage/bin/echo' [elf64-x86-64]
- copy from `target/x86_64-unknown-redox/release/df' [elf64-x86-64] to `../stage/bin/df' [elf64-x86-64]
- copy from `target/x86_64-unknown-redox/release/tee' [elf64-x86-64] to `../stage/bin/tee' [elf64-x86-64]
- copy from `target/x86_64-unknown-redox/release/basename' [elf64-x86-64] to `../stage/bin/basename' [elf64-x86-64]
- copy from `target/x86_64-unknown-redox/release/chmod' [elf64-x86-64] to `../stage/bin/chmod' [elf64-x86-64]
- copy from `target/x86_64-unknown-redox/release/dd' [elf64-x86-64] to `../stage/bin/dd' [elf64-x86-64]
- copy from `target/x86_64-unknown-redox/release/wc' [elf64-x86-64] to `../stage/bin/wc' [elf64-x86-64]
- copy from `target/x86_64-unknown-redox/release/clear' [elf64-x86-64] to `../stage/bin/clear' [elf64-x86-64]
- cook - coreutils tar
- cook - coreutils version
- error: no such subcommand: `config`
- 'stage.toml' -> 'stage/pkg/coreutils.toml'
- Finished release [optimized] target(s) in 0.0 secs
- Running `/home/moony/Projects/redox/cookbook/pkgutils/target/release/pkg --target=x86_64-unknown-redox create stage`
- pkg: create: stage: "stage.tar.gz"created stage.tar.gz
- repo - drivers up to date
- repo - preparing extrautils
- cook - extrautils prepare
- repo - building extrautils
- cook - extrautils build
- Compiling libc v0.2.28
- Compiling extra v0.1.0 (https://github.com/redox-os/libextra.git#40293208)
- Compiling byteorder v1.1.0
- Compiling redox_syscall v0.1.28
- Compiling bitflags v0.7.0
- Compiling adler32 v1.0.0
- Compiling tar v0.4.13 (https://github.com/redox-os/tar-rs.git#b71c2202)
- Compiling raw-cpuid v2.0.2
- Compiling redox_termios v0.1.0
- Compiling libflate v0.1.10
- Compiling termion v1.4.0 (https://github.com/redox-os/termion.git#63d2464a)
- Compiling termion v1.5.0
- Compiling pager v0.1.0 (https://github.com/redox-os/libpager.git#62b01eba)
- Compiling extrautils v0.1.0 (file:///home/moony/Projects/redox/cookbook/recipes/extrautils/build)
- Finished release [optimized] target(s) in 61.77 secs
- cook - extrautils stage
- cook - extrautils unstage
- copy from `target/x86_64-unknown-redox/release/keymap' [elf64-x86-64] to `../stage/bin/keymap' [elf64-x86-64]
- copy from `target/x86_64-unknown-redox/release/watch' [elf64-x86-64] to `../stage/bin/watch' [elf64-x86-64]
- copy from `target/x86_64-unknown-redox/release/mtxt' [elf64-x86-64] to `../stage/bin/mtxt' [elf64-x86-64]
- copy from `target/x86_64-unknown-redox/release/man' [elf64-x86-64] to `../stage/bin/man' [elf64-x86-64]
- copy from `target/x86_64-unknown-redox/release/rem' [elf64-x86-64] to `../stage/bin/rem' [elf64-x86-64]
- copy from `target/x86_64-unknown-redox/release/gzip' [elf64-x86-64] to `../stage/bin/gzip' [elf64-x86-64]
- copy from `target/x86_64-unknown-redox/release/less' [elf64-x86-64] to `../stage/bin/less' [elf64-x86-64]
- copy from `target/x86_64-unknown-redox/release/dmesg' [elf64-x86-64] to `../stage/bin/dmesg' [elf64-x86-64]
- copy from `target/x86_64-unknown-redox/release/resize' [elf64-x86-64] to `../stage/bin/resize' [elf64-x86-64]
- copy from `target/x86_64-unknown-redox/release/mdless' [elf64-x86-64] to `../stage/bin/mdless' [elf64-x86-64]
- copy from `target/x86_64-unknown-redox/release/grep' [elf64-x86-64] to `../stage/bin/grep' [elf64-x86-64]
- copy from `target/x86_64-unknown-redox/release/info' [elf64-x86-64] to `../stage/bin/info' [elf64-x86-64]
- copy from `target/x86_64-unknown-redox/release/cksum' [elf64-x86-64] to `../stage/bin/cksum' [elf64-x86-64]
- copy from `target/x86_64-unknown-redox/release/screenfetch' [elf64-x86-64] to `../stage/bin/screenfetch' [elf64-x86-64]
- copy from `target/x86_64-unknown-redox/release/cur' [elf64-x86-64] to `../stage/bin/cur' [elf64-x86-64]
- copy from `target/x86_64-unknown-redox/release/gunzip' [elf64-x86-64] to `../stage/bin/gunzip' [elf64-x86-64]
- copy from `target/x86_64-unknown-redox/release/tar' [elf64-x86-64] to `../stage/bin/tar' [elf64-x86-64]
- copy from `target/x86_64-unknown-redox/release/calc' [elf64-x86-64] to `../stage/bin/calc' [elf64-x86-64]
- cook - extrautils tar
- cook - extrautils version
- error: no such subcommand: `config`
- 'stage.toml' -> 'stage/pkg/extrautils.toml'
- Finished release [optimized] target(s) in 0.0 secs
- Running `/home/moony/Projects/redox/cookbook/pkgutils/target/release/pkg --target=x86_64-unknown-redox create stage`
- pkg: create: stage: "stage.tar.gz"created stage.tar.gz
- repo - preparing findutils
- cook - findutils prepare
- repo - building findutils
- cook - findutils build
- Compiling regex-syntax v0.4.0
- Compiling utf8-ranges v1.0.0
- Compiling thread-id v3.0.0
- Compiling void v1.0.2
- error[E0425]: cannot find function `get_internal` in this scope
- --> /home/moony/.cargo/registry/src/github.com-1ecc6299db9ec823/thread-id-3.0.0/src/lib.rs:41:5
- |
- 41 | get_internal()
- | ^^^^^^^^^^^^ not found in this scope
- error: aborting due to previous error
- error: Could not compile `thread-id`.
- warning: build failed, waiting for other jobs to finish...
- error: build failed
- ./repo.sh failed.mk/filesystem.mk:2: recipe for target 'build/filesystem.bin' failed
- make: *** [build/filesystem.bin] Error 1
Add Comment
Please, Sign In to add comment