Guest User

Untitled

a guest
Jul 29th, 2017
329
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 73.66 KB | None | 0 0
  1. ➜ redox git:(master) ✗ make all
  2. cd kernel && xargo clean
  3. rm -rf build/initfs
  4. cargo run --manifest-path installer/Cargo.toml -- --cookbook=cookbook initfs.toml
  5. Compiling arg_parser v0.1.0 (https://github.com/redox-os/arg-parser.git#ed88287e)
  6. Compiling quote v0.3.15
  7. Compiling redox_syscall v0.1.28
  8. Compiling constant_time_eq v0.1.2
  9. Compiling winapi-build v0.1.1
  10. Compiling winapi v0.2.8
  11. Compiling byteorder v1.1.0
  12. Compiling rayon-core v1.2.1
  13. Compiling libc v0.2.28
  14. Compiling extra v0.1.0 (https://github.com/redox-os/libextra.git#40293208)
  15. Compiling httparse v1.2.3
  16. Compiling futures v0.1.14
  17. Compiling unicode-width v0.1.4
  18. Compiling adler32 v1.0.0
  19. Compiling pkgutils v0.1.1 (https://github.com/redox-os/pkgutils.git#baf57e81)
  20. Compiling untrusted v0.5.0
  21. Compiling bitflags v0.9.1
  22. Compiling lazy_static v0.2.8
  23. Compiling unicode-xid v0.0.4
  24. Compiling matches v0.1.6
  25. Compiling typeable v0.1.2
  26. Compiling unicode-segmentation v1.1.0
  27. Compiling safemem v0.2.0
  28. Compiling gcc v0.3.51
  29. Compiling serde v1.0.11
  30. Compiling either v1.1.0
  31. Compiling scoped_threadpool v0.1.7
  32. Compiling version_check v0.1.3
  33. Compiling typenum v1.9.0
  34. Compiling version-compare v0.0.4
  35. Compiling serde v0.8.23
  36. Compiling vec_map v0.8.0
  37. Compiling log v0.3.8
  38. Compiling unicode-normalization v0.1.5
  39. Compiling byteorder v0.5.3
  40. Compiling traitobject v0.1.0
  41. Compiling language-tags v0.2.2
  42. Compiling scopeguard v0.3.2
  43. Compiling percent-encoding v1.0.0
  44. Compiling blake2-rfc v0.2.17
  45. Compiling redox_termios v0.1.0
  46. Compiling kernel32-sys v0.2.2
  47. Compiling base64 v0.5.2
  48. Compiling termion v1.5.0
  49. Compiling term_size v0.3.0
  50. Compiling num_cpus v1.6.2
  51. Compiling time v0.1.38
  52. Compiling rand v0.3.16
  53. Compiling xattr v0.1.11
  54. Compiling libflate v0.1.10
  55. Compiling syn v0.10.8
  56. Compiling synom v0.11.3
  57. Compiling unicode-bidi v0.3.4
  58. Compiling base64 v0.6.0
  59. Compiling unicase v1.4.2
  60. Compiling mime v0.2.6
  61. Compiling coco v0.1.1
  62. Compiling argon2rs v0.2.5
  63. Compiling toml v0.4.4
  64. Compiling textwrap v0.6.0
  65. Compiling toml v0.2.1
  66. Compiling liner v0.1.5
  67. Compiling tar v0.4.13 (https://github.com/redox-os/tar-rs#b71c2202)
  68. Compiling syn v0.11.11
  69. Compiling idna v0.1.4
  70. Compiling clap v2.25.1
  71. Compiling serde_codegen_internals v0.11.3
  72. Compiling userutils v0.1.0 (https://github.com/redox-os/userutils.git#d0e22dd1)
  73. Compiling pbr v1.0.0 (https://github.com/ids1024/pb?branch=duration#abe4d6e4)
  74. Compiling generic-array v0.2.1
  75. Compiling url v1.5.1
  76. Compiling rayon v0.7.1
  77. Compiling serde_codegen v0.8.23
  78. Compiling static-buffer v0.2.0
  79. Compiling serde_derive_internals v0.15.1
  80. Compiling ring v0.11.0
  81. Compiling octavo-digest v0.1.2 (https://github.com/libOctavo/octavo.git#d94d9246)
  82. Compiling hyper v0.10.12
  83. Compiling serde_derive v1.0.11
  84. Compiling serde_derive v0.8.23
  85. Compiling octavo v0.1.1 (https://github.com/libOctavo/octavo.git#d94d9246)
  86. Compiling webpki v0.14.0
  87. Compiling webpki-roots v0.11.0
  88. Compiling rustls v0.9.0
  89. Compiling hyper-rustls v0.6.1
  90. Compiling redox_installer v0.1.0 (file:///home/moony/Projects/redox/installer)
  91. Finished dev [unoptimized + debuginfo] target(s) in 192.51 secs
  92. Running `installer/target/debug/redox_installer --cookbook=cookbook initfs.toml`
  93. Install Config {
  94. general: GeneralConfig {
  95. prompt: false,
  96. sysroot: Some(
  97. "build/initfs"
  98. )
  99. },
  100. packages: {
  101. "drivers": PackageConfig {
  102. version: None,
  103. git: None,
  104. path: None
  105. },
  106. "init": PackageConfig {
  107. version: None,
  108. git: None,
  109. path: None
  110. },
  111. "redoxfs": PackageConfig {
  112. version: None,
  113. git: None,
  114. path: None
  115. }
  116. },
  117. files: [
  118. FileConfig {
  119. path: "/etc/init.rc",
  120. 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"
  121. }
  122. ],
  123. users: {}
  124. }
  125. Create directory /home/moony/Projects/redox/build/initfs/
  126. repo - preparing drivers
  127. cook - drivers prepare
  128. repo - building drivers
  129. cook - drivers build
  130. Updating registry `https://github.com/rust-lang/crates.io-index`
  131. Compiling unwind v0.0.0 (file:///home/moony/Projects/redox/rust/src/libunwind)
  132. Compiling core v0.0.0 (file:///home/moony/Projects/redox/rust/src/libcore)
  133. Compiling gcc v0.3.51
  134. Compiling libc v0.0.0 (file:///home/moony/Projects/redox/rust/src/rustc/libc_shim)
  135. Compiling libc v0.2.28
  136. Compiling filetime v0.1.10
  137. Compiling build_helper v0.1.0 (file:///home/moony/Projects/redox/rust/src/build_helper)
  138. Compiling compiler_builtins v0.0.0 (file:///home/moony/Projects/redox/rust/src/rustc/compiler_builtins_shim)
  139. Compiling std v0.0.0 (file:///home/moony/Projects/redox/rust/src/libstd)
  140. Compiling std_unicode v0.0.0 (file:///home/moony/Projects/redox/rust/src/libstd_unicode)
  141. Compiling rand v0.0.0 (file:///home/moony/Projects/redox/rust/src/librand)
  142. Compiling panic_abort v0.0.0 (file:///home/moony/Projects/redox/rust/src/libpanic_abort)
  143. Compiling alloc v0.0.0 (file:///home/moony/Projects/redox/rust/src/liballoc)
  144. Compiling alloc_system v0.0.0 (file:///home/moony/Projects/redox/rust/src/liballoc_system)
  145. Compiling collections v0.0.0 (file:///home/moony/Projects/redox/rust/src/libcollections)
  146. Compiling panic_unwind v0.0.0 (file:///home/moony/Projects/redox/rust/src/libpanic_unwind)
  147. warning: dropping unsupported crate type `dylib` for target `x86_64-unknown-redox`
  148.  
  149. Finished release [optimized] target(s) in 97.82 secs
  150. Compiling untrusted v0.5.0
  151. Compiling log v0.3.8
  152. Compiling serde v1.0.11
  153. Compiling httparse v1.2.3
  154. Compiling unicode-normalization v0.1.5
  155. Compiling redox_syscall v0.1.28
  156. Compiling safemem v0.2.0
  157. Compiling byteorder v1.1.0
  158. Compiling bitflags v0.7.0
  159. Compiling rayon-core v1.2.1
  160. Compiling version_check v0.1.3
  161. Compiling either v1.1.0
  162. Compiling ransid v0.2.9
  163. Compiling quote v0.3.15
  164. Compiling typeable v0.1.2
  165. Compiling libc v0.2.28
  166. Compiling spin v0.4.5
  167. Compiling percent-encoding v1.0.0
  168. Compiling lazy_static v0.2.8
  169. Compiling gcc v0.3.51
  170. Compiling matches v0.1.6
  171. Compiling futures v0.1.14
  172. Compiling unicode-xid v0.0.4
  173. Compiling language-tags v0.2.2
  174. Compiling traitobject v0.1.0
  175. Compiling byteorder v0.5.3
  176. Compiling scopeguard v0.3.2
  177. Compiling mime v0.2.6
  178. Compiling redox_termios v0.1.0
  179. Compiling orbclient v0.3.8
  180. Compiling redox_event v0.1.0 (https://github.com/redox-os/event.git#42d552e4)
  181. Compiling bgad v0.1.0 (file:///home/moony/Projects/redox/cookbook/recipes/drivers/build/bgad)
  182. Compiling base64 v0.5.2
  183. Compiling base64 v0.6.0
  184. Compiling rand v0.3.16
  185. Compiling num_cpus v1.6.2
  186. Compiling ahcid v0.1.0 (file:///home/moony/Projects/redox/cookbook/recipes/drivers/build/ahcid)
  187. Compiling xhcid v0.1.0 (file:///home/moony/Projects/redox/cookbook/recipes/drivers/build/xhcid)
  188. warning: field is never used: `inner`
  189. --> xhcid/src/xhci/device.rs:6:5
  190. |
  191. 6 | inner: [u8; 32]
  192. | ^^^^^^^^^^^^^^^
  193. |
  194. = note: #[warn(dead_code)] on by default
  195.  
  196. warning: field is never used: `inner`
  197. --> xhcid/src/xhci/device.rs:11:5
  198. |
  199. 11 | inner: [u8; 32]
  200. | ^^^^^^^^^^^^^^^
  201.  
  202. warning: struct is never used: `InputContext`
  203. --> xhcid/src/xhci/device.rs:21:1
  204. |
  205. 21 | / pub struct InputContext {
  206. 22 | | pub drop_context: Mmio<u32>,
  207. 23 | | pub add_context: Mmio<u32>,
  208. 24 | | _rsvd: [Mmio<u32>; 5],
  209. 25 | | pub control: Mmio<u32>,
  210. 26 | | pub device: DeviceContext,
  211. 27 | | }
  212. | |_^
  213.  
  214. warning: method is never used: `read`
  215. --> xhcid/src/xhci/doorbell.rs:7:5
  216. |
  217. 7 | / pub fn read(&self) -> u32 {
  218. 8 | | self.0.read()
  219. 9 | | }
  220. | |_____^
  221.  
  222. warning: variant is never used: `Reserved`
  223. --> xhcid/src/xhci/trb.rs:5:5
  224. |
  225. 5 | Reserved,
  226. | ^^^^^^^^
  227.  
  228. warning: variant is never used: `Normal`
  229. --> xhcid/src/xhci/trb.rs:7:5
  230. |
  231. 7 | Normal,
  232. | ^^^^^^
  233.  
  234. warning: variant is never used: `SetupStage`
  235. --> xhcid/src/xhci/trb.rs:8:5
  236. |
  237. 8 | SetupStage,
  238. | ^^^^^^^^^^
  239.  
  240. warning: variant is never used: `DataStage`
  241. --> xhcid/src/xhci/trb.rs:9:5
  242. |
  243. 9 | DataStage,
  244. | ^^^^^^^^^
  245.  
  246. warning: variant is never used: `StatusStage`
  247. --> xhcid/src/xhci/trb.rs:10:5
  248. |
  249. 10 | StatusStage,
  250. | ^^^^^^^^^^^
  251.  
  252. warning: variant is never used: `Isoch`
  253. --> xhcid/src/xhci/trb.rs:11:5
  254. |
  255. 11 | Isoch,
  256. | ^^^^^
  257.  
  258. warning: variant is never used: `Link`
  259. --> xhcid/src/xhci/trb.rs:12:5
  260. |
  261. 12 | Link,
  262. | ^^^^
  263.  
  264. warning: variant is never used: `EventData`
  265. --> xhcid/src/xhci/trb.rs:13:5
  266. |
  267. 13 | EventData,
  268. | ^^^^^^^^^
  269.  
  270. warning: variant is never used: `NoOp`
  271. --> xhcid/src/xhci/trb.rs:14:5
  272. |
  273. 14 | NoOp,
  274. | ^^^^
  275.  
  276. warning: variant is never used: `DisableSlot`
  277. --> xhcid/src/xhci/trb.rs:17:5
  278. |
  279. 17 | DisableSlot,
  280. | ^^^^^^^^^^^
  281.  
  282. warning: variant is never used: `AddressDevice`
  283. --> xhcid/src/xhci/trb.rs:18:5
  284. |
  285. 18 | AddressDevice,
  286. | ^^^^^^^^^^^^^
  287.  
  288. warning: variant is never used: `ConfigureEndpoint`
  289. --> xhcid/src/xhci/trb.rs:19:5
  290. |
  291. 19 | ConfigureEndpoint,
  292. | ^^^^^^^^^^^^^^^^^
  293.  
  294. warning: variant is never used: `EvaluateContext`
  295. --> xhcid/src/xhci/trb.rs:20:5
  296. |
  297. 20 | EvaluateContext,
  298. | ^^^^^^^^^^^^^^^
  299.  
  300. warning: variant is never used: `ResetEndpoint`
  301. --> xhcid/src/xhci/trb.rs:21:5
  302. |
  303. 21 | ResetEndpoint,
  304. | ^^^^^^^^^^^^^
  305.  
  306. warning: variant is never used: `StopEndpoint`
  307. --> xhcid/src/xhci/trb.rs:22:5
  308. |
  309. 22 | StopEndpoint,
  310. | ^^^^^^^^^^^^
  311.  
  312. warning: variant is never used: `SetTrDequeuePointer`
  313. --> xhcid/src/xhci/trb.rs:23:5
  314. |
  315. 23 | SetTrDequeuePointer,
  316. | ^^^^^^^^^^^^^^^^^^^
  317.  
  318. warning: variant is never used: `ResetDevice`
  319. --> xhcid/src/xhci/trb.rs:24:5
  320. |
  321. 24 | ResetDevice,
  322. | ^^^^^^^^^^^
  323.  
  324. warning: variant is never used: `ForceEvent`
  325. --> xhcid/src/xhci/trb.rs:25:5
  326. |
  327. 25 | ForceEvent,
  328. | ^^^^^^^^^^
  329.  
  330. warning: variant is never used: `NegotiateBandwidth`
  331. --> xhcid/src/xhci/trb.rs:26:5
  332. |
  333. 26 | NegotiateBandwidth,
  334. | ^^^^^^^^^^^^^^^^^^
  335.  
  336. warning: variant is never used: `SetLatencyToleranceValue`
  337. --> xhcid/src/xhci/trb.rs:27:5
  338. |
  339. 27 | SetLatencyToleranceValue,
  340. | ^^^^^^^^^^^^^^^^^^^^^^^^
  341.  
  342. warning: variant is never used: `GetPortBandwidth`
  343. --> xhcid/src/xhci/trb.rs:28:5
  344. |
  345. 28 | GetPortBandwidth,
  346. | ^^^^^^^^^^^^^^^^
  347.  
  348. warning: variant is never used: `ForceHeader`
  349. --> xhcid/src/xhci/trb.rs:29:5
  350. |
  351. 29 | ForceHeader,
  352. | ^^^^^^^^^^^
  353.  
  354. warning: variant is never used: `NoOpCmd`
  355. --> xhcid/src/xhci/trb.rs:30:5
  356. |
  357. 30 | NoOpCmd,
  358. | ^^^^^^^
  359.  
  360. warning: variant is never used: `Rsv24`
  361. --> xhcid/src/xhci/trb.rs:32:5
  362. |
  363. 32 | Rsv24,
  364. | ^^^^^
  365.  
  366. warning: variant is never used: `Rsv25`
  367. --> xhcid/src/xhci/trb.rs:33:5
  368. |
  369. 33 | Rsv25,
  370. | ^^^^^
  371.  
  372. warning: variant is never used: `Rsv26`
  373. --> xhcid/src/xhci/trb.rs:34:5
  374. |
  375. 34 | Rsv26,
  376. | ^^^^^
  377.  
  378. warning: variant is never used: `Rsv27`
  379. --> xhcid/src/xhci/trb.rs:35:5
  380. |
  381. 35 | Rsv27,
  382. | ^^^^^
  383.  
  384. warning: variant is never used: `Rsv28`
  385. --> xhcid/src/xhci/trb.rs:36:5
  386. |
  387. 36 | Rsv28,
  388. | ^^^^^
  389.  
  390. warning: variant is never used: `Rsv29`
  391. --> xhcid/src/xhci/trb.rs:37:5
  392. |
  393. 37 | Rsv29,
  394. | ^^^^^
  395.  
  396. warning: variant is never used: `Rsv30`
  397. --> xhcid/src/xhci/trb.rs:38:5
  398. |
  399. 38 | Rsv30,
  400. | ^^^^^
  401.  
  402. warning: variant is never used: `Rsv31`
  403. --> xhcid/src/xhci/trb.rs:39:5
  404. |
  405. 39 | Rsv31,
  406. | ^^^^^
  407.  
  408. warning: variant is never used: `Transfer`
  409. --> xhcid/src/xhci/trb.rs:41:5
  410. |
  411. 41 | Transfer,
  412. | ^^^^^^^^
  413.  
  414. warning: variant is never used: `CommandCompletion`
  415. --> xhcid/src/xhci/trb.rs:42:5
  416. |
  417. 42 | CommandCompletion,
  418. | ^^^^^^^^^^^^^^^^^
  419.  
  420. warning: variant is never used: `PortStatusChange`
  421. --> xhcid/src/xhci/trb.rs:43:5
  422. |
  423. 43 | PortStatusChange,
  424. | ^^^^^^^^^^^^^^^^
  425.  
  426. warning: variant is never used: `BandwidthRequest`
  427. --> xhcid/src/xhci/trb.rs:44:5
  428. |
  429. 44 | BandwidthRequest,
  430. | ^^^^^^^^^^^^^^^^
  431.  
  432. warning: variant is never used: `Doorbell`
  433. --> xhcid/src/xhci/trb.rs:45:5
  434. |
  435. 45 | Doorbell,
  436. | ^^^^^^^^
  437.  
  438. warning: variant is never used: `HostController`
  439. --> xhcid/src/xhci/trb.rs:46:5
  440. |
  441. 46 | HostController,
  442. | ^^^^^^^^^^^^^^
  443.  
  444. warning: variant is never used: `DeviceNotification`
  445. --> xhcid/src/xhci/trb.rs:47:5
  446. |
  447. 47 | DeviceNotification,
  448. | ^^^^^^^^^^^^^^^^^^
  449.  
  450. warning: variant is never used: `MfindexWrap`
  451. --> xhcid/src/xhci/trb.rs:48:5
  452. |
  453. 48 | MfindexWrap,
  454. | ^^^^^^^^^^^
  455.  
  456. warning: enum is never used: `TrbCompletionCode`
  457. --> xhcid/src/xhci/trb.rs:53:1
  458. |
  459. 53 | / pub enum TrbCompletionCode {
  460. 54 | | Invalid,
  461. 55 | | Success,
  462. 56 | | DataBuffer,
  463. ... |
  464. 93 | | /* 224 to 255 are vendor defined information */
  465. 94 | | }
  466. | |_^
  467.  
  468. warning: method is never used: `no_op_cmd`
  469. --> xhcid/src/xhci/trb.rs:116:5
  470. |
  471. 116 | / pub fn no_op_cmd(&mut self, cycle: bool) {
  472. 117 | | self.reset(0, 0, 0, TrbType::NoOpCmd, false, cycle);
  473. 118 | | }
  474. | |_____^
  475.  
  476. warning: field is never used: `cap`
  477. --> xhcid/src/xhci/mod.rs:24:5
  478. |
  479. 24 | cap: &'static mut CapabilityRegs,
  480. | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  481.  
  482. Compiling nvmed v0.1.0 (file:///home/moony/Projects/redox/cookbook/recipes/drivers/build/nvmed)
  483. warning: unused import: `std::fs::File`
  484. --> nvmed/src/main.rs:9:5
  485. |
  486. 9 | use std::fs::File;
  487. | ^^^^^^^^^^^^^
  488. |
  489. = note: #[warn(unused_imports)] on by default
  490.  
  491. warning: unused imports: `Read`, `Write`
  492. --> nvmed/src/main.rs:10:15
  493. |
  494. 10 | use std::io::{Read, Write};
  495. | ^^^^ ^^^^^
  496.  
  497. warning: unused imports: `AsRawFd`, `FromRawFd`
  498. --> nvmed/src/main.rs:11:25
  499. |
  500. 11 | use std::os::unix::io::{AsRawFd, FromRawFd, RawFd};
  501. | ^^^^^^^ ^^^^^^^^^
  502.  
  503. warning: unused imports: `EVENT_READ`, `Event`, `Packet`, `Scheme`
  504. --> nvmed/src/main.rs:12:15
  505. |
  506. 12 | use syscall::{EVENT_READ, MAP_WRITE, Event, Packet, Result, Scheme};
  507. | ^^^^^^^^^^ ^^^^^ ^^^^^^ ^^^^^^
  508.  
  509. warning: struct is never used: `NvmeCmd`
  510. --> nvmed/src/nvme.rs:4:1
  511. |
  512. 4 | / pub struct NvmeCmd {
  513. 5 | | /// Opcode
  514. 6 | | opcode: u8,
  515. 7 | | /// Flags
  516. ... |
  517. 30 | | cdw15: u32,
  518. 31 | | }
  519. | |_^
  520. |
  521. = note: #[warn(dead_code)] on by default
  522.  
  523. warning: method is never used: `read`
  524. --> nvmed/src/nvme.rs:34:5
  525. |
  526. 34 | / pub fn read(cid: u16, lba: u64, count: u16, dst: u64) -> Self {
  527. 35 | | NvmeCmd {
  528. 36 | | opcode: 2,
  529. 37 | | flags: 1 << 6,
  530. ... |
  531. 49 | | }
  532. 50 | | }
  533. | |_____^
  534.  
  535. warning: method is never used: `write`
  536. --> nvmed/src/nvme.rs:52:5
  537. |
  538. 52 | / pub fn write(cid: u16, lba: u64, count: u16, src: u64) -> Self {
  539. 53 | | NvmeCmd {
  540. 54 | | opcode: 1,
  541. 55 | | flags: 1 << 6,
  542. ... |
  543. 67 | | }
  544. 68 | | }
  545. | |_____^
  546.  
  547. warning: field is never used: `intms`
  548. --> nvmed/src/nvme.rs:78:5
  549. |
  550. 78 | intms: Mmio<u32>,
  551. | ^^^^^^^^^^^^^^^^
  552.  
  553. warning: field is never used: `intmc`
  554. --> nvmed/src/nvme.rs:80:5
  555. |
  556. 80 | intmc: Mmio<u32>,
  557. | ^^^^^^^^^^^^^^^^
  558.  
  559. warning: field is never used: `cc`
  560. --> nvmed/src/nvme.rs:82:5
  561. |
  562. 82 | cc: Mmio<u32>,
  563. | ^^^^^^^^^^^^^
  564.  
  565. warning: field is never used: `csts`
  566. --> nvmed/src/nvme.rs:86:5
  567. |
  568. 86 | csts: Mmio<u32>,
  569. | ^^^^^^^^^^^^^^^
  570.  
  571. warning: field is never used: `nssr`
  572. --> nvmed/src/nvme.rs:88:5
  573. |
  574. 88 | nssr: Mmio<u32>,
  575. | ^^^^^^^^^^^^^^^
  576.  
  577. warning: field is never used: `aqa`
  578. --> nvmed/src/nvme.rs:90:5
  579. |
  580. 90 | aqa: Mmio<u32>,
  581. | ^^^^^^^^^^^^^^
  582.  
  583. warning: field is never used: `asq`
  584. --> nvmed/src/nvme.rs:92:5
  585. |
  586. 92 | asq: Mmio<u64>,
  587. | ^^^^^^^^^^^^^^
  588.  
  589. warning: field is never used: `acq`
  590. --> nvmed/src/nvme.rs:94:5
  591. |
  592. 94 | acq: Mmio<u64>,
  593. | ^^^^^^^^^^^^^^
  594.  
  595. warning: field is never used: `cmbloc`
  596. --> nvmed/src/nvme.rs:96:5
  597. |
  598. 96 | cmbloc: Mmio<u32>,
  599. | ^^^^^^^^^^^^^^^^^
  600.  
  601. warning: field is never used: `cmbsz`
  602. --> nvmed/src/nvme.rs:98:5
  603. |
  604. 98 | cmbsz: Mmio<u32>,
  605. | ^^^^^^^^^^^^^^^^
  606.  
  607. warning: function is never used: `create_scheme_fallback`
  608. --> nvmed/src/main.rs:18:1
  609. |
  610. 18 | / fn create_scheme_fallback<'a>(name: &'a str, fallback: &'a str) -> Result<(&'a str, RawFd)> {
  611. 19 | | if let Ok(fd) = syscall::open(&format!(":{}", name), syscall::O_RDWR | syscall::O_CREAT | syscall::O_NONBLOCK) {
  612. 20 | | Ok((name, fd))
  613. 21 | | } else {
  614. ... |
  615. 24 | | }
  616. 25 | | }
  617. | |_^
  618.  
  619. Compiling unicase v1.4.2
  620. Compiling unicode-bidi v0.3.4
  621. Compiling synom v0.11.3
  622. Compiling toml v0.4.4
  623. Compiling time v0.1.38
  624. Compiling coco v0.1.1
  625. Compiling termion v1.5.0
  626. Compiling ihdad v0.1.0 (file:///home/moony/Projects/redox/cookbook/recipes/drivers/build/ihdad)
  627. Compiling ps2d v0.1.0 (file:///home/moony/Projects/redox/cookbook/recipes/drivers/build/ps2d)
  628. warning: unnecessary parentheses around assigned value
  629. --> ihdad/src/HDA/device.rs:348:17
  630. |
  631. 348 | let addr = (addr_field & 0x7FFF);
  632. | ^^^^^^^^^^^^^^^^^^^^^
  633. |
  634. = note: #[warn(unused_parens)] on by default
  635.  
  636. warning: unnecessary parentheses around `for` head expression
  637. --> ihdad/src/HDA/device.rs:353:16
  638. |
  639. 353 | for i in (list.pop().unwrap().1 .. (addr + 1)) {
  640. | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  641.  
  642. warning: unnecessary parentheses around assigned value
  643. --> ihdad/src/HDA/device.rs:365:17
  644. |
  645. 365 | let addr = (addr_field & 0x7F);
  646. | ^^^^^^^^^^^^^^^^^^^
  647.  
  648. warning: unnecessary parentheses around `for` head expression
  649. --> ihdad/src/HDA/device.rs:370:16
  650. |
  651. 370 | for i in (list.pop().unwrap().1 .. (addr + 1)) {
  652. | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  653.  
  654. warning: unnecessary parentheses around `if` condition
  655. --> ihdad/src/HDA/device.rs:422:17
  656. |
  657. 422 | } else if (config.is_input()) {
  658. | ^^^^^^^^^^^^^^^^^^^
  659.  
  660. warning: unnecessary parentheses around assigned value
  661. --> ihdad/src/HDA/device.rs:811:26
  662. |
  663. 811 | if output { payload |= (1 << 15); }
  664. | ^^^^^^^^^
  665.  
  666. warning: unnecessary parentheses around assigned value
  667. --> ihdad/src/HDA/device.rs:812:26
  668. |
  669. 812 | if input { payload |= (1 << 14); }
  670. | ^^^^^^^^^
  671.  
  672. warning: unnecessary parentheses around assigned value
  673. --> ihdad/src/HDA/device.rs:813:26
  674. |
  675. 813 | if left { payload |= (1 << 13); }
  676. | ^^^^^^^^^
  677.  
  678. warning: unnecessary parentheses around assigned value
  679. --> ihdad/src/HDA/device.rs:814:26
  680. |
  681. 814 | if right { payload |= (1 << 12); }
  682. | ^^^^^^^^^
  683.  
  684. warning: unnecessary parentheses around assigned value
  685. --> ihdad/src/HDA/device.rs:815:26
  686. |
  687. 815 | if mute { payload |= (1 << 7); }
  688. | ^^^^^^^^^
  689.  
  690. warning: unnecessary parentheses around assigned value
  691. --> ihdad/src/HDA/device.rs:817:14
  692. |
  693. 817 | payload |= ((gain as u16) & 0x7F);
  694. | ^^^^^^^^^^^^^^^^^^^^^^^
  695.  
  696. warning: unnecessary parentheses around assigned value
  697. --> ihdad/src/HDA/stream.rs:180:12
  698. |
  699. 180 | ctrl |= (1 << 2);
  700. | ^^^^^^^^
  701.  
  702. warning: unused imports: `thread`, `u16`
  703. --> ihdad/src/main.rs:9:23
  704. |
  705. 9 | use std::{env, usize, u16, thread};
  706. | ^^^ ^^^^^^
  707. |
  708. = note: #[warn(unused_imports)] on by default
  709.  
  710. warning: unused import: `RawFd`
  711. --> ihdad/src/main.rs:12:45
  712. |
  713. 12 | use std::os::unix::io::{AsRawFd, FromRawFd, RawFd};
  714. | ^^^^^
  715.  
  716. warning: unused imports: `EVENT_READ`, `Event`
  717. --> ihdad/src/main.rs:13:15
  718. |
  719. 13 | use syscall::{EVENT_READ, MAP_WRITE, Event, Packet, Scheme, SchemeMut};
  720. | ^^^^^^^^^^ ^^^^^
  721.  
  722. warning: unused import: `Scheme`
  723. --> ihdad/src/main.rs:13:53
  724. |
  725. 13 | use syscall::{EVENT_READ, MAP_WRITE, Event, Packet, Scheme, SchemeMut};
  726. | ^^^^^^
  727.  
  728. warning: module `HDA` should have a snake case name such as `hda`
  729. --> ihdad/src/main.rs:22:1
  730. |
  731. 22 | pub mod HDA;
  732. | ^^^^^^^^^^^^
  733. |
  734. = note: #[warn(non_snake_case)] on by default
  735.  
  736. warning: unused imports: `fmt`, `mem`, `ptr`
  737. --> ihdad/src/HDA/device.rs:3:11
  738. |
  739. 3 | use std::{mem, thread, ptr, fmt};
  740. | ^^^ ^^^ ^^^
  741.  
  742. warning: unused import: `max`
  743. --> ihdad/src/HDA/device.rs:5:16
  744. |
  745. 5 | use std::cmp::{max, min};
  746. | ^^^
  747.  
  748. warning: unused import: `std::ptr::copy_nonoverlapping`
  749. --> ihdad/src/HDA/device.rs:6:5
  750. |
  751. 6 | use std::ptr::copy_nonoverlapping;
  752. | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  753.  
  754. warning: unused import: `std::sync::Arc`
  755. --> ihdad/src/HDA/device.rs:7:5
  756. |
  757. 7 | use std::sync::Arc;
  758. | ^^^^^^^^^^^^^^
  759.  
  760. warning: unused import: `std::cell::RefCell`
  761. --> ihdad/src/HDA/device.rs:8:5
  762. |
  763. 8 | use std::cell::RefCell;
  764. | ^^^^^^^^^^^^^^^^^^
  765.  
  766. warning: unused import: `std::string::String`
  767. --> ihdad/src/HDA/device.rs:11:5
  768. |
  769. 11 | use std::string::String;
  770. | ^^^^^^^^^^^^^^^^^^^
  771.  
  772. warning: unnecessary `unsafe` block
  773. --> ihdad/src/HDA/device.rs:180:24
  774. |
  775. 180 | let buff_desc_phys = unsafe {
  776. | ________________________^
  777. 181 | | syscall::physalloc(0x1000)
  778. 182 | | .expect("Could not allocate physical memory for buffer descriptor list.")
  779. 183 | | };
  780. | |___^ unnecessary `unsafe` block
  781. |
  782. = note: #[warn(unused_unsafe)] on by default
  783.  
  784. warning: unnecessary `unsafe` block
  785. --> ihdad/src/HDA/device.rs:186:24
  786. |
  787. 186 | let buff_desc_virt = unsafe {
  788. | ________________________^
  789. 187 | | syscall::physmap(buff_desc_phys, 0x1000, MAP_WRITE)
  790. 188 | | .expect("ihdad: failed to map address for buffer descriptor list.")
  791. 189 | | };
  792. | |___^ unnecessary `unsafe` block
  793.  
  794. warning: unnecessary `unsafe` block
  795. --> ihdad/src/HDA/device.rs:198:26
  796. |
  797. 198 | let cmd_buff_address = unsafe {
  798. | __________________________^
  799. 199 | | syscall::physalloc(0x1000)
  800. 200 | | .expect("Could not allocate physical memory for CORB and RIRB.")
  801. 201 | | };
  802. | |___^ unnecessary `unsafe` block
  803.  
  804. warning: unnecessary `unsafe` block
  805. --> ihdad/src/HDA/device.rs:204:23
  806. |
  807. 204 | let cmd_buff_virt = unsafe { syscall::physmap(cmd_buff_address, 0x1000, MAP_WRITE).expect("ihdad: failed to map address for CORB/RIRB buff") };
  808. | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unnecessary `unsafe` block
  809.  
  810. warning: variable does not need to be mutable
  811. --> ihdad/src/HDA/device.rs:477:9
  812. |
  813. 477 | let mut res = self.find_path_to_dac(widget.connections[0]);
  814. | ^^^^^^^
  815. |
  816. = note: #[warn(unused_mut)] on by default
  817.  
  818. warning: variable does not need to be mutable
  819. --> ihdad/src/HDA/device.rs:826:7
  820. |
  821. 826 | let mut output = self.get_output_stream_descriptor(index as usize).unwrap();
  822. | ^^^^^^^^^^
  823.  
  824. warning: unused variable: `sample_size`
  825. --> ihdad/src/HDA/device.rs:831:7
  826. |
  827. 831 | let sample_size:usize = output.sample_size();
  828. | ^^^^^^^^^^^
  829. |
  830. = note: #[warn(unused_variables)] on by default
  831.  
  832. warning: unused variable: `len`
  833. --> ihdad/src/HDA/device.rs:858:7
  834. |
  835. 858 | let len = min(os.block_size(), buf.len());
  836. | ^^^
  837.  
  838. warning: unused variable: `codec_num`
  839. --> ihdad/src/HDA/device.rs:922:13
  840. |
  841. 922 | Ok(codec_num) => {
  842. | ^^^^^^^^^
  843.  
  844. warning: unused variable: `id`
  845. --> ihdad/src/HDA/device.rs:924:15
  846. |
  847. 924 | let id = self.next_id.fetch_add(1, Ordering::SeqCst);
  848. | ^^
  849.  
  850. warning: unused variable: `path`
  851. --> ihdad/src/HDA/device.rs:978:7
  852. |
  853. 978 | let path: Vec<&str>;
  854. | ^^^^
  855.  
  856. warning: unused imports: `EACCES`, `EWOULDBLOCK`
  857. --> ihdad/src/HDA/stream.rs:5:29
  858. |
  859. 5 | use syscall::error::{Error, EACCES, EWOULDBLOCK, EIO, Result};
  860. | ^^^^^^ ^^^^^^^^^^^
  861.  
  862. warning: unused import: `syscall::flag::O_NONBLOCK`
  863. --> ihdad/src/HDA/stream.rs:6:5
  864. |
  865. 6 | use syscall::flag::O_NONBLOCK;
  866. | ^^^^^^^^^^^^^^^^^^^^^^^^^
  867.  
  868. warning: unused imports: `Dma`, `ReadOnly`
  869. --> ihdad/src/HDA/stream.rs:7:19
  870. |
  871. 7 | use syscall::io::{Dma, Mmio, Io, ReadOnly};
  872. | ^^^ ^^^^^^^^
  873.  
  874. warning: unused import: `syscall::scheme::SchemeMut`
  875. --> ihdad/src/HDA/stream.rs:8:5
  876. |
  877. 8 | use syscall::scheme::SchemeMut;
  878. | ^^^^^^^^^^^^^^^^^^^^^^^^^^
  879.  
  880. warning: unused import: `std::sync::Arc`
  881. --> ihdad/src/HDA/stream.rs:9:5
  882. |
  883. 9 | use std::sync::Arc;
  884. | ^^^^^^^^^^^^^^
  885.  
  886. warning: unused import: `std::cell::RefCell`
  887. --> ihdad/src/HDA/stream.rs:10:5
  888. |
  889. 10 | use std::cell::RefCell;
  890. | ^^^^^^^^^^^^^^^^^^
  891.  
  892. warning: unused import: `max`
  893. --> ihdad/src/HDA/stream.rs:12:16
  894. |
  895. 12 | use std::cmp::{max, min};
  896. | ^^^
  897.  
  898. warning: unused imports: `fmt`, `mem`, `ptr`, `thread`
  899. --> ihdad/src/HDA/stream.rs:14:11
  900. |
  901. 14 | use std::{mem, thread, ptr, fmt};
  902. | ^^^ ^^^^^^ ^^^ ^^^
  903.  
  904. warning: variant `BR44_1` should have a camel case name such as `Br441`
  905. --> ihdad/src/HDA/stream.rs:19:2
  906. |
  907. 19 | BR44_1,
  908. | ^^^^^^
  909. |
  910. = note: #[warn(non_camel_case_types)] on by default
  911.  
  912. warning: unnecessary `unsafe` block
  913. --> ihdad/src/HDA/stream.rs:219:3
  914. |
  915. 219 | / unsafe {
  916. 220 | | OutputStream {
  917. 221 | | buff: StreamBuffer::new(block_length, block_count).unwrap(),
  918. 222 | |
  919. 223 | | desc_regs: regs,
  920. 224 | | }
  921. 225 | | }
  922. | |___^ unnecessary `unsafe` block
  923.  
  924. warning: unused `std::result::Result` which must be used
  925. --> ihdad/src/HDA/stream.rs:317:12
  926. |
  927. 317 | unsafe {syscall::physfree(phys_addr, block_length * block_count);}
  928. | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  929. |
  930. = note: #[warn(unused_must_use)] on by default
  931.  
  932. warning: unused `std::result::Result` which must be used
  933. --> ihdad/src/HDA/stream.rs:377:4
  934. |
  935. 377 | syscall::physunmap(self.addr);
  936. | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  937.  
  938. warning: unused `std::result::Result` which must be used
  939. --> ihdad/src/HDA/stream.rs:378:4
  940. |
  941. 378 | syscall::physfree(self.phys, self.block_len * self.block_cnt);
  942. | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  943.  
  944. warning: unused imports: `mem`, `ptr`, `thread`
  945. --> ihdad/src/HDA/common.rs:3:11
  946. |
  947. 3 | use std::{mem, thread, ptr, fmt};
  948. | ^^^ ^^^^^^ ^^^
  949.  
  950. warning: unused imports: `ptr`, `thread`
  951. --> ihdad/src/HDA/node.rs:2:16
  952. |
  953. 2 | use std::{mem, thread, ptr, fmt};
  954. | ^^^^^^ ^^^
  955.  
  956. warning: unused imports: `fmt`, `mem`, `ptr`, `thread`
  957. --> ihdad/src/HDA/cmdbuff.rs:1:11
  958. |
  959. 1 | use std::{mem, thread, ptr, fmt};
  960. | ^^^ ^^^^^^ ^^^ ^^^
  961.  
  962. warning: unused imports: `Dma`, `ReadOnly`
  963. --> ihdad/src/HDA/cmdbuff.rs:2:19
  964. |
  965. 2 | use syscall::io::{Dma, Mmio, Io, ReadOnly};
  966. | ^^^ ^^^^^^^^
  967.  
  968. warning: variable `corbsize_bytes` is assigned to, but never used
  969. --> ihdad/src/HDA/cmdbuff.rs:101:7
  970. |
  971. 101 | let mut corbsize_bytes: usize = 0;
  972. | ^^^^^^^^^^^^^^^^^^
  973.  
  974. warning: variable `corbsize` is assigned to, but never used
  975. --> ihdad/src/HDA/cmdbuff.rs:102:7
  976. |
  977. 102 | let mut corbsize: u8 = 0;
  978. | ^^^^^^^^^^^^
  979.  
  980. warning: value assigned to `corbsize` is never read
  981. --> ihdad/src/HDA/cmdbuff.rs:105:4
  982. |
  983. 105 | corbsize = 2;
  984. | ^^^^^^^^
  985. |
  986. = note: #[warn(unused_assignments)] on by default
  987.  
  988. warning: value assigned to `corbsize_bytes` is never read
  989. --> ihdad/src/HDA/cmdbuff.rs:106:4
  990. |
  991. 106 | corbsize_bytes = 1024;
  992. | ^^^^^^^^^^^^^^
  993.  
  994. warning: value assigned to `corbsize` is never read
  995. --> ihdad/src/HDA/cmdbuff.rs:110:4
  996. |
  997. 110 | corbsize = 1;
  998. | ^^^^^^^^
  999.  
  1000. warning: value assigned to `corbsize_bytes` is never read
  1001. --> ihdad/src/HDA/cmdbuff.rs:111:4
  1002. |
  1003. 111 | corbsize_bytes = 64;
  1004. | ^^^^^^^^^^^^^^
  1005.  
  1006. warning: value assigned to `corbsize` is never read
  1007. --> ihdad/src/HDA/cmdbuff.rs:115:4
  1008. |
  1009. 115 | corbsize = 0;
  1010. | ^^^^^^^^
  1011.  
  1012. warning: value assigned to `corbsize_bytes` is never read
  1013. --> ihdad/src/HDA/cmdbuff.rs:116:4
  1014. |
  1015. 116 | corbsize_bytes = 8;
  1016. | ^^^^^^^^^^^^^^
  1017.  
  1018. warning: variable does not need to be mutable
  1019. --> ihdad/src/HDA/cmdbuff.rs:194:7
  1020. |
  1021. 194 | let mut write_pos: usize = ( (self.regs.corbwp.read() as usize & 0xFF) + 1) % self.corb_count;
  1022. | ^^^^^^^^^^^^^
  1023.  
  1024. warning: variable `rirbsize_bytes` is assigned to, but never used
  1025. --> ihdad/src/HDA/cmdbuff.rs:246:7
  1026. |
  1027. 246 | let mut rirbsize_bytes: usize = 0;
  1028. | ^^^^^^^^^^^^^^^^^^
  1029.  
  1030. warning: variable `rirbsize` is assigned to, but never used
  1031. --> ihdad/src/HDA/cmdbuff.rs:247:7
  1032. |
  1033. 247 | let mut rirbsize: u8 = 0;
  1034. | ^^^^^^^^^^^^
  1035.  
  1036. warning: value assigned to `rirbsize` is never read
  1037. --> ihdad/src/HDA/cmdbuff.rs:250:4
  1038. |
  1039. 250 | rirbsize = 2;
  1040. | ^^^^^^^^
  1041.  
  1042. warning: value assigned to `rirbsize_bytes` is never read
  1043. --> ihdad/src/HDA/cmdbuff.rs:251:4
  1044. |
  1045. 251 | rirbsize_bytes = 2048;
  1046. | ^^^^^^^^^^^^^^
  1047.  
  1048. warning: value assigned to `rirbsize` is never read
  1049. --> ihdad/src/HDA/cmdbuff.rs:255:4
  1050. |
  1051. 255 | rirbsize = 1;
  1052. | ^^^^^^^^
  1053.  
  1054. warning: value assigned to `rirbsize_bytes` is never read
  1055. --> ihdad/src/HDA/cmdbuff.rs:256:4
  1056. |
  1057. 256 | rirbsize_bytes = 128;
  1058. | ^^^^^^^^^^^^^^
  1059.  
  1060. warning: value assigned to `rirbsize` is never read
  1061. --> ihdad/src/HDA/cmdbuff.rs:260:4
  1062. |
  1063. 260 | rirbsize = 0;
  1064. | ^^^^^^^^
  1065.  
  1066. warning: value assigned to `rirbsize_bytes` is never read
  1067. --> ihdad/src/HDA/cmdbuff.rs:261:4
  1068. |
  1069. 261 | rirbsize_bytes = 16;
  1070. | ^^^^^^^^^^^^^^
  1071.  
  1072. warning: variable does not need to be mutable
  1073. --> ihdad/src/HDA/cmdbuff.rs:301:7
  1074. |
  1075. 301 | let mut read_pos: u16 = (self.rirb_rp + 1) % self.rirb_count as u16;
  1076. | ^^^^^^^^^^^^
  1077.  
  1078. warning: variable does not need to be mutable
  1079. --> ihdad/src/HDA/cmdbuff.rs:303:7
  1080. |
  1081. 303 | let mut res: u64;
  1082. | ^^^^^^^
  1083.  
  1084. warning: unused import: `HDA::IntelHDA`
  1085. --> ihdad/src/main.rs:24:5
  1086. |
  1087. 24 | use HDA::IntelHDA;
  1088. | ^^^^^^^^^^^^^
  1089.  
  1090. warning: unused variable: `device_loop`
  1091. --> ihdad/src/main.rs:89:8
  1092. |
  1093. 89 | let device_loop = device.clone();
  1094. | ^^^^^^^^^^^
  1095.  
  1096. warning: unnecessary `unsafe` block
  1097. --> ihdad/src/main.rs:96:16
  1098. |
  1099. 96 | let _irq = unsafe { device_irq.borrow_mut().irq()};
  1100. | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unnecessary `unsafe` block
  1101.  
  1102. warning: unreachable expression
  1103. --> ihdad/src/main.rs:186:3
  1104. |
  1105. 186 | unsafe { let _ = syscall::physunmap(address); }
  1106. | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1107. |
  1108. = note: #[warn(unreachable_code)] on by default
  1109.  
  1110. Compiling vesad v0.1.0 (file:///home/moony/Projects/redox/cookbook/recipes/drivers/build/vesad)
  1111. Compiling vboxd v0.1.0 (file:///home/moony/Projects/redox/cookbook/recipes/drivers/build/vboxd)
  1112. warning: unused import: `slice`
  1113. --> vboxd/src/main.rs:8:21
  1114. |
  1115. 8 | use std::{env, mem, slice};
  1116. | ^^^^^
  1117. |
  1118. = note: #[warn(unused_imports)] on by default
  1119.  
  1120. warning: method is never used: `read`
  1121. --> vboxd/src/bga.rs:21:5
  1122. |
  1123. 21 | / fn read(&mut self, index: u16) -> u16 {
  1124. 22 | | self.index.write(index);
  1125. 23 | | self.data.read()
  1126. 24 | | }
  1127. | |_____^
  1128. |
  1129. = note: #[warn(dead_code)] on by default
  1130.  
  1131. warning: method is never used: `width`
  1132. --> vboxd/src/bga.rs:31:5
  1133. |
  1134. 31 | / pub fn width(&mut self) -> u16 {
  1135. 32 | | self.read(BGA_INDEX_XRES)
  1136. 33 | | }
  1137. | |_____^
  1138.  
  1139. warning: method is never used: `height`
  1140. --> vboxd/src/bga.rs:35:5
  1141. |
  1142. 35 | / pub fn height(&mut self) -> u16 {
  1143. 36 | | self.read(BGA_INDEX_YRES)
  1144. 37 | | }
  1145. | |_____^
  1146.  
  1147. warning: field is never used: `size`
  1148. --> vboxd/src/main.rs:29:5
  1149. |
  1150. 29 | size: Mmio<u32>,
  1151. | ^^^^^^^^^^^^^^^
  1152.  
  1153. warning: field is never used: `version`
  1154. --> vboxd/src/main.rs:30:5
  1155. |
  1156. 30 | version: Mmio<u32>,
  1157. | ^^^^^^^^^^^^^^^^^^
  1158.  
  1159. warning: field is never used: `result`
  1160. --> vboxd/src/main.rs:45:5
  1161. |
  1162. 45 | result: Mmio<u32>,
  1163. | ^^^^^^^^^^^^^^^^^
  1164.  
  1165. warning: field is never used: `features`
  1166. --> vboxd/src/main.rs:54:5
  1167. |
  1168. 54 | features: Mmio<u32>,
  1169. | ^^^^^^^^^^^^^^^^^^^
  1170.  
  1171. warning: field is never used: `x`
  1172. --> vboxd/src/main.rs:78:5
  1173. |
  1174. 78 | x: Mmio<u32>,
  1175. | ^^^^^^^^^^^^
  1176.  
  1177. warning: field is never used: `y`
  1178. --> vboxd/src/main.rs:79:5
  1179. |
  1180. 79 | y: Mmio<u32>,
  1181. | ^^^^^^^^^^^^
  1182.  
  1183. warning: field is never used: `events`
  1184. --> vboxd/src/main.rs:100:5
  1185. |
  1186. 100 | events: Mmio<u32>,
  1187. | ^^^^^^^^^^^^^^^^^
  1188.  
  1189. warning: field is never used: `bpp`
  1190. --> vboxd/src/main.rs:143:5
  1191. |
  1192. 143 | bpp: Mmio<u32>,
  1193. | ^^^^^^^^^^^^^^
  1194.  
  1195. warning: field is never used: `eventack`
  1196. --> vboxd/src/main.rs:144:5
  1197. |
  1198. 144 | eventack: Mmio<u32>,
  1199. | ^^^^^^^^^^^^^^^^^^^
  1200.  
  1201. Compiling syn v0.11.11
  1202. Compiling ntpclient v0.0.1 (https://github.com/willem66745/ntpclient-rust#7e3bdf60)
  1203. Compiling idna v0.1.4
  1204. Compiling url v1.5.1
  1205. Compiling rayon v0.7.1
  1206. Compiling ring v0.11.0
  1207. Compiling hyper v0.10.12
  1208. Compiling serde_derive_internals v0.15.1
  1209. Compiling webpki v0.14.0
  1210. Compiling serde_derive v1.0.11
  1211. Compiling rustls v0.9.0
  1212. Compiling webpki-roots v0.11.0
  1213. Compiling hyper-rustls v0.6.1
  1214. Compiling netutils v0.1.0 (https://github.com/redox-os/netutils.git#f5ccf723)
  1215. Compiling rtl8168d v0.1.0 (file:///home/moony/Projects/redox/cookbook/recipes/drivers/build/rtl8168d)
  1216. Compiling e1000d v0.1.0 (file:///home/moony/Projects/redox/cookbook/recipes/drivers/build/e1000d)
  1217. Compiling alxd v0.1.0 (file:///home/moony/Projects/redox/cookbook/recipes/drivers/build/alxd)
  1218. warning: unused macro definition
  1219. --> alxd/src/device/mod.rs:1726:9
  1220. |
  1221. 1726 | / macro_rules! goto_out {
  1222. 1727 | | () => {{
  1223. 1728 | | self.free_all_ring_resources();
  1224. 1729 | | self.disable_advanced_intr();
  1225. 1730 | | return err;
  1226. 1731 | | }}
  1227. 1732 | | }
  1228. | |_________^
  1229. |
  1230. = note: #[warn(unused_macros)] on by default
  1231.  
  1232. warning: constant item is never used: `IMS_TXDW`
  1233. --> e1000d/src/device.rs:28:1
  1234. |
  1235. 28 | const IMS_TXDW: u32 = 1;
  1236. | ^^^^^^^^^^^^^^^^^^^^^^^^
  1237. |
  1238. = note: #[warn(dead_code)] on by default
  1239.  
  1240. warning: constant item is never used: `IMS_TXQE`
  1241. --> e1000d/src/device.rs:29:1
  1242. |
  1243. 29 | const IMS_TXQE: u32 = 1 << 1;
  1244. | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1245.  
  1246. warning: constant item is never used: `IMS_LSC`
  1247. --> e1000d/src/device.rs:30:1
  1248. |
  1249. 30 | const IMS_LSC: u32 = 1 << 2;
  1250. | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1251.  
  1252. warning: constant item is never used: `RCTL_MPE`
  1253. --> e1000d/src/device.rs:39:1
  1254. |
  1255. 39 | const RCTL_MPE: u32 = 1 << 4;
  1256. | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1257.  
  1258. warning: constant item is never used: `RD_EOP`
  1259. --> e1000d/src/device.rs:68:1
  1260. |
  1261. 68 | const RD_EOP: u8 = 1 << 1;
  1262. | ^^^^^^^^^^^^^^^^^^^^^^^^^^
  1263.  
  1264. warning: constant item is never used: `TD_DD`
  1265. --> e1000d/src/device.rs:94:1
  1266. |
  1267. 94 | const TD_DD: u8 = 1;
  1268. | ^^^^^^^^^^^^^^^^^^^^
  1269.  
  1270. warning: unreachable expression
  1271. --> e1000d/src/main.rs:133:9
  1272. |
  1273. 133 | unsafe { let _ = syscall::physunmap(address); }
  1274. | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1275. |
  1276. = note: #[warn(unreachable_code)] on by default
  1277.  
  1278. warning: unreachable expression
  1279. --> rtl8168d/src/main.rs:137:9
  1280. |
  1281. 137 | unsafe { let _ = syscall::physunmap(address); }
  1282. | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1283. |
  1284. = note: #[warn(unreachable_code)] on by default
  1285.  
  1286. warning: value assigned to `val` is never read
  1287. --> alxd/src/device/mod.rs:669:6
  1288. |
  1289. 669 | val = self.read(WOL0);
  1290. | ^^^
  1291. |
  1292. = note: #[warn(unused_assignments)] on by default
  1293.  
  1294. warning: value assigned to `err` is never read
  1295. --> alxd/src/device/mod.rs:1127:6
  1296. |
  1297. 1127 | err = self.read_phy_reg(MII_BMSR, &mut bmsr);
  1298. | ^^^
  1299.  
  1300. warning: value assigned to `val` is never read
  1301. --> alxd/src/device/mod.rs:1282:6
  1302. |
  1303. 1282 | val = self.read(DMA);
  1304. | ^^^
  1305.  
  1306. warning: variable does not need to be mutable
  1307. --> alxd/src/device/mod.rs:1724:13
  1308. |
  1309. 1724 | let mut err: usize = 0;
  1310. | ^^^^^^^
  1311. |
  1312. = note: #[warn(unused_mut)] on by default
  1313.  
  1314. warning: unused variable: `err`
  1315. --> alxd/src/device/mod.rs:1724:13
  1316. |
  1317. 1724 | let mut err: usize = 0;
  1318. | ^^^^^^^
  1319. |
  1320. = note: #[warn(unused_variables)] on by default
  1321.  
  1322. warning: unused variable: `buf`
  1323. --> alxd/src/device/mod.rs:1808:35
  1324. |
  1325. 1808 | fn read(&mut self, id: usize, buf: &mut [u8]) -> Result<usize> {
  1326. | ^^^
  1327.  
  1328. warning: unused variable: `buf`
  1329. --> alxd/src/device/mod.rs:1845:37
  1330. |
  1331. 1845 | fn write(&mut self, _id: usize, buf: &[u8]) -> Result<usize> {
  1332. | ^^^
  1333.  
  1334. warning: unreachable expression
  1335. --> alxd/src/main.rs:138:9
  1336. |
  1337. 138 | unsafe { let _ = syscall::physunmap(address); }
  1338. | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1339. |
  1340. = note: #[warn(unreachable_code)] on by default
  1341.  
  1342. Compiling pcid v0.1.0 (file:///home/moony/Projects/redox/cookbook/recipes/drivers/build/pcid)
  1343. Finished release [optimized] target(s) in 365.45 secs
  1344. cook - drivers stage
  1345. cook - drivers unstage
  1346. mkdir: created directory '../stage/etc'
  1347. mkdir: created directory '../stage/etc/pcid'
  1348. 'initfs.toml' -> '../stage/etc/pcid/initfs.toml'
  1349. 'filesystem.toml' -> '../stage/etc/pcid/filesystem.toml'
  1350. copy from `target/x86_64-unknown-redox/release/bgad' [elf64-x86-64] to `../stage/bin/bgad' [elf64-x86-64]
  1351. copy from `target/x86_64-unknown-redox/release/vboxd' [elf64-x86-64] to `../stage/bin/vboxd' [elf64-x86-64]
  1352. copy from `target/x86_64-unknown-redox/release/ps2d' [elf64-x86-64] to `../stage/bin/ps2d' [elf64-x86-64]
  1353. copy from `target/x86_64-unknown-redox/release/nvmed' [elf64-x86-64] to `../stage/bin/nvmed' [elf64-x86-64]
  1354. copy from `target/x86_64-unknown-redox/release/xhcid' [elf64-x86-64] to `../stage/bin/xhcid' [elf64-x86-64]
  1355. copy from `target/x86_64-unknown-redox/release/rtl8168d' [elf64-x86-64] to `../stage/bin/rtl8168d' [elf64-x86-64]
  1356. copy from `target/x86_64-unknown-redox/release/e1000d' [elf64-x86-64] to `../stage/bin/e1000d' [elf64-x86-64]
  1357. copy from `target/x86_64-unknown-redox/release/pcid' [elf64-x86-64] to `../stage/bin/pcid' [elf64-x86-64]
  1358. copy from `target/x86_64-unknown-redox/release/ahcid' [elf64-x86-64] to `../stage/bin/ahcid' [elf64-x86-64]
  1359. copy from `target/x86_64-unknown-redox/release/vesad' [elf64-x86-64] to `../stage/bin/vesad' [elf64-x86-64]
  1360. copy from `target/x86_64-unknown-redox/release/ihdad' [elf64-x86-64] to `../stage/bin/ihdad' [elf64-x86-64]
  1361. copy from `target/x86_64-unknown-redox/release/alxd' [elf64-x86-64] to `../stage/bin/alxd' [elf64-x86-64]
  1362. cook - drivers tar
  1363. cook - drivers version
  1364. 'stage.toml' -> 'stage/pkg/drivers.toml'
  1365. Compiling unicode-segmentation v1.1.0
  1366. Compiling scopeguard v0.3.2
  1367. Compiling untrusted v0.5.0
  1368. Compiling adler32 v1.0.0
  1369. Compiling language-tags v0.2.2
  1370. Compiling rayon-core v1.2.1
  1371. Compiling gcc v0.3.51
  1372. Compiling pkgutils v0.1.1 (file:///home/moony/Projects/redox/cookbook/pkgutils)
  1373. Compiling unicode-xid v0.0.4
  1374. Compiling unicode-normalization v0.1.5
  1375. Compiling typenum v1.9.0
  1376. Compiling byteorder v0.5.3
  1377. Compiling winapi-build v0.1.1
  1378. Compiling typeable v0.1.2
  1379. Compiling either v1.1.0
  1380. Compiling serde v1.0.11
  1381. Compiling vec_map v0.8.0
  1382. Compiling log v0.3.8
  1383. Compiling libc v0.2.28
  1384. Compiling matches v0.1.6
  1385. Compiling httparse v1.2.3
  1386. Compiling traitobject v0.1.0
  1387. Compiling futures v0.1.14
  1388. Compiling winapi v0.2.8
  1389. Compiling unicode-width v0.1.4
  1390. Compiling safemem v0.2.0
  1391. Compiling lazy_static v0.2.8
  1392. Compiling quote v0.3.15
  1393. Compiling version-compare v0.0.4
  1394. Compiling version_check v0.1.3
  1395. Compiling byteorder v1.1.0
  1396. Compiling bitflags v0.9.1
  1397. Compiling percent-encoding v1.0.0
  1398. Compiling synom v0.11.3
  1399. Compiling kernel32-sys v0.2.2
  1400. Compiling coco v0.1.1
  1401. Compiling unicode-bidi v0.3.4
  1402. Compiling mime v0.2.6
  1403. Compiling rand v0.3.16
  1404. Compiling term_size v0.3.0
  1405. Compiling num_cpus v1.6.2
  1406. Compiling xattr v0.1.11
  1407. Compiling time v0.1.38
  1408. Compiling termion v1.5.0
  1409. Compiling base64 v0.6.0
  1410. Compiling libflate v0.1.10
  1411. Compiling base64 v0.5.2
  1412. Compiling syn v0.11.11
  1413. Compiling unicase v1.4.2
  1414. Compiling toml v0.4.4
  1415. Compiling textwrap v0.6.0
  1416. Compiling tar v0.4.13 (https://github.com/redox-os/tar-rs#b71c2202)
  1417. Compiling idna v0.1.4
  1418. Compiling generic-array v0.2.1
  1419. Compiling liner v0.1.5
  1420. Compiling clap v2.25.1
  1421. Compiling rayon v0.7.1
  1422. Compiling pbr v1.0.0 (https://github.com/ids1024/pb?branch=duration#abe4d6e4)
  1423. Compiling static-buffer v0.2.0
  1424. Compiling url v1.5.1
  1425. Compiling serde_derive_internals v0.15.1
  1426. Compiling octavo-digest v0.1.2 (https://github.com/libOctavo/octavo.git#d94d9246)
  1427. Compiling ring v0.11.0
  1428. Compiling octavo v0.1.1 (https://github.com/libOctavo/octavo.git#d94d9246)
  1429. Compiling hyper v0.10.12
  1430. Compiling serde_derive v1.0.11
  1431. Compiling webpki v0.14.0
  1432. Compiling rustls v0.9.0
  1433. Compiling webpki-roots v0.11.0
  1434. Compiling hyper-rustls v0.6.1
  1435. Finished release [optimized] target(s) in 472.98 secs
  1436. Running `/home/moony/Projects/redox/cookbook/pkgutils/target/release/pkg --target=x86_64-unknown-redox create stage`
  1437. pkg: create: stage: "stage.tar.gz"created stage.tar.gz
  1438. repo - preparing init
  1439. cook - init prepare
  1440. repo - building init
  1441. cook - init build
  1442. Compiling redox_syscall v0.1.28
  1443. Compiling init v0.1.0 (file:///home/moony/Projects/redox/cookbook/recipes/init/build)
  1444. Finished release [optimized] target(s) in 6.2 secs
  1445. cook - init stage
  1446. cook - init unstage
  1447. copy from `target/x86_64-unknown-redox/release/init' [elf64-x86-64] to `../stage/bin/init' [elf64-x86-64]
  1448. cook - init tar
  1449. cook - init version
  1450. error: no such subcommand: `config`
  1451. 'stage.toml' -> 'stage/pkg/init.toml'
  1452. Finished release [optimized] target(s) in 0.0 secs
  1453. Running `/home/moony/Projects/redox/cookbook/pkgutils/target/release/pkg --target=x86_64-unknown-redox create stage`
  1454. pkg: create: stage: "stage.tar.gz"created stage.tar.gz
  1455. repo - preparing redoxfs
  1456. cook - redoxfs prepare
  1457. repo - building redoxfs
  1458. cook - redoxfs build
  1459. Compiling spin v0.4.5
  1460. Compiling redox_syscall v0.1.28
  1461. Compiling redoxfs v0.1.2 (file:///home/moony/Projects/redox/cookbook/recipes/redoxfs/build)
  1462. Finished release [optimized] target(s) in 16.76 secs
  1463. cook - redoxfs stage
  1464. cook - redoxfs unstage
  1465. copy from `target/x86_64-unknown-redox/release/redoxfs' [elf64-x86-64] to `../stage/bin/redoxfs' [elf64-x86-64]
  1466. copy from `target/x86_64-unknown-redox/release/redoxfs-mkfs' [elf64-x86-64] to `../stage/bin/redoxfs-mkfs' [elf64-x86-64]
  1467. cook - redoxfs tar
  1468. cook - redoxfs version
  1469. error: no such subcommand: `config`
  1470. 'stage.toml' -> 'stage/pkg/redoxfs.toml'
  1471. Finished release [optimized] target(s) in 0.0 secs
  1472. Running `/home/moony/Projects/redox/cookbook/pkgutils/target/release/pkg --target=x86_64-unknown-redox create stage`
  1473. pkg: create: stage: "stage.tar.gz"created stage.tar.gz
  1474. repo - publishing drivers
  1475. cook - drivers publish
  1476. 'stage.tar.gz' -> '/home/moony/Projects/redox/cookbook/repo/x86_64-unknown-redox/drivers.tar.gz'
  1477. 'stage.sig' -> '/home/moony/Projects/redox/cookbook/repo/x86_64-unknown-redox/drivers.sig'
  1478. 'stage.toml' -> '/home/moony/Projects/redox/cookbook/repo/x86_64-unknown-redox/drivers.toml'
  1479. repo - publishing init
  1480. cook - init publish
  1481. 'stage.tar.gz' -> '/home/moony/Projects/redox/cookbook/repo/x86_64-unknown-redox/init.tar.gz'
  1482. 'stage.sig' -> '/home/moony/Projects/redox/cookbook/repo/x86_64-unknown-redox/init.sig'
  1483. 'stage.toml' -> '/home/moony/Projects/redox/cookbook/repo/x86_64-unknown-redox/init.toml'
  1484. repo - publishing redoxfs
  1485. cook - redoxfs publish
  1486. 'stage.tar.gz' -> '/home/moony/Projects/redox/cookbook/repo/x86_64-unknown-redox/redoxfs.tar.gz'
  1487. 'stage.sig' -> '/home/moony/Projects/redox/cookbook/repo/x86_64-unknown-redox/redoxfs.sig'
  1488. 'stage.toml' -> '/home/moony/Projects/redox/cookbook/repo/x86_64-unknown-redox/redoxfs.toml'
  1489. repo - generating repo.toml
  1490. Installing package drivers
  1491. Installing package init
  1492. Installing package redoxfs
  1493. Create file parent /home/moony/Projects/redox/build/initfs/etc
  1494. Create file /home/moony/Projects/redox/build/initfs/etc/init.rc
  1495. touch build/initfs.tag
  1496. cd kernel && xargo rustc --lib --target x86_64-unknown-none --release -- -C soft-float --emit link=../build/libkernel.a
  1497. Compiling core v0.0.0 (file:///home/moony/Projects/redox/rust/src/libcore)
  1498. Compiling std_unicode v0.0.0 (file:///home/moony/Projects/redox/rust/src/libstd_unicode)
  1499. Compiling alloc v0.0.0 (file:///home/moony/Projects/redox/rust/src/liballoc)
  1500. Finished release [optimized] target(s) in 47.1 secs
  1501. Compiling collections v0.0.0 (file:///home/moony/Projects/redox/rust/src/libcollections)
  1502. Finished release [optimized] target(s) in 0.26 secs
  1503. Compiling x86 v0.7.2
  1504. Compiling gcc v0.3.51
  1505. Compiling scroll v0.5.0
  1506. Compiling spin v0.4.5
  1507. Compiling plain v0.0.2
  1508. Compiling redox_syscall v0.1.28
  1509. Compiling bitflags v0.7.0
  1510. Compiling kernel v0.1.0 (file:///home/moony/Projects/redox/kernel)
  1511. Compiling linked_list_allocator v0.4.1 (https://github.com/redox-os/linked-list-allocator.git#465d15c4)
  1512. warning: function is never used: `main`
  1513. --> build.rs:118:5
  1514. |
  1515. 118 | / fn main() {
  1516. 119 | | println!("cargo:rustc-env=TARGET={}", env::var("TARGET").unwrap());
  1517. 120 | | }
  1518. | |_____^
  1519. |
  1520. = note: #[warn(dead_code)] on by default
  1521.  
  1522. Compiling goblin v0.0.10
  1523. Compiling raw-cpuid v2.0.2
  1524. Compiling alloc_kernel v0.1.0 (file:///home/moony/Projects/redox/kernel/alloc_kernel)
  1525. Compiling raw-cpuid v3.0.0 (https://github.com/gz/rust-cpuid#d8ff30d6)
  1526. warning: use of deprecated item: collections moved to `alloc`
  1527. --> src/lib.rs:29:1
  1528. |
  1529. 29 | extern crate collections;
  1530. | ^^^^^^^^^^^^^^^^^^^^^^^^^
  1531. |
  1532. = note: #[warn(deprecated)] on by default
  1533.  
  1534. warning: unused import: `alloc::boxed::Box`
  1535. --> src/acpi/aml/mod.rs:4:5
  1536. |
  1537. 4 | use alloc::boxed::Box;
  1538. | ^^^^^^^^^^^^^^^^^
  1539. |
  1540. = note: #[warn(unused_imports)] on by default
  1541.  
  1542. warning: unused import: `collections::vec::Vec`
  1543. --> src/acpi/aml/mod.rs:6:5
  1544. |
  1545. 6 | use collections::vec::Vec;
  1546. | ^^^^^^^^^^^^^^^^^^^^^
  1547.  
  1548. warning: unused import: `core::fmt::Debug`
  1549. --> src/acpi/aml/mod.rs:7:5
  1550. |
  1551. 7 | use core::fmt::Debug;
  1552. | ^^^^^^^^^^^^^^^^
  1553.  
  1554. warning: variant is never used: `Uninitialized`
  1555. --> src/acpi/aml/namespace.rs:35:5
  1556. |
  1557. 35 | Uninitialized,
  1558. | ^^^^^^^^^^^^^
  1559. |
  1560. = note: #[warn(dead_code)] on by default
  1561.  
  1562. warning: variant is never used: `Buffer`
  1563. --> src/acpi/aml/namespace.rs:36:5
  1564. |
  1565. 36 | Buffer,
  1566. | ^^^^^^
  1567.  
  1568. warning: variant is never used: `BufferField`
  1569. --> src/acpi/aml/namespace.rs:37:5
  1570. |
  1571. 37 | BufferField,
  1572. | ^^^^^^^^^^^
  1573.  
  1574. warning: variant is never used: `DDBHandle`
  1575. --> src/acpi/aml/namespace.rs:38:5
  1576. |
  1577. 38 | DDBHandle,
  1578. | ^^^^^^^^^
  1579.  
  1580. warning: variant is never used: `DebugObject`
  1581. --> src/acpi/aml/namespace.rs:39:5
  1582. |
  1583. 39 | DebugObject,
  1584. | ^^^^^^^^^^^
  1585.  
  1586. warning: variant is never used: `Device`
  1587. --> src/acpi/aml/namespace.rs:40:5
  1588. |
  1589. 40 | Device,
  1590. | ^^^^^^
  1591.  
  1592. warning: variant is never used: `Event`
  1593. --> src/acpi/aml/namespace.rs:41:5
  1594. |
  1595. 41 | Event,
  1596. | ^^^^^
  1597.  
  1598. warning: variant is never used: `FieldUnit`
  1599. --> src/acpi/aml/namespace.rs:42:5
  1600. |
  1601. 42 | FieldUnit,
  1602. | ^^^^^^^^^
  1603.  
  1604. warning: variant is never used: `Mutex`
  1605. --> src/acpi/aml/namespace.rs:46:5
  1606. |
  1607. 46 | Mutex,
  1608. | ^^^^^
  1609.  
  1610. warning: variant is never used: `ObjectReference`
  1611. --> src/acpi/aml/namespace.rs:47:5
  1612. |
  1613. 47 | ObjectReference,
  1614. | ^^^^^^^^^^^^^^^
  1615.  
  1616. warning: variant is never used: `OperationRegion`
  1617. --> src/acpi/aml/namespace.rs:48:5
  1618. |
  1619. 48 | OperationRegion,
  1620. | ^^^^^^^^^^^^^^^
  1621.  
  1622. warning: variant is never used: `String`
  1623. --> src/acpi/aml/namespace.rs:50:5
  1624. |
  1625. 50 | String,
  1626. | ^^^^^^
  1627.  
  1628. warning: variant is never used: `PowerResource`
  1629. --> src/acpi/aml/namespace.rs:51:5
  1630. |
  1631. 51 | PowerResource,
  1632. | ^^^^^^^^^^^^^
  1633.  
  1634. warning: variant is never used: `Processor`
  1635. --> src/acpi/aml/namespace.rs:52:5
  1636. |
  1637. 52 | Processor,
  1638. | ^^^^^^^^^
  1639.  
  1640. warning: variant is never used: `RawDataBuffer`
  1641. --> src/acpi/aml/namespace.rs:53:5
  1642. |
  1643. 53 | RawDataBuffer,
  1644. | ^^^^^^^^^^^^^
  1645.  
  1646. warning: variant is never used: `ThermalZone`
  1647. --> src/acpi/aml/namespace.rs:54:5
  1648. |
  1649. 54 | ThermalZone
  1650. | ^^^^^^^^^^^
  1651.  
  1652. warning: method is never used: `push`
  1653. --> src/acpi/aml/namespace.rs:150:5
  1654. |
  1655. 150 | / pub fn push(&mut self, val: AmlNamespaceContents) {
  1656. 151 | | match self.contents {
  1657. 152 | | AmlNamespaceContents::Namespace(ref mut v) => v.push(val),
  1658. 153 | | _ => () // TODO: Error this
  1659. 154 | | }
  1660. 155 | | }
  1661. | |_____^
  1662.  
  1663. warning: variable does not need to be mutable
  1664. --> src/acpi/aml/namespace.rs:211:21
  1665. |
  1666. 211 | let mut next = AmlNamespace {
  1667. | ^^^^^^^^
  1668. |
  1669. = note: #[warn(unused_mut)] on by default
  1670.  
  1671. warning: unused import: `get_namespace_string`
  1672. --> src/acpi/aml/termlist.rs:5:70
  1673. |
  1674. 5 | use super::{AmlInternalError, AmlExecutable, AmlValue, AmlNamespace, get_namespace_string};
  1675. | ^^^^^^^^^^^^^^^^^^^^
  1676.  
  1677. warning: unused variable: `l`
  1678. --> src/acpi/aml/termlist.rs:53:31
  1679. |
  1680. 53 | TermArg::LocalObj(ref l) => Some(AmlValue::Integer),
  1681. | ^^^^^
  1682. |
  1683. = note: #[warn(unused_variables)] on by default
  1684.  
  1685. warning: unused variable: `a`
  1686. --> src/acpi/aml/termlist.rs:55:29
  1687. |
  1688. 55 | TermArg::ArgObj(ref a) => Some(AmlValue::Integer),
  1689. | ^^^^^
  1690.  
  1691. warning: unused variable: `o`
  1692. --> src/acpi/aml/termlist.rs:56:34
  1693. |
  1694. 56 | TermArg::Type2Opcode(ref o) => Some(AmlValue::Integer)
  1695. | ^^^^^
  1696.  
  1697. warning: unused variable: `name`
  1698. --> src/acpi/aml/termlist.rs:121:10
  1699. |
  1700. 121 | let (name, name_len) = parse_name_string(data)?;
  1701. | ^^^^
  1702.  
  1703. warning: unused variable: `name_len`
  1704. --> src/acpi/aml/termlist.rs:121:16
  1705. |
  1706. 121 | let (name, name_len) = parse_name_string(data)?;
  1707. | ^^^^^^^^
  1708.  
  1709. warning: unused import: `alloc::boxed::Box`
  1710. --> src/acpi/aml/namespacemodifier.rs:1:5
  1711. |
  1712. 1 | use alloc::boxed::Box;
  1713. | ^^^^^^^^^^^^^^^^^
  1714.  
  1715. warning: the `name:` in this pattern is redundant and can be removed
  1716. --> src/acpi/aml/namespacemodifier.rs:31:40
  1717. |
  1718. 31 | NamespaceModifier::Scope { name: ref name, terms: ref terms } => {
  1719. | ^^^^^^^^^^^^^^
  1720. |
  1721. = note: #[warn(non_shorthand_field_patterns)] on by default
  1722.  
  1723. warning: the `terms:` in this pattern is redundant and can be removed
  1724. --> src/acpi/aml/namespacemodifier.rs:31:56
  1725. |
  1726. 31 | NamespaceModifier::Scope { name: ref name, terms: ref terms } => {
  1727. | ^^^^^^^^^^^^^^^^
  1728.  
  1729. warning: unused import: `alloc::boxed::Box`
  1730. --> src/acpi/aml/namedobj.rs:1:5
  1731. |
  1732. 1 | use alloc::boxed::Box;
  1733. | ^^^^^^^^^^^^^^^^^
  1734.  
  1735. warning: unused variable: `name_seg_len`
  1736. --> src/acpi/aml/namedobj.rs:589:20
  1737. |
  1738. 589 | let (name_seg, name_seg_len) = parse_name_seg(&data[0..4])?;
  1739. | ^^^^^^^^^^^^
  1740.  
  1741. warning: unused import: `get_namespace_string`
  1742. --> src/acpi/aml/dataobj.rs:4:70
  1743. |
  1744. 4 | use super::{AmlInternalError, AmlExecutable, AmlValue, AmlNamespace, get_namespace_string};
  1745. | ^^^^^^^^^^^^^^^^^^^^
  1746.  
  1747. warning: unused variable: `namespace`
  1748. --> src/acpi/aml/dataobj.rs:65:23
  1749. |
  1750. 65 | fn execute(&self, namespace: &mut AmlNamespace, scope: String) -> Option<AmlValue> {
  1751. | ^^^^^^^^^
  1752.  
  1753. warning: unused variable: `scope`
  1754. --> src/acpi/aml/dataobj.rs:65:53
  1755. |
  1756. 65 | fn execute(&self, namespace: &mut AmlNamespace, scope: String) -> Option<AmlValue> {
  1757. | ^^^^^
  1758.  
  1759. warning: unused import: `alloc::boxed::Box`
  1760. --> src/acpi/aml/type1opcode.rs:1:5
  1761. |
  1762. 1 | use alloc::boxed::Box;
  1763. | ^^^^^^^^^^^^^^^^^
  1764.  
  1765. warning: unused variable: `namespace`
  1766. --> src/acpi/aml/type1opcode.rs:48:23
  1767. |
  1768. 48 | fn execute(&self, namespace: &mut AmlNamespace, scope: String) -> Option<AmlValue> {
  1769. | ^^^^^^^^^
  1770.  
  1771. warning: unused variable: `scope`
  1772. --> src/acpi/aml/type1opcode.rs:48:53
  1773. |
  1774. 48 | fn execute(&self, namespace: &mut AmlNamespace, scope: String) -> Option<AmlValue> {
  1775. | ^^^^^
  1776.  
  1777. warning: unused variable: `namespace`
  1778. --> src/acpi/aml/type2opcode.rs:204:23
  1779. |
  1780. 204 | fn execute(&self, namespace: &mut AmlNamespace, scope: String) -> Option<AmlValue> {
  1781. | ^^^^^^^^^
  1782.  
  1783. warning: unused variable: `scope`
  1784. --> src/acpi/aml/type2opcode.rs:204:53
  1785. |
  1786. 204 | fn execute(&self, namespace: &mut AmlNamespace, scope: String) -> Option<AmlValue> {
  1787. | ^^^^^
  1788.  
  1789. warning: unused variable: `num_elements`
  1790. --> src/acpi/aml/type2opcode.rs:278:35
  1791. |
  1792. 278 | DefPackage::Package { ref num_elements, ref elements } => {
  1793. | ^^^^^^^^^^^^^^^^
  1794.  
  1795. warning: unused import: `TermObj`
  1796. --> src/acpi/aml/mod.rs:25:39
  1797. |
  1798. 25 | use self::termlist::{parse_term_list, TermObj};
  1799. | ^^^^^^^
  1800.  
  1801. warning: unused import: `core::mem`
  1802. --> src/context/file.rs:6:5
  1803. |
  1804. 6 | use core::mem;
  1805. | ^^^^^^^^^
  1806.  
  1807. warning: unused imports: `Io`, `Pio`
  1808. --> src/device/mod.rs:3:19
  1809. |
  1810. 3 | use syscall::io::{Pio, Io};
  1811. | ^^^ ^^
  1812.  
  1813. warning: field is never used: `header`
  1814. --> src/elf.rs:133:5
  1815. |
  1816. 133 | header: &'a header::Header,
  1817. | ^^^^^^^^^^^^^^^^^^^^^^^^^^
  1818.  
  1819. warning: found struct without foreign-function-safe representation annotation in foreign module, consider adding a #[repr(C)] attribute to the type
  1820. --> src/interrupt/syscall.rs:6:103
  1821. |
  1822. 6 | fn syscall(a: usize, b: usize, c: usize, d: usize, e: usize, f: usize, rbp: usize, stack: &mut SyscallStack) -> usize;
  1823. | ^^^^^^^^^^^^^^^^^
  1824. |
  1825. = note: #[warn(improper_ctypes)] on by default
  1826.  
  1827. warning: unnecessary `unsafe` block
  1828. --> src/paging/mod.rs:129:17
  1829. |
  1830. 129 | unsafe { result.ignore(); }
  1831. | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ unnecessary `unsafe` block
  1832. |
  1833. = note: #[warn(unused_unsafe)] on by default
  1834. note: because it's nested under this `unsafe` fn
  1835. --> src/paging/mod.rs:81:1
  1836. |
  1837. 81 | / pub unsafe fn init(cpu_id: usize, kernel_start: usize, kernel_end: usize, stack_start: usize, stack_end: usize) -> (ActivePageTable, usize) {
  1838. 82 | | extern {
  1839. 83 | | /// The starting byte of the text (code) data segment.
  1840. 84 | | static mut __text_start: u8;
  1841. ... |
  1842. 196 | | (active_table, init_tcb(cpu_id))
  1843. 197 | | }
  1844. | |_^
  1845.  
  1846. warning: unnecessary `unsafe` block
  1847. --> src/paging/mod.rs:171:17
  1848. |
  1849. 171 | unsafe { result.ignore(); }
  1850. | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ unnecessary `unsafe` block
  1851. |
  1852. note: because it's nested under this `unsafe` fn
  1853. --> src/paging/mod.rs:81:1
  1854. |
  1855. 81 | / pub unsafe fn init(cpu_id: usize, kernel_start: usize, kernel_end: usize, stack_start: usize, stack_end: usize) -> (ActivePageTable, usize) {
  1856. 82 | | extern {
  1857. 83 | | /// The starting byte of the text (code) data segment.
  1858. 84 | | static mut __text_start: u8;
  1859. ... |
  1860. 196 | | (active_table, init_tcb(cpu_id))
  1861. 197 | | }
  1862. | |_^
  1863.  
  1864. note: link against the following native artifacts when linking against this static library
  1865.  
  1866. note: the order and any duplication can be significant on some platforms, and so may need to be preserved
  1867.  
  1868. Finished release [optimized] target(s) in 153.73 secs
  1869. ld --gc-sections -z max-page-size=0x1000 -T kernel/linkers/x86_64.ld -o build/kernel build/libkernel.a
  1870. fusermount -u build/filesystem/ || true
  1871. fusermount: entry for /home/moony/Projects/redox/build/filesystem not found in /etc/mtab
  1872. rm -rf build/filesystem.bin build/filesystem.bin.partial build/filesystem/
  1873. dd if=/dev/zero of=build/filesystem.bin.partial bs=1048576 count=512
  1874. 512+0 records in
  1875. 512+0 records out
  1876. 536870912 bytes (537 MB, 512 MiB) copied, 0.69142 s, 776 MB/s
  1877. cargo run --manifest-path redoxfs/Cargo.toml --quiet --release --bin redoxfs-mkfs build/filesystem.bin.partial
  1878. redoxfs-mkfs: created filesystem on build/filesystem.bin.partial, size 512 MB
  1879. mkdir -p build/filesystem/
  1880. cargo build --manifest-path redoxfs/Cargo.toml --quiet --release --bin redoxfs
  1881. cargo run --manifest-path redoxfs/Cargo.toml --quiet --release --bin redoxfs -- build/filesystem.bin.partial build/filesystem/
  1882. redoxfs: opened filesystem build/filesystem.bin.partial
  1883. sleep 2
  1884. pgrep redoxfs
  1885. 29997
  1886. cp build/kernel build/filesystem/kernel
  1887. cargo run --manifest-path installer/Cargo.toml -- --cookbook=cookbook filesystem.toml
  1888. Finished dev [unoptimized + debuginfo] target(s) in 0.0 secs
  1889. Running `installer/target/debug/redox_installer --cookbook=cookbook filesystem.toml`
  1890. Install Config {
  1891. general: GeneralConfig {
  1892. prompt: false,
  1893. sysroot: Some(
  1894. "build/filesystem"
  1895. )
  1896. },
  1897. packages: {
  1898. "coreutils": PackageConfig {
  1899. version: None,
  1900. git: None,
  1901. path: None
  1902. },
  1903. "drivers": PackageConfig {
  1904. version: None,
  1905. git: None,
  1906. path: None
  1907. },
  1908. "extrautils": PackageConfig {
  1909. version: None,
  1910. git: None,
  1911. path: None
  1912. },
  1913. "findutils": PackageConfig {
  1914. version: None,
  1915. git: None,
  1916. path: None
  1917. },
  1918. "ion": PackageConfig {
  1919. version: None,
  1920. git: None,
  1921. path: None
  1922. },
  1923. "netstack": PackageConfig {
  1924. version: None,
  1925. git: None,
  1926. path: None
  1927. },
  1928. "netutils": PackageConfig {
  1929. version: None,
  1930. git: None,
  1931. path: None
  1932. },
  1933. "orbdata": PackageConfig {
  1934. version: None,
  1935. git: None,
  1936. path: None
  1937. },
  1938. "orbital": PackageConfig {
  1939. version: None,
  1940. git: None,
  1941. path: None
  1942. },
  1943. "orbterm": PackageConfig {
  1944. version: None,
  1945. git: None,
  1946. path: None
  1947. },
  1948. "orbutils": PackageConfig {
  1949. version: None,
  1950. git: None,
  1951. path: None
  1952. },
  1953. "pkgutils": PackageConfig {
  1954. version: None,
  1955. git: None,
  1956. path: None
  1957. },
  1958. "ptyd": PackageConfig {
  1959. version: None,
  1960. git: None,
  1961. path: None
  1962. },
  1963. "randd": PackageConfig {
  1964. version: None,
  1965. git: None,
  1966. path: None
  1967. },
  1968. "smith": PackageConfig {
  1969. version: None,
  1970. git: None,
  1971. path: None
  1972. },
  1973. "userutils": PackageConfig {
  1974. version: None,
  1975. git: None,
  1976. path: None
  1977. }
  1978. },
  1979. files: [
  1980. FileConfig {
  1981. path: "/etc/init.d/00_base",
  1982. data: "pcid /etc/pcid/filesystem.toml\nrandd\nptyd\n"
  1983. },
  1984. FileConfig {
  1985. path: "/etc/init.d/10_net",
  1986. data: "ethernetd\nipd\nicmpd\ntcpd\nudpd\ndhcpd -b\n"
  1987. },
  1988. FileConfig {
  1989. path: "/etc/init.d/20_orbital",
  1990. data: "orbital display:3/activate orblogin launcher\n"
  1991. },
  1992. FileConfig {
  1993. path: "/etc/init.d/30_console",
  1994. data: "getty display:2\ngetty debug: -J\n"
  1995. },
  1996. FileConfig {
  1997. path: "/etc/net/dns",
  1998. data: "208.67.222.222\n"
  1999. },
  2000. FileConfig {
  2001. path: "/etc/net/ip",
  2002. data: "10.0.2.15\n"
  2003. },
  2004. FileConfig {
  2005. path: "/etc/net/ip_router",
  2006. data: "10.0.2.2\n"
  2007. },
  2008. FileConfig {
  2009. path: "/etc/net/ip_subnet",
  2010. data: "255.255.255.0\n"
  2011. },
  2012. FileConfig {
  2013. path: "/etc/net/mac",
  2014. data: "54-52-00-ab-cd-ef\n"
  2015. },
  2016. FileConfig {
  2017. path: "/etc/pkg.d/50_redox",
  2018. data: "https://static.redox-os.org/pkg"
  2019. },
  2020. FileConfig {
  2021. path: "/etc/group",
  2022. data: "root;0;root\nuser;1000;user\nsudo;1;user\n"
  2023. },
  2024. FileConfig {
  2025. path: "/etc/hostname",
  2026. data: "redox\n"
  2027. },
  2028. FileConfig {
  2029. path: "/etc/issue",
  2030. data: "########## Redox OS ##########\n# Login with the following: #\n# `user` #\n# `root`:`password` #\n##############################\n\n"
  2031. },
  2032. FileConfig {
  2033. path: "/etc/motd",
  2034. data: "Welcome to Redox OS!\n\n"
  2035. },
  2036. FileConfig {
  2037. path: "/home/user/.ionrc",
  2038. data: ""
  2039. },
  2040. FileConfig {
  2041. path: "/root/.ionrc",
  2042. data: ""
  2043. }
  2044. ],
  2045. users: {
  2046. "root": UserConfig {
  2047. password: Some(
  2048. "$argon2i$m=4096,t=10,p=1$Tnc4UVV0N00$ML9LIOujd3nmAfkAwEcSTMPqakWUF0OUiLWrIy0nGLk"
  2049. ),
  2050. uid: Some(
  2051. 0
  2052. ),
  2053. gid: Some(
  2054. 0
  2055. ),
  2056. name: Some(
  2057. "root"
  2058. ),
  2059. home: Some(
  2060. "/root"
  2061. ),
  2062. shell: None
  2063. },
  2064. "user": UserConfig {
  2065. password: Some(
  2066. ""
  2067. ),
  2068. uid: None,
  2069. gid: None,
  2070. name: None,
  2071. home: None,
  2072. shell: None
  2073. }
  2074. }
  2075. }
  2076. Create directory /home/moony/Projects/redox/build/filesystem/
  2077. repo - preparing coreutils
  2078. cook - coreutils prepare
  2079. repo - building coreutils
  2080. cook - coreutils build
  2081. Compiling scoped_threadpool v0.1.7
  2082. Compiling redox_syscall v0.1.28
  2083. Compiling libc v0.2.28
  2084. Compiling unicode-width v0.1.4
  2085. Compiling constant_time_eq v0.1.2
  2086. Compiling same-file v0.1.3
  2087. Compiling byteorder v1.1.0
  2088. Compiling safemem v0.2.0
  2089. Compiling arg_parser v0.1.0 (https://github.com/redox-os/arg-parser.git#ed88287e)
  2090. Compiling extra v0.1.0 (https://github.com/redox-os/libextra.git#40293208)
  2091. Compiling rand v0.3.16
  2092. Compiling blake2-rfc v0.2.17
  2093. Compiling walkdir v1.0.7
  2094. Compiling redox_termios v0.1.0
  2095. Compiling time v0.1.38
  2096. Compiling filetime v0.1.10 (https://github.com/alexcrichton/filetime.git#143c1cf9)
  2097. Compiling base64 v0.6.0
  2098. Compiling termion v1.5.0
  2099. Compiling termion v1.4.0 (https://github.com/redox-os/termion.git#63d2464a)
  2100. Compiling argon2rs v0.2.5
  2101. Compiling liner v0.1.5
  2102. Compiling userutils v0.1.0 (https://github.com/redox-os/userutils.git#c05f37f6)
  2103. Compiling coreutils v0.1.0 (file:///home/moony/Projects/redox/cookbook/recipes/coreutils/build)
  2104. Finished release [optimized] target(s) in 166.25 secs
  2105. cook - coreutils stage
  2106. cook - coreutils unstage
  2107. copy from `target/x86_64-unknown-redox/release/base64' [elf64-x86-64] to `../stage/bin/base64' [elf64-x86-64]
  2108. copy from `target/x86_64-unknown-redox/release/cat' [elf64-x86-64] to `../stage/bin/cat' [elf64-x86-64]
  2109. copy from `target/x86_64-unknown-redox/release/dirname' [elf64-x86-64] to `../stage/bin/dirname' [elf64-x86-64]
  2110. copy from `target/x86_64-unknown-redox/release/ln' [elf64-x86-64] to `../stage/bin/ln' [elf64-x86-64]
  2111. copy from `target/x86_64-unknown-redox/release/rm' [elf64-x86-64] to `../stage/bin/rm' [elf64-x86-64]
  2112. copy from `target/x86_64-unknown-redox/release/readlink' [elf64-x86-64] to `../stage/bin/readlink' [elf64-x86-64]
  2113. copy from `target/x86_64-unknown-redox/release/yes' [elf64-x86-64] to `../stage/bin/yes' [elf64-x86-64]
  2114. copy from `target/x86_64-unknown-redox/release/which' [elf64-x86-64] to `../stage/bin/which' [elf64-x86-64]
  2115. copy from `target/x86_64-unknown-redox/release/true' [elf64-x86-64] to `../stage/bin/true' [elf64-x86-64]
  2116. copy from `target/x86_64-unknown-redox/release/uname' [elf64-x86-64] to `../stage/bin/uname' [elf64-x86-64]
  2117. copy from `target/x86_64-unknown-redox/release/touch' [elf64-x86-64] to `../stage/bin/touch' [elf64-x86-64]
  2118. copy from `target/x86_64-unknown-redox/release/printenv' [elf64-x86-64] to `../stage/bin/printenv' [elf64-x86-64]
  2119. copy from `target/x86_64-unknown-redox/release/uptime' [elf64-x86-64] to `../stage/bin/uptime' [elf64-x86-64]
  2120. copy from `target/x86_64-unknown-redox/release/stat' [elf64-x86-64] to `../stage/bin/stat' [elf64-x86-64]
  2121. copy from `target/x86_64-unknown-redox/release/test' [elf64-x86-64] to `../stage/bin/test' [elf64-x86-64]
  2122. copy from `target/x86_64-unknown-redox/release/false' [elf64-x86-64] to `../stage/bin/false' [elf64-x86-64]
  2123. copy from `target/x86_64-unknown-redox/release/tail' [elf64-x86-64] to `../stage/bin/tail' [elf64-x86-64]
  2124. copy from `target/x86_64-unknown-redox/release/env' [elf64-x86-64] to `../stage/bin/env' [elf64-x86-64]
  2125. copy from `target/x86_64-unknown-redox/release/sleep' [elf64-x86-64] to `../stage/bin/sleep' [elf64-x86-64]
  2126. copy from `target/x86_64-unknown-redox/release/rmdir' [elf64-x86-64] to `../stage/bin/rmdir' [elf64-x86-64]
  2127. copy from `target/x86_64-unknown-redox/release/sort' [elf64-x86-64] to `../stage/bin/sort' [elf64-x86-64]
  2128. copy from `target/x86_64-unknown-redox/release/shutdown' [elf64-x86-64] to `../stage/bin/shutdown' [elf64-x86-64]
  2129. copy from `target/x86_64-unknown-redox/release/kill' [elf64-x86-64] to `../stage/bin/kill' [elf64-x86-64]
  2130. copy from `target/x86_64-unknown-redox/release/tr' [elf64-x86-64] to `../stage/bin/tr' [elf64-x86-64]
  2131. copy from `target/x86_64-unknown-redox/release/cut' [elf64-x86-64] to `../stage/bin/cut' [elf64-x86-64]
  2132. copy from `target/x86_64-unknown-redox/release/free' [elf64-x86-64] to `../stage/bin/free' [elf64-x86-64]
  2133. copy from `target/x86_64-unknown-redox/release/reset' [elf64-x86-64] to `../stage/bin/reset' [elf64-x86-64]
  2134. copy from `target/x86_64-unknown-redox/release/time' [elf64-x86-64] to `../stage/bin/time' [elf64-x86-64]
  2135. copy from `target/x86_64-unknown-redox/release/du' [elf64-x86-64] to `../stage/bin/du' [elf64-x86-64]
  2136. copy from `target/x86_64-unknown-redox/release/ps' [elf64-x86-64] to `../stage/bin/ps' [elf64-x86-64]
  2137. copy from `target/x86_64-unknown-redox/release/cp' [elf64-x86-64] to `../stage/bin/cp' [elf64-x86-64]
  2138. copy from `target/x86_64-unknown-redox/release/date' [elf64-x86-64] to `../stage/bin/date' [elf64-x86-64]
  2139. copy from `target/x86_64-unknown-redox/release/mv' [elf64-x86-64] to `../stage/bin/mv' [elf64-x86-64]
  2140. copy from `target/x86_64-unknown-redox/release/pwd' [elf64-x86-64] to `../stage/bin/pwd' [elf64-x86-64]
  2141. copy from `target/x86_64-unknown-redox/release/uniq' [elf64-x86-64] to `../stage/bin/uniq' [elf64-x86-64]
  2142. copy from `target/x86_64-unknown-redox/release/ls' [elf64-x86-64] to `../stage/bin/ls' [elf64-x86-64]
  2143. copy from `target/x86_64-unknown-redox/release/head' [elf64-x86-64] to `../stage/bin/head' [elf64-x86-64]
  2144. copy from `target/x86_64-unknown-redox/release/seq' [elf64-x86-64] to `../stage/bin/seq' [elf64-x86-64]
  2145. copy from `target/x86_64-unknown-redox/release/mkdir' [elf64-x86-64] to `../stage/bin/mkdir' [elf64-x86-64]
  2146. copy from `target/x86_64-unknown-redox/release/realpath' [elf64-x86-64] to `../stage/bin/realpath' [elf64-x86-64]
  2147. copy from `target/x86_64-unknown-redox/release/echo' [elf64-x86-64] to `../stage/bin/echo' [elf64-x86-64]
  2148. copy from `target/x86_64-unknown-redox/release/df' [elf64-x86-64] to `../stage/bin/df' [elf64-x86-64]
  2149. copy from `target/x86_64-unknown-redox/release/tee' [elf64-x86-64] to `../stage/bin/tee' [elf64-x86-64]
  2150. copy from `target/x86_64-unknown-redox/release/basename' [elf64-x86-64] to `../stage/bin/basename' [elf64-x86-64]
  2151. copy from `target/x86_64-unknown-redox/release/chmod' [elf64-x86-64] to `../stage/bin/chmod' [elf64-x86-64]
  2152. copy from `target/x86_64-unknown-redox/release/dd' [elf64-x86-64] to `../stage/bin/dd' [elf64-x86-64]
  2153. copy from `target/x86_64-unknown-redox/release/wc' [elf64-x86-64] to `../stage/bin/wc' [elf64-x86-64]
  2154. copy from `target/x86_64-unknown-redox/release/clear' [elf64-x86-64] to `../stage/bin/clear' [elf64-x86-64]
  2155. cook - coreutils tar
  2156. cook - coreutils version
  2157. error: no such subcommand: `config`
  2158. 'stage.toml' -> 'stage/pkg/coreutils.toml'
  2159. Finished release [optimized] target(s) in 0.0 secs
  2160. Running `/home/moony/Projects/redox/cookbook/pkgutils/target/release/pkg --target=x86_64-unknown-redox create stage`
  2161. pkg: create: stage: "stage.tar.gz"created stage.tar.gz
  2162. repo - drivers up to date
  2163. repo - preparing extrautils
  2164. cook - extrautils prepare
  2165. repo - building extrautils
  2166. cook - extrautils build
  2167. Compiling libc v0.2.28
  2168. Compiling extra v0.1.0 (https://github.com/redox-os/libextra.git#40293208)
  2169. Compiling byteorder v1.1.0
  2170. Compiling redox_syscall v0.1.28
  2171. Compiling bitflags v0.7.0
  2172. Compiling adler32 v1.0.0
  2173. Compiling tar v0.4.13 (https://github.com/redox-os/tar-rs.git#b71c2202)
  2174. Compiling raw-cpuid v2.0.2
  2175. Compiling redox_termios v0.1.0
  2176. Compiling libflate v0.1.10
  2177. Compiling termion v1.4.0 (https://github.com/redox-os/termion.git#63d2464a)
  2178. Compiling termion v1.5.0
  2179. Compiling pager v0.1.0 (https://github.com/redox-os/libpager.git#62b01eba)
  2180. Compiling extrautils v0.1.0 (file:///home/moony/Projects/redox/cookbook/recipes/extrautils/build)
  2181. Finished release [optimized] target(s) in 61.77 secs
  2182. cook - extrautils stage
  2183. cook - extrautils unstage
  2184. copy from `target/x86_64-unknown-redox/release/keymap' [elf64-x86-64] to `../stage/bin/keymap' [elf64-x86-64]
  2185. copy from `target/x86_64-unknown-redox/release/watch' [elf64-x86-64] to `../stage/bin/watch' [elf64-x86-64]
  2186. copy from `target/x86_64-unknown-redox/release/mtxt' [elf64-x86-64] to `../stage/bin/mtxt' [elf64-x86-64]
  2187. copy from `target/x86_64-unknown-redox/release/man' [elf64-x86-64] to `../stage/bin/man' [elf64-x86-64]
  2188. copy from `target/x86_64-unknown-redox/release/rem' [elf64-x86-64] to `../stage/bin/rem' [elf64-x86-64]
  2189. copy from `target/x86_64-unknown-redox/release/gzip' [elf64-x86-64] to `../stage/bin/gzip' [elf64-x86-64]
  2190. copy from `target/x86_64-unknown-redox/release/less' [elf64-x86-64] to `../stage/bin/less' [elf64-x86-64]
  2191. copy from `target/x86_64-unknown-redox/release/dmesg' [elf64-x86-64] to `../stage/bin/dmesg' [elf64-x86-64]
  2192. copy from `target/x86_64-unknown-redox/release/resize' [elf64-x86-64] to `../stage/bin/resize' [elf64-x86-64]
  2193. copy from `target/x86_64-unknown-redox/release/mdless' [elf64-x86-64] to `../stage/bin/mdless' [elf64-x86-64]
  2194. copy from `target/x86_64-unknown-redox/release/grep' [elf64-x86-64] to `../stage/bin/grep' [elf64-x86-64]
  2195. copy from `target/x86_64-unknown-redox/release/info' [elf64-x86-64] to `../stage/bin/info' [elf64-x86-64]
  2196. copy from `target/x86_64-unknown-redox/release/cksum' [elf64-x86-64] to `../stage/bin/cksum' [elf64-x86-64]
  2197. copy from `target/x86_64-unknown-redox/release/screenfetch' [elf64-x86-64] to `../stage/bin/screenfetch' [elf64-x86-64]
  2198. copy from `target/x86_64-unknown-redox/release/cur' [elf64-x86-64] to `../stage/bin/cur' [elf64-x86-64]
  2199. copy from `target/x86_64-unknown-redox/release/gunzip' [elf64-x86-64] to `../stage/bin/gunzip' [elf64-x86-64]
  2200. copy from `target/x86_64-unknown-redox/release/tar' [elf64-x86-64] to `../stage/bin/tar' [elf64-x86-64]
  2201. copy from `target/x86_64-unknown-redox/release/calc' [elf64-x86-64] to `../stage/bin/calc' [elf64-x86-64]
  2202. cook - extrautils tar
  2203. cook - extrautils version
  2204. error: no such subcommand: `config`
  2205. 'stage.toml' -> 'stage/pkg/extrautils.toml'
  2206. Finished release [optimized] target(s) in 0.0 secs
  2207. Running `/home/moony/Projects/redox/cookbook/pkgutils/target/release/pkg --target=x86_64-unknown-redox create stage`
  2208. pkg: create: stage: "stage.tar.gz"created stage.tar.gz
  2209. repo - preparing findutils
  2210. cook - findutils prepare
  2211. repo - building findutils
  2212. cook - findutils build
  2213. Compiling regex-syntax v0.4.0
  2214. Compiling utf8-ranges v1.0.0
  2215. Compiling thread-id v3.0.0
  2216. Compiling void v1.0.2
  2217. error[E0425]: cannot find function `get_internal` in this scope
  2218. --> /home/moony/.cargo/registry/src/github.com-1ecc6299db9ec823/thread-id-3.0.0/src/lib.rs:41:5
  2219. |
  2220. 41 | get_internal()
  2221. | ^^^^^^^^^^^^ not found in this scope
  2222.  
  2223. error: aborting due to previous error
  2224.  
  2225. error: Could not compile `thread-id`.
  2226. warning: build failed, waiting for other jobs to finish...
  2227. error: build failed
  2228. ./repo.sh failed.mk/filesystem.mk:2: recipe for target 'build/filesystem.bin' failed
  2229. make: *** [build/filesystem.bin] Error 1
Add Comment
Please, Sign In to add comment