Created
January 14, 2019 15:35
-
-
Save VitalyAnkh/d6d285562cb4eb03241702031c8bc34f to your computer and use it in GitHub Desktop.
Redox build error log
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rm -f build/libkernel.a | |
rm -rf build/initfs | |
mkdir -p build/initfs | |
export PATH="/home/vitalyr/projects/rust/redox/prefix/x86_64-unknown-redox/gcc-install/bin:$PATH" && \ | |
cargo run --manifest-path installer/Cargo.toml -- --cookbook=cookbook -c initfs.toml build/initfs/ | |
Finished dev [unoptimized + debuginfo] target(s) in 0.31s | |
Running `installer/target/debug/redox_installer --cookbook=cookbook -c initfs.toml build/initfs/` | |
Install Config { | |
general: GeneralConfig { | |
prompt: false | |
}, | |
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 us\npcid /etc/pcid/initfs.toml\nredoxfs --uuid $REDOXFS_UUID file\ncd file:\nexport PATH file:/bin\nrun.d /etc/init.d\n", | |
symlink: false, | |
directory: false, | |
mode: None, | |
uid: None, | |
gid: None | |
} | |
], | |
users: {} | |
} to build/initfs/ | |
repo - building drivers | |
cook - drivers build | |
Updating `git://mirrors.ustc.edu.cn/crates.io-index` index | |
Compiling cc v1.0.28 | |
Compiling core v0.0.0 (/home/vitalyr/projects/rust/redox/rust/src/libcore) | |
Compiling unwind v0.0.0 (/home/vitalyr/projects/rust/redox/rust/src/libunwind) | |
Compiling build_helper v0.1.0 (/home/vitalyr/projects/rust/redox/rust/src/build_helper) | |
Compiling compiler_builtins v0.0.0 (/home/vitalyr/projects/rust/redox/rust/src/rustc/compiler_builtins_shim) | |
Compiling std v0.0.0 (/home/vitalyr/projects/rust/redox/rust/src/libstd) | |
error[E0133]: initializing type with `rustc_layout_scalar_valid_range` attr is unsafe and requires unsafe function or block | |
--> /home/vitalyr/projects/rust/redox/rust/src/libcore/num/mod.rs:81:34 | |
| | |
81 | Some($Ty(NonZero(n))) | |
| ^^^^^^^^^^ initializing type with `rustc_layout_scalar_valid_range` attr | |
... | |
110 | / nonzero_integers! { | |
111 | | NonZeroU8(u8); | |
112 | | NonZeroU16(u16); | |
113 | | NonZeroU32(u32); | |
... | | |
116 | | NonZeroUsize(usize); | |
117 | | } | |
| |_- in this macro invocation | |
| | |
= note: initializing a layout restricted type's field with a value outside the valid range is undefined behavior | |
warning: unnecessary `unsafe` block | |
--> /home/vitalyr/projects/rust/redox/rust/src/libcore/num/mod.rs:1010:17 | |
| | |
1010 | unsafe { | |
| ^^^^^^ unnecessary `unsafe` block | |
... | |
2065 | / int_impl! { i8, i8, u8, 8, -128, 127, "", "", 2, "-0x7e", "0xa", "0x12", "0x12", "0x48", | |
2066 | | "[0x12]", "[0x12]" } | |
| |____________________________- in this macro invocation | |
| | |
= note: #[warn(unused_unsafe)] on by default | |
warning: unnecessary `unsafe` block | |
--> /home/vitalyr/projects/rust/redox/rust/src/libcore/num/mod.rs:1010:17 | |
| | |
1010 | unsafe { | |
| ^^^^^^ unnecessary `unsafe` block | |
... | |
2071 | / int_impl! { i16, i16, u16, 16, -32768, 32767, "", "", 4, "-0x5ffd", "0x3a", "0x1234", "0x3412", | |
2072 | | "0x2c48", "[0x34, 0x12]", "[0x12, 0x34]" } | |
| |__________________________________________________- in this macro invocation | |
warning: unnecessary `unsafe` block | |
--> /home/vitalyr/projects/rust/redox/rust/src/libcore/num/mod.rs:1010:17 | |
| | |
1010 | unsafe { | |
| ^^^^^^ unnecessary `unsafe` block | |
... | |
2077 | / int_impl! { i32, i32, u32, 32, -2147483648, 2147483647, "", "", 8, "0x10000b3", "0xb301", | |
2078 | | "0x12345678", "0x78563412", "0x1e6a2c48", "[0x78, 0x56, 0x34, 0x12]", | |
2079 | | "[0x12, 0x34, 0x56, 0x78]" } | |
| |____________________________________- in this macro invocation | |
warning: unnecessary `unsafe` block | |
--> /home/vitalyr/projects/rust/redox/rust/src/libcore/num/mod.rs:1010:17 | |
| | |
1010 | unsafe { | |
| ^^^^^^ unnecessary `unsafe` block | |
... | |
2084 | / int_impl! { i64, i64, u64, 64, -9223372036854775808, 9223372036854775807, "", "", 12, | |
2085 | | "0xaa00000000006e1", "0x6e10aa", "0x1234567890123456", "0x5634129078563412", | |
2086 | | "0x6a2c48091e6a2c48", "[0x56, 0x34, 0x12, 0x90, 0x78, 0x56, 0x34, 0x12]", | |
2087 | | "[0x12, 0x34, 0x56, 0x78, 0x90, 0x12, 0x34, 0x56]" } | |
| |_____________________________________________________________- in this macro invocation | |
warning: unnecessary `unsafe` block | |
--> /home/vitalyr/projects/rust/redox/rust/src/libcore/num/mod.rs:1010:17 | |
| | |
1010 | unsafe { | |
| ^^^^^^ unnecessary `unsafe` block | |
... | |
2092 | / int_impl! { i128, i128, u128, 128, -170141183460469231731687303715884105728, | |
2093 | | 170141183460469231731687303715884105727, "", "", 16, | |
2094 | | "0x13f40000000000000000000000004f76", "0x4f7613f4", "0x12345678901234567890123456789012", | |
2095 | | "0x12907856341290785634129078563412", "0x48091e6a2c48091e6a2c48091e6a2c48", | |
... | | |
2098 | | "[0x12, 0x34, 0x56, 0x78, 0x90, 0x12, 0x34, 0x56, \ | |
2099 | | 0x78, 0x90, 0x12, 0x34, 0x56, 0x78, 0x90, 0x12]" } | |
| |____________________________________________________________- in this macro invocation | |
warning: unnecessary `unsafe` block | |
--> /home/vitalyr/projects/rust/redox/rust/src/libcore/num/mod.rs:1010:17 | |
| | |
1010 | unsafe { | |
| ^^^^^^ unnecessary `unsafe` block | |
... | |
2120 | / int_impl! { isize, i64, u64, 64, -9223372036854775808, 9223372036854775807, "", "", | |
2121 | | 12, "0xaa00000000006e1", "0x6e10aa", "0x1234567890123456", "0x5634129078563412", | |
2122 | | "0x6a2c48091e6a2c48", "[0x56, 0x34, 0x12, 0x90, 0x78, 0x56, 0x34, 0x12]", | |
2123 | | "[0x12, 0x34, 0x56, 0x78, 0x90, 0x12, 0x34, 0x56]" } | |
| |_____________________________________________________________- in this macro invocation | |
warning: unnecessary `unsafe` block | |
--> /home/vitalyr/projects/rust/redox/rust/src/libcore/num/mod.rs:1034:17 | |
| | |
1034 | unsafe { | |
| ^^^^^^ unnecessary `unsafe` block | |
... | |
2065 | / int_impl! { i8, i8, u8, 8, -128, 127, "", "", 2, "-0x7e", "0xa", "0x12", "0x12", "0x48", | |
2066 | | "[0x12]", "[0x12]" } | |
| |____________________________- in this macro invocation | |
warning: unnecessary `unsafe` block | |
--> /home/vitalyr/projects/rust/redox/rust/src/libcore/num/mod.rs:1034:17 | |
| | |
1034 | unsafe { | |
| ^^^^^^ unnecessary `unsafe` block | |
... | |
2071 | / int_impl! { i16, i16, u16, 16, -32768, 32767, "", "", 4, "-0x5ffd", "0x3a", "0x1234", "0x3412", | |
2072 | | "0x2c48", "[0x34, 0x12]", "[0x12, 0x34]" } | |
| |__________________________________________________- in this macro invocation | |
warning: unnecessary `unsafe` block | |
--> /home/vitalyr/projects/rust/redox/rust/src/libcore/num/mod.rs:1034:17 | |
| | |
1034 | unsafe { | |
| ^^^^^^ unnecessary `unsafe` block | |
... | |
2077 | / int_impl! { i32, i32, u32, 32, -2147483648, 2147483647, "", "", 8, "0x10000b3", "0xb301", | |
2078 | | "0x12345678", "0x78563412", "0x1e6a2c48", "[0x78, 0x56, 0x34, 0x12]", | |
2079 | | "[0x12, 0x34, 0x56, 0x78]" } | |
| |____________________________________- in this macro invocation | |
warning: unnecessary `unsafe` block | |
--> /home/vitalyr/projects/rust/redox/rust/src/libcore/num/mod.rs:1034:17 | |
| | |
1034 | unsafe { | |
| ^^^^^^ unnecessary `unsafe` block | |
... | |
2084 | / int_impl! { i64, i64, u64, 64, -9223372036854775808, 9223372036854775807, "", "", 12, | |
2085 | | "0xaa00000000006e1", "0x6e10aa", "0x1234567890123456", "0x5634129078563412", | |
2086 | | "0x6a2c48091e6a2c48", "[0x56, 0x34, 0x12, 0x90, 0x78, 0x56, 0x34, 0x12]", | |
2087 | | "[0x12, 0x34, 0x56, 0x78, 0x90, 0x12, 0x34, 0x56]" } | |
| |_____________________________________________________________- in this macro invocation | |
warning: unnecessary `unsafe` block | |
--> /home/vitalyr/projects/rust/redox/rust/src/libcore/num/mod.rs:1034:17 | |
| | |
1034 | unsafe { | |
| ^^^^^^ unnecessary `unsafe` block | |
... | |
2092 | / int_impl! { i128, i128, u128, 128, -170141183460469231731687303715884105728, | |
2093 | | 170141183460469231731687303715884105727, "", "", 16, | |
2094 | | "0x13f40000000000000000000000004f76", "0x4f7613f4", "0x12345678901234567890123456789012", | |
2095 | | "0x12907856341290785634129078563412", "0x48091e6a2c48091e6a2c48091e6a2c48", | |
... | | |
2098 | | "[0x12, 0x34, 0x56, 0x78, 0x90, 0x12, 0x34, 0x56, \ | |
2099 | | 0x78, 0x90, 0x12, 0x34, 0x56, 0x78, 0x90, 0x12]" } | |
| |____________________________________________________________- in this macro invocation | |
warning: unnecessary `unsafe` block | |
--> /home/vitalyr/projects/rust/redox/rust/src/libcore/num/mod.rs:1034:17 | |
| | |
1034 | unsafe { | |
| ^^^^^^ unnecessary `unsafe` block | |
... | |
2120 | / int_impl! { isize, i64, u64, 64, -9223372036854775808, 9223372036854775807, "", "", | |
2121 | | 12, "0xaa00000000006e1", "0x6e10aa", "0x1234567890123456", "0x5634129078563412", | |
2122 | | "0x6a2c48091e6a2c48", "[0x56, 0x34, 0x12, 0x90, 0x78, 0x56, 0x34, 0x12]", | |
2123 | | "[0x12, 0x34, 0x56, 0x78, 0x90, 0x12, 0x34, 0x56]" } | |
| |_____________________________________________________________- in this macro invocation | |
warning: unnecessary `unsafe` block | |
--> /home/vitalyr/projects/rust/redox/rust/src/libcore/num/mod.rs:1057:17 | |
| | |
1057 | unsafe { | |
| ^^^^^^ unnecessary `unsafe` block | |
... | |
2065 | / int_impl! { i8, i8, u8, 8, -128, 127, "", "", 2, "-0x7e", "0xa", "0x12", "0x12", "0x48", | |
2066 | | "[0x12]", "[0x12]" } | |
| |____________________________- in this macro invocation | |
warning: unnecessary `unsafe` block | |
--> /home/vitalyr/projects/rust/redox/rust/src/libcore/num/mod.rs:1057:17 | |
| | |
1057 | unsafe { | |
| ^^^^^^ unnecessary `unsafe` block | |
... | |
2071 | / int_impl! { i16, i16, u16, 16, -32768, 32767, "", "", 4, "-0x5ffd", "0x3a", "0x1234", "0x3412", | |
2072 | | "0x2c48", "[0x34, 0x12]", "[0x12, 0x34]" } | |
| |__________________________________________________- in this macro invocation | |
warning: unnecessary `unsafe` block | |
--> /home/vitalyr/projects/rust/redox/rust/src/libcore/num/mod.rs:1057:17 | |
| | |
1057 | unsafe { | |
| ^^^^^^ unnecessary `unsafe` block | |
... | |
2077 | / int_impl! { i32, i32, u32, 32, -2147483648, 2147483647, "", "", 8, "0x10000b3", "0xb301", | |
2078 | | "0x12345678", "0x78563412", "0x1e6a2c48", "[0x78, 0x56, 0x34, 0x12]", | |
2079 | | "[0x12, 0x34, 0x56, 0x78]" } | |
| |____________________________________- in this macro invocation | |
warning: unnecessary `unsafe` block | |
--> /home/vitalyr/projects/rust/redox/rust/src/libcore/num/mod.rs:1057:17 | |
| | |
1057 | unsafe { | |
| ^^^^^^ unnecessary `unsafe` block | |
... | |
2084 | / int_impl! { i64, i64, u64, 64, -9223372036854775808, 9223372036854775807, "", "", 12, | |
2085 | | "0xaa00000000006e1", "0x6e10aa", "0x1234567890123456", "0x5634129078563412", | |
2086 | | "0x6a2c48091e6a2c48", "[0x56, 0x34, 0x12, 0x90, 0x78, 0x56, 0x34, 0x12]", | |
2087 | | "[0x12, 0x34, 0x56, 0x78, 0x90, 0x12, 0x34, 0x56]" } | |
| |_____________________________________________________________- in this macro invocation | |
warning: unnecessary `unsafe` block | |
--> /home/vitalyr/projects/rust/redox/rust/src/libcore/num/mod.rs:1057:17 | |
| | |
1057 | unsafe { | |
| ^^^^^^ unnecessary `unsafe` block | |
... | |
2092 | / int_impl! { i128, i128, u128, 128, -170141183460469231731687303715884105728, | |
2093 | | 170141183460469231731687303715884105727, "", "", 16, | |
2094 | | "0x13f40000000000000000000000004f76", "0x4f7613f4", "0x12345678901234567890123456789012", | |
2095 | | "0x12907856341290785634129078563412", "0x48091e6a2c48091e6a2c48091e6a2c48", | |
... | | |
2098 | | "[0x12, 0x34, 0x56, 0x78, 0x90, 0x12, 0x34, 0x56, \ | |
2099 | | 0x78, 0x90, 0x12, 0x34, 0x56, 0x78, 0x90, 0x12]" } | |
| |____________________________________________________________- in this macro invocation | |
warning: unnecessary `unsafe` block | |
--> /home/vitalyr/projects/rust/redox/rust/src/libcore/num/mod.rs:1057:17 | |
| | |
1057 | unsafe { | |
| ^^^^^^ unnecessary `unsafe` block | |
... | |
2120 | / int_impl! { isize, i64, u64, 64, -9223372036854775808, 9223372036854775807, "", "", | |
2121 | | 12, "0xaa00000000006e1", "0x6e10aa", "0x1234567890123456", "0x5634129078563412", | |
2122 | | "0x6a2c48091e6a2c48", "[0x56, 0x34, 0x12, 0x90, 0x78, 0x56, 0x34, 0x12]", | |
2123 | | "[0x12, 0x34, 0x56, 0x78, 0x90, 0x12, 0x34, 0x56]" } | |
| |_____________________________________________________________- in this macro invocation | |
warning: unnecessary `unsafe` block | |
--> /home/vitalyr/projects/rust/redox/rust/src/libcore/num/mod.rs:1347:30 | |
| | |
1347 | let (a, b) = unsafe { | |
| ^^^^^^ unnecessary `unsafe` block | |
... | |
2065 | / int_impl! { i8, i8, u8, 8, -128, 127, "", "", 2, "-0x7e", "0xa", "0x12", "0x12", "0x48", | |
2066 | | "[0x12]", "[0x12]" } | |
| |____________________________- in this macro invocation | |
warning: unnecessary `unsafe` block | |
--> /home/vitalyr/projects/rust/redox/rust/src/libcore/num/mod.rs:1347:30 | |
| | |
1347 | let (a, b) = unsafe { | |
| ^^^^^^ unnecessary `unsafe` block | |
... | |
2071 | / int_impl! { i16, i16, u16, 16, -32768, 32767, "", "", 4, "-0x5ffd", "0x3a", "0x1234", "0x3412", | |
2072 | | "0x2c48", "[0x34, 0x12]", "[0x12, 0x34]" } | |
| |__________________________________________________- in this macro invocation | |
warning: unnecessary `unsafe` block | |
--> /home/vitalyr/projects/rust/redox/rust/src/libcore/num/mod.rs:1347:30 | |
| | |
1347 | let (a, b) = unsafe { | |
| ^^^^^^ unnecessary `unsafe` block | |
... | |
2077 | / int_impl! { i32, i32, u32, 32, -2147483648, 2147483647, "", "", 8, "0x10000b3", "0xb301", | |
2078 | | "0x12345678", "0x78563412", "0x1e6a2c48", "[0x78, 0x56, 0x34, 0x12]", | |
2079 | | "[0x12, 0x34, 0x56, 0x78]" } | |
| |____________________________________- in this macro invocation | |
warning: unnecessary `unsafe` block | |
--> /home/vitalyr/projects/rust/redox/rust/src/libcore/num/mod.rs:1347:30 | |
| | |
1347 | let (a, b) = unsafe { | |
| ^^^^^^ unnecessary `unsafe` block | |
... | |
2084 | / int_impl! { i64, i64, u64, 64, -9223372036854775808, 9223372036854775807, "", "", 12, | |
2085 | | "0xaa00000000006e1", "0x6e10aa", "0x1234567890123456", "0x5634129078563412", | |
2086 | | "0x6a2c48091e6a2c48", "[0x56, 0x34, 0x12, 0x90, 0x78, 0x56, 0x34, 0x12]", | |
2087 | | "[0x12, 0x34, 0x56, 0x78, 0x90, 0x12, 0x34, 0x56]" } | |
| |_____________________________________________________________- in this macro invocation | |
warning: unnecessary `unsafe` block | |
--> /home/vitalyr/projects/rust/redox/rust/src/libcore/num/mod.rs:1347:30 | |
| | |
1347 | let (a, b) = unsafe { | |
| ^^^^^^ unnecessary `unsafe` block | |
... | |
2092 | / int_impl! { i128, i128, u128, 128, -170141183460469231731687303715884105728, | |
2093 | | 170141183460469231731687303715884105727, "", "", 16, | |
2094 | | "0x13f40000000000000000000000004f76", "0x4f7613f4", "0x12345678901234567890123456789012", | |
2095 | | "0x12907856341290785634129078563412", "0x48091e6a2c48091e6a2c48091e6a2c48", | |
... | | |
2098 | | "[0x12, 0x34, 0x56, 0x78, 0x90, 0x12, 0x34, 0x56, \ | |
2099 | | 0x78, 0x90, 0x12, 0x34, 0x56, 0x78, 0x90, 0x12]" } | |
| |____________________________________________________________- in this macro invocation | |
warning: unnecessary `unsafe` block | |
--> /home/vitalyr/projects/rust/redox/rust/src/libcore/num/mod.rs:1347:30 | |
| | |
1347 | let (a, b) = unsafe { | |
| ^^^^^^ unnecessary `unsafe` block | |
... | |
2120 | / int_impl! { isize, i64, u64, 64, -9223372036854775808, 9223372036854775807, "", "", | |
2121 | | 12, "0xaa00000000006e1", "0x6e10aa", "0x1234567890123456", "0x5634129078563412", | |
2122 | | "0x6a2c48091e6a2c48", "[0x56, 0x34, 0x12, 0x90, 0x78, 0x56, 0x34, 0x12]", | |
2123 | | "[0x12, 0x34, 0x56, 0x78, 0x90, 0x12, 0x34, 0x56]" } | |
| |_____________________________________________________________- in this macro invocation | |
warning: unnecessary `unsafe` block | |
--> /home/vitalyr/projects/rust/redox/rust/src/libcore/num/mod.rs:1376:30 | |
| | |
1376 | let (a, b) = unsafe { | |
| ^^^^^^ unnecessary `unsafe` block | |
... | |
2065 | / int_impl! { i8, i8, u8, 8, -128, 127, "", "", 2, "-0x7e", "0xa", "0x12", "0x12", "0x48", | |
2066 | | "[0x12]", "[0x12]" } | |
| |____________________________- in this macro invocation | |
warning: unnecessary `unsafe` block | |
--> /home/vitalyr/projects/rust/redox/rust/src/libcore/num/mod.rs:1376:30 | |
| | |
1376 | let (a, b) = unsafe { | |
| ^^^^^^ unnecessary `unsafe` block | |
... | |
2071 | / int_impl! { i16, i16, u16, 16, -32768, 32767, "", "", 4, "-0x5ffd", "0x3a", "0x1234", "0x3412", | |
2072 | | "0x2c48", "[0x34, 0x12]", "[0x12, 0x34]" } | |
| |__________________________________________________- in this macro invocation | |
warning: unnecessary `unsafe` block | |
--> /home/vitalyr/projects/rust/redox/rust/src/libcore/num/mod.rs:1376:30 | |
| | |
1376 | let (a, b) = unsafe { | |
| ^^^^^^ unnecessary `unsafe` block | |
... | |
2077 | / int_impl! { i32, i32, u32, 32, -2147483648, 2147483647, "", "", 8, "0x10000b3", "0xb301", | |
2078 | | "0x12345678", "0x78563412", "0x1e6a2c48", "[0x78, 0x56, 0x34, 0x12]", | |
2079 | | "[0x12, 0x34, 0x56, 0x78]" } | |
| |____________________________________- in this macro invocation | |
warning: unnecessary `unsafe` block | |
--> /home/vitalyr/projects/rust/redox/rust/src/libcore/num/mod.rs:1376:30 | |
| | |
1376 | let (a, b) = unsafe { | |
| ^^^^^^ unnecessary `unsafe` block | |
... | |
2084 | / int_impl! { i64, i64, u64, 64, -9223372036854775808, 9223372036854775807, "", "", 12, | |
2085 | | "0xaa00000000006e1", "0x6e10aa", "0x1234567890123456", "0x5634129078563412", | |
2086 | | "0x6a2c48091e6a2c48", "[0x56, 0x34, 0x12, 0x90, 0x78, 0x56, 0x34, 0x12]", | |
2087 | | "[0x12, 0x34, 0x56, 0x78, 0x90, 0x12, 0x34, 0x56]" } | |
| |_____________________________________________________________- in this macro invocation | |
warning: unnecessary `unsafe` block | |
--> /home/vitalyr/projects/rust/redox/rust/src/libcore/num/mod.rs:1376:30 | |
| | |
1376 | let (a, b) = unsafe { | |
| ^^^^^^ unnecessary `unsafe` block | |
... | |
2092 | / int_impl! { i128, i128, u128, 128, -170141183460469231731687303715884105728, | |
2093 | | 170141183460469231731687303715884105727, "", "", 16, | |
2094 | | "0x13f40000000000000000000000004f76", "0x4f7613f4", "0x12345678901234567890123456789012", | |
2095 | | "0x12907856341290785634129078563412", "0x48091e6a2c48091e6a2c48091e6a2c48", | |
... | | |
2098 | | "[0x12, 0x34, 0x56, 0x78, 0x90, 0x12, 0x34, 0x56, \ | |
2099 | | 0x78, 0x90, 0x12, 0x34, 0x56, 0x78, 0x90, 0x12]" } | |
| |____________________________________________________________- in this macro invocation | |
warning: unnecessary `unsafe` block | |
--> /home/vitalyr/projects/rust/redox/rust/src/libcore/num/mod.rs:1376:30 | |
| | |
1376 | let (a, b) = unsafe { | |
| ^^^^^^ unnecessary `unsafe` block | |
... | |
2120 | / int_impl! { isize, i64, u64, 64, -9223372036854775808, 9223372036854775807, "", "", | |
2121 | | 12, "0xaa00000000006e1", "0x6e10aa", "0x1234567890123456", "0x5634129078563412", | |
2122 | | "0x6a2c48091e6a2c48", "[0x56, 0x34, 0x12, 0x90, 0x78, 0x56, 0x34, 0x12]", | |
2123 | | "[0x12, 0x34, 0x56, 0x78, 0x90, 0x12, 0x34, 0x56]" } | |
| |_____________________________________________________________- in this macro invocation | |
warning: unnecessary `unsafe` block | |
--> /home/vitalyr/projects/rust/redox/rust/src/libcore/num/mod.rs:1403:30 | |
| | |
1403 | let (a, b) = unsafe { | |
| ^^^^^^ unnecessary `unsafe` block | |
... | |
2065 | / int_impl! { i8, i8, u8, 8, -128, 127, "", "", 2, "-0x7e", "0xa", "0x12", "0x12", "0x48", | |
2066 | | "[0x12]", "[0x12]" } | |
| |____________________________- in this macro invocation | |
warning: unnecessary `unsafe` block | |
--> /home/vitalyr/projects/rust/redox/rust/src/libcore/num/mod.rs:1403:30 | |
| | |
1403 | let (a, b) = unsafe { | |
| ^^^^^^ unnecessary `unsafe` block | |
... | |
2071 | / int_impl! { i16, i16, u16, 16, -32768, 32767, "", "", 4, "-0x5ffd", "0x3a", "0x1234", "0x3412", | |
2072 | | "0x2c48", "[0x34, 0x12]", "[0x12, 0x34]" } | |
| |__________________________________________________- in this macro invocation | |
warning: unnecessary `unsafe` block | |
--> /home/vitalyr/projects/rust/redox/rust/src/libcore/num/mod.rs:1403:30 | |
| | |
1403 | let (a, b) = unsafe { | |
| ^^^^^^ unnecessary `unsafe` block | |
... | |
2077 | / int_impl! { i32, i32, u32, 32, -2147483648, 2147483647, "", "", 8, "0x10000b3", "0xb301", | |
2078 | | "0x12345678", "0x78563412", "0x1e6a2c48", "[0x78, 0x56, 0x34, 0x12]", | |
2079 | | "[0x12, 0x34, 0x56, 0x78]" } | |
| |____________________________________- in this macro invocation | |
warning: unnecessary `unsafe` block | |
--> /home/vitalyr/projects/rust/redox/rust/src/libcore/num/mod.rs:1403:30 | |
| | |
1403 | let (a, b) = unsafe { | |
| ^^^^^^ unnecessary `unsafe` block | |
... | |
2084 | / int_impl! { i64, i64, u64, 64, -9223372036854775808, 9223372036854775807, "", "", 12, | |
2085 | | "0xaa00000000006e1", "0x6e10aa", "0x1234567890123456", "0x5634129078563412", | |
2086 | | "0x6a2c48091e6a2c48", "[0x56, 0x34, 0x12, 0x90, 0x78, 0x56, 0x34, 0x12]", | |
2087 | | "[0x12, 0x34, 0x56, 0x78, 0x90, 0x12, 0x34, 0x56]" } | |
| |_____________________________________________________________- in this macro invocation | |
warning: unnecessary `unsafe` block | |
--> /home/vitalyr/projects/rust/redox/rust/src/libcore/num/mod.rs:1403:30 | |
| | |
1403 | let (a, b) = unsafe { | |
| ^^^^^^ unnecessary `unsafe` block | |
... | |
2092 | / int_impl! { i128, i128, u128, 128, -170141183460469231731687303715884105728, | |
2093 | | 170141183460469231731687303715884105727, "", "", 16, | |
2094 | | "0x13f40000000000000000000000004f76", "0x4f7613f4", "0x12345678901234567890123456789012", | |
2095 | | "0x12907856341290785634129078563412", "0x48091e6a2c48091e6a2c48091e6a2c48", | |
... | | |
2098 | | "[0x12, 0x34, 0x56, 0x78, 0x90, 0x12, 0x34, 0x56, \ | |
2099 | | 0x78, 0x90, 0x12, 0x34, 0x56, 0x78, 0x90, 0x12]" } | |
| |____________________________________________________________- in this macro invocation | |
warning: unnecessary `unsafe` block | |
--> /home/vitalyr/projects/rust/redox/rust/src/libcore/num/mod.rs:1403:30 | |
| | |
1403 | let (a, b) = unsafe { | |
| ^^^^^^ unnecessary `unsafe` block | |
... | |
2120 | / int_impl! { isize, i64, u64, 64, -9223372036854775808, 9223372036854775807, "", "", | |
2121 | | 12, "0xaa00000000006e1", "0x6e10aa", "0x1234567890123456", "0x5634129078563412", | |
2122 | | "0x6a2c48091e6a2c48", "[0x56, 0x34, 0x12, 0x90, 0x78, 0x56, 0x34, 0x12]", | |
2123 | | "[0x12, 0x34, 0x56, 0x78, 0x90, 0x12, 0x34, 0x56]" } | |
| |_____________________________________________________________- in this macro invocation | |
warning: unnecessary `unsafe` block | |
--> /home/vitalyr/projects/rust/redox/rust/src/libcore/num/mod.rs:2221:17 | |
| | |
2221 | unsafe { intrinsics::ctpop(self as $ActualT) as u32 } | |
| ^^^^^^ unnecessary `unsafe` block | |
... | |
3795 | / uint_impl! { u8, u8, 8, 255, "", "", 2, "0x82", "0xa", "0x12", "0x12", "0x48", "[0x12]", | |
3796 | | "[0x12]" } | |
| |__________________- in this macro invocation | |
warning: unnecessary `unsafe` block | |
--> /home/vitalyr/projects/rust/redox/rust/src/libcore/num/mod.rs:2221:17 | |
| | |
2221 | unsafe { intrinsics::ctpop(self as $ActualT) as u32 } | |
| ^^^^^^ unnecessary `unsafe` block | |
... | |
4322 | / uint_impl! { u16, u16, 16, 65535, "", "", 4, "0xa003", "0x3a", "0x1234", "0x3412", "0x2c48", | |
4323 | | "[0x34, 0x12]", "[0x12, 0x34]" } | |
| |________________________________________- in this macro invocation | |
warning: unnecessary `unsafe` block | |
--> /home/vitalyr/projects/rust/redox/rust/src/libcore/num/mod.rs:2221:17 | |
| | |
2221 | unsafe { intrinsics::ctpop(self as $ActualT) as u32 } | |
| ^^^^^^ unnecessary `unsafe` block | |
... | |
4328 | / uint_impl! { u32, u32, 32, 4294967295, "", "", 8, "0x10000b3", "0xb301", "0x12345678", | |
4329 | | "0x78563412", "0x1e6a2c48", "[0x78, 0x56, 0x34, 0x12]", "[0x12, 0x34, 0x56, 0x78]" } | |
| |____________________________________________________________________________________________- in this macro invocation | |
warning: unnecessary `unsafe` block | |
--> /home/vitalyr/projects/rust/redox/rust/src/libcore/num/mod.rs:2221:17 | |
| | |
2221 | unsafe { intrinsics::ctpop(self as $ActualT) as u32 } | |
| ^^^^^^ unnecessary `unsafe` block | |
... | |
4334 | / uint_impl! { u64, u64, 64, 18446744073709551615, "", "", 12, "0xaa00000000006e1", "0x6e10aa", | |
4335 | | "0x1234567890123456", "0x5634129078563412", "0x6a2c48091e6a2c48", | |
4336 | | "[0x56, 0x34, 0x12, 0x90, 0x78, 0x56, 0x34, 0x12]", | |
4337 | | "[0x12, 0x34, 0x56, 0x78, 0x90, 0x12, 0x34, 0x56]" } | |
| |____________________________________________________________- in this macro invocation | |
warning: unnecessary `unsafe` block | |
--> /home/vitalyr/projects/rust/redox/rust/src/libcore/num/mod.rs:2221:17 | |
| | |
2221 | unsafe { intrinsics::ctpop(self as $ActualT) as u32 } | |
| ^^^^^^ unnecessary `unsafe` block | |
... | |
4342 | / uint_impl! { u128, u128, 128, 340282366920938463463374607431768211455, "", "", 16, | |
4343 | | "0x13f40000000000000000000000004f76", "0x4f7613f4", "0x12345678901234567890123456789012", | |
4344 | | "0x12907856341290785634129078563412", "0x48091e6a2c48091e6a2c48091e6a2c48", | |
4345 | | "[0x12, 0x90, 0x78, 0x56, 0x34, 0x12, 0x90, 0x78, \ | |
4346 | | 0x56, 0x34, 0x12, 0x90, 0x78, 0x56, 0x34, 0x12]", | |
4347 | | "[0x12, 0x34, 0x56, 0x78, 0x90, 0x12, 0x34, 0x56, \ | |
4348 | | 0x78, 0x90, 0x12, 0x34, 0x56, 0x78, 0x90, 0x12]" } | |
| |____________________________________________________________- in this macro invocation | |
warning: unnecessary `unsafe` block | |
--> /home/vitalyr/projects/rust/redox/rust/src/libcore/num/mod.rs:2221:17 | |
| | |
2221 | unsafe { intrinsics::ctpop(self as $ActualT) as u32 } | |
| ^^^^^^ unnecessary `unsafe` block | |
... | |
4367 | / uint_impl! { usize, u64, 64, 18446744073709551615, "", "", 12, "0xaa00000000006e1", "0x6e10aa", | |
4368 | | "0x1234567890123456", "0x5634129078563412", "0x6a2c48091e6a2c48", | |
4369 | | "[0x56, 0x34, 0x12, 0x90, 0x78, 0x56, 0x34, 0x12]", | |
4370 | | "[0x12, 0x34, 0x56, 0x78, 0x90, 0x12, 0x34, 0x56]" } | |
| |_____________________________________________________________- in this macro invocation | |
warning: unnecessary `unsafe` block | |
--> /home/vitalyr/projects/rust/redox/rust/src/libcore/num/mod.rs:2259:17 | |
| | |
2259 | unsafe { intrinsics::ctlz(self as $ActualT) as u32 } | |
| ^^^^^^ unnecessary `unsafe` block | |
... | |
3795 | / uint_impl! { u8, u8, 8, 255, "", "", 2, "0x82", "0xa", "0x12", "0x12", "0x48", "[0x12]", | |
3796 | | "[0x12]" } | |
| |__________________- in this macro invocation | |
warning: unnecessary `unsafe` block | |
--> /home/vitalyr/projects/rust/redox/rust/src/libcore/num/mod.rs:2259:17 | |
| | |
2259 | unsafe { intrinsics::ctlz(self as $ActualT) as u32 } | |
| ^^^^^^ unnecessary `unsafe` block | |
... | |
4322 | / uint_impl! { u16, u16, 16, 65535, "", "", 4, "0xa003", "0x3a", "0x1234", "0x3412", "0x2c48", | |
4323 | | "[0x34, 0x12]", "[0x12, 0x34]" } | |
| |________________________________________- in this macro invocation | |
warning: unnecessary `unsafe` block | |
--> /home/vitalyr/projects/rust/redox/rust/src/libcore/num/mod.rs:2259:17 | |
| | |
2259 | unsafe { intrinsics::ctlz(self as $ActualT) as u32 } | |
| ^^^^^^ unnecessary `unsafe` block | |
... | |
4328 | / uint_impl! { u32, u32, 32, 4294967295, "", "", 8, "0x10000b3", "0xb301", "0x12345678", | |
4329 | | "0x78563412", "0x1e6a2c48", "[0x78, 0x56, 0x34, 0x12]", "[0x12, 0x34, 0x56, 0x78]" } | |
| |____________________________________________________________________________________________- in this macro invocation | |
warning: unnecessary `unsafe` block | |
--> /home/vitalyr/projects/rust/redox/rust/src/libcore/num/mod.rs:2259:17 | |
| | |
2259 | unsafe { intrinsics::ctlz(self as $ActualT) as u32 } | |
| ^^^^^^ unnecessary `unsafe` block | |
... | |
4334 | / uint_impl! { u64, u64, 64, 18446744073709551615, "", "", 12, "0xaa00000000006e1", "0x6e10aa", | |
4335 | | "0x1234567890123456", "0x5634129078563412", "0x6a2c48091e6a2c48", | |
4336 | | "[0x56, 0x34, 0x12, 0x90, 0x78, 0x56, 0x34, 0x12]", | |
4337 | | "[0x12, 0x34, 0x56, 0x78, 0x90, 0x12, 0x34, 0x56]" } | |
| |____________________________________________________________- in this macro invocation | |
warning: unnecessary `unsafe` block | |
--> /home/vitalyr/projects/rust/redox/rust/src/libcore/num/mod.rs:2259:17 | |
| | |
2259 | unsafe { intrinsics::ctlz(self as $ActualT) as u32 } | |
| ^^^^^^ unnecessary `unsafe` block | |
... | |
4342 | / uint_impl! { u128, u128, 128, 340282366920938463463374607431768211455, "", "", 16, | |
4343 | | "0x13f40000000000000000000000004f76", "0x4f7613f4", "0x12345678901234567890123456789012", | |
4344 | | "0x12907856341290785634129078563412", "0x48091e6a2c48091e6a2c48091e6a2c48", | |
4345 | | "[0x12, 0x90, 0x78, 0x56, 0x34, 0x12, 0x90, 0x78, \ | |
4346 | | 0x56, 0x34, 0x12, 0x90, 0x78, 0x56, 0x34, 0x12]", | |
4347 | | "[0x12, 0x34, 0x56, 0x78, 0x90, 0x12, 0x34, 0x56, \ | |
4348 | | 0x78, 0x90, 0x12, 0x34, 0x56, 0x78, 0x90, 0x12]" } | |
| |____________________________________________________________- in this macro invocation | |
warning: unnecessary `unsafe` block | |
--> /home/vitalyr/projects/rust/redox/rust/src/libcore/num/mod.rs:2259:17 | |
| | |
2259 | unsafe { intrinsics::ctlz(self as $ActualT) as u32 } | |
| ^^^^^^ unnecessary `unsafe` block | |
... | |
4367 | / uint_impl! { usize, u64, 64, 18446744073709551615, "", "", 12, "0xaa00000000006e1", "0x6e10aa", | |
4368 | | "0x1234567890123456", "0x5634129078563412", "0x6a2c48091e6a2c48", | |
4369 | | "[0x56, 0x34, 0x12, 0x90, 0x78, 0x56, 0x34, 0x12]", | |
4370 | | "[0x12, 0x34, 0x56, 0x78, 0x90, 0x12, 0x34, 0x56]" } | |
| |_____________________________________________________________- in this macro invocation | |
warning: unnecessary `unsafe` block | |
--> /home/vitalyr/projects/rust/redox/rust/src/libcore/num/mod.rs:2280:17 | |
| | |
2280 | unsafe { uint_cttz_call!(self, $BITS) as u32 } | |
| ^^^^^^ unnecessary `unsafe` block | |
... | |
3795 | / uint_impl! { u8, u8, 8, 255, "", "", 2, "0x82", "0xa", "0x12", "0x12", "0x48", "[0x12]", | |
3796 | | "[0x12]" } | |
| |__________________- in this macro invocation | |
warning: unnecessary `unsafe` block | |
--> /home/vitalyr/projects/rust/redox/rust/src/libcore/num/mod.rs:2280:17 | |
| | |
2280 | unsafe { uint_cttz_call!(self, $BITS) as u32 } | |
| ^^^^^^ unnecessary `unsafe` block | |
... | |
4322 | / uint_impl! { u16, u16, 16, 65535, "", "", 4, "0xa003", "0x3a", "0x1234", "0x3412", "0x2c48", | |
4323 | | "[0x34, 0x12]", "[0x12, 0x34]" } | |
| |________________________________________- in this macro invocation | |
warning: unnecessary `unsafe` block | |
--> /home/vitalyr/projects/rust/redox/rust/src/libcore/num/mod.rs:2280:17 | |
| | |
2280 | unsafe { uint_cttz_call!(self, $BITS) as u32 } | |
| ^^^^^^ unnecessary `unsafe` block | |
... | |
4328 | / uint_impl! { u32, u32, 32, 4294967295, "", "", 8, "0x10000b3", "0xb301", "0x12345678", | |
4329 | | "0x78563412", "0x1e6a2c48", "[0x78, 0x56, 0x34, 0x12]", "[0x12, 0x34, 0x56, 0x78]" } | |
| |____________________________________________________________________________________________- in this macro invocation | |
warning: unnecessary `unsafe` block | |
--> /home/vitalyr/projects/rust/redox/rust/src/libcore/num/mod.rs:2280:17 | |
| | |
2280 | unsafe { uint_cttz_call!(self, $BITS) as u32 } | |
| ^^^^^^ unnecessary `unsafe` block | |
... | |
4334 | / uint_impl! { u64, u64, 64, 18446744073709551615, "", "", 12, "0xaa00000000006e1", "0x6e10aa", | |
4335 | | "0x1234567890123456", "0x5634129078563412", "0x6a2c48091e6a2c48", | |
4336 | | "[0x56, 0x34, 0x12, 0x90, 0x78, 0x56, 0x34, 0x12]", | |
4337 | | "[0x12, 0x34, 0x56, 0x78, 0x90, 0x12, 0x34, 0x56]" } | |
| |____________________________________________________________- in this macro invocation | |
warning: unnecessary `unsafe` block | |
--> /home/vitalyr/projects/rust/redox/rust/src/libcore/num/mod.rs:2280:17 | |
| | |
2280 | unsafe { uint_cttz_call!(self, $BITS) as u32 } | |
| ^^^^^^ unnecessary `unsafe` block | |
... | |
4342 | / uint_impl! { u128, u128, 128, 340282366920938463463374607431768211455, "", "", 16, | |
4343 | | "0x13f40000000000000000000000004f76", "0x4f7613f4", "0x12345678901234567890123456789012", | |
4344 | | "0x12907856341290785634129078563412", "0x48091e6a2c48091e6a2c48091e6a2c48", | |
4345 | | "[0x12, 0x90, 0x78, 0x56, 0x34, 0x12, 0x90, 0x78, \ | |
4346 | | 0x56, 0x34, 0x12, 0x90, 0x78, 0x56, 0x34, 0x12]", | |
4347 | | "[0x12, 0x34, 0x56, 0x78, 0x90, 0x12, 0x34, 0x56, \ | |
4348 | | 0x78, 0x90, 0x12, 0x34, 0x56, 0x78, 0x90, 0x12]" } | |
| |____________________________________________________________- in this macro invocation | |
warning: unnecessary `unsafe` block | |
--> /home/vitalyr/projects/rust/redox/rust/src/libcore/num/mod.rs:2280:17 | |
| | |
2280 | unsafe { uint_cttz_call!(self, $BITS) as u32 } | |
| ^^^^^^ unnecessary `unsafe` block | |
... | |
4367 | / uint_impl! { usize, u64, 64, 18446744073709551615, "", "", 12, "0xaa00000000006e1", "0x6e10aa", | |
4368 | | "0x1234567890123456", "0x5634129078563412", "0x6a2c48091e6a2c48", | |
4369 | | "[0x56, 0x34, 0x12, 0x90, 0x78, 0x56, 0x34, 0x12]", | |
4370 | | "[0x12, 0x34, 0x56, 0x78, 0x90, 0x12, 0x34, 0x56]" } | |
| |_____________________________________________________________- in this macro invocation | |
warning: unnecessary `unsafe` block | |
--> /home/vitalyr/projects/rust/redox/rust/src/libcore/num/mod.rs:2351:17 | |
| | |
2351 | unsafe { intrinsics::bswap(self as $ActualT) as Self } | |
| ^^^^^^ unnecessary `unsafe` block | |
... | |
3795 | / uint_impl! { u8, u8, 8, 255, "", "", 2, "0x82", "0xa", "0x12", "0x12", "0x48", "[0x12]", | |
3796 | | "[0x12]" } | |
| |__________________- in this macro invocation | |
warning: unnecessary `unsafe` block | |
--> /home/vitalyr/projects/rust/redox/rust/src/libcore/num/mod.rs:2351:17 | |
| | |
2351 | unsafe { intrinsics::bswap(self as $ActualT) as Self } | |
| ^^^^^^ unnecessary `unsafe` block | |
... | |
4322 | / uint_impl! { u16, u16, 16, 65535, "", "", 4, "0xa003", "0x3a", "0x1234", "0x3412", "0x2c48", | |
4323 | | "[0x34, 0x12]", "[0x12, 0x34]" } | |
| |________________________________________- in this macro invocation | |
warning: unnecessary `unsafe` block | |
--> /home/vitalyr/projects/rust/redox/rust/src/libcore/num/mod.rs:2351:17 | |
| | |
2351 | unsafe { intrinsics::bswap(self as $ActualT) as Self } | |
| ^^^^^^ unnecessary `unsafe` block | |
... | |
4328 | / uint_impl! { u32, u32, 32, 4294967295, "", "", 8, "0x10000b3", "0xb301", "0x12345678", | |
4329 | | "0x78563412", "0x1e6a2c48", "[0x78, 0x56, 0x34, 0x12]", "[0x12, 0x34, 0x56, 0x78]" } | |
| |____________________________________________________________________________________________- in this macro invocation | |
warning: unnecessary `unsafe` block | |
--> /home/vitalyr/projects/rust/redox/rust/src/libcore/num/mod.rs:2351:17 | |
| | |
2351 | unsafe { intrinsics::bswap(self as $ActualT) as Self } | |
| ^^^^^^ unnecessary `unsafe` block | |
... | |
4334 | / uint_impl! { u64, u64, 64, 18446744073709551615, "", "", 12, "0xaa00000000006e1", "0x6e10aa", | |
4335 | | "0x1234567890123456", "0x5634129078563412", "0x6a2c48091e6a2c48", | |
4336 | | "[0x56, 0x34, 0x12, 0x90, 0x78, 0x56, 0x34, 0x12]", | |
4337 | | "[0x12, 0x34, 0x56, 0x78, 0x90, 0x12, 0x34, 0x56]" } | |
| |____________________________________________________________- in this macro invocation | |
warning: unnecessary `unsafe` block | |
--> /home/vitalyr/projects/rust/redox/rust/src/libcore/num/mod.rs:2351:17 | |
| | |
2351 | unsafe { intrinsics::bswap(self as $ActualT) as Self } | |
| ^^^^^^ unnecessary `unsafe` block | |
... | |
4342 | / uint_impl! { u128, u128, 128, 340282366920938463463374607431768211455, "", "", 16, | |
4343 | | "0x13f40000000000000000000000004f76", "0x4f7613f4", "0x12345678901234567890123456789012", | |
4344 | | "0x12907856341290785634129078563412", "0x48091e6a2c48091e6a2c48091e6a2c48", | |
4345 | | "[0x12, 0x90, 0x78, 0x56, 0x34, 0x12, 0x90, 0x78, \ | |
4346 | | 0x56, 0x34, 0x12, 0x90, 0x78, 0x56, 0x34, 0x12]", | |
4347 | | "[0x12, 0x34, 0x56, 0x78, 0x90, 0x12, 0x34, 0x56, \ | |
4348 | | 0x78, 0x90, 0x12, 0x34, 0x56, 0x78, 0x90, 0x12]" } | |
| |____________________________________________________________- in this macro invocation | |
warning: unnecessary `unsafe` block | |
--> /home/vitalyr/projects/rust/redox/rust/src/libcore/num/mod.rs:2351:17 | |
| | |
2351 | unsafe { intrinsics::bswap(self as $ActualT) as Self } | |
| ^^^^^^ unnecessary `unsafe` block | |
... | |
4367 | / uint_impl! { usize, u64, 64, 18446744073709551615, "", "", 12, "0xaa00000000006e1", "0x6e10aa", | |
4368 | | "0x1234567890123456", "0x5634129078563412", "0x6a2c48091e6a2c48", | |
4369 | | "[0x56, 0x34, 0x12, 0x90, 0x78, 0x56, 0x34, 0x12]", | |
4370 | | "[0x12, 0x34, 0x56, 0x78, 0x90, 0x12, 0x34, 0x56]" } | |
| |_____________________________________________________________- in this macro invocation | |
warning: unnecessary `unsafe` block | |
--> /home/vitalyr/projects/rust/redox/rust/src/libcore/num/mod.rs:2374:17 | |
| | |
2374 | unsafe { intrinsics::bitreverse(self as $ActualT) as Self } | |
| ^^^^^^ unnecessary `unsafe` block | |
... | |
3795 | / uint_impl! { u8, u8, 8, 255, "", "", 2, "0x82", "0xa", "0x12", "0x12", "0x48", "[0x12]", | |
3796 | | "[0x12]" } | |
| |__________________- in this macro invocation | |
warning: unnecessary `unsafe` block | |
--> /home/vitalyr/projects/rust/redox/rust/src/libcore/num/mod.rs:2374:17 | |
| | |
2374 | unsafe { intrinsics::bitreverse(self as $ActualT) as Self } | |
| ^^^^^^ unnecessary `unsafe` block | |
... | |
4322 | / uint_impl! { u16, u16, 16, 65535, "", "", 4, "0xa003", "0x3a", "0x1234", "0x3412", "0x2c48", | |
4323 | | "[0x34, 0x12]", "[0x12, 0x34]" } | |
| |________________________________________- in this macro invocation | |
warning: unnecessary `unsafe` block | |
--> /home/vitalyr/projects/rust/redox/rust/src/libcore/num/mod.rs:2374:17 | |
| | |
2374 | unsafe { intrinsics::bitreverse(self as $ActualT) as Self } | |
| ^^^^^^ unnecessary `unsafe` block | |
... | |
4328 | / uint_impl! { u32, u32, 32, 4294967295, "", "", 8, "0x10000b3", "0xb301", "0x12345678", | |
4329 | | "0x78563412", "0x1e6a2c48", "[0x78, 0x56, 0x34, 0x12]", "[0x12, 0x34, 0x56, 0x78]" } | |
| |____________________________________________________________________________________________- in this macro invocation | |
warning: unnecessary `unsafe` block | |
--> /home/vitalyr/projects/rust/redox/rust/src/libcore/num/mod.rs:2374:17 | |
| | |
2374 | unsafe { intrinsics::bitreverse(self as $ActualT) as Self } | |
| ^^^^^^ unnecessary `unsafe` block | |
... | |
4334 | / uint_impl! { u64, u64, 64, 18446744073709551615, "", "", 12, "0xaa00000000006e1", "0x6e10aa", | |
4335 | | "0x1234567890123456", "0x5634129078563412", "0x6a2c48091e6a2c48", | |
4336 | | "[0x56, 0x34, 0x12, 0x90, 0x78, 0x56, 0x34, 0x12]", | |
4337 | | "[0x12, 0x34, 0x56, 0x78, 0x90, 0x12, 0x34, 0x56]" } | |
| |____________________________________________________________- in this macro invocation | |
warning: unnecessary `unsafe` block | |
--> /home/vitalyr/projects/rust/redox/rust/src/libcore/num/mod.rs:2374:17 | |
| | |
2374 | unsafe { intrinsics::bitreverse(self as $ActualT) as Self } | |
| ^^^^^^ unnecessary `unsafe` block | |
... | |
4342 | / uint_impl! { u128, u128, 128, 340282366920938463463374607431768211455, "", "", 16, | |
4343 | | "0x13f40000000000000000000000004f76", "0x4f7613f4", "0x12345678901234567890123456789012", | |
4344 | | "0x12907856341290785634129078563412", "0x48091e6a2c48091e6a2c48091e6a2c48", | |
4345 | | "[0x12, 0x90, 0x78, 0x56, 0x34, 0x12, 0x90, 0x78, \ | |
4346 | | 0x56, 0x34, 0x12, 0x90, 0x78, 0x56, 0x34, 0x12]", | |
4347 | | "[0x12, 0x34, 0x56, 0x78, 0x90, 0x12, 0x34, 0x56, \ | |
4348 | | 0x78, 0x90, 0x12, 0x34, 0x56, 0x78, 0x90, 0x12]" } | |
| |____________________________________________________________- in this macro invocation | |
warning: unnecessary `unsafe` block | |
--> /home/vitalyr/projects/rust/redox/rust/src/libcore/num/mod.rs:2374:17 | |
| | |
2374 | unsafe { intrinsics::bitreverse(self as $ActualT) as Self } | |
| ^^^^^^ unnecessary `unsafe` block | |
... | |
4367 | / uint_impl! { usize, u64, 64, 18446744073709551615, "", "", 12, "0xaa00000000006e1", "0x6e10aa", | |
4368 | | "0x1234567890123456", "0x5634129078563412", "0x6a2c48091e6a2c48", | |
4369 | | "[0x56, 0x34, 0x12, 0x90, 0x78, 0x56, 0x34, 0x12]", | |
4370 | | "[0x12, 0x34, 0x56, 0x78, 0x90, 0x12, 0x34, 0x56]" } | |
| |_____________________________________________________________- in this macro invocation | |
warning: unnecessary `unsafe` block | |
--> /home/vitalyr/projects/rust/redox/rust/src/libcore/num/mod.rs:2878:17 | |
| | |
2878 | unsafe { | |
| ^^^^^^ unnecessary `unsafe` block | |
... | |
3795 | / uint_impl! { u8, u8, 8, 255, "", "", 2, "0x82", "0xa", "0x12", "0x12", "0x48", "[0x12]", | |
3796 | | "[0x12]" } | |
| |__________________- in this macro invocation | |
warning: unnecessary `unsafe` block | |
--> /home/vitalyr/projects/rust/redox/rust/src/libcore/num/mod.rs:2878:17 | |
| | |
2878 | unsafe { | |
| ^^^^^^ unnecessary `unsafe` block | |
... | |
4322 | / uint_impl! { u16, u16, 16, 65535, "", "", 4, "0xa003", "0x3a", "0x1234", "0x3412", "0x2c48", | |
4323 | | "[0x34, 0x12]", "[0x12, 0x34]" } | |
| |________________________________________- in this macro invocation | |
warning: unnecessary `unsafe` block | |
--> /home/vitalyr/projects/rust/redox/rust/src/libcore/num/mod.rs:2878:17 | |
| | |
2878 | unsafe { | |
| ^^^^^^ unnecessary `unsafe` block | |
... | |
4328 | / uint_impl! { u32, u32, 32, 4294967295, "", "", 8, "0x10000b3", "0xb301", "0x12345678", | |
4329 | | "0x78563412", "0x1e6a2c48", "[0x78, 0x56, 0x34, 0x12]", "[0x12, 0x34, 0x56, 0x78]" } | |
| |____________________________________________________________________________________________- in this macro invocation | |
warning: unnecessary `unsafe` block | |
--> /home/vitalyr/projects/rust/redox/rust/src/libcore/num/mod.rs:2878:17 | |
| | |
2878 | unsafe { | |
| ^^^^^^ unnecessary `unsafe` block | |
... | |
4334 | / uint_impl! { u64, u64, 64, 18446744073709551615, "", "", 12, "0xaa00000000006e1", "0x6e10aa", | |
4335 | | "0x1234567890123456", "0x5634129078563412", "0x6a2c48091e6a2c48", | |
4336 | | "[0x56, 0x34, 0x12, 0x90, 0x78, 0x56, 0x34, 0x12]", | |
4337 | | "[0x12, 0x34, 0x56, 0x78, 0x90, 0x12, 0x34, 0x56]" } | |
| |____________________________________________________________- in this macro invocation | |
warning: unnecessary `unsafe` block | |
--> /home/vitalyr/projects/rust/redox/rust/src/libcore/num/mod.rs:2878:17 | |
| | |
2878 | unsafe { | |
| ^^^^^^ unnecessary `unsafe` block | |
... | |
4342 | / uint_impl! { u128, u128, 128, 340282366920938463463374607431768211455, "", "", 16, | |
4343 | | "0x13f40000000000000000000000004f76", "0x4f7613f4", "0x12345678901234567890123456789012", | |
4344 | | "0x12907856341290785634129078563412", "0x48091e6a2c48091e6a2c48091e6a2c48", | |
4345 | | "[0x12, 0x90, 0x78, 0x56, 0x34, 0x12, 0x90, 0x78, \ | |
4346 | | 0x56, 0x34, 0x12, 0x90, 0x78, 0x56, 0x34, 0x12]", | |
4347 | | "[0x12, 0x34, 0x56, 0x78, 0x90, 0x12, 0x34, 0x56, \ | |
4348 | | 0x78, 0x90, 0x12, 0x34, 0x56, 0x78, 0x90, 0x12]" } | |
| |____________________________________________________________- in this macro invocation | |
warning: unnecessary `unsafe` block | |
--> /home/vitalyr/projects/rust/redox/rust/src/libcore/num/mod.rs:2878:17 | |
| | |
2878 | unsafe { | |
| ^^^^^^ unnecessary `unsafe` block | |
... | |
4367 | / uint_impl! { usize, u64, 64, 18446744073709551615, "", "", 12, "0xaa00000000006e1", "0x6e10aa", | |
4368 | | "0x1234567890123456", "0x5634129078563412", "0x6a2c48091e6a2c48", | |
4369 | | "[0x56, 0x34, 0x12, 0x90, 0x78, 0x56, 0x34, 0x12]", | |
4370 | | "[0x12, 0x34, 0x56, 0x78, 0x90, 0x12, 0x34, 0x56]" } | |
| |_____________________________________________________________- in this macro invocation | |
warning: unnecessary `unsafe` block | |
--> /home/vitalyr/projects/rust/redox/rust/src/libcore/num/mod.rs:2901:17 | |
| | |
2901 | unsafe { | |
| ^^^^^^ unnecessary `unsafe` block | |
... | |
3795 | / uint_impl! { u8, u8, 8, 255, "", "", 2, "0x82", "0xa", "0x12", "0x12", "0x48", "[0x12]", | |
3796 | | "[0x12]" } | |
| |__________________- in this macro invocation | |
warning: unnecessary `unsafe` block | |
--> /home/vitalyr/projects/rust/redox/rust/src/libcore/num/mod.rs:2901:17 | |
| | |
2901 | unsafe { | |
| ^^^^^^ unnecessary `unsafe` block | |
... | |
4322 | / uint_impl! { u16, u16, 16, 65535, "", "", 4, "0xa003", "0x3a", "0x1234", "0x3412", "0x2c48", | |
4323 | | "[0x34, 0x12]", "[0x12, 0x34]" } | |
| |________________________________________- in this macro invocation | |
warning: unnecessary `unsafe` block | |
--> /home/vitalyr/projects/rust/redox/rust/src/libcore/num/mod.rs:2901:17 | |
| | |
2901 | unsafe { | |
| ^^^^^^ unnecessary `unsafe` block | |
... | |
4328 | / uint_impl! { u32, u32, 32, 4294967295, "", "", 8, "0x10000b3", "0xb301", "0x12345678", | |
4329 | | "0x78563412", "0x1e6a2c48", "[0x78, 0x56, 0x34, 0x12]", "[0x12, 0x34, 0x56, 0x78]" } | |
| |____________________________________________________________________________________________- in this macro invocation | |
warning: unnecessary `unsafe` block | |
--> /home/vitalyr/projects/rust/redox/rust/src/libcore/num/mod.rs:2901:17 | |
| | |
2901 | unsafe { | |
| ^^^^^^ unnecessary `unsafe` block | |
... | |
4334 | / uint_impl! { u64, u64, 64, 18446744073709551615, "", "", 12, "0xaa00000000006e1", "0x6e10aa", | |
4335 | | "0x1234567890123456", "0x5634129078563412", "0x6a2c48091e6a2c48", | |
4336 | | "[0x56, 0x34, 0x12, 0x90, 0x78, 0x56, 0x34, 0x12]", | |
4337 | | "[0x12, 0x34, 0x56, 0x78, 0x90, 0x12, 0x34, 0x56]" } | |
| |____________________________________________________________- in this macro invocation | |
warning: unnecessary `unsafe` block | |
--> /home/vitalyr/projects/rust/redox/rust/src/libcore/num/mod.rs:2901:17 | |
| | |
2901 | unsafe { | |
| ^^^^^^ unnecessary `unsafe` block | |
... | |
4342 | / uint_impl! { u128, u128, 128, 340282366920938463463374607431768211455, "", "", 16, | |
4343 | | "0x13f40000000000000000000000004f76", "0x4f7613f4", "0x12345678901234567890123456789012", | |
4344 | | "0x12907856341290785634129078563412", "0x48091e6a2c48091e6a2c48091e6a2c48", | |
4345 | | "[0x12, 0x90, 0x78, 0x56, 0x34, 0x12, 0x90, 0x78, \ | |
4346 | | 0x56, 0x34, 0x12, 0x90, 0x78, 0x56, 0x34, 0x12]", | |
4347 | | "[0x12, 0x34, 0x56, 0x78, 0x90, 0x12, 0x34, 0x56, \ | |
4348 | | 0x78, 0x90, 0x12, 0x34, 0x56, 0x78, 0x90, 0x12]" } | |
| |____________________________________________________________- in this macro invocation | |
warning: unnecessary `unsafe` block | |
--> /home/vitalyr/projects/rust/redox/rust/src/libcore/num/mod.rs:2901:17 | |
| | |
2901 | unsafe { | |
| ^^^^^^ unnecessary `unsafe` block | |
... | |
4367 | / uint_impl! { usize, u64, 64, 18446744073709551615, "", "", 12, "0xaa00000000006e1", "0x6e10aa", | |
4368 | | "0x1234567890123456", "0x5634129078563412", "0x6a2c48091e6a2c48", | |
4369 | | "[0x56, 0x34, 0x12, 0x90, 0x78, 0x56, 0x34, 0x12]", | |
4370 | | "[0x12, 0x34, 0x56, 0x78, 0x90, 0x12, 0x34, 0x56]" } | |
| |_____________________________________________________________- in this macro invocation | |
warning: unnecessary `unsafe` block | |
--> /home/vitalyr/projects/rust/redox/rust/src/libcore/num/mod.rs:2925:13 | |
| | |
2925 | unsafe { | |
| ^^^^^^ unnecessary `unsafe` block | |
... | |
3795 | / uint_impl! { u8, u8, 8, 255, "", "", 2, "0x82", "0xa", "0x12", "0x12", "0x48", "[0x12]", | |
3796 | | "[0x12]" } | |
| |__________________- in this macro invocation | |
warning: unnecessary `unsafe` block | |
--> /home/vitalyr/projects/rust/redox/rust/src/libcore/num/mod.rs:2925:13 | |
| | |
2925 | unsafe { | |
| ^^^^^^ unnecessary `unsafe` block | |
... | |
4322 | / uint_impl! { u16, u16, 16, 65535, "", "", 4, "0xa003", "0x3a", "0x1234", "0x3412", "0x2c48", | |
4323 | | "[0x34, 0x12]", "[0x12, 0x34]" } | |
| |________________________________________- in this macro invocation | |
warning: unnecessary `unsafe` block | |
--> /home/vitalyr/projects/rust/redox/rust/src/libcore/num/mod.rs:2925:13 | |
| | |
2925 | unsafe { | |
| ^^^^^^ unnecessary `unsafe` block | |
... | |
4328 | / uint_impl! { u32, u32, 32, 4294967295, "", "", 8, "0x10000b3", "0xb301", "0x12345678", | |
4329 | | "0x78563412", "0x1e6a2c48", "[0x78, 0x56, 0x34, 0x12]", "[0x12, 0x34, 0x56, 0x78]" } | |
| |____________________________________________________________________________________________- in this macro invocation | |
warning: unnecessary `unsafe` block | |
--> /home/vitalyr/projects/rust/redox/rust/src/libcore/num/mod.rs:2925:13 | |
| | |
2925 | unsafe { | |
| ^^^^^^ unnecessary `unsafe` block | |
... | |
4334 | / uint_impl! { u64, u64, 64, 18446744073709551615, "", "", 12, "0xaa00000000006e1", "0x6e10aa", | |
4335 | | "0x1234567890123456", "0x5634129078563412", "0x6a2c48091e6a2c48", | |
4336 | | "[0x56, 0x34, 0x12, 0x90, 0x78, 0x56, 0x34, 0x12]", | |
4337 | | "[0x12, 0x34, 0x56, 0x78, 0x90, 0x12, 0x34, 0x56]" } | |
| |____________________________________________________________- in this macro invocation | |
warning: unnecessary `unsafe` block | |
--> /home/vitalyr/projects/rust/redox/rust/src/libcore/num/mod.rs:2925:13 | |
| | |
2925 | unsafe { | |
| ^^^^^^ unnecessary `unsafe` block | |
... | |
4342 | / uint_impl! { u128, u128, 128, 340282366920938463463374607431768211455, "", "", 16, | |
4343 | | "0x13f40000000000000000000000004f76", "0x4f7613f4", "0x12345678901234567890123456789012", | |
4344 | | "0x12907856341290785634129078563412", "0x48091e6a2c48091e6a2c48091e6a2c48", | |
4345 | | "[0x12, 0x90, 0x78, 0x56, 0x34, 0x12, 0x90, 0x78, \ | |
4346 | | 0x56, 0x34, 0x12, 0x90, 0x78, 0x56, 0x34, 0x12]", | |
4347 | | "[0x12, 0x34, 0x56, 0x78, 0x90, 0x12, 0x34, 0x56, \ | |
4348 | | 0x78, 0x90, 0x12, 0x34, 0x56, 0x78, 0x90, 0x12]" } | |
| |____________________________________________________________- in this macro invocation | |
warning: unnecessary `unsafe` block | |
--> /home/vitalyr/projects/rust/redox/rust/src/libcore/num/mod.rs:2925:13 | |
| | |
2925 | unsafe { | |
| ^^^^^^ unnecessary `unsafe` block | |
... | |
4367 | / uint_impl! { usize, u64, 64, 18446744073709551615, "", "", 12, "0xaa00000000006e1", "0x6e10aa", | |
4368 | | "0x1234567890123456", "0x5634129078563412", "0x6a2c48091e6a2c48", | |
4369 | | "[0x56, 0x34, 0x12, 0x90, 0x78, 0x56, 0x34, 0x12]", | |
4370 | | "[0x12, 0x34, 0x56, 0x78, 0x90, 0x12, 0x34, 0x56]" } | |
| |_____________________________________________________________- in this macro invocation | |
warning: unnecessary `unsafe` block | |
--> /home/vitalyr/projects/rust/redox/rust/src/libcore/num/mod.rs:3164:30 | |
| | |
3164 | let (a, b) = unsafe { | |
| ^^^^^^ unnecessary `unsafe` block | |
... | |
3795 | / uint_impl! { u8, u8, 8, 255, "", "", 2, "0x82", "0xa", "0x12", "0x12", "0x48", "[0x12]", | |
3796 | | "[0x12]" } | |
| |__________________- in this macro invocation | |
warning: unnecessary `unsafe` block | |
--> /home/vitalyr/projects/rust/redox/rust/src/libcore/num/mod.rs:3164:30 | |
| | |
3164 | let (a, b) = unsafe { | |
| ^^^^^^ unnecessary `unsafe` block | |
... | |
4322 | / uint_impl! { u16, u16, 16, 65535, "", "", 4, "0xa003", "0x3a", "0x1234", "0x3412", "0x2c48", | |
4323 | | "[0x34, 0x12]", "[0x12, 0x34]" } | |
| |________________________________________- in this macro invocation | |
warning: unnecessary `unsafe` block | |
--> /home/vitalyr/projects/rust/redox/rust/src/libcore/num/mod.rs:3164:30 | |
| | |
3164 | let (a, b) = unsafe { | |
| ^^^^^^ unnecessary `unsafe` block | |
... | |
4328 | / uint_impl! { u32, u32, 32, 4294967295, "", "", 8, "0x10000b3", "0xb301", "0x12345678", | |
4329 | | "0x78563412", "0x1e6a2c48", "[0x78, 0x56, 0x34, 0x12]", "[0x12, 0x34, 0x56, 0x78]" } | |
| |____________________________________________________________________________________________- in this macro invocation | |
warning: unnecessary `unsafe` block | |
--> /home/vitalyr/projects/rust/redox/rust/src/libcore/num/mod.rs:3164:30 | |
| | |
3164 | let (a, b) = unsafe { | |
| ^^^^^^ unnecessary `unsafe` block | |
... | |
4334 | / uint_impl! { u64, u64, 64, 18446744073709551615, "", "", 12, "0xaa00000000006e1", "0x6e10aa", | |
4335 | | "0x1234567890123456", "0x5634129078563412", "0x6a2c48091e6a2c48", | |
4336 | | "[0x56, 0x34, 0x12, 0x90, 0x78, 0x56, 0x34, 0x12]", | |
4337 | | "[0x12, 0x34, 0x56, 0x78, 0x90, 0x12, 0x34, 0x56]" } | |
| |____________________________________________________________- in this macro invocation | |
warning: unnecessary `unsafe` block | |
--> /home/vitalyr/projects/rust/redox/rust/src/libcore/num/mod.rs:3164:30 | |
| | |
3164 | let (a, b) = unsafe { | |
| ^^^^^^ unnecessary `unsafe` block | |
... | |
4342 | / uint_impl! { u128, u128, 128, 340282366920938463463374607431768211455, "", "", 16, | |
4343 | | "0x13f40000000000000000000000004f76", "0x4f7613f4", "0x12345678901234567890123456789012", | |
4344 | | "0x12907856341290785634129078563412", "0x48091e6a2c48091e6a2c48091e6a2c48", | |
4345 | | "[0x12, 0x90, 0x78, 0x56, 0x34, 0x12, 0x90, 0x78, \ | |
4346 | | 0x56, 0x34, 0x12, 0x90, 0x78, 0x56, 0x34, 0x12]", | |
4347 | | "[0x12, 0x34, 0x56, 0x78, 0x90, 0x12, 0x34, 0x56, \ | |
4348 | | 0x78, 0x90, 0x12, 0x34, 0x56, 0x78, 0x90, 0x12]" } | |
| |____________________________________________________________- in this macro invocation | |
warning: unnecessary `unsafe` block | |
--> /home/vitalyr/projects/rust/redox/rust/src/libcore/num/mod.rs:3164:30 | |
| | |
3164 | let (a, b) = unsafe { | |
| ^^^^^^ unnecessary `unsafe` block | |
... | |
4367 | / uint_impl! { usize, u64, 64, 18446744073709551615, "", "", 12, "0xaa00000000006e1", "0x6e10aa", | |
4368 | | "0x1234567890123456", "0x5634129078563412", "0x6a2c48091e6a2c48", | |
4369 | | "[0x56, 0x34, 0x12, 0x90, 0x78, 0x56, 0x34, 0x12]", | |
4370 | | "[0x12, 0x34, 0x56, 0x78, 0x90, 0x12, 0x34, 0x56]" } | |
| |_____________________________________________________________- in this macro invocation | |
warning: unnecessary `unsafe` block | |
--> /home/vitalyr/projects/rust/redox/rust/src/libcore/num/mod.rs:3194:30 | |
| | |
3194 | let (a, b) = unsafe { | |
| ^^^^^^ unnecessary `unsafe` block | |
... | |
3795 | / uint_impl! { u8, u8, 8, 255, "", "", 2, "0x82", "0xa", "0x12", "0x12", "0x48", "[0x12]", | |
3796 | | "[0x12]" } | |
| |__________________- in this macro invocation | |
warning: unnecessary `unsafe` block | |
--> /home/vitalyr/projects/rust/redox/rust/src/libcore/num/mod.rs:3194:30 | |
| | |
3194 | let (a, b) = unsafe { | |
| ^^^^^^ unnecessary `unsafe` block | |
... | |
4322 | / uint_impl! { u16, u16, 16, 65535, "", "", 4, "0xa003", "0x3a", "0x1234", "0x3412", "0x2c48", | |
4323 | | "[0x34, 0x12]", "[0x12, 0x34]" } | |
| |________________________________________- in this macro invocation | |
warning: unnecessary `unsafe` block | |
--> /home/vitalyr/projects/rust/redox/rust/src/libcore/num/mod.rs:3194:30 | |
| | |
3194 | let (a, b) = unsafe { | |
| ^^^^^^ unnecessary `unsafe` block | |
... | |
4328 | / uint_impl! { u32, u32, 32, 4294967295, "", "", 8, "0x10000b3", "0xb301", "0x12345678", | |
4329 | | "0x78563412", "0x1e6a2c48", "[0x78, 0x56, 0x34, 0x12]", "[0x12, 0x34, 0x56, 0x78]" } | |
| |____________________________________________________________________________________________- in this macro invocation | |
warning: unnecessary `unsafe` block | |
--> /home/vitalyr/projects/rust/redox/rust/src/libcore/num/mod.rs:3194:30 | |
| | |
3194 | let (a, b) = unsafe { | |
| ^^^^^^ unnecessary `unsafe` block | |
... | |
4334 | / uint_impl! { u64, u64, 64, 18446744073709551615, "", "", 12, "0xaa00000000006e1", "0x6e10aa", | |
4335 | | "0x1234567890123456", "0x5634129078563412", "0x6a2c48091e6a2c48", | |
4336 | | "[0x56, 0x34, 0x12, 0x90, 0x78, 0x56, 0x34, 0x12]", | |
4337 | | "[0x12, 0x34, 0x56, 0x78, 0x90, 0x12, 0x34, 0x56]" } | |
| |____________________________________________________________- in this macro invocation | |
warning: unnecessary `unsafe` block | |
--> /home/vitalyr/projects/rust/redox/rust/src/libcore/num/mod.rs:3194:30 | |
| | |
3194 | let (a, b) = unsafe { | |
| ^^^^^^ unnecessary `unsafe` block | |
... | |
4342 | / uint_impl! { u128, u128, 128, 340282366920938463463374607431768211455, "", "", 16, | |
4343 | | "0x13f40000000000000000000000004f76", "0x4f7613f4", "0x12345678901234567890123456789012", | |
4344 | | "0x12907856341290785634129078563412", "0x48091e6a2c48091e6a2c48091e6a2c48", | |
4345 | | "[0x12, 0x90, 0x78, 0x56, 0x34, 0x12, 0x90, 0x78, \ | |
4346 | | 0x56, 0x34, 0x12, 0x90, 0x78, 0x56, 0x34, 0x12]", | |
4347 | | "[0x12, 0x34, 0x56, 0x78, 0x90, 0x12, 0x34, 0x56, \ | |
4348 | | 0x78, 0x90, 0x12, 0x34, 0x56, 0x78, 0x90, 0x12]" } | |
| |____________________________________________________________- in this macro invocation | |
warning: unnecessary `unsafe` block | |
--> /home/vitalyr/projects/rust/redox/rust/src/libcore/num/mod.rs:3194:30 | |
| | |
3194 | let (a, b) = unsafe { | |
| ^^^^^^ unnecessary `unsafe` block | |
... | |
4367 | / uint_impl! { usize, u64, 64, 18446744073709551615, "", "", 12, "0xaa00000000006e1", "0x6e10aa", | |
4368 | | "0x1234567890123456", "0x5634129078563412", "0x6a2c48091e6a2c48", | |
4369 | | "[0x56, 0x34, 0x12, 0x90, 0x78, 0x56, 0x34, 0x12]", | |
4370 | | "[0x12, 0x34, 0x56, 0x78, 0x90, 0x12, 0x34, 0x56]" } | |
| |_____________________________________________________________- in this macro invocation | |
warning: unnecessary `unsafe` block | |
--> /home/vitalyr/projects/rust/redox/rust/src/libcore/num/mod.rs:3223:26 | |
| | |
3223 | let (a, b) = unsafe { | |
| ^^^^^^ unnecessary `unsafe` block | |
... | |
3795 | / uint_impl! { u8, u8, 8, 255, "", "", 2, "0x82", "0xa", "0x12", "0x12", "0x48", "[0x12]", | |
3796 | | "[0x12]" } | |
| |__________________- in this macro invocation | |
warning: unnecessary `unsafe` block | |
--> /home/vitalyr/projects/rust/redox/rust/src/libcore/num/mod.rs:3223:26 | |
| | |
3223 | let (a, b) = unsafe { | |
| ^^^^^^ unnecessary `unsafe` block | |
... | |
4322 | / uint_impl! { u16, u16, 16, 65535, "", "", 4, "0xa003", "0x3a", "0x1234", "0x3412", "0x2c48", | |
4323 | | "[0x34, 0x12]", "[0x12, 0x34]" } | |
| |________________________________________- in this macro invocation | |
warning: unnecessary `unsafe` block | |
--> /home/vitalyr/projects/rust/redox/rust/src/libcore/num/mod.rs:3223:26 | |
| | |
3223 | let (a, b) = unsafe { | |
| ^^^^^^ unnecessary `unsafe` block | |
... | |
4328 | / uint_impl! { u32, u32, 32, 4294967295, "", "", 8, "0x10000b3", "0xb301", "0x12345678", | |
4329 | | "0x78563412", "0x1e6a2c48", "[0x78, 0x56, 0x34, 0x12]", "[0x12, 0x34, 0x56, 0x78]" } | |
| |____________________________________________________________________________________________- in this macro invocation | |
warning: unnecessary `unsafe` block | |
--> /home/vitalyr/projects/rust/redox/rust/src/libcore/num/mod.rs:3223:26 | |
| | |
3223 | let (a, b) = unsafe { | |
| ^^^^^^ unnecessary `unsafe` block | |
... | |
4334 | / uint_impl! { u64, u64, 64, 18446744073709551615, "", "", 12, "0xaa00000000006e1", "0x6e10aa", | |
4335 | | "0x1234567890123456", "0x5634129078563412", "0x6a2c48091e6a2c48", | |
4336 | | "[0x56, 0x34, 0x12, 0x90, 0x78, 0x56, 0x34, 0x12]", | |
4337 | | "[0x12, 0x34, 0x56, 0x78, 0x90, 0x12, 0x34, 0x56]" } | |
| |____________________________________________________________- in this macro invocation | |
warning: unnecessary `unsafe` block | |
--> /home/vitalyr/projects/rust/redox/rust/src/libcore/num/mod.rs:3223:26 | |
| | |
3223 | let (a, b) = unsafe { | |
| ^^^^^^ unnecessary `unsafe` block | |
... | |
4342 | / uint_impl! { u128, u128, 128, 340282366920938463463374607431768211455, "", "", 16, | |
4343 | | "0x13f40000000000000000000000004f76", "0x4f7613f4", "0x12345678901234567890123456789012", | |
4344 | | "0x12907856341290785634129078563412", "0x48091e6a2c48091e6a2c48091e6a2c48", | |
4345 | | "[0x12, 0x90, 0x78, 0x56, 0x34, 0x12, 0x90, 0x78, \ | |
4346 | | 0x56, 0x34, 0x12, 0x90, 0x78, 0x56, 0x34, 0x12]", | |
4347 | | "[0x12, 0x34, 0x56, 0x78, 0x90, 0x12, 0x34, 0x56, \ | |
4348 | | 0x78, 0x90, 0x12, 0x34, 0x56, 0x78, 0x90, 0x12]" } | |
| |____________________________________________________________- in this macro invocation | |
warning: unnecessary `unsafe` block | |
--> /home/vitalyr/projects/rust/redox/rust/src/libcore/num/mod.rs:3223:26 | |
| | |
3223 | let (a, b) = unsafe { | |
| ^^^^^^ unnecessary `unsafe` block | |
... | |
4367 | / uint_impl! { usize, u64, 64, 18446744073709551615, "", "", 12, "0xaa00000000006e1", "0x6e10aa", | |
4368 | | "0x1234567890123456", "0x5634129078563412", "0x6a2c48091e6a2c48", | |
4369 | | "[0x56, 0x34, 0x12, 0x90, 0x78, 0x56, 0x34, 0x12]", | |
4370 | | "[0x12, 0x34, 0x56, 0x78, 0x90, 0x12, 0x34, 0x56]" } | |
| |_____________________________________________________________- in this macro invocation | |
warning: unnecessary `unsafe` block | |
--> /home/vitalyr/projects/rust/redox/rust/src/libcore/num/bignum.rs:62:39 | |
| | |
62 | let (v, carry1) = unsafe { intrinsics::add_with_overflow(self, other) }; | |
| ^^^^^^ unnecessary `unsafe` block | |
... | |
97 | / impl_full_ops! { | |
98 | | u8: add(intrinsics::u8_add_with_overflow), mul/div(u16); | |
99 | | u16: add(intrinsics::u16_add_with_overflow), mul/div(u32); | |
100 | | u32: add(intrinsics::u32_add_with_overflow), mul/div(u64); | |
101 | | // u64: add(intrinsics::u64_add_with_overflow), mul/div(u128); // see RFC #521 for enabling this. | |
102 | | } | |
| |_- in this macro invocation | |
warning: unnecessary `unsafe` block | |
--> /home/vitalyr/projects/rust/redox/rust/src/libcore/num/bignum.rs:63:39 | |
| | |
63 | let (v, carry2) = unsafe { | |
| ^^^^^^ unnecessary `unsafe` block | |
... | |
97 | / impl_full_ops! { | |
98 | | u8: add(intrinsics::u8_add_with_overflow), mul/div(u16); | |
99 | | u16: add(intrinsics::u16_add_with_overflow), mul/div(u32); | |
100 | | u32: add(intrinsics::u32_add_with_overflow), mul/div(u64); | |
101 | | // u64: add(intrinsics::u64_add_with_overflow), mul/div(u128); // see RFC #521 for enabling this. | |
102 | | } | |
| |_- in this macro invocation | |
error[E0133]: initializing type with `rustc_layout_scalar_valid_range` attr is unsafe and requires unsafe function or block | |
--> /home/vitalyr/projects/rust/redox/rust/src/libcore/ptr.rs:2755:36 | |
| | |
2755 | Some(Unique { pointer: NonZero(ptr as _), _marker: PhantomData }) | |
| ^^^^^^^^^^^^^^^^^ initializing type with `rustc_layout_scalar_valid_range` attr | |
| | |
= note: initializing a layout restricted type's field with a value outside the valid range is undefined behavior | |
error[E0133]: initializing type with `rustc_layout_scalar_valid_range` attr is unsafe and requires unsafe function or block | |
--> /home/vitalyr/projects/rust/redox/rust/src/libcore/ptr.rs:2811:27 | |
| | |
2811 | Unique { pointer: NonZero(reference as _), _marker: PhantomData } | |
| ^^^^^^^^^^^^^^^^^^^^^^^ initializing type with `rustc_layout_scalar_valid_range` attr | |
| | |
= note: initializing a layout restricted type's field with a value outside the valid range is undefined behavior | |
error[E0133]: initializing type with `rustc_layout_scalar_valid_range` attr is unsafe and requires unsafe function or block | |
--> /home/vitalyr/projects/rust/redox/rust/src/libcore/ptr.rs:2818:27 | |
| | |
2818 | Unique { pointer: NonZero(reference as _), _marker: PhantomData } | |
| ^^^^^^^^^^^^^^^^^^^^^^^ initializing type with `rustc_layout_scalar_valid_range` attr | |
| | |
= note: initializing a layout restricted type's field with a value outside the valid range is undefined behavior | |
error[E0133]: initializing type with `rustc_layout_scalar_valid_range` attr is unsafe and requires unsafe function or block | |
--> /home/vitalyr/projects/rust/redox/rust/src/libcore/ptr.rs:2899:37 | |
| | |
2899 | Some(NonNull { pointer: NonZero(ptr as _) }) | |
| ^^^^^^^^^^^^^^^^^ initializing type with `rustc_layout_scalar_valid_range` attr | |
| | |
= note: initializing a layout restricted type's field with a value outside the valid range is undefined behavior | |
error[E0133]: initializing type with `rustc_layout_scalar_valid_range` attr is unsafe and requires unsafe function or block | |
--> /home/vitalyr/projects/rust/redox/rust/src/libcore/ptr.rs:3021:28 | |
| | |
3021 | NonNull { pointer: NonZero(reference as _) } | |
| ^^^^^^^^^^^^^^^^^^^^^^^ initializing type with `rustc_layout_scalar_valid_range` attr | |
| | |
= note: initializing a layout restricted type's field with a value outside the valid range is undefined behavior | |
error[E0133]: initializing type with `rustc_layout_scalar_valid_range` attr is unsafe and requires unsafe function or block | |
--> /home/vitalyr/projects/rust/redox/rust/src/libcore/ptr.rs:3029:28 | |
| | |
3029 | NonNull { pointer: NonZero(reference as _) } | |
| ^^^^^^^^^^^^^^^^^^^^^^^ initializing type with `rustc_layout_scalar_valid_range` attr | |
| | |
= note: initializing a layout restricted type's field with a value outside the valid range is undefined behavior | |
error[E0133]: borrow of layout constrained field with interior mutability is unsafe and requires unsafe function or block | |
--> /home/vitalyr/projects/rust/redox/rust/src/libcore/nonzero.rs:20:30 | |
| | |
20 | pub(crate) struct NonZero<T>(pub(crate) T); | |
| ^^^^^^^^^^^^ borrow of layout constrained field with interior mutability | |
| | |
= note: references to fields of layout constrained fields lose the constraints. Coupled with interior mutability, the field can be changed to invalid values | |
error[E0133]: initializing type with `rustc_layout_scalar_valid_range` attr is unsafe and requires unsafe function or block | |
--> /home/vitalyr/projects/rust/redox/rust/src/libcore/nonzero.rs:18:16 | |
| | |
18 | #[derive(Copy, Clone, Eq, PartialEq, Ord, PartialOrd, Hash)] | |
| ^^^^^ initializing type with `rustc_layout_scalar_valid_range` attr | |
| | |
= note: initializing a layout restricted type's field with a value outside the valid range is undefined behavior | |
error: aborting due to 9 previous errors | |
For more information about this error, try `rustc --explain E0133`. | |
error: Could not compile `core`. | |
To learn more, run the command again with --verbose. | |
error: `"cargo" "build" "--release" "--manifest-path" "/tmp/xargo.9cBlKzUyMXZT/Cargo.toml" "--target" "x86_64-unknown-redox" "-p" "std"` failed with exit code: Some(101) | |
note: run with `RUST_BACKTRACE=1` for a backtrace | |
./repo.sh failed.make: *** [mk/initfs.mk:5:build/initfs.tag] 错误 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment