Guest User

Untitled

a guest
Oct 18th, 2018
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 32.09 KB | None | 0 0
  1. maciek@debsid32:~/safe_client_libs/safe_app$ OPENSSL_LIB_DIR="/usr/lib/i386-linux-gnu" OPENSSL_INCLUDE_DIR="/usr/include/openssl" cargo build --release --features "use-mock-routing" --target=i686-unknown-linux-gnu
  2. Compiling flate2 v0.2.20
  3. Compiling bzip2 v0.3.3
  4. Compiling backtrace v0.3.9
  5. Compiling syn v0.14.9
  6. Compiling openssl v0.9.24
  7. error[E0428]: the name `setup_curves` is defined multiple times
  8. --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/ssl/connector.rs:366:1
  9. |
  10. 357 | fn setup_curves(ctx: &mut SslContextBuilder) -> Result<(), ErrorStack> {
  11. | ---------------------------------------------------------------------- previous definition of the value `setup_curves` here
  12. ...
  13. 366 | fn setup_curves(ctx: &mut SslContextBuilder) -> Result<(), ErrorStack> {
  14. | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `setup_curves` redefined here
  15. |
  16. = note: `setup_curves` must be defined only once in the value namespace of this module
  17.  
  18. error[E0428]: the name `setup_verify` is defined multiple times
  19. --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/ssl/connector.rs:399:1
  20. |
  21. 394 | fn setup_verify(ctx: &mut SslContextBuilder) {
  22. | -------------------------------------------- previous definition of the value `setup_verify` here
  23. ...
  24. 399 | fn setup_verify(ctx: &mut SslContextBuilder) {
  25. | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `setup_verify` redefined here
  26. |
  27. = note: `setup_verify` must be defined only once in the value namespace of this module
  28.  
  29. error[E0428]: the name `setup_verify_hostname` is defined multiple times
  30. --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/ssl/connector.rs:423:1
  31. |
  32. 413 | fn setup_verify_hostname(ssl: &mut Ssl, domain: &str) -> Result<(), ErrorStack> {
  33. | ------------------------------------------------------------------------------- previous definition of the value `setup_verify_hostname` here
  34. ...
  35. 423 | fn setup_verify_hostname(ssl: &mut Ssl, domain: &str) -> Result<(), ErrorStack> {
  36. | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `setup_verify_hostname` redefined here
  37. |
  38. = note: `setup_verify_hostname` must be defined only once in the value namespace of this module
  39.  
  40. error[E0433]: failed to resolve. Use of undeclared type or module `compat`
  41. --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/dh.rs:28:17
  42. |
  43. 28 | cvt(compat::DH_set0_pqg(
  44. | ^^^^^^ Use of undeclared type or module `compat`
  45.  
  46. error[E0433]: failed to resolve. Use of undeclared type or module `compat`
  47. --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/dsa.rs:85:21
  48. |
  49. 85 | let p = compat::pqg(self.as_ptr())[0];
  50. | ^^^^^^ Use of undeclared type or module `compat`
  51.  
  52. error[E0433]: failed to resolve. Use of undeclared type or module `compat`
  53. --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/dsa.rs:97:21
  54. |
  55. 97 | let q = compat::pqg(self.as_ptr())[1];
  56. | ^^^^^^ Use of undeclared type or module `compat`
  57.  
  58. error[E0433]: failed to resolve. Use of undeclared type or module `compat`
  59. --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/dsa.rs:109:21
  60. |
  61. 109 | let g = compat::pqg(self.as_ptr())[2];
  62. | ^^^^^^ Use of undeclared type or module `compat`
  63.  
  64. error[E0433]: failed to resolve. Use of undeclared type or module `compat`
  65. --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/dsa.rs:121:19
  66. |
  67. 121 | unsafe { !compat::keys(self.as_ptr())[0].is_null() }
  68. | ^^^^^^ Use of undeclared type or module `compat`
  69.  
  70. error[E0433]: failed to resolve. Use of undeclared type or module `compat`
  71. --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/dsa.rs:127:19
  72. |
  73. 127 | unsafe { !compat::keys(self.as_ptr())[1].is_null() }
  74. | ^^^^^^ Use of undeclared type or module `compat`
  75.  
  76. error[E0433]: failed to resolve. Use of undeclared type or module `compat`
  77. --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/rsa.rs:173:21
  78. |
  79. 173 | let n = compat::key(self.as_ptr())[0];
  80. | ^^^^^^ Use of undeclared type or module `compat`
  81.  
  82. error[E0433]: failed to resolve. Use of undeclared type or module `compat`
  83. --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/rsa.rs:184:21
  84. |
  85. 184 | let d = compat::key(self.as_ptr())[2];
  86. | ^^^^^^ Use of undeclared type or module `compat`
  87.  
  88. error[E0433]: failed to resolve. Use of undeclared type or module `compat`
  89. --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/rsa.rs:195:21
  90. |
  91. 195 | let e = compat::key(self.as_ptr())[1];
  92. | ^^^^^^ Use of undeclared type or module `compat`
  93.  
  94. error[E0433]: failed to resolve. Use of undeclared type or module `compat`
  95. --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/rsa.rs:206:21
  96. |
  97. 206 | let p = compat::factors(self.as_ptr())[0];
  98. | ^^^^^^ Use of undeclared type or module `compat`
  99.  
  100. error[E0433]: failed to resolve. Use of undeclared type or module `compat`
  101. --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/rsa.rs:217:21
  102. |
  103. 217 | let q = compat::factors(self.as_ptr())[1];
  104. | ^^^^^^ Use of undeclared type or module `compat`
  105.  
  106. error[E0433]: failed to resolve. Use of undeclared type or module `compat`
  107. --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/rsa.rs:228:22
  108. |
  109. 228 | let dp = compat::crt_params(self.as_ptr())[0];
  110. | ^^^^^^ Use of undeclared type or module `compat`
  111.  
  112. error[E0433]: failed to resolve. Use of undeclared type or module `compat`
  113. --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/rsa.rs:239:22
  114. |
  115. 239 | let dq = compat::crt_params(self.as_ptr())[1];
  116. | ^^^^^^ Use of undeclared type or module `compat`
  117.  
  118. error[E0433]: failed to resolve. Use of undeclared type or module `compat`
  119. --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/rsa.rs:250:22
  120. |
  121. 250 | let qi = compat::crt_params(self.as_ptr())[2];
  122. | ^^^^^^ Use of undeclared type or module `compat`
  123.  
  124. error[E0433]: failed to resolve. Use of undeclared type or module `compat`
  125. --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/rsa.rs:266:17
  126. |
  127. 266 | cvt(compat::set_key(
  128. | ^^^^^^ Use of undeclared type or module `compat`
  129.  
  130. error[E0433]: failed to resolve. Use of undeclared type or module `compat`
  131. --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/rsa.rs:290:17
  132. |
  133. 290 | compat::set_key(rsa.0, n.as_ptr(), e.as_ptr(), d.as_ptr()),
  134. | ^^^^^^ Use of undeclared type or module `compat`
  135.  
  136. error[E0433]: failed to resolve. Use of undeclared type or module `compat`
  137. --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/rsa.rs:293:17
  138. |
  139. 293 | cvt(compat::set_factors(rsa.0, p.as_ptr(), q.as_ptr()))?;
  140. | ^^^^^^ Use of undeclared type or module `compat`
  141.  
  142. error[E0433]: failed to resolve. Use of undeclared type or module `compat`
  143. --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/rsa.rs:295:17
  144. |
  145. 295 | cvt(compat::set_crt_params(
  146. | ^^^^^^ Use of undeclared type or module `compat`
  147.  
  148. error[E0433]: failed to resolve. Use of undeclared type or module `compat`
  149. --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/ssl/bio.rs:22:22
  150. |
  151. 22 | pub struct BioMethod(compat::BIO_METHOD);
  152. | ^^^^^^ Use of undeclared type or module `compat`
  153.  
  154. error[E0433]: failed to resolve. Use of undeclared type or module `compat`
  155. --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/ssl/bio.rs:26:19
  156. |
  157. 26 | BioMethod(compat::BIO_METHOD::new::<S>())
  158. | ^^^^^^ Use of undeclared type or module `compat`
  159.  
  160. error[E0433]: failed to resolve. Use of undeclared type or module `compat`
  161. --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/ssl/bio.rs:44:9
  162. |
  163. 44 | compat::BIO_set_data(bio, Box::into_raw(state) as *mut _);
  164. | ^^^^^^ Use of undeclared type or module `compat`
  165.  
  166. error[E0433]: failed to resolve. Use of undeclared type or module `compat`
  167. --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/ssl/bio.rs:45:9
  168. |
  169. 45 | compat::BIO_set_init(bio, 1);
  170. | ^^^^^^ Use of undeclared type or module `compat`
  171.  
  172. error[E0433]: failed to resolve. Use of undeclared type or module `compat`
  173. --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/ssl/bio.rs:62:52
  174. |
  175. 62 | let state: &'a StreamState<S> = mem::transmute(compat::BIO_get_data(bio));
  176. | ^^^^^^ Use of undeclared type or module `compat`
  177.  
  178. error[E0433]: failed to resolve. Use of undeclared type or module `compat`
  179. --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/ssl/bio.rs:71:12
  180. |
  181. 71 | &mut *(compat::BIO_get_data(bio) as *mut _)
  182. | ^^^^^^ Use of undeclared type or module `compat`
  183.  
  184. error[E0433]: failed to resolve. Use of undeclared type or module `compat`
  185. --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/ssl/bio.rs:156:5
  186. |
  187. 156 | compat::BIO_set_init(bio, 0);
  188. | ^^^^^^ Use of undeclared type or module `compat`
  189.  
  190. error[E0433]: failed to resolve. Use of undeclared type or module `compat`
  191. --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/ssl/bio.rs:157:5
  192. |
  193. 157 | compat::BIO_set_num(bio, 0);
  194. | ^^^^^^ Use of undeclared type or module `compat`
  195.  
  196. error[E0433]: failed to resolve. Use of undeclared type or module `compat`
  197. --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/ssl/bio.rs:158:5
  198. |
  199. 158 | compat::BIO_set_data(bio, ptr::null_mut());
  200. | ^^^^^^ Use of undeclared type or module `compat`
  201.  
  202. error[E0433]: failed to resolve. Use of undeclared type or module `compat`
  203. --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/ssl/bio.rs:159:5
  204. |
  205. 159 | compat::BIO_set_flags(bio, 0);
  206. | ^^^^^^ Use of undeclared type or module `compat`
  207.  
  208. error[E0433]: failed to resolve. Use of undeclared type or module `compat`
  209. --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/ssl/bio.rs:168:16
  210. |
  211. 168 | let data = compat::BIO_get_data(bio);
  212. | ^^^^^^ Use of undeclared type or module `compat`
  213.  
  214. error[E0433]: failed to resolve. Use of undeclared type or module `compat`
  215. --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/ssl/bio.rs:171:5
  216. |
  217. 171 | compat::BIO_set_data(bio, ptr::null_mut());
  218. | ^^^^^^ Use of undeclared type or module `compat`
  219.  
  220. error[E0433]: failed to resolve. Use of undeclared type or module `compat`
  221. --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/ssl/bio.rs:172:5
  222. |
  223. 172 | compat::BIO_set_init(bio, 0);
  224. | ^^^^^^ Use of undeclared type or module `compat`
  225.  
  226. error[E0433]: failed to resolve. Use of undeclared type or module `compat`
  227. --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/ssl/mod.rs:310:19
  228. |
  229. 310 | SslMethod(compat::tls_method())
  230. | ^^^^^^ Use of undeclared type or module `compat`
  231.  
  232. error[E0433]: failed to resolve. Use of undeclared type or module `compat`
  233. --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/ssl/mod.rs:318:19
  234. |
  235. 318 | SslMethod(compat::dtls_method())
  236. | ^^^^^^ Use of undeclared type or module `compat`
  237.  
  238. error[E0433]: failed to resolve. Use of undeclared type or module `compat`
  239. --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/ssl/mod.rs:421:19
  240. |
  241. 421 | let idx = compat::get_new_idx(free_data_box::<T>);
  242. | ^^^^^^ Use of undeclared type or module `compat`
  243.  
  244. error[E0433]: failed to resolve. Use of undeclared type or module `compat`
  245. --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/ssl/mod.rs:429:19
  246. |
  247. 429 | let idx = compat::get_new_ssl_idx(free_data_box::<T>);
  248. | ^^^^^^ Use of undeclared type or module `compat`
  249.  
  250. error[E0433]: failed to resolve. Use of undeclared type or module `compat`
  251. --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/ssl/mod.rs:904:28
  252. |
  253. 904 | let ret = unsafe { compat::SSL_CTX_set_options(self.as_ptr(), option.bits()) };
  254. | ^^^^^^ Use of undeclared type or module `compat`
  255.  
  256. error[E0433]: failed to resolve. Use of undeclared type or module `compat`
  257. --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/ssl/mod.rs:914:28
  258. |
  259. 914 | let ret = unsafe { compat::SSL_CTX_get_options(self.as_ptr()) };
  260. | ^^^^^^ Use of undeclared type or module `compat`
  261.  
  262. error[E0433]: failed to resolve. Use of undeclared type or module `compat`
  263. --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/ssl/mod.rs:924:28
  264. |
  265. 924 | let ret = unsafe { compat::SSL_CTX_clear_options(self.as_ptr(), option.bits()) };
  266. | ^^^^^^ Use of undeclared type or module `compat`
  267.  
  268. error[E0433]: failed to resolve. Use of undeclared type or module `compat`
  269. --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/ssl/mod.rs:1146:13
  270. |
  271. 1146 | compat::SSL_CTX_up_ref(self.as_ptr());
  272. | ^^^^^^ Use of undeclared type or module `compat`
  273.  
  274. error[E0433]: failed to resolve. Use of undeclared type or module `compat`
  275. --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/ssl/mod.rs:1179:29
  276. |
  277. 1179 | let idx = cvt_n(compat::get_new_idx(free_data_box::<T>))?;
  278. | ^^^^^^ Use of undeclared type or module `compat`
  279.  
  280. error[E0433]: failed to resolve. Use of undeclared type or module `compat`
  281. --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/ssl/mod.rs:1401:13
  282. |
  283. 1401 | compat::SSL_SESSION_up_ref(self.as_ptr());
  284. | ^^^^^^ Use of undeclared type or module `compat`
  285.  
  286. error[E0433]: failed to resolve. Use of undeclared type or module `compat`
  287. --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/ssl/mod.rs:1427:18
  288. |
  289. 1427 | unsafe { compat::SSL_SESSION_get_master_key(self.as_ptr(), ptr::null_mut(), 0) }
  290. | ^^^^^^ Use of undeclared type or module `compat`
  291.  
  292. error[E0433]: failed to resolve. Use of undeclared type or module `compat`
  293. --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/ssl/mod.rs:1438:18
  294. |
  295. 1438 | unsafe { compat::SSL_SESSION_get_master_key(self.as_ptr(), buf.as_mut_ptr(), buf.len()) }
  296. | ^^^^^^ Use of undeclared type or module `compat`
  297.  
  298. error[E0433]: failed to resolve. Use of undeclared type or module `compat`
  299. --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/ssl/mod.rs:1475:29
  300. |
  301. 1475 | let idx = cvt_n(compat::get_new_ssl_idx(free_data_box::<T>))?;
  302. | ^^^^^^ Use of undeclared type or module `compat`
  303.  
  304. error[E0433]: failed to resolve. Use of undeclared type or module `compat`
  305. --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/ssl/mod.rs:2017:18
  306. |
  307. 2017 | unsafe { compat::SSL_is_server(self.as_ptr()) != 0 }
  308. | ^^^^^^ Use of undeclared type or module `compat`
  309.  
  310. error[E0433]: failed to resolve. Use of undeclared type or module `compat`
  311. --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/x509/mod.rs:295:24
  312. |
  313. 295 | let exts = compat::X509_get0_extensions(cert.as_ptr());
  314. | ^^^^^^ Use of undeclared type or module `compat`
  315.  
  316. error[E0433]: failed to resolve. Use of undeclared type or module `compat`
  317. --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/x509/mod.rs:510:24
  318. |
  319. 510 | let date = compat::X509_get_notAfter(self.as_ptr());
  320. | ^^^^^^ Use of undeclared type or module `compat`
  321.  
  322. error[E0433]: failed to resolve. Use of undeclared type or module `compat`
  323. --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/x509/mod.rs:519:24
  324. |
  325. 519 | let date = compat::X509_get_notBefore(self.as_ptr());
  326. | ^^^^^^ Use of undeclared type or module `compat`
  327.  
  328. error[E0433]: failed to resolve. Use of undeclared type or module `compat`
  329. --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/x509/mod.rs:529:13
  330. |
  331. 529 | compat::X509_get0_signature(&mut signature, ptr::null_mut(), self.as_ptr());
  332. | ^^^^^^ Use of undeclared type or module `compat`
  333.  
  334. error[E0433]: failed to resolve. Use of undeclared type or module `compat`
  335. --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/x509/mod.rs:539:13
  336. |
  337. 539 | compat::X509_get0_signature(ptr::null_mut(), &mut algor, self.as_ptr());
  338. | ^^^^^^ Use of undeclared type or module `compat`
  339.  
  340. error[E0433]: failed to resolve. Use of undeclared type or module `compat`
  341. --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/x509/mod.rs:571:13
  342. |
  343. 571 | compat::X509_up_ref(self.as_ptr());
  344. | ^^^^^^ Use of undeclared type or module `compat`
  345.  
  346. error[E0433]: failed to resolve. Use of undeclared type or module `compat`
  347. --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/x509/mod.rs:944:18
  348. |
  349. 944 | unsafe { compat::X509_REQ_get_version(self.as_ptr()) as i32 }
  350. | ^^^^^^ Use of undeclared type or module `compat`
  351.  
  352. error[E0433]: failed to resolve. Use of undeclared type or module `compat`
  353. --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/x509/mod.rs:949:24
  354. |
  355. 949 | let name = compat::X509_REQ_get_subject_name(self.as_ptr());
  356. | ^^^^^^ Use of undeclared type or module `compat`
  357.  
  358. error[E0433]: failed to resolve. Use of undeclared type or module `compat`
  359. --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/x509/mod.rs:1138:13
  360. |
  361. 1138 | compat::X509_ALGOR_get0(&mut oid, ptr::null_mut(), ptr::null_mut(), self.as_ptr());
  362. | ^^^^^^ Use of undeclared type or module `compat`
  363.  
  364. error[E0425]: cannot find function `BN_get_rfc2409_prime_768` in this scope
  365. --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/bn.rs:959:19
  366. |
  367. 959 | cvt_p(BN_get_rfc2409_prime_768(ptr::null_mut())).map(BigNum)
  368. | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
  369.  
  370. error[E0425]: cannot find function `BN_get_rfc2409_prime_1024` in this scope
  371. --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/bn.rs:974:19
  372. |
  373. 974 | cvt_p(BN_get_rfc2409_prime_1024(ptr::null_mut())).map(BigNum)
  374. | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
  375.  
  376. error[E0425]: cannot find function `BN_get_rfc3526_prime_1536` in this scope
  377. --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/bn.rs:989:19
  378. |
  379. 989 | cvt_p(BN_get_rfc3526_prime_1536(ptr::null_mut())).map(BigNum)
  380. | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
  381.  
  382. error[E0425]: cannot find function `BN_get_rfc3526_prime_2048` in this scope
  383. --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/bn.rs:1004:19
  384. |
  385. 1004 | cvt_p(BN_get_rfc3526_prime_2048(ptr::null_mut())).map(BigNum)
  386. | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
  387.  
  388. error[E0425]: cannot find function `BN_get_rfc3526_prime_3072` in this scope
  389. --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/bn.rs:1019:19
  390. |
  391. 1019 | cvt_p(BN_get_rfc3526_prime_3072(ptr::null_mut())).map(BigNum)
  392. | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
  393.  
  394. error[E0425]: cannot find function `BN_get_rfc3526_prime_4096` in this scope
  395. --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/bn.rs:1034:19
  396. |
  397. 1034 | cvt_p(BN_get_rfc3526_prime_4096(ptr::null_mut())).map(BigNum)
  398. | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
  399.  
  400. error[E0425]: cannot find function `BN_get_rfc3526_prime_6144` in this scope
  401. --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/bn.rs:1049:19
  402. |
  403. 1049 | cvt_p(BN_get_rfc3526_prime_6144(ptr::null_mut())).map(BigNum)
  404. | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
  405.  
  406. error[E0425]: cannot find function `BN_get_rfc3526_prime_8192` in this scope
  407. --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/bn.rs:1064:19
  408. |
  409. 1064 | cvt_p(BN_get_rfc3526_prime_8192(ptr::null_mut())).map(BigNum)
  410. | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
  411.  
  412. error[E0425]: cannot find function `OPENSSL_sk_new_null` in this scope
  413. --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/stack.rs:40:29
  414. |
  415. 40 | let ptr = cvt_p(OPENSSL_sk_new_null())?;
  416. | ^^^^^^^^^^^^^^^^^^^ not found in this scope
  417.  
  418. error[E0425]: cannot find function `OPENSSL_sk_free` in this scope
  419. --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/stack.rs:50:13
  420. |
  421. 50 | OPENSSL_sk_free(self.0 as *mut _);
  422. | ^^^^^^^^^^^^^^^ not found in this scope
  423.  
  424. error[E0425]: cannot find function `OPENSSL_sk_num` in this scope
  425. --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/stack.rs:122:18
  426. |
  427. 122 | unsafe { OPENSSL_sk_num(self.stack as *mut _) }
  428. | ^^^^^^^^^^^^^^ not found in this scope
  429.  
  430. error[E0425]: cannot find function `OPENSSL_sk_free` in this scope
  431. --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/stack.rs:130:13
  432. |
  433. 130 | OPENSSL_sk_free(self.stack as *mut _);
  434. | ^^^^^^^^^^^^^^^ not found in this scope
  435.  
  436. error[E0425]: cannot find function `OPENSSL_sk_value` in this scope
  437. --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/stack.rs:143:27
  438. |
  439. 143 | let ptr = OPENSSL_sk_value(self.stack as *mut _, self.idx);
  440. | ^^^^^^^^^^^^^^^^ not found in this scope
  441.  
  442. error[E0412]: cannot find type `OPENSSL_STACK` in this scope
  443. --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/stack.rs:165:32
  444. |
  445. 165 | fn as_stack(&self) -> *mut OPENSSL_STACK {
  446. | ^^^^^^^^^^^^^ not found in this scope
  447.  
  448. error[E0425]: cannot find function `OPENSSL_sk_num` in this scope
  449. --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/stack.rs:171:18
  450. |
  451. 171 | unsafe { OPENSSL_sk_num(self.as_stack()) as usize }
  452. | ^^^^^^^^^^^^^^ not found in this scope
  453.  
  454. error[E0425]: cannot find function `OPENSSL_sk_push` in this scope
  455. --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/stack.rs:222:17
  456. |
  457. 222 | OPENSSL_sk_push(self.as_stack(), data.as_ptr() as *mut _),
  458. | ^^^^^^^^^^^^^^^ not found in this scope
  459.  
  460. error[E0425]: cannot find function `OPENSSL_sk_pop` in this scope
  461. --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/stack.rs:232:23
  462. |
  463. 232 | let ptr = OPENSSL_sk_pop(self.as_stack());
  464. | ^^^^^^^^^^^^^^ not found in this scope
  465.  
  466. error[E0425]: cannot find function `OPENSSL_sk_value` in this scope
  467. --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/stack.rs:242:9
  468. |
  469. 242 | OPENSSL_sk_value(self.as_stack(), idx as c_int) as *mut _
  470. | ^^^^^^^^^^^^^^^^ not found in this scope
  471.  
  472. error[E0425]: cannot find function `EVP_CIPHER_key_length` in this scope
  473. --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/symm.rs:162:18
  474. |
  475. 162 | unsafe { EVP_CIPHER_key_length(self.0) as usize }
  476. | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
  477.  
  478. error[E0425]: cannot find function `EVP_CIPHER_iv_length` in this scope
  479. --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/symm.rs:169:23
  480. |
  481. 169 | let len = EVP_CIPHER_iv_length(self.0) as usize;
  482. | ^^^^^^^^^^^^^^^^^^^^ not found in this scope
  483.  
  484. error[E0425]: cannot find function `EVP_CIPHER_block_size` in this scope
  485. --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/symm.rs:180:18
  486. |
  487. 180 | unsafe { EVP_CIPHER_block_size(self.0) as usize }
  488. | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
  489.  
  490. error[E0425]: cannot find function `OpenSSL_version_num` in this scope
  491. --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/version.rs:51:14
  492. |
  493. 51 | unsafe { OpenSSL_version_num() as i64 }
  494. | ^^^^^^^^^^^^^^^^^^^ not found in this scope
  495.  
  496. error[E0425]: cannot find function `OpenSSL_version` in this scope
  497. --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/version.rs:58:24
  498. |
  499. 58 | CStr::from_ptr(OpenSSL_version(OPENSSL_VERSION))
  500. | ^^^^^^^^^^^^^^^ not found in this scope
  501.  
  502. error[E0425]: cannot find value `OPENSSL_VERSION` in this scope
  503. --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/version.rs:58:40
  504. |
  505. 58 | CStr::from_ptr(OpenSSL_version(OPENSSL_VERSION))
  506. | ^^^^^^^^^^^^^^^ not found in this scope
  507.  
  508. error[E0425]: cannot find function `OpenSSL_version` in this scope
  509. --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/version.rs:68:24
  510. |
  511. 68 | CStr::from_ptr(OpenSSL_version(OPENSSL_CFLAGS))
  512. | ^^^^^^^^^^^^^^^ not found in this scope
  513.  
  514. error[E0425]: cannot find value `OPENSSL_CFLAGS` in this scope
  515. --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/version.rs:68:40
  516. |
  517. 68 | CStr::from_ptr(OpenSSL_version(OPENSSL_CFLAGS))
  518. | ^^^^^^^^^^^^^^ not found in this scope
  519.  
  520. error[E0425]: cannot find function `OpenSSL_version` in this scope
  521. --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/version.rs:77:24
  522. |
  523. 77 | CStr::from_ptr(OpenSSL_version(OPENSSL_BUILT_ON))
  524. | ^^^^^^^^^^^^^^^ not found in this scope
  525.  
  526. error[E0425]: cannot find value `OPENSSL_BUILT_ON` in this scope
  527. --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/version.rs:77:40
  528. |
  529. 77 | CStr::from_ptr(OpenSSL_version(OPENSSL_BUILT_ON))
  530. | ^^^^^^^^^^^^^^^^ not found in this scope
  531.  
  532. error[E0425]: cannot find function `OpenSSL_version` in this scope
  533. --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/version.rs:86:24
  534. |
  535. 86 | CStr::from_ptr(OpenSSL_version(OPENSSL_PLATFORM))
  536. | ^^^^^^^^^^^^^^^ not found in this scope
  537.  
  538. error[E0425]: cannot find value `OPENSSL_PLATFORM` in this scope
  539. --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/version.rs:86:40
  540. |
  541. 86 | CStr::from_ptr(OpenSSL_version(OPENSSL_PLATFORM))
  542. | ^^^^^^^^^^^^^^^^ not found in this scope
  543.  
  544. error[E0425]: cannot find function `OpenSSL_version` in this scope
  545. --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/version.rs:95:24
  546. |
  547. 95 | CStr::from_ptr(OpenSSL_version(OPENSSL_DIR))
  548. | ^^^^^^^^^^^^^^^ not found in this scope
  549.  
  550. error[E0425]: cannot find value `OPENSSL_DIR` in this scope
  551. --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/version.rs:95:40
  552. |
  553. 95 | CStr::from_ptr(OpenSSL_version(OPENSSL_DIR))
  554. | ^^^^^^^^^^^ not found in this scope
  555.  
  556. error[E0425]: cannot find function `X509_STORE_CTX_get_chain` in this scope
  557. --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/x509/mod.rs:89:25
  558. |
  559. 89 | let chain = X509_STORE_CTX_get_chain(self.as_ptr());
  560. | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
  561. help: possible candidate is found in another module, you can import it into scope
  562. |
  563. 2 | use ffi::X509_STORE_CTX_get_chain;
  564. |
  565.  
  566. error[E0425]: cannot find function `X509_set_notAfter` in this scope
  567. --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/x509/mod.rs:326:22
  568. |
  569. 326 | unsafe { cvt(X509_set_notAfter(self.0.as_ptr(), not_after.as_ptr())).map(|_| ()) }
  570. | ^^^^^^^^^^^^^^^^^ not found in this scope
  571. help: possible candidate is found in another module, you can import it into scope
  572. |
  573. 2 | use ffi::X509_set_notAfter;
  574. |
  575.  
  576. error[E0425]: cannot find function `X509_set_notBefore` in this scope
  577. --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/x509/mod.rs:331:22
  578. |
  579. 331 | unsafe { cvt(X509_set_notBefore(self.0.as_ptr(), not_before.as_ptr())).map(|_| ()) }
  580. | ^^^^^^^^^^^^^^^^^^ not found in this scope
  581. help: possible candidate is found in another module, you can import it into scope
  582. |
  583. 2 | use ffi::X509_set_notBefore;
  584. |
  585.  
  586. error[E0425]: cannot find function `ASN1_STRING_data` in this scope
  587. --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/x509/mod.rs:1095:23
  588. |
  589. 1095 | let ptr = ASN1_STRING_data((*self.as_ptr()).d as *mut _);
  590. | ^^^^^^^^^^^^^^^^ not found in this scope
  591. help: possible candidate is found in another module, you can import it into scope
  592. |
  593. 2 | use ffi::ASN1_STRING_data;
  594. |
  595.  
  596. error[E0425]: cannot find function `ASN1_STRING_data` in this scope
  597. --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/x509/mod.rs:1113:23
  598. |
  599. 1113 | let ptr = ASN1_STRING_data((*self.as_ptr()).d as *mut _);
  600. | ^^^^^^^^^^^^^^^^ not found in this scope
  601. help: possible candidate is found in another module, you can import it into scope
  602. |
  603. 2 | use ffi::ASN1_STRING_data;
  604. |
  605.  
  606. error[E0599]: no method named `_is_negative` found for type `&bn::BigNumRef` in the current scope
  607. --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/bn.rs:361:14
  608. |
  609. 361 | self._is_negative()
  610. | ^^^^^^^^^^^^
  611. |
  612. = help: did you mean `is_negative`?
  613.  
  614. error: aborting due to 95 previous errors
  615.  
  616. Some errors occurred: E0412, E0425, E0428, E0433, E0599.
  617. For more information about an error, try `rustc --explain E0412`.
  618. error: Could not compile `openssl`.
  619. warning: build failed, waiting for other jobs to finish...
  620. error: build failed
Add Comment
Please, Sign In to add comment