Created
December 8, 2019 10:02
-
-
Save jacobrosenthal/cb678c34ab08f149274134511c6cf0c6 to your computer and use it in GitHub Desktop.
lighthouse aarch64
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
Compiling leveldb v0.8.4 | |
error[E0308]: mismatched types | |
--> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/leveldb-0.8.4/src/database/mod.rs:112:35 | |
| | |
112 | ... c_string.as_bytes_with_nul().as_ptr() as *const i8, | |
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected u8, found i8 | |
| | |
= note: expected type `*const u8` | |
found type `*const i8` | |
error[E0308]: mismatched types | |
--> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/leveldb-0.8.4/src/database/mod.rs:121:36 | |
| | |
121 | Err(Error::new_from_i8(error)) | |
| ^^^^^ expected i8, found u8 | |
| | |
= note: expected type `*const i8` | |
found type `*mut u8` | |
error[E0308]: mismatched types | |
--> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/leveldb-0.8.4/src/database/mod.rs:143:35 | |
| | |
143 | ... c_string.as_bytes_with_nul().as_ptr() as *const i8, | |
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected u8, found i8 | |
| | |
= note: expected type `*const u8` | |
found type `*const i8` | |
error[E0308]: mismatched types | |
--> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/leveldb-0.8.4/src/database/mod.rs:152:36 | |
| | |
152 | Err(Error::new_from_i8(error)) | |
| ^^^^^ expected i8, found u8 | |
| | |
= note: expected type `*const i8` | |
found type `*mut u8` | |
error[E0308]: mismatched types | |
--> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/leveldb-0.8.4/src/database/error.rs:25:38 | |
| | |
25 | from_utf8(CStr::from_ptr(message).to_bytes()).unwrap().to_string() | |
| ^^^^^^^ expected u8, found i8 | |
| | |
= note: expected type `*const u8` | |
found type `*const i8` | |
error[E0308]: mismatched types | |
--> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/leveldb-0.8.4/src/database/comparator.rs:94:35 | |
| | |
94 | ... <T as InternalComparator>::compare, | |
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected u8, found i8 | |
| | |
= note: expected type `extern "C" fn(*mut libc::c_void, *const u8, usize, *const u8, usize) -> i32` | |
found type `extern "C" fn(*mut libc::c_void, *const i8, usize, *const i8, usize) -> i32 {<T as database::comparator::InternalComparator>::compare}` | |
error[E0308]: mismatched types | |
--> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/leveldb-0.8.4/src/database/kv.rs:65:44 | |
| | |
65 | Err(Error::new_from_i8(error)) | |
| ^^^^^ expected i8, found u8 | |
| | |
= note: expected type `*const i8` | |
found type `*mut u8` | |
error[E0308]: mismatched types | |
--> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/leveldb-0.8.4/src/database/kv.rs:91:44 | |
| | |
91 | Err(Error::new_from_i8(error)) | |
| ^^^^^ expected i8, found u8 | |
| | |
= note: expected type `*const i8` | |
found type `*mut u8` | |
error[E0308]: mismatched types | |
--> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/leveldb-0.8.4/src/database/kv.rs:123:44 | |
| | |
123 | Err(Error::new_from_i8(error)) | |
| ^^^^^ expected i8, found u8 | |
| | |
= note: expected type `*const i8` | |
found type `*mut u8` | |
error[E0308]: mismatched types | |
--> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/leveldb-0.8.4/src/database/batch.rs:55:40 | |
| | |
55 | Err(Error::new_from_i8(error)) | |
| ^^^^^ expected i8, found u8 | |
| | |
= note: expected type `*const i8` | |
found type `*mut u8` | |
error[E0308]: mismatched types | |
--> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/leveldb-0.8.4/src/database/batch.rs:107:40 | |
| | |
107 | ... put_callback::<K, T>, | |
| ^^^^^^^^^^^^^^^^^^^^ expected u8, found i8 | |
| | |
= note: expected type `extern "C" fn(*mut libc::c_void, *const u8, usize, *const u8, usize)` | |
found type `extern "C" fn(*mut libc::c_void, *const i8, usize, *const i8, usize) {database::batch::put_callback::<K, T>}` | |
error[E0308]: mismatched types | |
--> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/leveldb-0.8.4/src/database/batch.rs:108:40 | |
| | |
108 | ... deleted_callback::<K, T>); | |
| ^^^^^^^^^^^^^^^^^^^^^^^^ expected u8, found i8 | |
| | |
= note: expected type `extern "C" fn(*mut libc::c_void, *const u8, usize)` | |
found type `extern "C" fn(*mut libc::c_void, *const i8, usize) {database::batch::deleted_callback::<K, T>}` | |
error[E0308]: mismatched types | |
--> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/leveldb-0.8.4/src/database/management.rs:17:28 | |
| | |
17 | ... c_string.as_bytes_with_nul().as_ptr() as *const i8, | |
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected u8, found i8 | |
| | |
= note: expected type `*const u8` | |
found type `*const i8` | |
error[E0308]: mismatched types | |
--> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/leveldb-0.8.4/src/database/management.rs:24:32 | |
| | |
24 | Err(Error::new_from_i8(error)) | |
| ^^^^^ expected i8, found u8 | |
| | |
= note: expected type `*const i8` | |
found type `*mut u8` | |
error[E0308]: mismatched types | |
--> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/leveldb-0.8.4/src/database/management.rs:35:27 | |
| | |
35 | c_string.as_bytes_with_nul().as_ptr() as *const i8, | |
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected u8, found i8 | |
| | |
= note: expected type `*const u8` | |
found type `*const i8` | |
error[E0308]: mismatched types | |
--> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/leveldb-0.8.4/src/database/management.rs:42:32 | |
| | |
42 | Err(Error::new_from_i8(error)) | |
| ^^^^^ expected i8, found u8 | |
| | |
= note: expected type `*const i8` | |
found type `*mut u8` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment