Currently unable to compile on Linux. This looks to be a collision with some crate in the dependencies dependencing directly on openssl 0.9.19. This causes a collision in the linker:
error: linking with `cc` failed: exit code: 1
|
= note: "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m64" "-L" "/home/timperrett/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/home/timperrett/diplomat/target/debug/deps/diplomat-3c64cd19fe239b7d.0.o" "-o" "/home/timperrett/diplomat/target/debug/deps/diplomat-3c64cd19fe239b7d" "/home/timperrett/diplomat/target/debug/deps/diplomat-3c64cd19fe239b7d.crate.allocator.o" "-Wl,--gc-sections" "-pie" "-nodefaultlibs" "-L" "/home/timperrett/diplomat/target/debug/deps" "-L" "/home/timperrett/diplomat/target/debug/build/backtrace-sys-554ddd5c73748947/out/.libs" "-L" "/home/timperrett/diplomat/target/debug/build/grpcio-sys-54140f9a67891615/out/build" "-L" "/home/timperrett/diplomat/target/debug/build/grpcio-sys-54140f9a67891615/out/build/third_party/cares" "-L" "/home/timperrett/diplomat/target/debug/build/grpcio-sys-54140f9a67891615/out/build/third_party/zlib" "-L" "/home/timperrett/diplomat/target/debug/build/grpcio-sys-54140f9a67891615/out/build/third_party/boringssl/ssl" "-L" "/home/timperrett/diplomat/target/debug/build/grpcio-sys-54140f9a67891615/out/build/third_party/boringssl/crypto" "-L" "/home/timperrett/diplomat/target/debug/build/grpcio-sys-54140f9a67891615/out" "-L" "/usr/local/lib" "-L" "/home/timperrett/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/home/timperrett/diplomat/target/debug/deps/libclap-784238f5b002d2cc.rlib" "/home/timperrett/diplomat/target/debug/deps/libvec_map-e01353fb93825379.rlib" "/home/timperrett/diplomat/target/debug/deps/libgrpcio-46d0a87ac3cabfb2.rlib" "/home/timperrett/diplomat/target/debug/deps/libprotobuf-823101a1e9c26cc2.rlib" "/home/timperrett/diplomat/target/debug/deps/libgrpcio_sys-cfe8efd3f46d89f6.rlib" "/home/timperrett/diplomat/target/debug/deps/libansi_term-f6eae0f7338dd2a7.rlib" "/home/timperrett/diplomat/target/debug/deps/libatty-fbef0fade57fc427.rlib" "/home/timperrett/diplomat/target/debug/deps/liberror_chain-216f1368f6004259.rlib" "/home/timperrett/diplomat/target/debug/deps/libbacktrace-6f84470a160d26ce.rlib" "/home/timperrett/diplomat/target/debug/deps/libbacktrace_sys-a93642fab68fdec1.rlib" "/home/timperrett/diplomat/target/debug/deps/librustc_demangle-3b85bda196ea40dd.rlib" "/home/timperrett/diplomat/target/debug/deps/libenv_logger-a123905a44e2d569.rlib" "/home/timperrett/diplomat/target/debug/deps/libregex-7511c514ce5a0462.rlib" "/home/timperrett/diplomat/target/debug/deps/libutf8_ranges-bf65ade1f9382b12.rlib" "/home/timperrett/diplomat/target/debug/deps/libregex_syntax-c5bdc74ddc40ef78.rlib" "/home/timperrett/diplomat/target/debug/deps/libthread_local-98ad10f004a696b2.rlib" "/home/timperrett/diplomat/target/debug/deps/libaho_corasick-9539df2941f11a9f.rlib" "/home/timperrett/diplomat/target/debug/deps/libmemchr-be49c4722e8b48bf.rlib" "/home/timperrett/diplomat/target/debug/deps/libunreachable-5f126a0d3c68f2a1.rlib" "/home/timperrett/diplomat/target/debug/deps/libvoid-5659f2b0ad3188c3.rlib" "/home/timperrett/diplomat/target/debug/deps/libstrsim-3003a1a64278977c.rlib" "/home/timperrett/diplomat/target/debug/deps/libtextwrap-60aa32deb2bd47cc.rlib" "/home/timperrett/diplomat/target/debug/deps/libterm_size-7e27f91506c40343.rlib" "/home/timperrett/diplomat/target/debug/deps/libunicode_width-adaa82fc747d1f8d.rlib" "/home/timperrett/diplomat/target/debug/deps/libmd5-e3e7b0583d24f9e9.rlib" "/home/timperrett/diplomat/target/debug/deps/libtoml-11be82369f65c65f.rlib" "/home/timperrett/diplomat/target/debug/deps/libreqwest-8c57891ac6c4b391.rlib" "/home/timperrett/diplomat/target/debug/deps/libuuid-77aeaf229d4061ce.rlib" "/home/timperrett/diplomat/target/debug/deps/libserde_urlencoded-b366a8a515bf3585.rlib" "/home/timperrett/diplomat/target/debug/deps/liburl-d0bef73d6bcfe106.rlib" "/home/timperrett/diplomat/target/debug/deps/libidna-a2523a320bdd95af.rlib" "/home/timperrett/diplomat/target/debug/deps/libunicode_normalization-ec09d345b089ffd9.rlib" "/home/timperrett/diplomat/target/debug/deps/libunicode_bidi-4ad9034b81721bf7.rlib" "/home/timperrett/diplomat/target/debug/deps/libmatches-25ffe1e4e82a3afd.rlib" "/home/timperrett/diplomat/target/debug/deps/libserde_json-b271024406016416.rlib" "/home/timperrett/diplomat/target/debug/deps/libdtoa-204f6bc5d589344b.rlib" "/home/timperrett/diplomat/target/debug/deps/libitoa-69e093fa0422211e.rlib" "/home/timperrett/diplomat/target/debug/deps/libnum_traits-a7ac2a9a2e645eeb.rlib" "/home/timperrett/diplomat/target/debug/deps/libserde-1db486ab15ec1a4f.rlib" "/home/timperrett/diplomat/target/debug/deps/libmime_guess-d3311e87a96718a1.rlib" "/home/timperrett/diplomat/target/debug/deps/libphf-3bda92962178d2bb.rlib" "/home/timperrett/diplomat/target/debug/deps/libphf_shared-9ecd725c4e9b9499.rlib" "/home/timperrett/diplomat/target/debug/deps/libunicase-ce1d46aa0ec75742.rlib" "/home/timperrett/diplomat/target/debug/deps/libsiphasher-f81c1e72067904c6.rlib" "/home/timperrett/diplomat/target/debug/deps/liblibflate-41b14a1969e184f3.rlib" "/home/timperrett/diplomat/target/debug/deps/libadler32-29fd727aa15a3075.rlib" "/home/timperrett/diplomat/target/debug/deps/libhyper_tls-bffcbf872017d13e.rlib" "/home/timperrett/diplomat/target/debug/deps/libtokio_tls-f085335e93f9f881.rlib" "/home/timperrett/diplomat/target/debug/deps/libnative_tls-aceb6e06a61bfada.rlib" "/home/timperrett/diplomat/target/debug/deps/libopenssl-20cb1db4854a58e3.rlib" "/home/timperrett/diplomat/target/debug/deps/libopenssl_sys-c7b805b520125ae5.rlib" "/home/timperrett/diplomat/target/debug/deps/liblazy_static-4d62295ea0d89a14.rlib" "/home/timperrett/diplomat/target/debug/deps/libforeign_types-73278e587c98b8a3.rlib" "/home/timperrett/diplomat/target/debug/deps/libbitflags-220dd5d138d8ff0b.rlib" "/home/timperrett/diplomat/target/debug/deps/libhyper-553df191664b2def.rlib" "/home/timperrett/diplomat/target/debug/deps/libtokio_proto-e0d6a001c74c5e12.rlib" "/home/timperrett/diplomat/target/debug/deps/libtokio_service-0c96629c577a0256.rlib" "/home/timperrett/diplomat/target/debug/deps/libtake-cd4926870b796724.rlib" "/home/timperrett/diplomat/target/debug/deps/libsmallvec-0127772751f04658.rlib" "/home/timperrett/diplomat/target/debug/deps/librand-1c7175668a34e21b.rlib" "/home/timperrett/diplomat/target/debug/deps/libtokio_core-dd3d88778291ffd0.rlib" "/home/timperrett/diplomat/target/debug/deps/libscoped_tls-88f8aa0a554a9a6d.rlib" "/home/timperrett/diplomat/target/debug/deps/libtokio_io-783d6694886ff77f.rlib" "/home/timperrett/diplomat/target/debug/deps/libslab-f829e2dfd6c2d3eb.rlib" "/home/timperrett/diplomat/target/debug/deps/libmio-cd71ec624252d866.rlib" "/home/timperrett/diplomat/target/debug/deps/libslab-4d4117ab26fa9783.rlib" "/home/timperrett/diplomat/target/debug/deps/libnet2-82a5afcd2d217e29.rlib" "/home/timperrett/diplomat/target/debug/deps/libcfg_if-a3fe6ebff71c8bcf.rlib" "/home/timperrett/diplomat/target/debug/deps/liblazycell-41de5bd8852c6454.rlib" "/home/timperrett/diplomat/target/debug/deps/libtime-dae3111858d33b1b.rlib" "/home/timperrett/diplomat/target/debug/deps/librelay-281889a70f6b2165.rlib" "/home/timperrett/diplomat/target/debug/deps/libpercent_encoding-b21fe62921bb850e.rlib" "/home/timperrett/diplomat/target/debug/deps/libmime-a4bc342c2e2f5128.rlib" "/home/timperrett/diplomat/target/debug/deps/liblog-69daf7bed7bc1875.rlib" "/home/timperrett/diplomat/target/debug/deps/liblanguage_tags-1aa9413f2b27631d.rlib" "/home/timperrett/diplomat/target/debug/deps/libhttparse-a763741f666e8fcd.rlib" "/home/timperrett/diplomat/target/debug/deps/libfutures_cpupool-0f348c8d0d652753.rlib" "/home/timperrett/diplomat/target/debug/deps/libnum_cpus-9f5850a8117e9a68.rlib" "/home/timperrett/diplomat/target/debug/deps/libbase64-bf7a842fdcc3d8b2.rlib" "/home/timperrett/diplomat/target/debug/deps/libfutures-005fb6dc68e006d1.rlib" "/home/timperrett/diplomat/target/debug/deps/libbytes-f5dc040eca57727e.rlib" "/home/timperrett/diplomat/target/debug/deps/libiovec-1cf890ad84c63f3a.rlib" "/home/timperrett/diplomat/target/debug/deps/liblibc-5920752a5339284e.rlib" "/home/timperrett/diplomat/target/debug/deps/libbyteorder-9aa63183657f8567.rlib" "/home/timperrett/diplomat/target/debug/deps/libsafemem-7f728c6c6184ff69.rlib" "/home/timperrett/diplomat/target/debug/deps/libunicase-51509ae63619603a.rlib" "/home/timperrett/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-29fb1fb52cf57377.rlib" "/home/timperrett/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-9cbadc6554202be9.rlib" "/home/timperrett/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc_jemalloc-42efcbbdeb607d44.rlib" "/home/timperrett/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-618c266cf9124966.rlib" "/home/timperrett/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc_system-3c10208cdd7e61cb.rlib" "/home/timperrett/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-16f3b02b9a976b94.rlib" "/home/timperrett/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-bc70b4efeaeb398c.rlib" "/home/timperrett/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_unicode-a0ad42dc8f5856aa.rlib" "/home/timperrett/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librand-32f648f7f7567c6c.rlib" "/home/timperrett/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-21491ce3d14f1ef2.rlib" "/home/timperrett/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-b9713bd7f605c0b2.rlib" "-Wl,-Bdynamic" "-l" "ssl" "-l" "crypto" "-l" "util" "-l" "dl" "-l" "rt" "-l" "pthread" "-l" "pthread" "-l" "gcc_s" "-l" "c" "-l" "m" "-l" "rt" "-l" "pthread" "-l" "util"
= note: /home/timperrett/diplomat/target/debug/deps/libreqwest-8c57891ac6c4b391.rlib(reqwest-8c57891ac6c4b391.0.o): In function `openssl::ssl::bio::new<hyper_tls::stream::MaybeHttpsStream<tokio_core::net::tcp::TcpStream>>':
/home/timperrett/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.19/src/ssl/bio.rs:44: undefined reference to `BIO_set_data'
/home/timperrett/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.19/src/ssl/bio.rs:45: undefined reference to `BIO_set_init'
/home/timperrett/diplomat/target/debug/deps/libreqwest-8c57891ac6c4b391.rlib(reqwest-8c57891ac6c4b391.0.o): In function `openssl::ssl::bio::new<tokio_core::net::tcp::TcpStream>':
/home/timperrett/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.19/src/ssl/bio.rs:44: undefined reference to `BIO_set_data'
/home/timperrett/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.19/src/ssl/bio.rs:45: undefined reference to `BIO_set_init'
/home/timperrett/diplomat/target/debug/deps/libreqwest-8c57891ac6c4b391.rlib(reqwest-8c57891ac6c4b391.0.o): In function `openssl::ssl::bio::state<tokio_core::net::tcp::TcpStream>':
/home/timperrett/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.19/src/ssl/bio.rs:71: undefined reference to `BIO_get_data'
/home/timperrett/diplomat/target/debug/deps/libreqwest-8c57891ac6c4b391.rlib(reqwest-8c57891ac6c4b391.0.o): In function `openssl::ssl::bio::state<hyper_tls::stream::MaybeHttpsStream<tokio_core::net::tcp::TcpStream>>':
/home/timperrett/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.19/src/ssl/bio.rs:71: undefined reference to `BIO_get_data'
/home/timperrett/diplomat/target/debug/deps/libreqwest-8c57891ac6c4b391.rlib(reqwest-8c57891ac6c4b391.0.o): In function `openssl::ssl::bio::compat::{{impl}}::new<hyper_tls::stream::MaybeHttpsStream<tokio_core::net::tcp::TcpStream>>':
/home/timperrett/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.19/src/ssl/bio.rs:192: undefined reference to `BIO_meth_new'
/home/timperrett/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.19/src/ssl/bio.rs:195: undefined reference to `BIO_meth_set_write'
/home/timperrett/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.19/src/ssl/bio.rs:196: undefined reference to `BIO_meth_set_read'
/home/timperrett/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.19/src/ssl/bio.rs:197: undefined reference to `BIO_meth_set_puts'
/home/timperrett/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.19/src/ssl/bio.rs:198: undefined reference to `BIO_meth_set_ctrl'
/home/timperrett/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.19/src/ssl/bio.rs:199: undefined reference to `BIO_meth_set_create'
/home/timperrett/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.19/src/ssl/bio.rs:200: undefined reference to `BIO_meth_set_destroy'
/home/timperrett/diplomat/target/debug/deps/libreqwest-8c57891ac6c4b391.rlib(reqwest-8c57891ac6c4b391.0.o): In function `openssl::ssl::bio::compat::{{impl}}::new<tokio_core::net::tcp::TcpStream>':
/home/timperrett/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.19/src/ssl/bio.rs:192: undefined reference to `BIO_meth_new'
/home/timperrett/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.19/src/ssl/bio.rs:195: undefined reference to `BIO_meth_set_write'
/home/timperrett/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.19/src/ssl/bio.rs:196: undefined reference to `BIO_meth_set_read'
/home/timperrett/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.19/src/ssl/bio.rs:197: undefined reference to `BIO_meth_set_puts'
/home/timperrett/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.19/src/ssl/bio.rs:198: undefined reference to `BIO_meth_set_ctrl'
/home/timperrett/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.19/src/ssl/bio.rs:199: undefined reference to `BIO_meth_set_create'
/home/timperrett/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.19/src/ssl/bio.rs:200: undefined reference to `BIO_meth_set_destroy'
/home/timperrett/diplomat/target/debug/deps/libreqwest-8c57891ac6c4b391.rlib(reqwest-8c57891ac6c4b391.0.o): In function `openssl::ssl::bio::destroy<tokio_core::net::tcp::TcpStream>':
/home/timperrett/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.19/src/ssl/bio.rs:168: undefined reference to `BIO_get_data'
/home/timperrett/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.19/src/ssl/bio.rs:171: undefined reference to `BIO_set_data'
/home/timperrett/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.19/src/ssl/bio.rs:172: undefined reference to `BIO_set_init'
/home/timperrett/diplomat/target/debug/deps/libreqwest-8c57891ac6c4b391.rlib(reqwest-8c57891ac6c4b391.0.o): In function `openssl::ssl::bio::destroy<hyper_tls::stream::MaybeHttpsStream<tokio_core::net::tcp::TcpStream>>':
/home/timperrett/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.19/src/ssl/bio.rs:168: undefined reference to `BIO_get_data'
/home/timperrett/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.19/src/ssl/bio.rs:171: undefined reference to `BIO_set_data'
/home/timperrett/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.19/src/ssl/bio.rs:172: undefined reference to `BIO_set_init'
/home/timperrett/diplomat/target/debug/deps/libopenssl-20cb1db4854a58e3.rlib(openssl-20cb1db4854a58e3.0.o): In function `openssl::ssl::bio::create':
/home/timperrett/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.19/src/ssl/bio.rs:156: undefined reference to `BIO_set_init'
/home/timperrett/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.19/src/ssl/bio.rs:158: undefined reference to `BIO_set_data'
/home/timperrett/diplomat/target/debug/deps/libopenssl-20cb1db4854a58e3.rlib(openssl-20cb1db4854a58e3.0.o): In function `openssl::ssl::bio::compat::{{impl}}::drop':
/home/timperrett/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.19/src/ssl/bio.rs:213: undefined reference to `BIO_meth_free'
/home/timperrett/diplomat/target/debug/deps/libopenssl-20cb1db4854a58e3.rlib(openssl-20cb1db4854a58e3.0.o): In function `openssl::version::number':
/home/timperrett/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.19/src/version.rs:51: undefined reference to `OpenSSL_version_num'
/home/timperrett/diplomat/target/debug/deps/libopenssl_sys-c7b805b520125ae5.rlib(openssl_sys-c7b805b520125ae5.0.o): In function `openssl_sys::ossl110::init::{{closure}}':
/home/timperrett/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-sys-0.9.19/src/ossl110.rs:65: undefined reference to `OPENSSL_init_ssl'
/home/timperrett/diplomat/target/debug/deps/libopenssl_sys-c7b805b520125ae5.rlib(openssl_sys-c7b805b520125ae5.0.o): In function `openssl_sys::SSL_CTX_set_mode':
/home/timperrett/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-sys-0.9.19/src/lib.rs:1433: undefined reference to `SSL_CTX_ctrl'
/home/timperrett/diplomat/target/debug/deps/libopenssl_sys-c7b805b520125ae5.rlib(openssl_sys-c7b805b520125ae5.0.o): In function `openssl_sys::SSL_set_tlsext_host_name':
/home/timperrett/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-sys-0.9.19/src/lib.rs:1473: undefined reference to `SSL_ctrl'
collect2: error: ld returned 1 exit status
error: aborting due to previous error
error: Could not compile `diplomat`.