Closed Diggsey closed 5 years ago
Good catch! Thank you.
Are you using the nightly
, beta
or stable
? The nightly
isn't always stable, for obvious reasons, but I'd be happy to rebuild it.
I'm using nightly
, but I can switch to stable now that Rust 2018 has landed. However since all the builds were produced yesterday I assumed they would all suffer from the same issue?
OK, looks like its only nightly that's affected.
OK, there have been a few rebuilds of nightly lately, maybe try again?
Also, see the section on linking openssl
in the README.md. It's possible that even with Rust 2018-style imports, you might still need the extern crate openssl;
declaration.
This problem still occurs for me when compiling the rust-musl-builder diesel example using ekidd/rust-musl-builder:nightly
(2018-12-22 build), though, as @Diggsey mentions, ekidd/rust-musl-builder:stable
builds it fine.
See the log below for the diesel example with nightly.
problem is still there even with the stable version
alias rust-musl-builder='docker run --rm -it -v "$(pwd)":/home/rust/src -v cargo-git:/home/rust/.cargo/git -v cargo-registry:/home/rust/.cargo/registry ekidd/rust-musl-builder:stable'
error: linking with `cc` failed: exit code: 1
|
= note: "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-Wl,--eh-frame-hdr" "-m64" "-nostdlib" "/home/rust/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-musl/lib/crt1.o" "/home/rust/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-musl/lib/crti.o" "-L" "/home/rust/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-musl/lib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/unpacker-733958ae07fb83c8.unpacker.56ywykv6-cgu.0.rcgu.o" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/unpacker-733958ae07fb83c8.unpacker.56ywykv6-cgu.1.rcgu.o" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/unpacker-733958ae07fb83c8.unpacker.56ywykv6-cgu.10.rcgu.o" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/unpacker-733958ae07fb83c8.unpacker.56ywykv6-cgu.11.rcgu.o" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/unpacker-733958ae07fb83c8.unpacker.56ywykv6-cgu.12.rcgu.o" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/unpacker-733958ae07fb83c8.unpacker.56ywykv6-cgu.13.rcgu.o" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/unpacker-733958ae07fb83c8.unpacker.56ywykv6-cgu.14.rcgu.o" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/unpacker-733958ae07fb83c8.unpacker.56ywykv6-cgu.15.rcgu.o" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/unpacker-733958ae07fb83c8.unpacker.56ywykv6-cgu.2.rcgu.o" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/unpacker-733958ae07fb83c8.unpacker.56ywykv6-cgu.3.rcgu.o" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/unpacker-733958ae07fb83c8.unpacker.56ywykv6-cgu.4.rcgu.o" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/unpacker-733958ae07fb83c8.unpacker.56ywykv6-cgu.5.rcgu.o" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/unpacker-733958ae07fb83c8.unpacker.56ywykv6-cgu.6.rcgu.o" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/unpacker-733958ae07fb83c8.unpacker.56ywykv6-cgu.7.rcgu.o" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/unpacker-733958ae07fb83c8.unpacker.56ywykv6-cgu.8.rcgu.o" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/unpacker-733958ae07fb83c8.unpacker.56ywykv6-cgu.9.rcgu.o" "-o" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/unpacker-733958ae07fb83c8" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/unpacker-733958ae07fb83c8.4oayf4af3wrmw0nf.rcgu.o" "-Wl,--gc-sections" "-no-pie" "-Wl,-zrelro" "-Wl,-znow" "-Wl,-O1" "-nodefaultlibs" "-L""/home/rust/src/target/x86_64-unknown-linux-musl/release/deps" "-L" "/home/rust/src/target/release/deps" "-L" "/home/rust/src/target/x86_64-unknown-linux-musl/release/build/backtrace-sys-6a6cf6ae0f1cfba8/out" "-L" "/home/rust/src/target/x86_64-unknown-linux-musl/release/build/brotli-sys-236de936f210106a/out" "-L" "/home/rust/src/target/x86_64-unknown-linux-musl/release/build/ring-f20eefaf63f6211c/out" "-L" "/home/rust/src/target/x86_64-unknown-linux-musl/release/build/miniz-sys-df375ae9612261cd/out" "-L" "/usr/local/musl/lib" "-L" "/usr/local/musl/lib/" "-L" "/home/rust/src/target/x86_64-unknown-linux-musl/release/build/bzip2-sys-03d8c3af2ac07d1e/out/lib" "-L" "/home/rust/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-musl/lib" "-Wl,-Bstatic" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/librusoto_s3-1383b526ce98b8b6.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/librusoto_core-60b3a7087dbcb67b.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libxml-8192994104f771b9.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libsha2-135f22cfa5ffb23b.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libfake_simd-97b1f9964f5da489.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libblock_buffer-d9871c5e4d8a6218.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libarrayref-e9e8485d69e416be.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libbyte_tools-993327a8c8b8532b.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/librusoto_credential-1eb4ffaf3a4d5199.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libdirs-7abfdf2309005676.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libhmac-aa3f36ed670e1d30.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libcrypto_mac-b1419263265f2e0e.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libconstant_time_eq-10098b7793af1b12.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libdigest-f2c5357b6bb8b2ac.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libgeneric_array-e1bf458f90786731.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libtypenum-5d65155eae45eab4.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libhex-0a3ab204d7fe9142.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libmd5-47c40ccde9e82a0a.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libhyper_tls-9888616e1a657d92.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libnative_tls-11c8f08d808aabed.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libopenssl_probe-87e672850aabf789.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libhyper-3031e315d6f8c499.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libwant-15ce4d4b42170846.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libtry_lock-99062110c3bc1a02.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libsubparse-21313f5dc8e17b7e.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libitertools-7d7feb959a917bc4.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libeither-3565d3de77778af2.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libvobsub-32536fa5b8323393.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libsafemem-0e25b760a2af8c3a.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libregex-963ff551727b30f6.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libregex_syntax-4a1710f2cd481374.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libnom-16ed16fe0d0d0755.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/liblog-f798caeda7b0ad33.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/liblazy_static-48342a483615cae2.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libimage-067be52eb7b0cd3f.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libenum_primitive-d44ac8aa020aecb6.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libnum_traits-7cd7de40423e9cc4.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libnum_rational-5af38d36810e42fe.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libnum_iter-397d9446e10ca671.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libcast-4f07ff2e9b1149a9.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libcombine-0c64575417a68e5a.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libascii-01b2cedab83070ea.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/liberror_chain-23ec3995655688a4.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libopenssl-49adf9ce18046e18.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libopenssl_sys-91b1ec123f0364d3.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libforeign_types-decc2635490c93ba.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libforeign_types_shared-d24be550f0ad0147.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libzip-19abb043b20f2d33.rlib""/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libpodio-7829d9dcfa339e61.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/liblibflate-6ac313181b88153e.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libadler32-572c878a0ce0ff08.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libbzip2-0952674d8bb76d84.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libbzip2_sys-c29732f92f5ccddc.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libwalkdir-2b47977df367d53f.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libsame_file-6f29816980ef7062.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libtempfile-6aa41827128cc699.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libremove_dir_all-086ebd03b5372164.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libenv_logger-36a9ef0fcbefa3db.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libatty-25ef23233013ef86.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libhumantime-9ef92fbe9741943d.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libtermcolor-eb54dfb5dc589eec.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libdotenv-939dafe4126bb5f2.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libactix_web-31e2703bd77650ad.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libactix_net-141bb3222ff25b0d.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libactix-43ac6fa97bf064c0.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libtokio_signal-31578c6ec22033a5.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libsignal_hook-49db2180032acbd7.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libarc_swap-0b17bf01ae989a3c.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libuuid-a1fb5af3cd474557.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libtrust_dns_resolver-bce40899edc6c1bf.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libtrust_dns_proto-90f6b9abaf67e46c.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libsocket2-836a684a7e3885b2.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/librand-512e88e874a19a15.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/librand_core-88e584047f79d618.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libresolv_conf-0a556c51428cd0fd.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libhostname-f6f3487417fba65d.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libquick_error-86e526a340f2960b.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/liblru_cache-a182284401817fd5.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/liblinked_hash_map-5f928c1a4a71029b.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libtower_service-00c1e7254d8eab0a.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libserde_urlencoded-bd54df4c8f142463.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libdtoa-ac55edf4e13f5dc4.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libh2-34828ab212255666.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libindexmap-bb6a7d36f8fce374.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libstring-c29e5e1d73231156.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libflate2-a975df6a74cdcc42.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libminiz_sys-3f4f2abc44112c8d.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libcrc32fast-7abdae09e0c25945.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libbrotli2-1a10e2accc44a149.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libbrotli_sys-daa17d0f3bc84542.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libtokio-7418bb61399f6e1f.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libtokio_uds-26ddb69e34806907.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libmio_uds-083203e2e27208b8.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libtokio_udp-b3f9f80d59af80d0.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libtokio_tcp-f6aa2cc375c1d32f.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libtokio_timer-4472c38d9c8ae2a6.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libtokio_reactor-f1aba6e1554a227c.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libtokio_fs-97466b08fbf010f9.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libtokio_threadpool-46bace336939a774.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libcrossbeam_deque-ea567fff346f698d.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libcrossbeam_epoch-444ebfd32879b214.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libmemoffset-c81f11aa50fa9db7.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libarrayvec-462de4c5dd85aab7.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libnodrop-2ce1f07a979278f2.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libcrossbeam_channel-89973bd8a593e584.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libtokio_codec-ea8fa46f80820b2c.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libtokio_io-13af5d89625ab3c6.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libtokio_current_thread-b7a8ca32fff500e1.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libtokio_executor-d502752acf499ceb.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libcrossbeam_utils-bd5a65f142696ac4.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libparking_lot-549c31056d8dd9b0.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libparking_lot_core-ac9863a4c726c369.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libsmallvec-d7a009a328f454f9.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libunreachable-f3b067020baa0f09.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libvoid-6670a9d1a1ca3a99.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/librand-3a701134cd419576.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/librand_xorshift-c25bffb36a349a4e.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/librand_pcg-c28be9a97cff6b23.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/librand_hc-278c8cb06203b049.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/librand_chacha-dc47f0f8dc0e2b08.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/librand_isaac-fbf15a6469c6cd06.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/librand_os-a9b0d6adc4faaf9e.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/librand_core-485c785ae1daf37f.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/liblock_api-ce7555984a889d5a.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libowning_ref-cf907bc0a699332c.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libstable_deref_trait-a1e3ce8f3ca6b4ac.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libscopeguard-bc7a6fdfabf0047a.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libmio-2a24d73119fd278f.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libslab-806419ab3cb1b995.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libnet2-3bf4f8d1ea2d689c.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libmime_guess-3cdf8d4ed33a40cf.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libphf-be31e74756624b1f.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libphf_shared-2eab05306480c469.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libunicase-f0c5539456e3d8f8.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libsiphasher-684b6ab0460e8639.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libmime-b789bc7c7bd3c97e.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libunicase-e39bd0d777daa7a8.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/liblazycell-7d76579de5c8484b.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/liblanguage_tags-9cd6a44256c3336f.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libhttparse-6e03d84bccd4f750.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libhttp-e740bf1b1e3dab3a.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libfnv-721937b683f776ff.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libfutures_cpupool-ddf1a5e46a3a83b4.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libnum_cpus-8b89c3c89eb47dd1.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libcookie-6f5a0d1ef23f794a.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libbase64-2434b5f8426d3a1b.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libsafemem-ed85487f772e1d4b.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libring-17d6340a6b5e24f9.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libuntrusted-288b44850029cbe0.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libaskama_escape-07901f90910ce5c4.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libfutures-b9e86ac24fcf8257.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libsha1-841cb445788a1078.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libbytes-0d468e07fa48d4ff.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libiovec-44caec6ff76b0c8a.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libbase64-ff9652f1fd3fffcb.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libtera-552723ca9984ebc9.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libunic_segment-eacb2c6553ad8fd5.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libunic_ucd_segment-6a20bb5b96af2d2b.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libunic_ucd_version-8024f88a3ee53c4c.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libunic_common-cc7b33757e02bde7.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libunic_char_property-5aa69c8d3186b3db.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libunic_char_range-38f2539fafdc2123.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/liburl-26504a10c977bad1.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libencoding-9b6178aaf85e7cdf.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libencoding_index_tradchinese-31216c136110c709.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libencoding_index_simpchinese-d2596ac9b28380b8.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libencoding_index_japanese-8e1dfafff5cb712d.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libencoding_index_korean-43e30bfb8ea545f4.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libencoding_index_singlebyte-836dc04a614bd956.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libpercent_encoding-1bb7c9cc05831129.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libidna-b15bc745aeec4044.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libunicode_normalization-d67484b4ebcef77e.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libunicode_bidi-8d6ed7ce3eca2cc4.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libmatches-55e1c207c4a51c02.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libhumansize-5426ed32b076f3a7.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libslug-e7c11cc0f36f488b.rlib""/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libdeunicode-2e801ea4f0c75bd4.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libregex-6677a3eb80723ef3.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libutf8_ranges-d09a21295fb37553.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libregex_syntax-d6f567228662fb5f.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libucd_util-f4bdd2fbfeb752b1.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libthread_local-10d2e8c8ddebf53e.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libaho_corasick-91044cb2518f01e5.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libmemchr-d1747e6d59d08876.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/liberror_chain-73f43d809ed6fd05.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libpest-0f94c48eb59295b0.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libucd_trie-8cc9fd6a68460090.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libglob-f01d28a40b76a278.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libdiesel-7bb3c7e14ef2a2d1.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libpq_sys-da19339dab3663cb.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libuuid-70724a1cb75d19b6.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libserde_json-d462a9c5e95c78a4.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libryu-335cffc79251e618.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libitoa-216df26100a9692a.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libchrono-c0f7f4286cb803e4.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libserde-267075b2fee5b6f6.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libnum_integer-83b32554408b033d.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libnum_traits-d4b519c38d8c4ed3.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libtime-b879cc30694adf5f.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libbyteorder-7f40307e73610527.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libbitflags-bd59d19a43f4f3a9.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/liblazy_static-5bcffdb9a878c7ff.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/liblog-eb7e84aa1f39a8e3.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libfailure-382cebe35e5ee9bf.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libbacktrace-9f314e9a275471fc.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libbacktrace_sys-2898cc86053921b2.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/librustc_demangle-d23becb20ed605e7.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libcfg_if-d33f15e1871e04b2.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/release/deps/liblibc-cc705bbb6c496cfc.rlib" "/home/rust/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-musl/lib/libstd-0c86013d1a999471.rlib" "/home/rust/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-musl/lib/libpanic_unwind-e04840eda0100e05.rlib" "/home/rust/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-musl/lib/libunwind-16bfb4d182748e63.rlib" "/home/rust/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-musl/lib/liblibc-185d9b81685a2f08.rlib" "/home/rust/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-musl/lib/liballoc-4806247fe4c34e64.rlib" "/home/rust/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-musl/lib/libcore-879310dc3b96af61.rlib" "/home/rust/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-musl/lib/libcompiler_builtins-d0572f7a936161bf.rlib" "-static" "-Wl,-Bdynamic" "/home/rust/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-musl/lib/crtn.o"
= note: /home/rust/src/target/x86_64-unknown-linux-musl/release/deps/libpq_sys-da19339dab3663cb.rlib(fe-secure-openssl.o): In function `pgtls_init':
fe-secure-openssl.c:(.text+0x1493): undefined reference to `OPENSSL_config'
collect2: error: ld returned 1 exit status
error: aborting due to previous error
So the issue here is that OPENSSL_config isn't present in the libssl.a/libcrypto.a archives for openssl 1.0.x which given its function, makes perfect sense as it should be unnecessary for static archives.
Specifically, in pgtls_init(): https://github.com/postgres/postgres/blame/master/src/interfaces/libpq/fe-secure-openssl.c#L702-L715
It looks like these functions (I am not an openssl expert by any stretch of the imagination) are used for initialization at library load time. Which for static archives makes little sense as ld isn't involved. But it explains the linker error entirely. It looks to me like the addition of postgres is partially to blame here.
I'm not sure that the rust openssl crate is ready for openssl 1.1.1, was running into many errors trying to force it to use 1.1.1b for pgtls_init but doubt it matters as none of the functions listed are exported in openssl archive files.
My postgres patch:
diff --git a/src/interfaces/libpq/fe-secure-openssl.c b/src/interfaces/libpq/fe-secure-openssl.c
index f634c99ca6..e90d7ac7f2 100644
--- a/src/interfaces/libpq/fe-secure-openssl.c
+++ b/src/interfaces/libpq/fe-secure-openssl.c
@@ -699,6 +699,7 @@ pgtls_init(PGconn *conn)
#endif /* HAVE_CRYPTO_LOCK */
#endif /* ENABLE_THREAD_SAFETY */
+#ifndef STATIC_PQ
if (!ssl_lib_initialized)
{
if (pq_init_ssl_lib)
@@ -713,6 +714,7 @@ pgtls_init(PGconn *conn)
}
ssl_lib_initialized = true;
}
+#endif
#ifdef ENABLE_THREAD_SAFETY
pthread_mutex_unlock(&ssl_config_mutex);
Changes to the Dockerfile (some aren't needed necessarily I was testing with openssl 1.1.1 as well):
diff --git a/Dockerfile b/Dockerfile
index cc5ef5a..2135a3b 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -5,6 +5,11 @@ FROM ubuntu:16.04
# The Rust toolchain to use when building our image. Set by `hooks/build`.
ARG TOOLCHAIN=stable
+# Third party versions
+ARG OPENSSL_VER=1.0.2r
+ARG ZLIB_VER=1.2.11
+ARG PG_VER=10.7
+
# Make sure we have basic dev tools for building C libraries. Our goal
# here is to support the musl-libc builds and Cargo builds needed for a
# large selection of the most popular crates.
@@ -43,7 +48,7 @@ RUN apt-get update && \
RUN sudo ln -s "/usr/bin/g++" "/usr/bin/musl-g++"
# Allow sudo without a password.
-ADD sudoers /etc/sudoers.d/nopasswd
+RUN echo "%sudo ALL=(ALL:ALL) NOPASSWD:ALL" | tee -a /etc/sudoers.d/nopasswd
# Run all further code as user `rust`, and create our working directories
# as the appropriate user.
@@ -70,20 +75,25 @@ ADD cargo-config.toml /home/rust/.cargo/config
ADD git-credential-ghtoken /usr/local/bin
RUN git config --global credential.https://github.com.helper ghtoken
+# As libpq is fully static, patch out calls to dynamic openssl setup functions
+# callers are responsible for setting this up correctly in fn main().
+ADD pq-static.patch /tmp
+RUN sudo chown rust:rust /tmp/*.patch
+
# Build a static library version of OpenSSL using musl-libc. This is
# needed by the popular Rust `hyper` crate.
RUN echo "Building OpenSSL" && \
cd /tmp && \
- OPENSSL_VERSION=1.0.2o && \
+ OPENSSL_VERSION=$OPENSSL_VER && \
curl -LO "https://www.openssl.org/source/openssl-$OPENSSL_VERSION.tar.gz" && \
tar xvzf "openssl-$OPENSSL_VERSION.tar.gz" && cd "openssl-$OPENSSL_VERSION" && \
- env CC=musl-gcc ./Configure no-shared no-zlib -fPIC --prefix=/usr/local/musl linux-x86_64 && \
+ env CC="musl-gcc -idirafter /usr/include/ -idirafter /usr/include/x86_64-linux-gnu/" ./Configure no-shared no-zlib -fPIC --prefix=/usr/local/musl linux-x86_64 && \
env C_INCLUDE_PATH=/usr/local/musl/include/ make depend && \
make && sudo make install && \
\
echo "Building zlib" && \
cd /tmp && \
- ZLIB_VERSION=1.2.11 && \
+ ZLIB_VERSION=$ZLIB_VER && \
curl -LO "http://zlib.net/zlib-$ZLIB_VERSION.tar.gz" && \
tar xzf "zlib-$ZLIB_VERSION.tar.gz" && cd "zlib-$ZLIB_VERSION" && \
CC=musl-gcc ./configure --static --prefix=/usr/local/musl && \
@@ -91,10 +101,11 @@ RUN echo "Building OpenSSL" && \
\
echo "Building libpq" && \
cd /tmp && \
- POSTGRESQL_VERSION=9.6.8 && \
+ POSTGRESQL_VERSION=$PG_VER && \
curl -LO "https://ftp.postgresql.org/pub/source/v$POSTGRESQL_VERSION/postgresql-$POSTGRESQL_VERSION.tar.gz" && \
tar xzf "postgresql-$POSTGRESQL_VERSION.tar.gz" && cd "postgresql-$POSTGRESQL_VERSION" && \
- CC=musl-gcc CPPFLAGS=-I/usr/local/musl/include LDFLAGS=-L/usr/local/musl/lib ./configure --with-openssl --without-readline --prefix=/usr/local/musl && \
+ patch -p1 < /tmp/pq-static.patch && \
+ CC=musl-gcc CPPFLAGS="-DSTATIC_PQ -I/usr/local/musl/include" LDFLAGS=-L/usr/local/musl/lib ./configure --with-openssl --without-readline --prefix=/usr/local/musl && \
cd src/interfaces/libpq && make all-static-lib && sudo make install-lib-static && \
cd ../../bin/pg_config && make && sudo make install && \
\
@@ -119,8 +130,10 @@ ENV OPENSSL_DIR=/usr/local/musl/ \
# Install some useful Rust tools from source. This will use the static linking
# toolchain, but that should be OK.
RUN cargo install -f cargo-audit && \
+ cargo install -f cargo-vendor && \
+ cargo install -f cargo-license && \
rm -rf /home/rust/.cargo/registry/
# Expect our source code to live in /home/rust/src. We'll run the build as
# user `rust`, which will be uid 1000, gid 1000 outside the container.
-WORKDIR /home/rust/src
+WORKDIR /home/rust/src
\ No newline at end of file
I only did a non tls connection so far with these changes but thought others might want to have a look to test if they've tls secured postgres connections. It at least fixes the build issues largely.
I am also facing this issue with the stable Docker image 1.33.0
Thank you for everybody who has investigated this!
A few random hints that may or may not be of help...
Even if you're using Rust 2018, you must include the following in your main.rs
file:
extern crate openssl;
If it helps anybody, this repository also includes several working examples of various OpenSSL and database library configurations that are tested regularly. (And I use this image to compile several different Rust programs involving both nightly and stable Rust.)
You might also have more luck with a tag like :nightly-2019-04-12
instead of plain :nightly
. Also, in rare cases, it may be necessary to run cargo update
or edit Cargo.toml
to get a given program to build using nightly
Rust.
OK, upon further investigation, something really weird is going on, and the usual fixes I mentioned above do not appear to be sufficient this time.
I've confirmed that the using-diesel
example has broken as of Rust 1.34.0. But I have a bunch of other projects that are building just fine. I'm going to have to dig into this further. See https://github.com/emk/rust-musl-builder/issues/69 for details on the using-diesel
issue.
I've found what may be a workaround. If I declare my external crates in this order:
extern crate openssl;
#[macro_use]
extern crate diesel;
...everything seems to reliably link using stable Rust, in both debug and release modes.
If this fails for anybody, please let me know. I'm going to keep investigating and maybe file some bugs upstream.
We now have a workaround for this issue, and I've filed https://github.com/sgrif/pq-sys/issues/25 upstream to investigate further.
I'm closing this issue in favor of https://github.com/emk/rust-musl-builder/issues/69, which will be the tracking issue for any upstream fix or further workaround! Thank you to everybody who reported versions of this bug, and to everybody who discovered various versions of the workaround as old ones broke!
(Also, the experimental
branch contains a Docker Hub hooks/test
that should detect whenever using-diesel
fails. I'll merge this to master when I've finished testing it, or you can try ekidd/rust-musl-builder:experimental
to see if the updated images work with your project.)
Still fails for me with:
extern crate openssl;
#[macro_use]
extern crate diesel;
[build-dependencies]
vergen = "0.1"
dotenv = "0.14"
[build-dependencies.diesel]
version = "1"
features = ["postgres", "chrono", "uuidv07", "r2d2"]
[build-dependencies.diesel_migrations]
version = "1"
features = ["postgres"]
[dev-dependencies]
rocket = "0.4"
[dependencies]
error-chain = "0.12"
openssl = "*"
rocket = "0.4"
#rocket_codegen = "0.4"
rocket_contrib = { version = "0.4", features = ["uuid"] }
serde = { version = "1", features = ["derive"]}
serde_json = "1"
r2d2 = "0.8"
r2d2-diesel = "1"
chrono = { version = "0.4", features = ["serde"] }
uuid = { version = "0.7", features = ["serde", "v4"] }
dotenv = "0.14"
lazy_static = "1"
diesel_migrations = "1"
[dependencies.diesel]
version = "1"
default-features = false
features = ["postgres", "chrono", "uuid"]
[features]
default = []
error: linking with `cc` failed: exit code: 1
|
= note: "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-Wl,--eh-frame-hdr" "-m64" "-nostdlib" "/home/rust/.rustup/toolchains/nightly-2019-07-08-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-musl/lib/crt1.o" "/home/rust/.rustup/toolchains/nightly-2019-07-08-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-musl/lib/crti.o" "-L" "/home/rust/.rustup/toolchains/nightly-2019-07-08-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-musl/lib" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/skillrex-ca9a95acf0a723d4.113iw6094bvjxbt6.rcgu.o" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/skillrex-ca9a95acf0a723d4.11qw0e389ib5idy0.rcgu.o" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/skillrex-ca9a95acf0a723d4.135kt0rqyhdrec35.rcgu.o" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/skillrex-ca9a95acf0a723d4.13isvzcrl93o26wj.rcgu.o" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/skillrex-ca9a95acf0a723d4.13q0zdu6c18u8a4g.rcgu.o" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/skillrex-ca9a95acf0a723d4.17czi1hdsm4ropr7.rcgu.o" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/skillrex-ca9a95acf0a723d4.1878yhl69yymqfna.rcgu.o" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/skillrex-ca9a95acf0a723d4.18ehthhv50e8wxnw.rcgu.o" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/skillrex-ca9a95acf0a723d4.1acwm708g4ohz5y3.rcgu.o" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/skillrex-ca9a95acf0a723d4.1bc1f3bp2bsnnrtf.rcgu.o" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/skillrex-ca9a95acf0a723d4.1d0gejx9t1dz16o7.rcgu.o" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/skillrex-ca9a95acf0a723d4.1dcqox7ioaeigpvt.rcgu.o" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/skillrex-ca9a95acf0a723d4.1dgeb6ca9mfoa0mt.rcgu.o" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/skillrex-ca9a95acf0a723d4.1f32q30ef5ysiwl9.rcgu.o" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/skillrex-ca9a95acf0a723d4.1ffi793kj5kxxug4.rcgu.o" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/skillrex-ca9a95acf0a723d4.1hws72bznvlstcse.rcgu.o" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/skillrex-ca9a95acf0a723d4.1i8eya21zfi4kr2x.rcgu.o" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/skillrex-ca9a95acf0a723d4.1idzegt5mfs5irsy.rcgu.o" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/skillrex-ca9a95acf0a723d4.1iss8tlvf3n7lvpu.rcgu.o" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/skillrex-ca9a95acf0a723d4.1j0brjp51hnep7j.rcgu.o" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/skillrex-ca9a95acf0a723d4.1kckf5yqq90nnx74.rcgu.o" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/skillrex-ca9a95acf0a723d4.1kqd835fe2mjy3du.rcgu.o" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/skillrex-ca9a95acf0a723d4.1odf13jy9w58kd83.rcgu.o" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/skillrex-ca9a95acf0a723d4.1q4svvmc07ksbdnl.rcgu.o" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/skillrex-ca9a95acf0a723d4.1vr4uy9a33r0mm44.rcgu.o" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/skillrex-ca9a95acf0a723d4.1xw2mgwswiz48tzw.rcgu.o" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/skillrex-ca9a95acf0a723d4.1y6cpv9s3ns3x9mp.rcgu.o" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/skillrex-ca9a95acf0a723d4.1ys2gxz17rd3japu.rcgu.o" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/skillrex-ca9a95acf0a723d4.1zojgbmpw2tr4my3.rcgu.o" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/skillrex-ca9a95acf0a723d4.21tqpuhx0ne1ga6p.rcgu.o" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/skillrex-ca9a95acf0a723d4.24g2b2whbspgyhdo.rcgu.o" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/skillrex-ca9a95acf0a723d4.27yfof6o5idhizs2.rcgu.o" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/skillrex-ca9a95acf0a723d4.29na7geuq08kxn3z.rcgu.o" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/skillrex-ca9a95acf0a723d4.2b7885bei3yb0vtv.rcgu.o" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/skillrex-ca9a95acf0a723d4.2bnwd7jknjhln8yq.rcgu.o" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/skillrex-ca9a95acf0a723d4.2bu1nhsnyu2ktm32.rcgu.o" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/skillrex-ca9a95acf0a723d4.2eyo697d527u3kah.rcgu.o" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/skillrex-ca9a95acf0a723d4.2gn8mi9whc6ijtei.rcgu.o" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/skillrex-ca9a95acf0a723d4.2hqxrbul3bdmu4k8.rcgu.o" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/skillrex-ca9a95acf0a723d4.2mzwjpix8wracz3w.rcgu.o" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/skillrex-ca9a95acf0a723d4.2ow6s6sxfa6h8m7y.rcgu.o" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/skillrex-ca9a95acf0a723d4.2qfysgawxdsgbfku.rcgu.o" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/skillrex-ca9a95acf0a723d4.2rbawj4k18kvgt0t.rcgu.o" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/skillrex-ca9a95acf0a723d4.2shrqu1313cqrik5.rcgu.o" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/skillrex-ca9a95acf0a723d4.2tpmf2nz59pjk5vp.rcgu.o" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/skillrex-ca9a95acf0a723d4.2uaunvgw88nfpezh.rcgu.o" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/skillrex-ca9a95acf0a723d4.2uo2s8aivn7owkly.rcgu.o" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/skillrex-ca9a95acf0a723d4.2uyjionlt6upq46c.rcgu.o" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/skillrex-ca9a95acf0a723d4.2v9yz4m0p0l60dfg.rcgu.o" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/skillrex-ca9a95acf0a723d4.2vxe7vgvbh69ty0.rcgu.o" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/skillrex-ca9a95acf0a723d4.2w13cy234pk5xww5.rcgu.o" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/skillrex-ca9a95acf0a723d4.2yo35w82grdv1a4k.rcgu.o" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/skillrex-ca9a95acf0a723d4.2yrgqwtz2yljifoq.rcgu.o" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/skillrex-ca9a95acf0a723d4.2yvstqm8p3y408l5.rcgu.o" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/skillrex-ca9a95acf0a723d4.31b9hyci81yioi01.rcgu.o" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/skillrex-ca9a95acf0a723d4.31mn1cdiprynkcek.rcgu.o" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/skillrex-ca9a95acf0a723d4.33ewaeonnz1m2au9.rcgu.o" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/skillrex-ca9a95acf0a723d4.34l6279c0lqoo8h.rcgu.o" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/skillrex-ca9a95acf0a723d4.34nkyxdrrjnm19d0.rcgu.o" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/skillrex-ca9a95acf0a723d4.35mxbkzq1wuouvz2.rcgu.o" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/skillrex-ca9a95acf0a723d4.38dcwfqzbbj7yats.rcgu.o" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/skillrex-ca9a95acf0a723d4.38i2cqn1pchvcu5o.rcgu.o" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/skillrex-ca9a95acf0a723d4.38miuibcfliqer2n.rcgu.o" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/skillrex-ca9a95acf0a723d4.3b3i8mi3fcnpem7u.rcgu.o" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/skillrex-ca9a95acf0a723d4.3ewbxdq84xed8l14.rcgu.o" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/skillrex-ca9a95acf0a723d4.3fwkldguwnxpzn1x.rcgu.o" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/skillrex-ca9a95acf0a723d4.3gdoxi39wztb969r.rcgu.o" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/skillrex-ca9a95acf0a723d4.3i3mjlaxwszj35jl.rcgu.o" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/skillrex-ca9a95acf0a723d4.3ij9skdj0ybkrk0n.rcgu.o" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/skillrex-ca9a95acf0a723d4.3jenmhum3xv3zpre.rcgu.o" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/skillrex-ca9a95acf0a723d4.3jzngh3o74c6d8mt.rcgu.o" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/skillrex-ca9a95acf0a723d4.3mk4u4le37r4zle0.rcgu.o" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/skillrex-ca9a95acf0a723d4.3nfe0xn51nsdh01r.rcgu.o" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/skillrex-ca9a95acf0a723d4.3nw0ildjandcm7fo.rcgu.o" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/skillrex-ca9a95acf0a723d4.3tvavavem99sev9a.rcgu.o" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/skillrex-ca9a95acf0a723d4.3vwv7f09r60apgyl.rcgu.o" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/skillrex-ca9a95acf0a723d4.3wsfbhxo27yc0y5x.rcgu.o" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/skillrex-ca9a95acf0a723d4.3xq4h6eg9o6q942z.rcgu.o" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/skillrex-ca9a95acf0a723d4.3xvvh2ttne4wf0r6.rcgu.o" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/skillrex-ca9a95acf0a723d4.44zszjmd9d5axpb9.rcgu.o" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/skillrex-ca9a95acf0a723d4.45jnr6kldsflrc50.rcgu.o" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/skillrex-ca9a95acf0a723d4.48q9db71rrfvv9pc.rcgu.o" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/skillrex-ca9a95acf0a723d4.4983i1opoteu9zpc.rcgu.o" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/skillrex-ca9a95acf0a723d4.4anmi0ss3uh702kf.rcgu.o" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/skillrex-ca9a95acf0a723d4.4fkdkry4luz7bp7u.rcgu.o" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/skillrex-ca9a95acf0a723d4.4fpb7x5rzte5o3gg.rcgu.o" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/skillrex-ca9a95acf0a723d4.4g3pl80rd2f65p2s.rcgu.o" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/skillrex-ca9a95acf0a723d4.4jnyokgfn7alo86o.rcgu.o" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/skillrex-ca9a95acf0a723d4.4lyvqgmmkw1xsmuy.rcgu.o" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/skillrex-ca9a95acf0a723d4.4mi3sdsmozfjyecr.rcgu.o" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/skillrex-ca9a95acf0a723d4.4n3ra5wqvfqam0ac.rcgu.o" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/skillrex-ca9a95acf0a723d4.4q9yc5z7m5d3af68.rcgu.o" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/skillrex-ca9a95acf0a723d4.4qqunezarc2fghlr.rcgu.o" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/skillrex-ca9a95acf0a723d4.4rb3v7sac2avlmyd.rcgu.o" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/skillrex-ca9a95acf0a723d4.4rln86htg8i93td0.rcgu.o" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/skillrex-ca9a95acf0a723d4.4rpf2qnh0cfmv3sx.rcgu.o" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/skillrex-ca9a95acf0a723d4.4scl765j2t7wv1et.rcgu.o" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/skillrex-ca9a95acf0a723d4.4sssbtw56bjxgkjl.rcgu.o" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/skillrex-ca9a95acf0a723d4.4vo8ceg33c10nspv.rcgu.o" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/skillrex-ca9a95acf0a723d4.4vpun7xgxpd8kzcy.rcgu.o" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/skillrex-ca9a95acf0a723d4.4yszge6lrp6l9woq.rcgu.o" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/skillrex-ca9a95acf0a723d4.4z73s45lhr5ham7f.rcgu.o" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/skillrex-ca9a95acf0a723d4.4zoiu2t34nhun8qo.rcgu.o" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/skillrex-ca9a95acf0a723d4.4zw4kwlwetc1fe8r.rcgu.o" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/skillrex-ca9a95acf0a723d4.505s8s7dqk8mgmbi.rcgu.o" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/skillrex-ca9a95acf0a723d4.524q8cijmdu4cmng.rcgu.o" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/skillrex-ca9a95acf0a723d4.5410p3dynzab4pjr.rcgu.o" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/skillrex-ca9a95acf0a723d4.57my7vqnowzq46uj.rcgu.o" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/skillrex-ca9a95acf0a723d4.5c06ntdbro60m298.rcgu.o" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/skillrex-ca9a95acf0a723d4.5ctuvs872l9siezh.rcgu.o" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/skillrex-ca9a95acf0a723d4.5dnpfk3t7c66k2g5.rcgu.o" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/skillrex-ca9a95acf0a723d4.5dr2r2ouxn2fjb1d.rcgu.o" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/skillrex-ca9a95acf0a723d4.5eq2un1a4ujqeury.rcgu.o" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/skillrex-ca9a95acf0a723d4.5fbelw6btiolfpw5.rcgu.o" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/skillrex-ca9a95acf0a723d4.5g3deir90wtivak6.rcgu.o" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/skillrex-ca9a95acf0a723d4.75azptkattfrvid.rcgu.o" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/skillrex-ca9a95acf0a723d4.8mbs3e8anfh3n9i.rcgu.o" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/skillrex-ca9a95acf0a723d4.91lkv67kqq50i9l.rcgu.o" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/skillrex-ca9a95acf0a723d4.991qn1xb4qkrqh1.rcgu.o" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/skillrex-ca9a95acf0a723d4.b58snp2fzz1cmdq.rcgu.o" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/skillrex-ca9a95acf0a723d4.biscdizzfrmxvoi.rcgu.o" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/skillrex-ca9a95acf0a723d4.c4yuz4a7bhs8t4g.rcgu.o" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/skillrex-ca9a95acf0a723d4.cxclkm5zykh0ktt.rcgu.o" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/skillrex-ca9a95acf0a723d4.dv4jwp0t2uvkpt.rcgu.o" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/skillrex-ca9a95acf0a723d4.eo8siy19paw3871.rcgu.o" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/skillrex-ca9a95acf0a723d4.f1osmgyxbe4miyl.rcgu.o" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/skillrex-ca9a95acf0a723d4.hfvtuj9nktatuna.rcgu.o" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/skillrex-ca9a95acf0a723d4.ibux0lwiiop66fg.rcgu.o" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/skillrex-ca9a95acf0a723d4.mslkamv6eju16py.rcgu.o" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/skillrex-ca9a95acf0a723d4.n1fk00w11u8k62t.rcgu.o" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/skillrex-ca9a95acf0a723d4.neuv6jrkpuzixhk.rcgu.o" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/skillrex-ca9a95acf0a723d4.nf6nj6djccgtain.rcgu.o" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/skillrex-ca9a95acf0a723d4.o3yg3un7p4ozlhz.rcgu.o" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/skillrex-ca9a95acf0a723d4.owucw611t0or9dq.rcgu.o" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/skillrex-ca9a95acf0a723d4.pov48m7bq4kbqm3.rcgu.o" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/skillrex-ca9a95acf0a723d4.pzrjlh273el87l.rcgu.o" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/skillrex-ca9a95acf0a723d4.qop6169m6uv3zqm.rcgu.o" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/skillrex-ca9a95acf0a723d4.rcivxzj1ddx6xsg.rcgu.o" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/skillrex-ca9a95acf0a723d4.rtyofidvjb1tnq5.rcgu.o" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/skillrex-ca9a95acf0a723d4.uk9nyyo1vu2v1ze.rcgu.o" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/skillrex-ca9a95acf0a723d4.v15zsljqb5e8kpp.rcgu.o" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/skillrex-ca9a95acf0a723d4.w3ibuakee7el6g.rcgu.o" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/skillrex-ca9a95acf0a723d4.x0wbft21mgj7e6k.rcgu.o" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/skillrex-ca9a95acf0a723d4.xg2q8e6o7j8vsaz.rcgu.o" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/skillrex-ca9a95acf0a723d4.yjgu2deszkibxit.rcgu.o" "-o" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/skillrex-ca9a95acf0a723d4" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/skillrex-ca9a95acf0a723d4.4hq4wj5vii0jbvmh.rcgu.o" "-Wl,--gc-sections" "-no-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps" "-L" "/home/rust/src/target/debug/deps" "-L" "/usr/lib/x86_64-linux-gnu" "-L" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/build/backtrace-sys-74872bc7cd635ad1/out" "-L" "/usr/local/musl/lib/" "-L" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/build/ring-23cc78d70657d58b/out" "-L" "/home/rust/.rustup/toolchains/nightly-2019-07-08-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-musl/lib" "-Wl,-Bstatic" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/liberror_chain-19ef534042e12733.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/libbacktrace-a724013f909e0d52.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/libbacktrace_sys-72fd3b698d9ed949.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/librustc_demangle-1c73bc99f34009dc.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/librocket_contrib-3043d45add304e6e.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/libserde_json-c17be161f9eed069.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/libryu-f4f3e275045a4c74.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/libitoa-3262fe1a70a00e92.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/libdotenv-690fb992da5efefe.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/libfailure-f6cfac178443ee7f.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/libregex-b97aa8dfbbc4b533.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/libregex_syntax-4b8ec7b2c53f6203.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/libthread_local-65dc716ad5fb4ea5.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/libaho_corasick-4f059476882521d0.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/libr2d2_diesel-2791b7e4974766a3.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/librocket-2f2586d6a5f581bc.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/libatty-56544ea14260c559.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/libbase64-9e84469e06af20c1.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/libmemchr-8b64af25b7fd467d.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/libtoml-13fd1053db596470.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/libyansi-8885049c54e2e79a.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/librocket_http-612976b0a72bb501.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/libhyper-4b1850d41c3d65e5.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/libmime-529bce9d82a8e85e.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/liblog-92ce7cf01800496b.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/liblanguage_tags-73ae41cd8b34af91.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/libtypeable-834d9bd8b7614ed9.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/libtraitobject-592faa8792cf4dc2.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/libnum_cpus-c19f77c9482673b3.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/libhttparse-1295cf65a9a33bcb.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/libunicase-ae8585224cb5781f.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/libunicode_xid-9469c40673b554fb.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/libstate-f0685e054a020385.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/libindexmap-4838ba289dfd3681.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/libcookie-de3537ad17fcf290.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/libbase64-ce581180dc50ba9f.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/libsafemem-78eab6debaeae2b4.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/libring-9cd0e03587a21efb.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/libuntrusted-82d616e1cd290083.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/liburl-df35a5793a829d8d.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/libidna-9e915bfe9ae3be1d.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/libunicode_normalization-27e515b9aa8b0076.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/libunicode_bidi-a21478b8b581a494.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/libmatches-138c2cb09de84fc1.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/libpercent_encoding-7779e4c8cc2ce2cd.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/libpear-0e3f2b24f8e335d8.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/libdiesel_migrations-126a85ed080dbc8e.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/libmigrations_internals-c758e86edb289a43.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/libdiesel-2b6795e719ac5dc7.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/libpq_sys-6fdcf5512723842e.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/libuuid-739cf9b7d000c615.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/libuuid-1d333b59ab3d57d5.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/libchrono-7f01c7edb6b1cc1f.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/libserde-b3c49707ce19f3f0.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/libnum_integer-67f4d2cf0ee4e795.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/libnum_traits-c6df156d7d50a5b5.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/libtime-0e78f2dffe30a4c9.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/libr2d2-fc546185dfcd002c.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/libscheduled_thread_pool-1dcba10e83037b97.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/libparking_lot-e262c4554fb846e1.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/libparking_lot_core-b102cfa7c8d3e0b4.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/liblock_api-97158f52667bd595.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/libparking_lot-08e70f24955c44d2.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/libparking_lot_core-0a06605a52a9fe17.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/libsmallvec-933cb59a111cfe31.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/librand-c5f6ceec04a7cdd1.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/librand_xorshift-383cf2dcf12f50fa.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/librand_pcg-340607fc7aa1b230.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/librand_hc-18910d5363b60aa4.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/librand_chacha-2530850906728294.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/librand_isaac-871ba05b973316d9.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/librand_core-3e8f9216c8bdb601.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/librand_os-911930a433db6c6b.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/librand_jitter-4d82e9e89cb3768f.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/librand_core-1978733ba1a2ffd2.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/liblock_api-202283a4c809dfec.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/libscopeguard-4232641d2aab5355.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/liblog-556640412c5acdee.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/libbyteorder-376ed87f845b8fd3.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/libopenssl-4fbc340c5144dccc.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/libopenssl_sys-d45bcc391a629d78.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/liblibc-042eb19a316a6a28.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/liblazy_static-4a4696a3ee686882.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/libforeign_types-7a2076169f30d6e1.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/libforeign_types_shared-b6255c74e97569b1.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/libcfg_if-9f1e3cb35a2e630c.rlib" "/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/libbitflags-3811ad0c531553a0.rlib" "-Wl,--start-group" "/home/rust/.rustup/toolchains/nightly-2019-07-08-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-musl/lib/libstd-a3063cb958e8253a.rlib" "/home/rust/.rustup/toolchains/nightly-2019-07-08-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-musl/lib/libpanic_unwind-d1235f5d6f4b6762.rlib" "/home/rust/.rustup/toolchains/nightly-2019-07-08-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-musl/lib/libbacktrace-f7e179e3be4607e2.rlib" "/home/rust/.rustup/toolchains/nightly-2019-07-08-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-musl/lib/libbacktrace_sys-438e0242a6c565ea.rlib" "/home/rust/.rustup/toolchains/nightly-2019-07-08-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-musl/lib/librustc_demangle-31d931ff04f3eb1d.rlib" "/home/rust/.rustup/toolchains/nightly-2019-07-08-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-musl/lib/libhashbrown-4981645e19ca2da3.rlib" "/home/rust/.rustup/toolchains/nightly-2019-07-08-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-musl/lib/librustc_std_workspace_alloc-41cd3ba336b3ae26.rlib" "/home/rust/.rustup/toolchains/nightly-2019-07-08-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-musl/lib/libunwind-8f97189fbac50baf.rlib" "/home/rust/.rustup/toolchains/nightly-2019-07-08-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-musl/lib/libcfg_if-4d6cf03b482fd94b.rlib" "/home/rust/.rustup/toolchains/nightly-2019-07-08-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-musl/lib/liblibc-0eff61dc23159af2.rlib" "/home/rust/.rustup/toolchains/nightly-2019-07-08-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-musl/lib/liballoc-5e01f135bbfa5d73.rlib" "/home/rust/.rustup/toolchains/nightly-2019-07-08-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-musl/lib/librustc_std_workspace_core-e3303f4418a2fca2.rlib" "/home/rust/.rustup/toolchains/nightly-2019-07-08-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-musl/lib/libcore-7754063178b8a06c.rlib" "-Wl,--end-group" "/home/rust/.rustup/toolchains/nightly-2019-07-08-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-musl/lib/libcompiler_builtins-638f965d06cd02a9.rlib" "-static" "-Wl,-Bdynamic" "/home/rust/.rustup/toolchains/nightly-2019-07-08-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-musl/lib/crtn.o"
= note: /home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/libpq_sys-6fdcf5512723842e.rlib(fe-connect.o): In function `parseServiceFile':
(.text+0xb89): undefined reference to `ldap_init'
(.text+0xba9): undefined reference to `ldap_set_option'
(.text+0xbbd): undefined reference to `ldap_simple_bind'
(.text+0xbf1): undefined reference to `ldap_result'
(.text+0xc0f): undefined reference to `ldap_msgfree'
(.text+0xc2e): undefined reference to `ldap_set_option'
(.text+0xc6c): undefined reference to `ldap_search_st'
(.text+0xc92): undefined reference to `ldap_msgfree'
(.text+0xca1): undefined reference to `ldap_err2string'
(.text+0xccc): undefined reference to `ldap_unbind'
(.text+0xfd9): undefined reference to `ldap_unbind'
(.text+0xff4): undefined reference to `ldap_count_entries'
(.text+0x102d): undefined reference to `ldap_msgfree'
(.text+0x1035): undefined reference to `ldap_unbind'
(.text+0x106b): undefined reference to `ldap_first_entry'
(.text+0x1090): undefined reference to `ldap_get_values_len'
(.text+0x10b9): undefined reference to `ldap_msgfree'
(.text+0x1186): undefined reference to `ldap_value_free_len'
(.text+0x1191): undefined reference to `ldap_unbind'
(.text+0x1227): undefined reference to `ldap_msgfree'
(.text+0x1237): undefined reference to `ldap_unbind'
(.text+0x1261): undefined reference to `ldap_value_free_len'
(.text+0x1269): undefined reference to `ldap_unbind'
/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/libpq_sys-6fdcf5512723842e.rlib(fe-connect.o): In function `default_threadlock':
(.text+0x1a49): undefined reference to `__fprintf_chk'
/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/libpq_sys-6fdcf5512723842e.rlib(fe-connect.o): In function `pqDropConnection':
(.text+0x205b): undefined reference to `gss_delete_sec_context'
(.text+0x2075): undefined reference to `gss_release_name'
/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/libpq_sys-6fdcf5512723842e.rlib(fe-connect.o): In function `PQconnectPoll':
(.text+0x28ac): undefined reference to `__snprintf_chk'
(.text+0x2925): undefined reference to `__snprintf_chk'
/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/libpq_sys-6fdcf5512723842e.rlib(fe-connect.o): In function `PQsetClientEncoding':
(.text+0x48cb): undefined reference to `__sprintf_chk'
/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/libpq_sys-6fdcf5512723842e.rlib(fe-connect.o): In function `parseServiceInfo':
(.text+0x4c5a): undefined reference to `__snprintf_chk'
(.text+0x4ce5): undefined reference to `__snprintf_chk'
/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/libpq_sys-6fdcf5512723842e.rlib(fe-connect.o): In function `connectOptions2':
(.text+0x6438): undefined reference to `__snprintf_chk'
(.text+0x6770): undefined reference to `__fprintf_chk'
/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/libpq_sys-6fdcf5512723842e.rlib(fe-exec.o): In function `pqInternalNotice':
(.text+0x128f): undefined reference to `__vsnprintf_chk'
(.text+0x1379): undefined reference to `__sprintf_chk'
/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/libpq_sys-6fdcf5512723842e.rlib(fe-exec.o): In function `PQcopyResult':
(.text+0x1677): undefined reference to `__strcpy_chk'
/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/libpq_sys-6fdcf5512723842e.rlib(fe-exec.o): In function `pqSaveParameterStatus':
(.text+0x18e8): undefined reference to `__fprintf_chk'
/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/libpq_sys-6fdcf5512723842e.rlib(fe-exec.o): In function `PQoidStatus':
(.text+0x3c86): undefined reference to `__memcpy_chk'
/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/libpq_sys-6fdcf5512723842e.rlib(fe-misc.o): In function `pqGets_internal':
(.text+0xc7): undefined reference to `__fprintf_chk'
/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/libpq_sys-6fdcf5512723842e.rlib(fe-misc.o): In function `pqGetc':
(.text+0x19b): undefined reference to `__fprintf_chk'
/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/libpq_sys-6fdcf5512723842e.rlib(fe-misc.o): In function `pqGetnchar':
(.text+0x242): undefined reference to `__fprintf_chk'
/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/libpq_sys-6fdcf5512723842e.rlib(fe-misc.o): In function `pqSkipnchar':
(.text+0x2ee): undefined reference to `__fprintf_chk'
/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/libpq_sys-6fdcf5512723842e.rlib(fe-misc.o): In function `pqGetInt':
(.text+0x3da): undefined reference to `__fprintf_chk'
/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/libpq_sys-6fdcf5512723842e.rlib(fe-misc.o):(.text+0x619): more undefined references to `__fprintf_chk' follow
/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/libpq_sys-6fdcf5512723842e.rlib(fe-protocol2.o): In function `pqSetenvPoll':
(.text+0xb24): undefined reference to `__sprintf_chk'
(.text+0xc4a): undefined reference to `__sprintf_chk'
(.text+0xcd2): undefined reference to `__sprintf_chk'
/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/libpq_sys-6fdcf5512723842e.rlib(pqexpbuffer.o): In function `appendPQExpBufferVA':
(.text+0x265): undefined reference to `__vsnprintf_chk'
/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/libpq_sys-6fdcf5512723842e.rlib(chklocale.o): In function `pg_get_encoding_from_locale':
(.text+0x1ff): undefined reference to `__fprintf_chk'
/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/libpq_sys-6fdcf5512723842e.rlib(inet_net_ntop.o): In function `inet_net_ntop':
(.text+0xdc): undefined reference to `__sprintf_chk'
(.text+0x2d2): undefined reference to `__sprintf_chk'
(.text+0x337): undefined reference to `__sprintf_chk'
(.text+0x3b8): undefined reference to `__sprintf_chk'
(.text+0x478): undefined reference to `__sprintf_chk'
/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/libpq_sys-6fdcf5512723842e.rlib(inet_net_ntop.o):(.text+0x4b7): more undefined references to `__sprintf_chk' follow
/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/libpq_sys-6fdcf5512723842e.rlib(ip.o): In function `pg_getaddrinfo_all':
(.text+0x170): undefined reference to `__strcpy_chk'
/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/libpq_sys-6fdcf5512723842e.rlib(fe-secure-openssl.o): In function `SSLerrmessage':
(.text+0x84): undefined reference to `__snprintf_chk'
(.text+0xb7): undefined reference to `__snprintf_chk'
/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/libpq_sys-6fdcf5512723842e.rlib(fe-secure-openssl.o): In function `initialize_SSL':
(.text+0x4de): undefined reference to `__snprintf_chk'
(.text+0x5ee): undefined reference to `__snprintf_chk'
(.text+0x6b6): undefined reference to `__snprintf_chk'
/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/libpq_sys-6fdcf5512723842e.rlib(fe-secure-openssl.o):(.text+0x963): more undefined references to `__snprintf_chk' follow
/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/libpq_sys-6fdcf5512723842e.rlib(fe-auth.o): In function `pg_GSS_error_int':
(.text+0x5b): undefined reference to `gss_display_status'
(.text+0x7e): undefined reference to `gss_release_buffer'
/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/libpq_sys-6fdcf5512723842e.rlib(fe-auth.o): In function `pg_GSS_continue':
(.text+0x15b): undefined reference to `gss_init_sec_context'
(.text+0x188): undefined reference to `gss_release_buffer'
(.text+0x1eb): undefined reference to `gss_release_buffer'
(.text+0x270): undefined reference to `gss_release_name'
(.text+0x28b): undefined reference to `gss_delete_sec_context'
(.text+0x2a3): undefined reference to `gss_release_name'
/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/libpq_sys-6fdcf5512723842e.rlib(fe-auth.o): In function `pg_fe_sendauth':
(.text+0x531): undefined reference to `__snprintf_chk'
(.text+0x545): undefined reference to `GSS_C_NT_HOSTBASED_SERVICE'
(.text+0x55c): undefined reference to `gss_import_name'
/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/libpq_sys-6fdcf5512723842e.rlib(fe-auth.o): In function `PQencryptPasswordConn':
(.text+0xf34): undefined reference to `__memcpy_chk'
/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/libpq_sys-6fdcf5512723842e.rlib(fe-auth-scram.o): In function `pg_fe_scram_exchange':
(.text+0x5c6): undefined reference to `__snprintf_chk'
/home/rust/src/target/x86_64-unknown-linux-musl/debug/deps/libpq_sys-6fdcf5512723842e.rlib(scram-common.o): In function `scram_build_verifier':
(.text+0x5a4): undefined reference to `__sprintf_chk'
collect2: error: ld returned 1 exit status
error: aborting due to previous error
Happens on ekidd/rust-musl-builder:nightly-2019-07-08-openssl11
and ekidd/rust-musl-builder:nightly-2019-07-08
.
same here
One of my builds started failing yesterday when the image got updated.
When building with
ekidd/rust-musl-builder@sha256:ee647bcd629149e1fb5be3b6aab27ecf5626e58e101b9b6f801eb70aa25fd7cc
I get the following linker error:This error did not happen with the previous nightly image (
ekidd/rust-musl-builder@sha256:74cf07e9c178a78954d07c2a98103ed4bfcd8da011c4deb1b91fcbf7a59c58c1
)