Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Compiling mullvad-paths v0.1.0 (/home/admin/.cache/yay/mullvad-vpn/src/mullvadvpn-app/mullvad-paths)
- Compiling failure v0.1.6
- Compiling nftnl v0.2.1
- Compiling tokio-process v0.2.4
- error[E0308]: mismatched types
- --> /home/admin/.cargo/registry/src/github.com-1ecc6299db9ec823/nftnl-0.2.1/src/batch.rs:87:41
- |
- 87 | unsafe { sys::nftnl_batch_begin(self.current() as *mut i8, self.seq) };
- | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `u8`, found `i8`
- |
- = note: expected raw pointer `*mut u8`
- found raw pointer `*mut i8`
- error[E0308]: mismatched types
- --> /home/admin/.cargo/registry/src/github.com-1ecc6299db9ec823/nftnl-0.2.1/src/batch.rs:92:39
- |
- 92 | unsafe { sys::nftnl_batch_end(self.current() as *mut i8, self.seq) };
- | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `u8`, found `i8`
- |
- = note: expected raw pointer `*mut u8`
- found raw pointer `*mut i8`
- Compiling tokio-fs v0.1.6
- error[E0308]: mismatched types
- --> /home/admin/.cargo/registry/src/github.com-1ecc6299db9ec823/nftnl-0.2.1/src/table.rs:54:13
- |
- 54 | buf as *mut i8,
- | ^^^^^^^^^^^^^^ expected `u8`, found `i8`
- |
- = note: expected raw pointer `*mut u8`
- found raw pointer `*mut i8`
- error[E0308]: mismatched types
- --> /home/admin/.cargo/registry/src/github.com-1ecc6299db9ec823/nftnl-0.2.1/src/table.rs:76:13
- |
- 76 | buffer.as_mut_ptr() as *mut i8,
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `u8`, found `i8`
- |
- = note: expected raw pointer `*mut u8`
- found raw pointer `*mut i8`
- error[E0308]: mismatched types
- --> /home/admin/.cargo/registry/src/github.com-1ecc6299db9ec823/nftnl-0.2.1/src/chain.rs:111:13
- |
- 111 | buf as *mut i8,
- | ^^^^^^^^^^^^^^ expected `u8`, found `i8`
- |
- = note: expected raw pointer `*mut u8`
- found raw pointer `*mut i8`
- error[E0308]: mismatched types
- --> /home/admin/.cargo/registry/src/github.com-1ecc6299db9ec823/nftnl-0.2.1/src/rule.rs:74:13
- |
- 74 | buf as *mut i8,
- | ^^^^^^^^^^^^^^ expected `u8`, found `i8`
- |
- = note: expected raw pointer `*mut u8`
- found raw pointer `*mut i8`
- error[E0308]: mismatched types
- --> /home/admin/.cargo/registry/src/github.com-1ecc6299db9ec823/nftnl-0.2.1/src/set.rs:117:13
- |
- 117 | buf as *mut i8,
- | ^^^^^^^^^^^^^^ expected `u8`, found `i8`
- |
- = note: expected raw pointer `*mut u8`
- found raw pointer `*mut i8`
- error[E0308]: mismatched types
- --> /home/admin/.cargo/registry/src/github.com-1ecc6299db9ec823/nftnl-0.2.1/src/set.rs:191:13
- |
- 191 | buf as *mut i8,
- | ^^^^^^^^^^^^^^ expected `u8`, found `i8`
- |
- = note: expected raw pointer `*mut u8`
- found raw pointer `*mut i8`
- error: aborting due to 8 previous errors
- For more information about this error, try `rustc --explain E0308`.
- error: could not compile `nftnl`.
- warning: build failed, waiting for other jobs to finish...
- error: build failed
- ==> ERROR: A failure occurred in build().
- Aborting...
- Error making: mullvad-vpn
Add Comment
Please, Sign In to add comment