Guest User

Untitled

a guest
Feb 26th, 2020
310
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.28 KB | None | 0 0
  1. Compiling mullvad-paths v0.1.0 (/home/admin/.cache/yay/mullvad-vpn/src/mullvadvpn-app/mullvad-paths)
  2. Compiling failure v0.1.6
  3. Compiling nftnl v0.2.1
  4. Compiling tokio-process v0.2.4
  5. error[E0308]: mismatched types
  6. --> /home/admin/.cargo/registry/src/github.com-1ecc6299db9ec823/nftnl-0.2.1/src/batch.rs:87:41
  7. |
  8. 87 | unsafe { sys::nftnl_batch_begin(self.current() as *mut i8, self.seq) };
  9. | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `u8`, found `i8`
  10. |
  11. = note: expected raw pointer `*mut u8`
  12. found raw pointer `*mut i8`
  13.  
  14. error[E0308]: mismatched types
  15. --> /home/admin/.cargo/registry/src/github.com-1ecc6299db9ec823/nftnl-0.2.1/src/batch.rs:92:39
  16. |
  17. 92 | unsafe { sys::nftnl_batch_end(self.current() as *mut i8, self.seq) };
  18. | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `u8`, found `i8`
  19. |
  20. = note: expected raw pointer `*mut u8`
  21. found raw pointer `*mut i8`
  22.  
  23. Compiling tokio-fs v0.1.6
  24. error[E0308]: mismatched types
  25. --> /home/admin/.cargo/registry/src/github.com-1ecc6299db9ec823/nftnl-0.2.1/src/table.rs:54:13
  26. |
  27. 54 | buf as *mut i8,
  28. | ^^^^^^^^^^^^^^ expected `u8`, found `i8`
  29. |
  30. = note: expected raw pointer `*mut u8`
  31. found raw pointer `*mut i8`
  32.  
  33. error[E0308]: mismatched types
  34. --> /home/admin/.cargo/registry/src/github.com-1ecc6299db9ec823/nftnl-0.2.1/src/table.rs:76:13
  35. |
  36. 76 | buffer.as_mut_ptr() as *mut i8,
  37. | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `u8`, found `i8`
  38. |
  39. = note: expected raw pointer `*mut u8`
  40. found raw pointer `*mut i8`
  41.  
  42. error[E0308]: mismatched types
  43. --> /home/admin/.cargo/registry/src/github.com-1ecc6299db9ec823/nftnl-0.2.1/src/chain.rs:111:13
  44. |
  45. 111 | buf as *mut i8,
  46. | ^^^^^^^^^^^^^^ expected `u8`, found `i8`
  47. |
  48. = note: expected raw pointer `*mut u8`
  49. found raw pointer `*mut i8`
  50.  
  51. error[E0308]: mismatched types
  52. --> /home/admin/.cargo/registry/src/github.com-1ecc6299db9ec823/nftnl-0.2.1/src/rule.rs:74:13
  53. |
  54. 74 | buf as *mut i8,
  55. | ^^^^^^^^^^^^^^ expected `u8`, found `i8`
  56. |
  57. = note: expected raw pointer `*mut u8`
  58. found raw pointer `*mut i8`
  59.  
  60. error[E0308]: mismatched types
  61. --> /home/admin/.cargo/registry/src/github.com-1ecc6299db9ec823/nftnl-0.2.1/src/set.rs:117:13
  62. |
  63. 117 | buf as *mut i8,
  64. | ^^^^^^^^^^^^^^ expected `u8`, found `i8`
  65. |
  66. = note: expected raw pointer `*mut u8`
  67. found raw pointer `*mut i8`
  68.  
  69. error[E0308]: mismatched types
  70. --> /home/admin/.cargo/registry/src/github.com-1ecc6299db9ec823/nftnl-0.2.1/src/set.rs:191:13
  71. |
  72. 191 | buf as *mut i8,
  73. | ^^^^^^^^^^^^^^ expected `u8`, found `i8`
  74. |
  75. = note: expected raw pointer `*mut u8`
  76. found raw pointer `*mut i8`
  77.  
  78. error: aborting due to 8 previous errors
  79.  
  80. For more information about this error, try `rustc --explain E0308`.
  81. error: could not compile `nftnl`.
  82. warning: build failed, waiting for other jobs to finish...
  83. error: build failed
  84. ==> ERROR: A failure occurred in build().
  85. Aborting...
  86. Error making: mullvad-vpn
Add Comment
Please, Sign In to add comment