Skip to content

Instantly share code, notes, and snippets.

@raw-bin
Created December 7, 2017 19:02
Show Gist options
  • Save raw-bin/6b8b9f492d204ecad3716082a9dd6ee7 to your computer and use it in GitHub Desktop.
Save raw-bin/6b8b9f492d204ecad3716082a9dd6ee7 to your computer and use it in GitHub Desktop.
redox build failure, fresh checkout with HEAD @ afff2c38480c4c3a1681f283fe882392f76a690a, using nightly-2017-11-27-x86_64-unknown-linux-gnu
repo - building redoxfs
cook - redoxfs build
Compiling redoxfs v0.3.2 (file:///home/robin/work/repos/redox/src/cookbook/recipes/redoxfs/build)
error: unnecessary `unsafe` block
--> src/ex_node.rs:31:9
|
31 | / unsafe {
32 | | f.debug_struct("ExNode")
33 | | .field("prev", &self.prev)
34 | | .field("next", &self.next)
35 | | .field("extents", &extents)
36 | | .finish()
37 | | }
| |_________^ unnecessary `unsafe` blockrepo - building redoxfs
cook - redoxfs build
Compiling redoxfs v0.3.2 (file:///home/robin/work/repos/redox/src/cookbook/recipes/redoxfs/build)
error: unnecessary `unsafe` block
--> src/ex_node.rs:31:9
|
31 | / unsafe {
32 | | f.debug_struct("ExNode")
33 | | .field("prev", &self.prev)
34 | | .field("next", &self.next)
35 | | .field("extents", &extents)
36 | | .finish()
37 | | }
| |_________^ unnecessary `unsafe` block
|
note: lint level defined here
--> src/lib.rs:4:9
|
4 | #![deny(warnings)]
| ^^^^^^^^
= note: #[deny(unused_unsafe)] implied by #[deny(warnings)]
error: unnecessary `unsafe` block
--> src/header.rs:60:9
|
60 | / unsafe {
61 | | f.debug_struct("Header")
62 | | .field("signature", &self.signature)
63 | | .field("version", &self.version)
... |
68 | | .finish()
69 | | }
| |_________^ unnecessary `unsafe` block
error: unnecessary `unsafe` block
--> src/node.rs:117:9
|
117 | / unsafe {
118 | | f.debug_struct("Node")
119 | | .field("mode", &self.mode)
120 | | .field("uid", &self.uid)
... |
129 | | .finish()
130 | | }
| |_________^ unnecessary `unsafe` block
error: aborting due to 3 previous errors
error: Could not compile `redoxfs`.
To learn more, run the command again with --verbose.
./repo.sh failed.make: *** [mk/initfs.mk:5: build/initfs.tag] Error 1
|
note: lint level defined here
--> src/lib.rs:4:9
|
4 | #![deny(warnings)]
| ^^^^^^^^
= note: #[deny(unused_unsafe)] implied by #[deny(warnings)]
error: unnecessary `unsafe` block
--> src/header.rs:60:9
|
60 | / unsafe {
61 | | f.debug_struct("Header")
62 | | .field("signature", &self.signature)
63 | | .field("version", &self.version)
... |
68 | | .finish()
69 | | }
| |_________^ unnecessary `unsafe` block
error: unnecessary `unsafe` block
--> src/node.rs:117:9
|
117 | / unsafe {
118 | | f.debug_struct("Node")
119 | | .field("mode", &self.mode)
120 | | .field("uid", &self.uid)
... |
129 | | .finish()
130 | | }
| |_________^ unnecessary `unsafe` block
error: aborting due to 3 previous errors
error: Could not compile `redoxfs`.
To learn more, run the command again with --verbose.
./repo.sh failed.make: *** [mk/initfs.mk:5: build/initfs.tag] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment