Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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
- Compiling flate2 v0.2.20
- Compiling bzip2 v0.3.3
- Compiling backtrace v0.3.9
- Compiling syn v0.14.9
- Compiling openssl v0.9.24
- error[E0428]: the name `setup_curves` is defined multiple times
- --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/ssl/connector.rs:366:1
- |
- 357 | fn setup_curves(ctx: &mut SslContextBuilder) -> Result<(), ErrorStack> {
- | ---------------------------------------------------------------------- previous definition of the value `setup_curves` here
- ...
- 366 | fn setup_curves(ctx: &mut SslContextBuilder) -> Result<(), ErrorStack> {
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `setup_curves` redefined here
- |
- = note: `setup_curves` must be defined only once in the value namespace of this module
- error[E0428]: the name `setup_verify` is defined multiple times
- --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/ssl/connector.rs:399:1
- |
- 394 | fn setup_verify(ctx: &mut SslContextBuilder) {
- | -------------------------------------------- previous definition of the value `setup_verify` here
- ...
- 399 | fn setup_verify(ctx: &mut SslContextBuilder) {
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `setup_verify` redefined here
- |
- = note: `setup_verify` must be defined only once in the value namespace of this module
- error[E0428]: the name `setup_verify_hostname` is defined multiple times
- --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/ssl/connector.rs:423:1
- |
- 413 | fn setup_verify_hostname(ssl: &mut Ssl, domain: &str) -> Result<(), ErrorStack> {
- | ------------------------------------------------------------------------------- previous definition of the value `setup_verify_hostname` here
- ...
- 423 | fn setup_verify_hostname(ssl: &mut Ssl, domain: &str) -> Result<(), ErrorStack> {
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `setup_verify_hostname` redefined here
- |
- = note: `setup_verify_hostname` must be defined only once in the value namespace of this module
- error[E0433]: failed to resolve. Use of undeclared type or module `compat`
- --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/dh.rs:28:17
- |
- 28 | cvt(compat::DH_set0_pqg(
- | ^^^^^^ Use of undeclared type or module `compat`
- error[E0433]: failed to resolve. Use of undeclared type or module `compat`
- --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/dsa.rs:85:21
- |
- 85 | let p = compat::pqg(self.as_ptr())[0];
- | ^^^^^^ Use of undeclared type or module `compat`
- error[E0433]: failed to resolve. Use of undeclared type or module `compat`
- --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/dsa.rs:97:21
- |
- 97 | let q = compat::pqg(self.as_ptr())[1];
- | ^^^^^^ Use of undeclared type or module `compat`
- error[E0433]: failed to resolve. Use of undeclared type or module `compat`
- --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/dsa.rs:109:21
- |
- 109 | let g = compat::pqg(self.as_ptr())[2];
- | ^^^^^^ Use of undeclared type or module `compat`
- error[E0433]: failed to resolve. Use of undeclared type or module `compat`
- --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/dsa.rs:121:19
- |
- 121 | unsafe { !compat::keys(self.as_ptr())[0].is_null() }
- | ^^^^^^ Use of undeclared type or module `compat`
- error[E0433]: failed to resolve. Use of undeclared type or module `compat`
- --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/dsa.rs:127:19
- |
- 127 | unsafe { !compat::keys(self.as_ptr())[1].is_null() }
- | ^^^^^^ Use of undeclared type or module `compat`
- error[E0433]: failed to resolve. Use of undeclared type or module `compat`
- --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/rsa.rs:173:21
- |
- 173 | let n = compat::key(self.as_ptr())[0];
- | ^^^^^^ Use of undeclared type or module `compat`
- error[E0433]: failed to resolve. Use of undeclared type or module `compat`
- --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/rsa.rs:184:21
- |
- 184 | let d = compat::key(self.as_ptr())[2];
- | ^^^^^^ Use of undeclared type or module `compat`
- error[E0433]: failed to resolve. Use of undeclared type or module `compat`
- --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/rsa.rs:195:21
- |
- 195 | let e = compat::key(self.as_ptr())[1];
- | ^^^^^^ Use of undeclared type or module `compat`
- error[E0433]: failed to resolve. Use of undeclared type or module `compat`
- --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/rsa.rs:206:21
- |
- 206 | let p = compat::factors(self.as_ptr())[0];
- | ^^^^^^ Use of undeclared type or module `compat`
- error[E0433]: failed to resolve. Use of undeclared type or module `compat`
- --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/rsa.rs:217:21
- |
- 217 | let q = compat::factors(self.as_ptr())[1];
- | ^^^^^^ Use of undeclared type or module `compat`
- error[E0433]: failed to resolve. Use of undeclared type or module `compat`
- --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/rsa.rs:228:22
- |
- 228 | let dp = compat::crt_params(self.as_ptr())[0];
- | ^^^^^^ Use of undeclared type or module `compat`
- error[E0433]: failed to resolve. Use of undeclared type or module `compat`
- --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/rsa.rs:239:22
- |
- 239 | let dq = compat::crt_params(self.as_ptr())[1];
- | ^^^^^^ Use of undeclared type or module `compat`
- error[E0433]: failed to resolve. Use of undeclared type or module `compat`
- --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/rsa.rs:250:22
- |
- 250 | let qi = compat::crt_params(self.as_ptr())[2];
- | ^^^^^^ Use of undeclared type or module `compat`
- error[E0433]: failed to resolve. Use of undeclared type or module `compat`
- --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/rsa.rs:266:17
- |
- 266 | cvt(compat::set_key(
- | ^^^^^^ Use of undeclared type or module `compat`
- error[E0433]: failed to resolve. Use of undeclared type or module `compat`
- --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/rsa.rs:290:17
- |
- 290 | compat::set_key(rsa.0, n.as_ptr(), e.as_ptr(), d.as_ptr()),
- | ^^^^^^ Use of undeclared type or module `compat`
- error[E0433]: failed to resolve. Use of undeclared type or module `compat`
- --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/rsa.rs:293:17
- |
- 293 | cvt(compat::set_factors(rsa.0, p.as_ptr(), q.as_ptr()))?;
- | ^^^^^^ Use of undeclared type or module `compat`
- error[E0433]: failed to resolve. Use of undeclared type or module `compat`
- --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/rsa.rs:295:17
- |
- 295 | cvt(compat::set_crt_params(
- | ^^^^^^ Use of undeclared type or module `compat`
- error[E0433]: failed to resolve. Use of undeclared type or module `compat`
- --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/ssl/bio.rs:22:22
- |
- 22 | pub struct BioMethod(compat::BIO_METHOD);
- | ^^^^^^ Use of undeclared type or module `compat`
- error[E0433]: failed to resolve. Use of undeclared type or module `compat`
- --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/ssl/bio.rs:26:19
- |
- 26 | BioMethod(compat::BIO_METHOD::new::<S>())
- | ^^^^^^ Use of undeclared type or module `compat`
- error[E0433]: failed to resolve. Use of undeclared type or module `compat`
- --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/ssl/bio.rs:44:9
- |
- 44 | compat::BIO_set_data(bio, Box::into_raw(state) as *mut _);
- | ^^^^^^ Use of undeclared type or module `compat`
- error[E0433]: failed to resolve. Use of undeclared type or module `compat`
- --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/ssl/bio.rs:45:9
- |
- 45 | compat::BIO_set_init(bio, 1);
- | ^^^^^^ Use of undeclared type or module `compat`
- error[E0433]: failed to resolve. Use of undeclared type or module `compat`
- --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/ssl/bio.rs:62:52
- |
- 62 | let state: &'a StreamState<S> = mem::transmute(compat::BIO_get_data(bio));
- | ^^^^^^ Use of undeclared type or module `compat`
- error[E0433]: failed to resolve. Use of undeclared type or module `compat`
- --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/ssl/bio.rs:71:12
- |
- 71 | &mut *(compat::BIO_get_data(bio) as *mut _)
- | ^^^^^^ Use of undeclared type or module `compat`
- error[E0433]: failed to resolve. Use of undeclared type or module `compat`
- --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/ssl/bio.rs:156:5
- |
- 156 | compat::BIO_set_init(bio, 0);
- | ^^^^^^ Use of undeclared type or module `compat`
- error[E0433]: failed to resolve. Use of undeclared type or module `compat`
- --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/ssl/bio.rs:157:5
- |
- 157 | compat::BIO_set_num(bio, 0);
- | ^^^^^^ Use of undeclared type or module `compat`
- error[E0433]: failed to resolve. Use of undeclared type or module `compat`
- --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/ssl/bio.rs:158:5
- |
- 158 | compat::BIO_set_data(bio, ptr::null_mut());
- | ^^^^^^ Use of undeclared type or module `compat`
- error[E0433]: failed to resolve. Use of undeclared type or module `compat`
- --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/ssl/bio.rs:159:5
- |
- 159 | compat::BIO_set_flags(bio, 0);
- | ^^^^^^ Use of undeclared type or module `compat`
- error[E0433]: failed to resolve. Use of undeclared type or module `compat`
- --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/ssl/bio.rs:168:16
- |
- 168 | let data = compat::BIO_get_data(bio);
- | ^^^^^^ Use of undeclared type or module `compat`
- error[E0433]: failed to resolve. Use of undeclared type or module `compat`
- --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/ssl/bio.rs:171:5
- |
- 171 | compat::BIO_set_data(bio, ptr::null_mut());
- | ^^^^^^ Use of undeclared type or module `compat`
- error[E0433]: failed to resolve. Use of undeclared type or module `compat`
- --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/ssl/bio.rs:172:5
- |
- 172 | compat::BIO_set_init(bio, 0);
- | ^^^^^^ Use of undeclared type or module `compat`
- error[E0433]: failed to resolve. Use of undeclared type or module `compat`
- --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/ssl/mod.rs:310:19
- |
- 310 | SslMethod(compat::tls_method())
- | ^^^^^^ Use of undeclared type or module `compat`
- error[E0433]: failed to resolve. Use of undeclared type or module `compat`
- --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/ssl/mod.rs:318:19
- |
- 318 | SslMethod(compat::dtls_method())
- | ^^^^^^ Use of undeclared type or module `compat`
- error[E0433]: failed to resolve. Use of undeclared type or module `compat`
- --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/ssl/mod.rs:421:19
- |
- 421 | let idx = compat::get_new_idx(free_data_box::<T>);
- | ^^^^^^ Use of undeclared type or module `compat`
- error[E0433]: failed to resolve. Use of undeclared type or module `compat`
- --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/ssl/mod.rs:429:19
- |
- 429 | let idx = compat::get_new_ssl_idx(free_data_box::<T>);
- | ^^^^^^ Use of undeclared type or module `compat`
- error[E0433]: failed to resolve. Use of undeclared type or module `compat`
- --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/ssl/mod.rs:904:28
- |
- 904 | let ret = unsafe { compat::SSL_CTX_set_options(self.as_ptr(), option.bits()) };
- | ^^^^^^ Use of undeclared type or module `compat`
- error[E0433]: failed to resolve. Use of undeclared type or module `compat`
- --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/ssl/mod.rs:914:28
- |
- 914 | let ret = unsafe { compat::SSL_CTX_get_options(self.as_ptr()) };
- | ^^^^^^ Use of undeclared type or module `compat`
- error[E0433]: failed to resolve. Use of undeclared type or module `compat`
- --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/ssl/mod.rs:924:28
- |
- 924 | let ret = unsafe { compat::SSL_CTX_clear_options(self.as_ptr(), option.bits()) };
- | ^^^^^^ Use of undeclared type or module `compat`
- error[E0433]: failed to resolve. Use of undeclared type or module `compat`
- --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/ssl/mod.rs:1146:13
- |
- 1146 | compat::SSL_CTX_up_ref(self.as_ptr());
- | ^^^^^^ Use of undeclared type or module `compat`
- error[E0433]: failed to resolve. Use of undeclared type or module `compat`
- --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/ssl/mod.rs:1179:29
- |
- 1179 | let idx = cvt_n(compat::get_new_idx(free_data_box::<T>))?;
- | ^^^^^^ Use of undeclared type or module `compat`
- error[E0433]: failed to resolve. Use of undeclared type or module `compat`
- --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/ssl/mod.rs:1401:13
- |
- 1401 | compat::SSL_SESSION_up_ref(self.as_ptr());
- | ^^^^^^ Use of undeclared type or module `compat`
- error[E0433]: failed to resolve. Use of undeclared type or module `compat`
- --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/ssl/mod.rs:1427:18
- |
- 1427 | unsafe { compat::SSL_SESSION_get_master_key(self.as_ptr(), ptr::null_mut(), 0) }
- | ^^^^^^ Use of undeclared type or module `compat`
- error[E0433]: failed to resolve. Use of undeclared type or module `compat`
- --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/ssl/mod.rs:1438:18
- |
- 1438 | unsafe { compat::SSL_SESSION_get_master_key(self.as_ptr(), buf.as_mut_ptr(), buf.len()) }
- | ^^^^^^ Use of undeclared type or module `compat`
- error[E0433]: failed to resolve. Use of undeclared type or module `compat`
- --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/ssl/mod.rs:1475:29
- |
- 1475 | let idx = cvt_n(compat::get_new_ssl_idx(free_data_box::<T>))?;
- | ^^^^^^ Use of undeclared type or module `compat`
- error[E0433]: failed to resolve. Use of undeclared type or module `compat`
- --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/ssl/mod.rs:2017:18
- |
- 2017 | unsafe { compat::SSL_is_server(self.as_ptr()) != 0 }
- | ^^^^^^ Use of undeclared type or module `compat`
- error[E0433]: failed to resolve. Use of undeclared type or module `compat`
- --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/x509/mod.rs:295:24
- |
- 295 | let exts = compat::X509_get0_extensions(cert.as_ptr());
- | ^^^^^^ Use of undeclared type or module `compat`
- error[E0433]: failed to resolve. Use of undeclared type or module `compat`
- --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/x509/mod.rs:510:24
- |
- 510 | let date = compat::X509_get_notAfter(self.as_ptr());
- | ^^^^^^ Use of undeclared type or module `compat`
- error[E0433]: failed to resolve. Use of undeclared type or module `compat`
- --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/x509/mod.rs:519:24
- |
- 519 | let date = compat::X509_get_notBefore(self.as_ptr());
- | ^^^^^^ Use of undeclared type or module `compat`
- error[E0433]: failed to resolve. Use of undeclared type or module `compat`
- --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/x509/mod.rs:529:13
- |
- 529 | compat::X509_get0_signature(&mut signature, ptr::null_mut(), self.as_ptr());
- | ^^^^^^ Use of undeclared type or module `compat`
- error[E0433]: failed to resolve. Use of undeclared type or module `compat`
- --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/x509/mod.rs:539:13
- |
- 539 | compat::X509_get0_signature(ptr::null_mut(), &mut algor, self.as_ptr());
- | ^^^^^^ Use of undeclared type or module `compat`
- error[E0433]: failed to resolve. Use of undeclared type or module `compat`
- --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/x509/mod.rs:571:13
- |
- 571 | compat::X509_up_ref(self.as_ptr());
- | ^^^^^^ Use of undeclared type or module `compat`
- error[E0433]: failed to resolve. Use of undeclared type or module `compat`
- --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/x509/mod.rs:944:18
- |
- 944 | unsafe { compat::X509_REQ_get_version(self.as_ptr()) as i32 }
- | ^^^^^^ Use of undeclared type or module `compat`
- error[E0433]: failed to resolve. Use of undeclared type or module `compat`
- --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/x509/mod.rs:949:24
- |
- 949 | let name = compat::X509_REQ_get_subject_name(self.as_ptr());
- | ^^^^^^ Use of undeclared type or module `compat`
- error[E0433]: failed to resolve. Use of undeclared type or module `compat`
- --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/x509/mod.rs:1138:13
- |
- 1138 | compat::X509_ALGOR_get0(&mut oid, ptr::null_mut(), ptr::null_mut(), self.as_ptr());
- | ^^^^^^ Use of undeclared type or module `compat`
- error[E0425]: cannot find function `BN_get_rfc2409_prime_768` in this scope
- --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/bn.rs:959:19
- |
- 959 | cvt_p(BN_get_rfc2409_prime_768(ptr::null_mut())).map(BigNum)
- | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
- error[E0425]: cannot find function `BN_get_rfc2409_prime_1024` in this scope
- --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/bn.rs:974:19
- |
- 974 | cvt_p(BN_get_rfc2409_prime_1024(ptr::null_mut())).map(BigNum)
- | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
- error[E0425]: cannot find function `BN_get_rfc3526_prime_1536` in this scope
- --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/bn.rs:989:19
- |
- 989 | cvt_p(BN_get_rfc3526_prime_1536(ptr::null_mut())).map(BigNum)
- | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
- error[E0425]: cannot find function `BN_get_rfc3526_prime_2048` in this scope
- --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/bn.rs:1004:19
- |
- 1004 | cvt_p(BN_get_rfc3526_prime_2048(ptr::null_mut())).map(BigNum)
- | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
- error[E0425]: cannot find function `BN_get_rfc3526_prime_3072` in this scope
- --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/bn.rs:1019:19
- |
- 1019 | cvt_p(BN_get_rfc3526_prime_3072(ptr::null_mut())).map(BigNum)
- | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
- error[E0425]: cannot find function `BN_get_rfc3526_prime_4096` in this scope
- --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/bn.rs:1034:19
- |
- 1034 | cvt_p(BN_get_rfc3526_prime_4096(ptr::null_mut())).map(BigNum)
- | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
- error[E0425]: cannot find function `BN_get_rfc3526_prime_6144` in this scope
- --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/bn.rs:1049:19
- |
- 1049 | cvt_p(BN_get_rfc3526_prime_6144(ptr::null_mut())).map(BigNum)
- | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
- error[E0425]: cannot find function `BN_get_rfc3526_prime_8192` in this scope
- --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/bn.rs:1064:19
- |
- 1064 | cvt_p(BN_get_rfc3526_prime_8192(ptr::null_mut())).map(BigNum)
- | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
- error[E0425]: cannot find function `OPENSSL_sk_new_null` in this scope
- --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/stack.rs:40:29
- |
- 40 | let ptr = cvt_p(OPENSSL_sk_new_null())?;
- | ^^^^^^^^^^^^^^^^^^^ not found in this scope
- error[E0425]: cannot find function `OPENSSL_sk_free` in this scope
- --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/stack.rs:50:13
- |
- 50 | OPENSSL_sk_free(self.0 as *mut _);
- | ^^^^^^^^^^^^^^^ not found in this scope
- error[E0425]: cannot find function `OPENSSL_sk_num` in this scope
- --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/stack.rs:122:18
- |
- 122 | unsafe { OPENSSL_sk_num(self.stack as *mut _) }
- | ^^^^^^^^^^^^^^ not found in this scope
- error[E0425]: cannot find function `OPENSSL_sk_free` in this scope
- --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/stack.rs:130:13
- |
- 130 | OPENSSL_sk_free(self.stack as *mut _);
- | ^^^^^^^^^^^^^^^ not found in this scope
- error[E0425]: cannot find function `OPENSSL_sk_value` in this scope
- --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/stack.rs:143:27
- |
- 143 | let ptr = OPENSSL_sk_value(self.stack as *mut _, self.idx);
- | ^^^^^^^^^^^^^^^^ not found in this scope
- error[E0412]: cannot find type `OPENSSL_STACK` in this scope
- --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/stack.rs:165:32
- |
- 165 | fn as_stack(&self) -> *mut OPENSSL_STACK {
- | ^^^^^^^^^^^^^ not found in this scope
- error[E0425]: cannot find function `OPENSSL_sk_num` in this scope
- --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/stack.rs:171:18
- |
- 171 | unsafe { OPENSSL_sk_num(self.as_stack()) as usize }
- | ^^^^^^^^^^^^^^ not found in this scope
- error[E0425]: cannot find function `OPENSSL_sk_push` in this scope
- --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/stack.rs:222:17
- |
- 222 | OPENSSL_sk_push(self.as_stack(), data.as_ptr() as *mut _),
- | ^^^^^^^^^^^^^^^ not found in this scope
- error[E0425]: cannot find function `OPENSSL_sk_pop` in this scope
- --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/stack.rs:232:23
- |
- 232 | let ptr = OPENSSL_sk_pop(self.as_stack());
- | ^^^^^^^^^^^^^^ not found in this scope
- error[E0425]: cannot find function `OPENSSL_sk_value` in this scope
- --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/stack.rs:242:9
- |
- 242 | OPENSSL_sk_value(self.as_stack(), idx as c_int) as *mut _
- | ^^^^^^^^^^^^^^^^ not found in this scope
- error[E0425]: cannot find function `EVP_CIPHER_key_length` in this scope
- --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/symm.rs:162:18
- |
- 162 | unsafe { EVP_CIPHER_key_length(self.0) as usize }
- | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
- error[E0425]: cannot find function `EVP_CIPHER_iv_length` in this scope
- --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/symm.rs:169:23
- |
- 169 | let len = EVP_CIPHER_iv_length(self.0) as usize;
- | ^^^^^^^^^^^^^^^^^^^^ not found in this scope
- error[E0425]: cannot find function `EVP_CIPHER_block_size` in this scope
- --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/symm.rs:180:18
- |
- 180 | unsafe { EVP_CIPHER_block_size(self.0) as usize }
- | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
- error[E0425]: cannot find function `OpenSSL_version_num` in this scope
- --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/version.rs:51:14
- |
- 51 | unsafe { OpenSSL_version_num() as i64 }
- | ^^^^^^^^^^^^^^^^^^^ not found in this scope
- error[E0425]: cannot find function `OpenSSL_version` in this scope
- --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/version.rs:58:24
- |
- 58 | CStr::from_ptr(OpenSSL_version(OPENSSL_VERSION))
- | ^^^^^^^^^^^^^^^ not found in this scope
- error[E0425]: cannot find value `OPENSSL_VERSION` in this scope
- --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/version.rs:58:40
- |
- 58 | CStr::from_ptr(OpenSSL_version(OPENSSL_VERSION))
- | ^^^^^^^^^^^^^^^ not found in this scope
- error[E0425]: cannot find function `OpenSSL_version` in this scope
- --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/version.rs:68:24
- |
- 68 | CStr::from_ptr(OpenSSL_version(OPENSSL_CFLAGS))
- | ^^^^^^^^^^^^^^^ not found in this scope
- error[E0425]: cannot find value `OPENSSL_CFLAGS` in this scope
- --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/version.rs:68:40
- |
- 68 | CStr::from_ptr(OpenSSL_version(OPENSSL_CFLAGS))
- | ^^^^^^^^^^^^^^ not found in this scope
- error[E0425]: cannot find function `OpenSSL_version` in this scope
- --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/version.rs:77:24
- |
- 77 | CStr::from_ptr(OpenSSL_version(OPENSSL_BUILT_ON))
- | ^^^^^^^^^^^^^^^ not found in this scope
- error[E0425]: cannot find value `OPENSSL_BUILT_ON` in this scope
- --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/version.rs:77:40
- |
- 77 | CStr::from_ptr(OpenSSL_version(OPENSSL_BUILT_ON))
- | ^^^^^^^^^^^^^^^^ not found in this scope
- error[E0425]: cannot find function `OpenSSL_version` in this scope
- --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/version.rs:86:24
- |
- 86 | CStr::from_ptr(OpenSSL_version(OPENSSL_PLATFORM))
- | ^^^^^^^^^^^^^^^ not found in this scope
- error[E0425]: cannot find value `OPENSSL_PLATFORM` in this scope
- --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/version.rs:86:40
- |
- 86 | CStr::from_ptr(OpenSSL_version(OPENSSL_PLATFORM))
- | ^^^^^^^^^^^^^^^^ not found in this scope
- error[E0425]: cannot find function `OpenSSL_version` in this scope
- --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/version.rs:95:24
- |
- 95 | CStr::from_ptr(OpenSSL_version(OPENSSL_DIR))
- | ^^^^^^^^^^^^^^^ not found in this scope
- error[E0425]: cannot find value `OPENSSL_DIR` in this scope
- --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/version.rs:95:40
- |
- 95 | CStr::from_ptr(OpenSSL_version(OPENSSL_DIR))
- | ^^^^^^^^^^^ not found in this scope
- error[E0425]: cannot find function `X509_STORE_CTX_get_chain` in this scope
- --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/x509/mod.rs:89:25
- |
- 89 | let chain = X509_STORE_CTX_get_chain(self.as_ptr());
- | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
- help: possible candidate is found in another module, you can import it into scope
- |
- 2 | use ffi::X509_STORE_CTX_get_chain;
- |
- error[E0425]: cannot find function `X509_set_notAfter` in this scope
- --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/x509/mod.rs:326:22
- |
- 326 | unsafe { cvt(X509_set_notAfter(self.0.as_ptr(), not_after.as_ptr())).map(|_| ()) }
- | ^^^^^^^^^^^^^^^^^ not found in this scope
- help: possible candidate is found in another module, you can import it into scope
- |
- 2 | use ffi::X509_set_notAfter;
- |
- error[E0425]: cannot find function `X509_set_notBefore` in this scope
- --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/x509/mod.rs:331:22
- |
- 331 | unsafe { cvt(X509_set_notBefore(self.0.as_ptr(), not_before.as_ptr())).map(|_| ()) }
- | ^^^^^^^^^^^^^^^^^^ not found in this scope
- help: possible candidate is found in another module, you can import it into scope
- |
- 2 | use ffi::X509_set_notBefore;
- |
- error[E0425]: cannot find function `ASN1_STRING_data` in this scope
- --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/x509/mod.rs:1095:23
- |
- 1095 | let ptr = ASN1_STRING_data((*self.as_ptr()).d as *mut _);
- | ^^^^^^^^^^^^^^^^ not found in this scope
- help: possible candidate is found in another module, you can import it into scope
- |
- 2 | use ffi::ASN1_STRING_data;
- |
- error[E0425]: cannot find function `ASN1_STRING_data` in this scope
- --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/x509/mod.rs:1113:23
- |
- 1113 | let ptr = ASN1_STRING_data((*self.as_ptr()).d as *mut _);
- | ^^^^^^^^^^^^^^^^ not found in this scope
- help: possible candidate is found in another module, you can import it into scope
- |
- 2 | use ffi::ASN1_STRING_data;
- |
- error[E0599]: no method named `_is_negative` found for type `&bn::BigNumRef` in the current scope
- --> /home/maciek/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/src/bn.rs:361:14
- |
- 361 | self._is_negative()
- | ^^^^^^^^^^^^
- |
- = help: did you mean `is_negative`?
- error: aborting due to 95 previous errors
- Some errors occurred: E0412, E0425, E0428, E0433, E0599.
- For more information about an error, try `rustc --explain E0412`.
- error: Could not compile `openssl`.
- warning: build failed, waiting for other jobs to finish...
- error: build failed
Add Comment
Please, Sign In to add comment