tari-project / tari

The Tari protocol
https://tari.com
BSD 3-Clause "New" or "Revised" License
356 stars 220 forks source link

Debug builds on CI are failing with "error: linking with `cc` failed: exit code: 1" #2117

Closed stringhandler closed 4 years ago

stringhandler commented 4 years ago

Describe the bug The following message appears on Circle CI for debug builds. I think it is related to not having enough RAM on the instance to do the linking. The release build works fine at the moment, presumably because it doesn't need to link debug information.

error: linking with `cc` failed: exit code: 1
  |
  = note: "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m64" "-L" "/usr/local/rustup/toolchains/nightly-2020-06-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/tmp/rustdoctest8kwPfq/rust_out.rust_out.7rcbfp3g-cgu.0.rcgu.o" "-o" "/tmp/rustdoctest8kwPfq/rust_out" "/tmp/rustdoctest8kwPfq/rust_out.33dyzt1ekirinwy8.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/root/project/target/debug/deps" "-L" "/root/project/target/debug/deps" "-L" "/root/project/target/debug/build/croaring-sys-1c8d4cb68512edbc/out" "-L" "/root/project/target/debug/build/libgit2-sys-845199bb47c4be72/out/build" "-L" "/root/project/target/debug/build/liblmdb-sys-46e7de41e1a48579/out" "-L" "/root/project/target/debug/build/libloading-cbca7954cf3c8293/out" "-L" "/root/project/target/debug/build/libssh2-sys-96111aa9076e54e2/out/build" "-L" "/root/project/target/debug/build/randomx-rs-51056b9ab36677b2/out/randomx" "-L" "/root/project/target/debug/build/sys-info-ed92cf9592099032/out" "-L" "/usr/lib/x86_64-linux-gnu" "-L" "/usr/local/lib" "-L" "/usr/local/rustup/toolchains/nightly-2020-06-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/root/project/target/debug/deps/libtari_core-e920cf342d9e254a.rlib" "/root/project/target/debug/deps/libtari_p2p-e03f47d25aa0d974.rlib" "/root/project/target/debug/deps/libtari_service_framework-05c538a4dc70aa0f.rlib" "/root/project/target/debug/deps/libtari_comms_dht-4e345df3bf096c2a.rlib" "/root/project/target/debug/deps/libttl_cache-6095aa12d3b99ac6.rlib" "/root/project/target/debug/deps/libdiesel_migrations-785698d5053b2d8a.rlib" "/root/project/target/debug/deps/libmigrations_internals-3f5d976109f57b94.rlib" "/root/project/target/debug/deps/libdiesel-6ad0ca66da6629ea.rlib" "/root/project/target/debug/deps/libbigdecimal-967192371c9216c6.rlib" "/root/project/target/debug/deps/libnum_bigint-bf67d48572ecfacc.rlib" "/root/project/target/debug/deps/liblibsqlite3_sys-deaa0ee99635eba5.rlib" "/root/project/target/debug/deps/libtari_comms-861f00091dc0a800.rlib" "/root/project/target/debug/deps/libcidr-db89e3ca2da306b8.rlib" "/root/project/target/debug/deps/libbitstring-0eb23ce9469b16b8.rlib" "/root/project/target/debug/deps/libtower-329a8d74c72df144.rlib" "/root/project/target/debug/deps/libtower_util-8a4c61111ff4ad35.rlib" "/root/project/target/debug/deps/libtower_timeout-6654c994a5890f2e.rlib" "/root/project/target/debug/deps/libtower_retry-90662bbf05dadbda.rlib" "/root/project/target/debug/deps/libtower_load_shed-729f4bc04f670bb1.rlib" "/root/project/target/debug/deps/libtower_limit-79533fb43f3962ee.rlib" "/root/project/target/debug/deps/libtower_load-967282e73e2bbfeb.rlib" "/root/project/target/debug/deps/libtower_discover-a84221ba1e757086.rlib" "/root/project/target/debug/deps/libtower_buffer-8c678e4d9a29a827.rlib" "/root/project/target/debug/deps/libtracing-8aa9942cdf561ed4.rlib" "/root/project/target/debug/deps/libtracing_core-d18e559d8570379f.rlib" "/root/project/target/debug/deps/libtower_service-ff2828486502d8fa.rlib" "/root/project/target/debug/deps/libtower_layer-0b9aae76ca892815.rlib" "/root/project/target/debug/deps/libsnow-237649cf13376d9c.rlib" "/root/project/target/debug/deps/libchacha20_poly1305_aead-19a79bd157eda336.rlib" "/root/project/target/debug/deps/libx25519_dalek-857976e5893b3a9d.rlib" "/root/project/target/debug/deps/libblake2_rfc-c81d982cca3a3401.rlib" "/root/project/target/debug/deps/libconstant_time_eq-1113e58e13efd323.rlib" "/root/project/target/debug/deps/libarrayvec-1631a119f7f0239f.rlib" "/root/project/target/debug/deps/libnodrop-c89850ebc8d5e467.rlib" "/root/project/target/debug/deps/libyamux-1af7b3d6ef7fab4b.rlib" "/root/project/target/debug/deps/libnohash_hasher-9b5ceafde741fa69.rlib" "/root/project/target/debug/deps/libparking_lot-c4fba0cf06fd8319.rlib" "/root/project/target/debug/deps/libparking_lot_core-a96d98b8b68723a5.rlib" "/root/project/target/debug/deps/libsmallvec-012e60ed497ade38.rlib" "/root/project/target/debug/deps/liblock_api-a93995fd453a4e41.rlib" "/root/project/target/debug/deps/libscopeguard-9cd0334d8e89bc00.rlib" "/root/project/target/debug/deps/libnom-228ff69769725a33.rlib" "/root/project/target/debug/deps/libtokio_util-dbe1d69bd971676e.rlib" "/root/project/target/debug/deps/libbytes-d25f40389f2b7e11.rlib" "/root/project/target/debug/deps/librandomx_rs-86b26b178a5e66be.rlib" "/root/project/target/debug/deps/libmonero-8c171e841eefc754.rlib" "/root/project/target/debug/deps/libfixed_hash-8613a251ad12d930.rlib" "/root/project/target/debug/deps/libserde_big_array-eb70775984808b85.rlib" "/root/project/target/debug/deps/libbase58_monero-3768baadeb424b33.rlib" "/root/project/target/debug/deps/libkeccak_hash-45e66ffe1a885189.rlib" "/root/project/target/debug/deps/libethereum_types-c60db360cfb64ef8.rlib" "/root/project/target/debug/deps/libethbloom-04a5d39a904b83ca.rlib" "/root/project/target/debug/deps/libethereum_types_serialize-7226051638e93f73.rlib" "/root/project/target/debug/deps/libfixed_hash-533ee63c1d25679f.rlib" "/root/project/target/debug/deps/librand-50b0ca03adf1e281.rlib" "/root/project/target/debug/deps/libuint-3f46cebf65eb6444.rlib" "/root/project/target/debug/deps/libheapsize-77ac216fbf54e48b.rlib" "/root/project/target/debug/deps/libcrunchy-cc805821e34b293a.rlib" "/root/project/target/debug/deps/libkeccak_hash-2004e52451444c89.rlib" "/root/project/target/debug/deps/libtiny_keccak-71ba1eae908e4117.rlib" "/root/project/target/debug/deps/libprimitive_types-65f224a8ffe87c89.rlib" "/root/project/target/debug/deps/libimpl_codec-05a60f4fbd15a14b.rlib" "/root/project/target/debug/deps/libparity_scale_codec-ee83ed613c86cfae.rlib" "/root/project/target/debug/deps/libbyte_slice_cast-e9652d3b8a3c13c5.rlib" "/root/project/target/debug/deps/libarrayvec-1c0aedbeecb40f4e.rlib" "/root/project/target/debug/deps/libfixed_hash-df67625e2b5f5a12.rlib" "/root/project/target/debug/deps/librand-bce5c268840fa3cb.rlib" "/root/project/target/debug/deps/librand_core-36ba54fc02de0a6b.rlib" "/root/project/target/debug/deps/librand_core-5bf19dd465b6da83.rlib" "/root/project/target/debug/deps/libstatic_assertions-421a7e1af4510325.rlib" "/root/project/target/debug/deps/libuint-05e0d2df348a2cb5.rlib" "/root/project/target/debug/deps/libcrunchy-915a14247c4309b9.rlib" "/root/project/target/debug/deps/librustc_hex-4e42263a366c867e.rlib" "/root/project/target/debug/deps/libhex-68471ff4e9823ce8.rlib" "/root/project/target/debug/deps/libtokio-7bc7ec1dd607f308.rlib" "/root/project/target/debug/deps/libsignal_hook_registry-aa1dff962a5b7e76.rlib" "/root/project/target/debug/deps/libnum_cpus-cdcbe44af5efff35.rlib" "/root/project/target/debug/deps/libmio_uds-4fd3f233535eed78.rlib" "/root/project/target/debug/deps/libmio-146e2faed4e2d2e2.rlib" "/root/project/target/debug/deps/libiovec-2c8786f1e1156685.rlib" "/root/project/target/debug/deps/libnet2-7b43e3d0781e4f64.rlib" "/root/project/target/debug/deps/libpin_project_lite-c22c24aa17793965.rlib" "/root/project/target/debug/deps/libtari_shutdown-e106921cd54dc4e3.rlib" "/root/project/target/debug/deps/libtari_broadcast_channel-c202bf84ef2d9d15.rlib" "/root/project/target/debug/deps/libarc_swap-a6c6b9ab83b3cdea.rlib" "/root/project/target/debug/deps/libcrossbeam_channel-42418017ca51b8a3.rlib" "/root/project/target/debug/deps/libcrossbeam_utils-313e6d6504308f59.rlib" "/root/project/target/debug/deps/libfutures-45e7ac636f5cf54d.rlib" "/root/project/target/debug/deps/libfutures_executor-5ba2a588898cea8a.rlib" "/root/project/target/debug/deps/libfutures_util-7558be4947e5c4e9.rlib" "/root/project/target/debug/deps/libproc_macro_nested-ec0c90338cbac3de.rlib" "/root/project/target/debug/deps/libfutures-300aa47a753fdf98.rlib" "/root/project/target/debug/deps/libfutures_io-70d5bbeb04ba28b2.rlib" "/root/project/target/debug/deps/libslab-3ea454e6c61cdab4.rlib" "/root/project/target/debug/deps/libfutures_channel-f4116c3efecda172.rlib" "/root/project/target/debug/deps/libpin_project-36b8f12b363dbdec.rlib" "/root/project/target/debug/deps/libfutures_sink-46389c018949168d.rlib" "/root/project/target/debug/deps/libfutures_task-c0cfd19359d00d06.rlib" "/root/project/target/debug/deps/libonce_cell-c6f5224058d751f1.rlib" "/root/project/target/debug/deps/libpin_utils-b66cbe9db6f95a7c.rlib" "/root/project/target/debug/deps/libfutures_core-647bee91b488b178.rlib" "/root/project/target/debug/deps/libtari_common-0a4a67314a9ec894.rlib" "/root/project/target/debug/deps/libdirs-19a167248e2fc84a.rlib" "/root/project/target/debug/deps/libdirs_sys-00ce30f60075cea8.rlib" "/root/project/target/debug/deps/libprost_build-b22c944b1b513e6c.rlib" "/root/project/target/debug/deps/libtempfile-241c286fda7d69a7.rlib" "/root/project/target/debug/deps/libremove_dir_all-42ea738520c39049.rlib" "/root/project/target/debug/deps/libpetgraph-3d5c640fad100286.rlib" "/root/project/target/debug/deps/libindexmap-64e02fd8f3922603.rlib" "/root/project/target/debug/deps/libhashbrown-42e6732c3ddcc401.rlib" "/root/project/target/debug/deps/libfixedbitset-c7c6fb4b1405f37e.rlib" "/root/project/target/debug/deps/libheck-e8142a61b7f877fb.rlib" "/root/project/target/debug/deps/libunicode_segmentation-27fdb1ce88b9bce6.rlib" "/root/project/target/debug/deps/libmultimap-06c89f14bcdf9fb7.rlib" "/root/project/target/debug/deps/libitertools-24bab61b7d8ebc2f.rlib" "/root/project/target/debug/deps/libeither-498735f8abeeff51.rlib" "/root/project/target/debug/deps/libprost_types-d7aaf60124ff8a07.rlib" "/root/project/target/debug/deps/libprost-74d3b0004167f087.rlib" "/root/project/target/debug/deps/liblog4rs-ca15f6372debcdbd.rlib" "/root/project/target/debug/deps/libtypemap-01e32c68d597a41e.rlib" "/root/project/target/debug/deps/libunsafe_any-b8b9b0ad8d5c9d4b.rlib" "/root/project/target/debug/deps/libtraitobject-6c7305d34809083a.rlib" "/root/project/target/debug/deps/libtoml-4d09c993c2767824.rlib" "/root/project/target/debug/deps/libthread_id-3697e971bbd3725c.rlib" "/root/project/target/debug/deps/libserde_yaml-61fda7ea8c1fa14a.rlib" "/root/project/target/debug/deps/libdtoa-05614c714af1d90a.rlib" "/root/project/target/debug/deps/libserde_value-d1d596f54ae7e256.rlib" "/root/project/target/debug/deps/libordered_float-0bb064a0b3162c5d.rlib" "/root/project/target/debug/deps/liblog_mdc-288cf45fa0ff4ba2.rlib" "/root/project/target/debug/deps/libhumantime-52467904f5740a95.rlib" "/root/project/target/debug/deps/libquick_error-01167e9ad6092c69.rlib" "/root/project/target/debug/deps/libfnv-093e43228e48ef11.rlib" "/root/project/target/debug/deps/libflate2-5f41acf079db1536.rlib" "/root/project/target/debug/deps/libminiz_oxide-274724e422bd3d5a.rlib" "/root/project/target/debug/deps/libadler-ed690d199e8d6b09.rlib" "/root/project/target/debug/deps/libcrc32fast-774fc898d4c706c2.rlib" "/root/project/target/debug/deps/libantidote-8a866494b63f52d2.rlib" "/root/project/target/debug/deps/libarc_swap-b21bde5dee18711b.rlib" "/root/project/target/debug/deps/libget_if_addrs-1d40879cc16f0530.rlib" "/root/project/target/debug/deps/libc_linked_list-c252d71ce892fac2.rlib" "/root/project/target/debug/deps/libpath_clean-8c37c8e5ac1683ce.rlib" "/root/project/target/debug/deps/libparity_multiaddr-b10cd2ce61550eb6.rlib" "/root/project/target/debug/deps/liburl-7f8fb9c0109e5caa.rlib" "/root/project/target/debug/deps/libidna-31fb4727ee681171.rlib" "/root/project/target/debug/deps/libunicode_normalization-c78340e10a0a9526.rlib" "/root/project/target/debug/deps/libtinyvec-151918d4e4ebb93e.rlib" "/root/project/target/debug/deps/libunicode_bidi-6e8dc3321fee5867.rlib" "/root/project/target/debug/deps/libmatches-346dc0eba02e242b.rlib" "/root/project/target/debug/deps/libpercent_encoding-be58b329e394d460.rlib" "/root/project/target/debug/deps/libstatic_assertions-057f867700c64ab8.rlib" "/root/project/target/debug/deps/libdata_encoding-a983638df8934354.rlib" "/root/project/target/debug/deps/libbs58-f016005f63ba68b7.rlib" "/root/project/target/debug/deps/libarrayref-957893968ec5d6a3.rlib" "/root/project/target/debug/deps/libparity_multihash-120e1dbb753c0146.rlib" "/root/project/target/debug/deps/libsha1-12dbd288a33e2b6e.rlib" "/root/project/target/debug/deps/libunsigned_varint-d8b0dea80fcea6e3.rlib" "/root/project/target/debug/deps/libsha2-40011a629bbb5125.rlib" "/root/project/target/debug/deps/libfake_simd-166cf7d61b7f00b3.rlib" "/root/project/target/debug/deps/libbytes-b07f0f4afa7acf23.rlib" "/root/project/target/debug/deps/libconfig-c91e032489346326.rlib" "/root/project/target/debug/deps/libini-66683e6bbe5e2ded.rlib" "/root/project/target/debug/deps/libserde_hjson-893508b5c2ad054b.rlib" "/root/project/target/debug/deps/libregex-2b7d308baa501cff.rlib" "/root/project/target/debug/deps/libthread_local-57a3b23f69080e57.rlib" "/root/project/target/debug/deps/libregex_syntax-5fd2bce9c069df06.rlib" "/root/project/target/debug/deps/libaho_corasick-8e938459f186da7e.rlib" "/root/project/target/debug/deps/libnum_traits-9313508d6b2297bb.rlib" "/root/project/target/debug/deps/liblinked_hash_map-cc9df8d455a956e7.rlib" "/root/project/target/debug/deps/libserde-53b32696ed876ada.rlib" "/root/project/target/debug/deps/liblazy_static-879ecf04e04f79c0.rlib" "/root/project/target/debug/deps/libyaml_rust-6ee3766bc1e169cd.rlib" "/root/project/target/debug/deps/liblinked_hash_map-3f2099e70533c6a6.rlib" "/root/project/target/debug/deps/libtoml-9dbf98137c83b20e.rlib" "/root/project/target/debug/deps/libnom-2b9078364188c8ee.rlib" "/root/project/target/debug/deps/libmemchr-7db8e3be84bf03b4.rlib" "/root/project/target/debug/deps/libstructopt-5123c820417e090c.rlib" "/root/project/target/debug/deps/libclap-2b45392066b2339d.rlib" "/root/project/target/debug/deps/libvec_map-201b1fb0ddda4360.rlib" "/root/project/target/debug/deps/libtextwrap-9d6a0b8890b11922.rlib" "/root/project/target/debug/deps/libunicode_width-83a4e893b2ae00f1.rlib" "/root/project/target/debug/deps/libstrsim-53ac12748a0f1b08.rlib" "/root/project/target/debug/deps/libatty-3a7c78aa3d40cbf7.rlib" "/root/project/target/debug/deps/libansi_term-57347c83007afbc1.rlib" "/root/project/target/debug/deps/libnum-281c0e85715142bf.rlib" "/root/project/target/debug/deps/libnum_iter-fdfff8e6c580ca61.rlib" "/root/project/target/debug/deps/libnum_rational-7e5060798c9bff11.rlib" "/root/project/target/debug/deps/libnum_complex-2b2d26e8b2c99514.rlib" "/root/project/target/debug/deps/libnum_bigint-8d25a564668f383c.rlib" "/root/project/target/debug/deps/libtari_storage-6de69f9592507199.rlib" "/root/project/target/debug/deps/liblmdb_zero-55918668c3a68fc3.rlib" "/root/project/target/debug/deps/libbitflags-6f392e6d565345d1.rlib" "/root/project/target/debug/deps/libsupercow-bf9902653ba00d59.rlib" "/root/project/target/debug/deps/libliblmdb_sys-4aa48f99ae9e5423.rlib" "/root/project/target/debug/deps/libtari_mmr-23a51174509b7016.rlib" "/root/project/target/debug/deps/libcroaring-49253fae4580c8ae.rlib" "/root/project/target/debug/deps/libcroaring_sys-1fb9ec6b52b2afb9.rlib" "/root/project/target/debug/deps/libtari_crypto-9bf6782d23583b37.rlib" "/root/project/target/debug/deps/libbulletproofs-ba1a946bc8799b4a.rlib" "/root/project/target/debug/deps/libmerlin-d5b7c95f56dd1b9b.rlib" "/root/project/target/debug/deps/libsha3-c7afaa1de7e19cbe.rlib" "/root/project/target/debug/deps/libblock_buffer-7b1c1eeb6e224001.rlib" "/root/project/target/debug/deps/libblock_padding-b29405f38c87e1b3.rlib" "/root/project/target/debug/deps/libkeccak-7de5e78f22800cf4.rlib" "/root/project/target/debug/deps/libcurve25519_dalek-d957cff550061a5a.rlib" "/root/project/target/debug/deps/libsubtle-3774ef83f6e3b829.rlib" "/root/project/target/debug/deps/libzeroize-0da6a0c67d3e79dd.rlib" "/root/project/target/debug/deps/libpacked_simd-b5c73f21baa36f2a.rlib" "/root/project/target/debug/deps/libblake2-13756ee8592bec51.rlib" "/root/project/target/debug/deps/libcrypto_mac-a8fe642a09b9747a.rlib" "/root/project/target/debug/deps/libsubtle-620058aeeceeb4f0.rlib" "/root/project/target/debug/deps/libbyte_tools-9421ad573f067fbd.rlib" "/root/project/target/debug/deps/libdigest-e33b6636d0e661a5.rlib" "/root/project/target/debug/deps/libgeneric_array-cda2655182cf9989.rlib" "/root/project/target/debug/deps/libtypenum-d700daf2a8cb28ee.rlib" "/root/project/target/debug/deps/libopaque_debug-999afa754180622c.rlib" "/root/project/target/debug/deps/libtari_utilities-d1466a90e062b472.rlib" "/root/project/target/debug/deps/libbincode-7232c6c97349330b.rlib" "/root/project/target/debug/deps/libbase64-e8d35fae71d0be1d.rlib" "/root/project/target/debug/deps/libbyteorder-17800a0e96a80f86.rlib" "/root/project/target/debug/deps/libnewtype_ops-df155e46e6db0802.rlib" "/root/project/target/debug/deps/libchrono-c1e7e9c0ea5e9c68.rlib" "/root/project/target/debug/deps/libnum_integer-c1f405aa5dd86532.rlib" "/root/project/target/debug/deps/libnum_traits-5d389f1c04d50982.rlib" "/root/project/target/debug/deps/libtime-bc4e9c2be9aa6084.rlib" "/root/project/target/debug/deps/librand-12ab6c8a84b1af39.rlib" "/root/project/target/debug/deps/librand_pcg-ce499cd615dd9898.rlib" "/root/project/target/debug/deps/librand_chacha-5cb7d5cd22a8a331.rlib" "/root/project/target/debug/deps/libppv_lite86-e09aa0cf6040dcf4.rlib" "/root/project/target/debug/deps/librand_core-056b56e2d5a85c75.rlib" "/root/project/target/debug/deps/libgetrandom-983ef53c4fd2eb24.rlib" "/root/project/target/debug/deps/liblibc-3eedf0c5ed4b336e.rlib" "/root/project/target/debug/deps/libclear_on_drop-30649d5fb0237038.rlib" "/root/project/target/debug/deps/libthiserror-77449bd61380a505.rlib" "/root/project/target/debug/deps/liblazy_static-5fa5bc44b10bdd8d.rlib" "/root/project/target/debug/deps/libserde_json-77d3ef93b9c8207e.rlib" "/root/project/target/debug/deps/libryu-4a774126ffed4382.rlib" "/root/project/target/debug/deps/libitoa-71c2224f02ad0479.rlib" "/root/project/target/debug/deps/liblog-a11736d4c7e059a8.rlib" "/root/project/target/debug/deps/libserde-92185bf080babc4a.rlib" "/root/project/target/debug/deps/libcfg_if-2a96b8e1986ff9bf.rlib" "/root/project/target/debug/deps/libbitflags-495057c2a47c9bc0.rlib" "-Wl,--start-group" "/usr/local/rustup/toolchains/nightly-2020-06-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-0df9faf88e74ed3b.rlib" "/usr/local/rustup/toolchains/nightly-2020-06-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-f9e6a5fb2e2e8cbc.rlib" "/usr/local/rustup/toolchains/nightly-2020-06-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-05b3477ba39b37d9.rlib" "/usr/local/rustup/toolchains/nightly-2020-06-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-fd43f1008ae3de7b.rlib" "/usr/local/rustup/toolchains/nightly-2020-06-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace-c69fd8a874cc6882.rlib" "/usr/local/rustup/toolchains/nightly-2020-06-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace_sys-4f9ba7dc6471f5d2.rlib" "/usr/local/rustup/toolchains/nightly-2020-06-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-a3adee158d70a602.rlib" "/usr/local/rustup/toolchains/nightly-2020-06-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-36aa33d5b51fea85.rlib" "/usr/local/rustup/toolchains/nightly-2020-06-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-8ffb67928670fecf.rlib" "/usr/local/rustup/toolchains/nightly-2020-06-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-95ea48ddc44a311b.rlib" "/usr/local/rustup/toolchains/nightly-2020-06-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-4f5122dbbdcc70ab.rlib" "/usr/local/rustup/toolchains/nightly-2020-06-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-68f423c59dc48a40.rlib" "/usr/local/rustup/toolchains/nightly-2020-06-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-54580c7798bf2225.rlib" "-Wl,--end-group" "/usr/local/rustup/toolchains/nightly-2020-06-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-e805fea8b8005cb4.rlib" "-Wl,-Bdynamic" "-lsqlite3" "-lrandomx" "-lstdc++" "-lutil" "-ldl" "-lutil" "-ldl" "-lrt" "-lpthread" "-lgcc_s" "-lc" "-lm" "-lrt" "-lpthread" "-lutil" "-ldl" "-lutil"
  = note: collect2: fatal error: ld terminated with signal 9 [Killed]
          compilation terminated.

error: aborting due to previous error; 2 warnings emitted

Couldn't compile the test.
---- src/chain_storage/blockchain_database.rs - chain_storage::blockchain_database::BlockchainDatabase (line 252) stdout ----
error: linking with `cc` failed: exit code: 1
  |
  = note: "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m64" "-L" "/usr/local/rustup/toolchains/nightly-2020-06-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/tmp/rustdoctestxyoQcs/rust_out.rust_out.7rcbfp3g-cgu.0.rcgu.o" "-o" "/tmp/rustdoctestxyoQcs/rust_out" "/tmp/rustdoctestxyoQcs/rust_out.33dyzt1ekirinwy8.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/root/project/target/debug/deps" "-L" "/root/project/target/debug/deps" "-L" "/root/project/target/debug/build/croaring-sys-1c8d4cb68512edbc/out" "-L" "/root/project/target/debug/build/libgit2-sys-845199bb47c4be72/out/build" "-L" "/root/project/target/debug/build/liblmdb-sys-46e7de41e1a48579/out" "-L" "/root/project/target/debug/build/libloading-cbca7954cf3c8293/out" "-L" "/root/project/target/debug/build/libssh2-sys-96111aa9076e54e2/out/build" "-L" "/root/project/target/debug/build/randomx-rs-51056b9ab36677b2/out/randomx" "-L" "/root/project/target/debug/build/sys-info-ed92cf9592099032/out" "-L" "/usr/lib/x86_64-linux-gnu" "-L" "/usr/local/lib" "-L" "/usr/local/rustup/toolchains/nightly-2020-06-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/root/project/target/debug/deps/libtari_core-e920cf342d9e254a.rlib" "/root/project/target/debug/deps/libtari_p2p-e03f47d25aa0d974.rlib" "/root/project/target/debug/deps/libtari_service_framework-05c538a4dc70aa0f.rlib" "/root/project/target/debug/deps/libtari_comms_dht-4e345df3bf096c2a.rlib" "/root/project/target/debug/deps/libttl_cache-6095aa12d3b99ac6.rlib" "/root/project/target/debug/deps/libdiesel_migrations-785698d5053b2d8a.rlib" "/root/project/target/debug/deps/libmigrations_internals-3f5d976109f57b94.rlib" "/root/project/target/debug/deps/libdiesel-6ad0ca66da6629ea.rlib" "/root/project/target/debug/deps/libbigdecimal-967192371c9216c6.rlib" "/root/project/target/debug/deps/libnum_bigint-bf67d48572ecfacc.rlib" "/root/project/target/debug/deps/liblibsqlite3_sys-deaa0ee99635eba5.rlib" "/root/project/target/debug/deps/libtari_comms-861f00091dc0a800.rlib" "/root/project/target/debug/deps/libcidr-db89e3ca2da306b8.rlib" "/root/project/target/debug/deps/libbitstring-0eb23ce9469b16b8.rlib" "/root/project/target/debug/deps/libtower-329a8d74c72df144.rlib" "/root/project/target/debug/deps/libtower_util-8a4c61111ff4ad35.rlib" "/root/project/target/debug/deps/libtower_timeout-6654c994a5890f2e.rlib" "/root/project/target/debug/deps/libtower_retry-90662bbf05dadbda.rlib" "/root/project/target/debug/deps/libtower_load_shed-729f4bc04f670bb1.rlib" "/root/project/target/debug/deps/libtower_limit-79533fb43f3962ee.rlib" "/root/project/target/debug/deps/libtower_load-967282e73e2bbfeb.rlib" "/root/project/target/debug/deps/libtower_discover-a84221ba1e757086.rlib" "/root/project/target/debug/deps/libtower_buffer-8c678e4d9a29a827.rlib" "/root/project/target/debug/deps/libtracing-8aa9942cdf561ed4.rlib" "/root/project/target/debug/deps/libtracing_core-d18e559d8570379f.rlib" "/root/project/target/debug/deps/libtower_service-ff2828486502d8fa.rlib" "/root/project/target/debug/deps/libtower_layer-0b9aae76ca892815.rlib" "/root/project/target/debug/deps/libsnow-237649cf13376d9c.rlib" "/root/project/target/debug/deps/libchacha20_poly1305_aead-19a79bd157eda336.rlib" "/root/project/target/debug/deps/libx25519_dalek-857976e5893b3a9d.rlib" "/root/project/target/debug/deps/libblake2_rfc-c81d982cca3a3401.rlib" "/root/project/target/debug/deps/libconstant_time_eq-1113e58e13efd323.rlib" "/root/project/target/debug/deps/libarrayvec-1631a119f7f0239f.rlib" "/root/project/target/debug/deps/libnodrop-c89850ebc8d5e467.rlib" "/root/project/target/debug/deps/libyamux-1af7b3d6ef7fab4b.rlib" "/root/project/target/debug/deps/libnohash_hasher-9b5ceafde741fa69.rlib" "/root/project/target/debug/deps/libparking_lot-c4fba0cf06fd8319.rlib" "/root/project/target/debug/deps/libparking_lot_core-a96d98b8b68723a5.rlib" "/root/project/target/debug/deps/libsmallvec-012e60ed497ade38.rlib" "/root/project/target/debug/deps/liblock_api-a93995fd453a4e41.rlib" "/root/project/target/debug/deps/libscopeguard-9cd0334d8e89bc00.rlib" "/root/project/target/debug/deps/libnom-228ff69769725a33.rlib" "/root/project/target/debug/deps/libtokio_util-dbe1d69bd971676e.rlib" "/root/project/target/debug/deps/libbytes-d25f40389f2b7e11.rlib" "/root/project/target/debug/deps/librandomx_rs-86b26b178a5e66be.rlib" "/root/project/target/debug/deps/libmonero-8c171e841eefc754.rlib" "/root/project/target/debug/deps/libfixed_hash-8613a251ad12d930.rlib" "/root/project/target/debug/deps/libserde_big_array-eb70775984808b85.rlib" "/root/project/target/debug/deps/libbase58_monero-3768baadeb424b33.rlib" "/root/project/target/debug/deps/libkeccak_hash-45e66ffe1a885189.rlib" "/root/project/target/debug/deps/libethereum_types-c60db360cfb64ef8.rlib" "/root/project/target/debug/deps/libethbloom-04a5d39a904b83ca.rlib" "/root/project/target/debug/deps/libethereum_types_serialize-7226051638e93f73.rlib" "/root/project/target/debug/deps/libfixed_hash-533ee63c1d25679f.rlib" "/root/project/target/debug/deps/librand-50b0ca03adf1e281.rlib" "/root/project/target/debug/deps/libuint-3f46cebf65eb6444.rlib" "/root/project/target/debug/deps/libheapsize-77ac216fbf54e48b.rlib" "/root/project/target/debug/deps/libcrunchy-cc805821e34b293a.rlib" "/root/project/target/debug/deps/libkeccak_hash-2004e52451444c89.rlib" "/root/project/target/debug/deps/libtiny_keccak-71ba1eae908e4117.rlib" "/root/project/target/debug/deps/libprimitive_types-65f224a8ffe87c89.rlib" "/root/project/target/debug/deps/libimpl_codec-05a60f4fbd15a14b.rlib" "/root/project/target/debug/deps/libparity_scale_codec-ee83ed613c86cfae.rlib" "/root/project/target/debug/deps/libbyte_slice_cast-e9652d3b8a3c13c5.rlib" "/root/project/target/debug/deps/libarrayvec-1c0aedbeecb40f4e.rlib" "/root/project/target/debug/deps/libfixed_hash-df67625e2b5f5a12.rlib" "/root/project/target/debug/deps/librand-bce5c268840fa3cb.rlib" "/root/project/target/debug/deps/librand_core-36ba54fc02de0a6b.rlib" "/root/project/target/debug/deps/librand_core-5bf19dd465b6da83.rlib" "/root/project/target/debug/deps/libstatic_assertions-421a7e1af4510325.rlib" "/root/project/target/debug/deps/libuint-05e0d2df348a2cb5.rlib" "/root/project/target/debug/deps/libcrunchy-915a14247c4309b9.rlib" "/root/project/target/debug/deps/librustc_hex-4e42263a366c867e.rlib" "/root/project/target/debug/deps/libhex-68471ff4e9823ce8.rlib" "/root/project/target/debug/deps/libtokio-7bc7ec1dd607f308.rlib" "/root/project/target/debug/deps/libsignal_hook_registry-aa1dff962a5b7e76.rlib" "/root/project/target/debug/deps/libnum_cpus-cdcbe44af5efff35.rlib" "/root/project/target/debug/deps/libmio_uds-4fd3f233535eed78.rlib" "/root/project/target/debug/deps/libmio-146e2faed4e2d2e2.rlib" "/root/project/target/debug/deps/libiovec-2c8786f1e1156685.rlib" "/root/project/target/debug/deps/libnet2-7b43e3d0781e4f64.rlib" "/root/project/target/debug/deps/libpin_project_lite-c22c24aa17793965.rlib" "/root/project/target/debug/deps/libtari_shutdown-e106921cd54dc4e3.rlib" "/root/project/target/debug/deps/libtari_broadcast_channel-c202bf84ef2d9d15.rlib" "/root/project/target/debug/deps/libarc_swap-a6c6b9ab83b3cdea.rlib" "/root/project/target/debug/deps/libcrossbeam_channel-42418017ca51b8a3.rlib" "/root/project/target/debug/deps/libcrossbeam_utils-313e6d6504308f59.rlib" "/root/project/target/debug/deps/libfutures-45e7ac636f5cf54d.rlib" "/root/project/target/debug/deps/libfutures_executor-5ba2a588898cea8a.rlib" "/root/project/target/debug/deps/libfutures_util-7558be4947e5c4e9.rlib" "/root/project/target/debug/deps/libproc_macro_nested-ec0c90338cbac3de.rlib" "/root/project/target/debug/deps/libfutures-300aa47a753fdf98.rlib" "/root/project/target/debug/deps/libfutures_io-70d5bbeb04ba28b2.rlib" "/root/project/target/debug/deps/libslab-3ea454e6c61cdab4.rlib" "/root/project/target/debug/deps/libfutures_channel-f4116c3efecda172.rlib" "/root/project/target/debug/deps/libpin_project-36b8f12b363dbdec.rlib" "/root/project/target/debug/deps/libfutures_sink-46389c018949168d.rlib" "/root/project/target/debug/deps/libfutures_task-c0cfd19359d00d06.rlib" "/root/project/target/debug/deps/libonce_cell-c6f5224058d751f1.rlib" "/root/project/target/debug/deps/libpin_utils-b66cbe9db6f95a7c.rlib" "/root/project/target/debug/deps/libfutures_core-647bee91b488b178.rlib" "/root/project/target/debug/deps/libtari_common-0a4a67314a9ec894.rlib" "/root/project/target/debug/deps/libdirs-19a167248e2fc84a.rlib" "/root/project/target/debug/deps/libdirs_sys-00ce30f60075cea8.rlib" "/root/project/target/debug/deps/libprost_build-b22c944b1b513e6c.rlib" "/root/project/target/debug/deps/libtempfile-241c286fda7d69a7.rlib" "/root/project/target/debug/deps/libremove_dir_all-42ea738520c39049.rlib" "/root/project/target/debug/deps/libpetgraph-3d5c640fad100286.rlib" "/root/project/target/debug/deps/libindexmap-64e02fd8f3922603.rlib" "/root/project/target/debug/deps/libhashbrown-42e6732c3ddcc401.rlib" "/root/project/target/debug/deps/libfixedbitset-c7c6fb4b1405f37e.rlib" "/root/project/target/debug/deps/libheck-e8142a61b7f877fb.rlib" "/root/project/target/debug/deps/libunicode_segmentation-27fdb1ce88b9bce6.rlib" "/root/project/target/debug/deps/libmultimap-06c89f14bcdf9fb7.rlib" "/root/project/target/debug/deps/libitertools-24bab61b7d8ebc2f.rlib" "/root/project/target/debug/deps/libeither-498735f8abeeff51.rlib" "/root/project/target/debug/deps/libprost_types-d7aaf60124ff8a07.rlib" "/root/project/target/debug/deps/libprost-74d3b0004167f087.rlib" "/root/project/target/debug/deps/liblog4rs-ca15f6372debcdbd.rlib" "/root/project/target/debug/deps/libtypemap-01e32c68d597a41e.rlib" "/root/project/target/debug/deps/libunsafe_any-b8b9b0ad8d5c9d4b.rlib" "/root/project/target/debug/deps/libtraitobject-6c7305d34809083a.rlib" "/root/project/target/debug/deps/libtoml-4d09c993c2767824.rlib" "/root/project/target/debug/deps/libthread_id-3697e971bbd3725c.rlib" "/root/project/target/debug/deps/libserde_yaml-61fda7ea8c1fa14a.rlib" "/root/project/target/debug/deps/libdtoa-05614c714af1d90a.rlib" "/root/project/target/debug/deps/libserde_value-d1d596f54ae7e256.rlib" "/root/project/target/debug/deps/libordered_float-0bb064a0b3162c5d.rlib" "/root/project/target/debug/deps/liblog_mdc-288cf45fa0ff4ba2.rlib" "/root/project/target/debug/deps/libhumantime-52467904f5740a95.rlib" "/root/project/target/debug/deps/libquick_error-01167e9ad6092c69.rlib" "/root/project/target/debug/deps/libfnv-093e43228e48ef11.rlib" "/root/project/target/debug/deps/libflate2-5f41acf079db1536.rlib" "/root/project/target/debug/deps/libminiz_oxide-274724e422bd3d5a.rlib" "/root/project/target/debug/deps/libadler-ed690d199e8d6b09.rlib" "/root/project/target/debug/deps/libcrc32fast-774fc898d4c706c2.rlib" "/root/project/target/debug/deps/libantidote-8a866494b63f52d2.rlib" "/root/project/target/debug/deps/libarc_swap-b21bde5dee18711b.rlib" "/root/project/target/debug/deps/libget_if_addrs-1d40879cc16f0530.rlib" "/root/project/target/debug/deps/libc_linked_list-c252d71ce892fac2.rlib" "/root/project/target/debug/deps/libpath_clean-8c37c8e5ac1683ce.rlib" "/root/project/target/debug/deps/libparity_multiaddr-b10cd2ce61550eb6.rlib" "/root/project/target/debug/deps/liburl-7f8fb9c0109e5caa.rlib" "/root/project/target/debug/deps/libidna-31fb4727ee681171.rlib" "/root/project/target/debug/deps/libunicode_normalization-c78340e10a0a9526.rlib" "/root/project/target/debug/deps/libtinyvec-151918d4e4ebb93e.rlib" "/root/project/target/debug/deps/libunicode_bidi-6e8dc3321fee5867.rlib" "/root/project/target/debug/deps/libmatches-346dc0eba02e242b.rlib" "/root/project/target/debug/deps/libpercent_encoding-be58b329e394d460.rlib" "/root/project/target/debug/deps/libstatic_assertions-057f867700c64ab8.rlib" "/root/project/target/debug/deps/libdata_encoding-a983638df8934354.rlib" "/root/project/target/debug/deps/libbs58-f016005f63ba68b7.rlib" "/root/project/target/debug/deps/libarrayref-957893968ec5d6a3.rlib" "/root/project/target/debug/deps/libparity_multihash-120e1dbb753c0146.rlib" "/root/project/target/debug/deps/libsha1-12dbd288a33e2b6e.rlib" "/root/project/target/debug/deps/libunsigned_varint-d8b0dea80fcea6e3.rlib" "/root/project/target/debug/deps/libsha2-40011a629bbb5125.rlib" "/root/project/target/debug/deps/libfake_simd-166cf7d61b7f00b3.rlib" "/root/project/target/debug/deps/libbytes-b07f0f4afa7acf23.rlib" "/root/project/target/debug/deps/libconfig-c91e032489346326.rlib" "/root/project/target/debug/deps/libini-66683e6bbe5e2ded.rlib" "/root/project/target/debug/deps/libserde_hjson-893508b5c2ad054b.rlib" "/root/project/target/debug/deps/libregex-2b7d308baa501cff.rlib" "/root/project/target/debug/deps/libthread_local-57a3b23f69080e57.rlib" "/root/project/target/debug/deps/libregex_syntax-5fd2bce9c069df06.rlib" "/root/project/target/debug/deps/libaho_corasick-8e938459f186da7e.rlib" "/root/project/target/debug/deps/libnum_traits-9313508d6b2297bb.rlib" "/root/project/target/debug/deps/liblinked_hash_map-cc9df8d455a956e7.rlib" "/root/project/target/debug/deps/libserde-53b32696ed876ada.rlib" "/root/project/target/debug/deps/liblazy_static-879ecf04e04f79c0.rlib" "/root/project/target/debug/deps/libyaml_rust-6ee3766bc1e169cd.rlib" "/root/project/target/debug/deps/liblinked_hash_map-3f2099e70533c6a6.rlib" "/root/project/target/debug/deps/libtoml-9dbf98137c83b20e.rlib" "/root/project/target/debug/deps/libnom-2b9078364188c8ee.rlib" "/root/project/target/debug/deps/libmemchr-7db8e3be84bf03b4.rlib" "/root/project/target/debug/deps/libstructopt-5123c820417e090c.rlib" "/root/project/target/debug/deps/libclap-2b45392066b2339d.rlib" "/root/project/target/debug/deps/libvec_map-201b1fb0ddda4360.rlib" "/root/project/target/debug/deps/libtextwrap-9d6a0b8890b11922.rlib" "/root/project/target/debug/deps/libunicode_width-83a4e893b2ae00f1.rlib" "/root/project/target/debug/deps/libstrsim-53ac12748a0f1b08.rlib" "/root/project/target/debug/deps/libatty-3a7c78aa3d40cbf7.rlib" "/root/project/target/debug/deps/libansi_term-57347c83007afbc1.rlib" "/root/project/target/debug/deps/libnum-281c0e85715142bf.rlib" "/root/project/target/debug/deps/libnum_iter-fdfff8e6c580ca61.rlib" "/root/project/target/debug/deps/libnum_rational-7e5060798c9bff11.rlib" "/root/project/target/debug/deps/libnum_complex-2b2d26e8b2c99514.rlib" "/root/project/target/debug/deps/libnum_bigint-8d25a564668f383c.rlib" "/root/project/target/debug/deps/libtari_storage-6de69f9592507199.rlib" "/root/project/target/debug/deps/liblmdb_zero-55918668c3a68fc3.rlib" "/root/project/target/debug/deps/libbitflags-6f392e6d565345d1.rlib" "/root/project/target/debug/deps/libsupercow-bf9902653ba00d59.rlib" "/root/project/target/debug/deps/libliblmdb_sys-4aa48f99ae9e5423.rlib" "/root/project/target/debug/deps/libtari_mmr-23a51174509b7016.rlib" "/root/project/target/debug/deps/libcroaring-49253fae4580c8ae.rlib" "/root/project/target/debug/deps/libcroaring_sys-1fb9ec6b52b2afb9.rlib" "/root/project/target/debug/deps/libtari_crypto-9bf6782d23583b37.rlib" "/root/project/target/debug/deps/libbulletproofs-ba1a946bc8799b4a.rlib" "/root/project/target/debug/deps/libmerlin-d5b7c95f56dd1b9b.rlib" "/root/project/target/debug/deps/libsha3-c7afaa1de7e19cbe.rlib" "/root/project/target/debug/deps/libblock_buffer-7b1c1eeb6e224001.rlib" "/root/project/target/debug/deps/libblock_padding-b29405f38c87e1b3.rlib" "/root/project/target/debug/deps/libkeccak-7de5e78f22800cf4.rlib" "/root/project/target/debug/deps/libcurve25519_dalek-d957cff550061a5a.rlib" "/root/project/target/debug/deps/libsubtle-3774ef83f6e3b829.rlib" "/root/project/target/debug/deps/libzeroize-0da6a0c67d3e79dd.rlib" "/root/project/target/debug/deps/libpacked_simd-b5c73f21baa36f2a.rlib" "/root/project/target/debug/deps/libblake2-13756ee8592bec51.rlib" "/root/project/target/debug/deps/libcrypto_mac-a8fe642a09b9747a.rlib" "/root/project/target/debug/deps/libsubtle-620058aeeceeb4f0.rlib" "/root/project/target/debug/deps/libbyte_tools-9421ad573f067fbd.rlib" "/root/project/target/debug/deps/libdigest-e33b6636d0e661a5.rlib" "/root/project/target/debug/deps/libgeneric_array-cda2655182cf9989.rlib" "/root/project/target/debug/deps/libtypenum-d700daf2a8cb28ee.rlib" "/root/project/target/debug/deps/libopaque_debug-999afa754180622c.rlib" "/root/project/target/debug/deps/libtari_utilities-d1466a90e062b472.rlib" "/root/project/target/debug/deps/libbincode-7232c6c97349330b.rlib" "/root/project/target/debug/deps/libbase64-e8d35fae71d0be1d.rlib" "/root/project/target/debug/deps/libbyteorder-17800a0e96a80f86.rlib" "/root/project/target/debug/deps/libnewtype_ops-df155e46e6db0802.rlib" "/root/project/target/debug/deps/libchrono-c1e7e9c0ea5e9c68.rlib" "/root/project/target/debug/deps/libnum_integer-c1f405aa5dd86532.rlib" "/root/project/target/debug/deps/libnum_traits-5d389f1c04d50982.rlib" "/root/project/target/debug/deps/libtime-bc4e9c2be9aa6084.rlib" "/root/project/target/debug/deps/librand-12ab6c8a84b1af39.rlib" "/root/project/target/debug/deps/librand_pcg-ce499cd615dd9898.rlib" "/root/project/target/debug/deps/librand_chacha-5cb7d5cd22a8a331.rlib" "/root/project/target/debug/deps/libppv_lite86-e09aa0cf6040dcf4.rlib" "/root/project/target/debug/deps/librand_core-056b56e2d5a85c75.rlib" "/root/project/target/debug/deps/libgetrandom-983ef53c4fd2eb24.rlib" "/root/project/target/debug/deps/liblibc-3eedf0c5ed4b336e.rlib" "/root/project/target/debug/deps/libclear_on_drop-30649d5fb0237038.rlib" "/root/project/target/debug/deps/libthiserror-77449bd61380a505.rlib" "/root/project/target/debug/deps/liblazy_static-5fa5bc44b10bdd8d.rlib" "/root/project/target/debug/deps/libserde_json-77d3ef93b9c8207e.rlib" "/root/project/target/debug/deps/libryu-4a774126ffed4382.rlib" "/root/project/target/debug/deps/libitoa-71c2224f02ad0479.rlib" "/root/project/target/debug/deps/liblog-a11736d4c7e059a8.rlib" "/root/project/target/debug/deps/libserde-92185bf080babc4a.rlib" "/root/project/target/debug/deps/libcfg_if-2a96b8e1986ff9bf.rlib" "/root/project/target/debug/deps/libbitflags-495057c2a47c9bc0.rlib" "-Wl,--start-group" "/usr/local/rustup/toolchains/nightly-2020-06-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-0df9faf88e74ed3b.rlib" "/usr/local/rustup/toolchains/nightly-2020-06-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-f9e6a5fb2e2e8cbc.rlib" "/usr/local/rustup/toolchains/nightly-2020-06-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-05b3477ba39b37d9.rlib" "/usr/local/rustup/toolchains/nightly-2020-06-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-fd43f1008ae3de7b.rlib" "/usr/local/rustup/toolchains/nightly-2020-06-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace-c69fd8a874cc6882.rlib" "/usr/local/rustup/toolchains/nightly-2020-06-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace_sys-4f9ba7dc6471f5d2.rlib" "/usr/local/rustup/toolchains/nightly-2020-06-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-a3adee158d70a602.rlib" "/usr/local/rustup/toolchains/nightly-2020-06-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-36aa33d5b51fea85.rlib" "/usr/local/rustup/toolchains/nightly-2020-06-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-8ffb67928670fecf.rlib" "/usr/local/rustup/toolchains/nightly-2020-06-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-95ea48ddc44a311b.rlib" "/usr/local/rustup/toolchains/nightly-2020-06-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-4f5122dbbdcc70ab.rlib" "/usr/local/rustup/toolchains/nightly-2020-06-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-68f423c59dc48a40.rlib" "/usr/local/rustup/toolchains/nightly-2020-06-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-54580c7798bf2225.rlib" "-Wl,--end-group" "/usr/local/rustup/toolchains/nightly-2020-06-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-e805fea8b8005cb4.rlib" "-Wl,-Bdynamic" "-lsqlite3" "-lrandomx" "-lstdc++" "-lutil" "-ldl" "-lutil" "-ldl" "-lrt" "-lpthread" "-lgcc_s" "-lc" "-lm" "-lrt" "-lpthread" "-lutil" "-ldl" "-lutil"
  = note: /usr/bin/ld: final link failed: Cannot allocate memory
          collect2: error: ld returned 1 exit status

error: aborting due to previous error

To Reproduce Steps to reproduce the behavior:

  1. Every check "circle-ci/tari-test-debug" currently fails with this error. Example
stringhandler commented 4 years ago

Removed the debug build from Circle CI. The debug build required more RAM than was available on the instance. At a later stage migrating to another CI tool can be investigated, but currently building only in release mode is sufficient

FabijanC commented 1 year ago

Thanks for the post. Also coming from CircleCI - the insufficient RAM idea was useful. However, using --release didn't help my case, only changing the resource_class from large to xlarge helped. Thankfully my company is already paying the CircleCI Performance plan which includes the xlarge class (n.b. it's likely more credit-consuming). Here's the modified .circleci/config.yml:

jobs:
  build-and-test:
    docker:
      - image: cimg/rust:1.69.0
    resource_class: xlarge # <== THIS
    steps:
        ...
stringhandler commented 1 year ago

Interesting, thanks!