Linking with `link.exe` failed: exit code: 1181 - rust

I'm trying to setup the muiltiparty threshold ECDSA with the the command "cargo build --release --examples“ (following the readme.md's instruction). And the error occurs.
error: linking with `link.exe` failed: exit code: 1181
= note: "C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Professional\\VC\\Tools\\MSVC\\14.16.27023\\bin\\HostX64\\x64\\link.exe" "/NOLOGO" "/NXCOMPAT" "/LIBPATH:C:\\Users\\VictorXie\\.rustup\\toolchains\\nightly-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_
64-pc-windows-msvc\\lib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\examples\\sm_manager.sm_manager.240f29m0-cgu.0.rcgu.o" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\examples\\sm_manager.sm_manager.240f29m0-cgu.1.rcgu.o" "F:\\rustcode\
\multi-party-ecdsa-master\\target\\release\\examples\\sm_manager.sm_manager.240f29m0-cgu.10.rcgu.o" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\examples\\sm_manager.sm_manager.240f29m0-cgu.11.rcgu.o" "F:\\rustcode\\multi-party-ecdsa-master\\target\\re
lease\\examples\\sm_manager.sm_manager.240f29m0-cgu.12.rcgu.o" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\examples\\sm_manager.sm_manager.240f29m0-cgu.13.rcgu.o" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\examples\\sm_manager.sm_manage
r.240f29m0-cgu.14.rcgu.o" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\examples\\sm_manager.sm_manager.240f29m0-cgu.15.rcgu.o" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\examples\\sm_manager.sm_manager.240f29m0-cgu.2.rcgu.o" "F:\\rustcod
e\\multi-party-ecdsa-master\\target\\release\\examples\\sm_manager.sm_manager.240f29m0-cgu.3.rcgu.o" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\examples\\sm_manager.sm_manager.240f29m0-cgu.4.rcgu.o" "F:\\rustcode\\multi-party-ecdsa-master\\target\\re
lease\\examples\\sm_manager.sm_manager.240f29m0-cgu.5.rcgu.o" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\examples\\sm_manager.sm_manager.240f29m0-cgu.6.rcgu.o" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\examples\\sm_manager.sm_manager.
240f29m0-cgu.7.rcgu.o" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\examples\\sm_manager.sm_manager.240f29m0-cgu.8.rcgu.o" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\examples\\sm_manager.sm_manager.240f29m0-cgu.9.rcgu.o" "/OUT:F:\\rustco
de\\multi-party-ecdsa-master\\target\\release\\examples\\sm_manager.exe" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\examples\\sm_manager.8p2ouoz6ndal2d.rcgu.o" "/OPT:REF,ICF" "/DEBUG" "/NATVIS:C:\\Users\\VictorXie\\.rustup\\toolchains\\nightly-x86_64
-pc-windows-msvc\\lib\\rustlib\\etc\\intrinsic.natvis" "/NATVIS:C:\\Users\\VictorXie\\.rustup\\toolchains\\nightly-x86_64-pc-windows-msvc\\lib\\rustlib\\etc\\liballoc.natvis" "/NATVIS:C:\\Users\\VictorXie\\.rustup\\toolchains\\nightly-x86_64-pc-windows-msvc\\lib\\r
ustlib\\etc\\libcore.natvis" "/NATVIS:C:\\Users\\VictorXie\\.rustup\\toolchains\\nightly-x86_64-pc-windows-msvc\\lib\\rustlib\\etc\\libstd.natvis" "/LIBPATH:F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps" "/LIBPATH:F:\\rustcode\\multi-party-ecdsa-mas
ter\\target\\release\\build\\secp256k1-1be602a1be1c6b00\\out" "/LIBPATH:F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\build\\rust-crypto-c62eada8941b8567\\out" "/LIBPATH:C:\\Users\\VictorXie\\.rustup\\toolchains\\nightly-x86_64-pc-windows-msvc\\lib\\rust
lib\\x86_64-pc-windows-msvc\\lib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libsecp256k1-5aff06d8c00a6316.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libhmac_drbg-f091fbbb7d279562.rlib" "F:\\rustcode\\multi-party-ecds
a-master\\target\\release\\deps\\libcrunchy-d13d013e6995cc21.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libsubtle-890c2a171eb84060.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libreqwest-a6ff5e3f532c1479.rlib" "F:
\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libwinreg-937d82d573dcf9ed.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libuuid-ce0357aa89aba093.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libserde_url
encoded-beedab6f00219257.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libdtoa-7ac9db45ef55aca5.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libmime_guess-f5c354e6b50e4077.rlib" "F:\\rustcode\\multi-party-ecdsa-maste
r\\target\\release\\deps\\libunicase-9cac21d1a5c1dec6.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libmime-8373f626b2ee65cf.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libflate2-52a15a8d97992de9.rlib" "F:\\rustcode
\\multi-party-ecdsa-master\\target\\release\\deps\\libminiz_oxide-69eccb52a1565152.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libadler32-6369951ed0f93397.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libcrc32fast-6
c597eb860b0c5a0.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libhyper-5fe44c52da6e4189.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libwant-3ceb661b2b40894b.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\rel
ease\\deps\\libtry_lock-0107bb6b9f3163a1.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libtokio-413da5b08cfa6ee4.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libtokio_timer-2d4f6360e8da7bb4.rlib" "F:\\rustcode\\multi
-party-ecdsa-master\\target\\release\\deps\\libtokio_threadpool-41cdd56635169a60.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libcrossbeam_queue-7957d04bf7221979.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libcross
beam_deque-e6c8d232a3e0724d.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libcrossbeam_epoch-ef6b41d73ce4f361.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libmemoffset-ca0539aa13d671d0.rlib" "F:\\rustcode\\multi-part
y-ecdsa-master\\target\\release\\deps\\libtokio_tcp-44d76419c422159f.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libtokio_reactor-1b693f10e1287169.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libtokio_sync-c683c01d
fe7222c2.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libparking_lot-b1c9a8e18489f267.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libparking_lot_core-36de122f113aedb0.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\
target\\release\\deps\\libsmallvec-7f7456013fe8fd77.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libmaybe_uninit-6441a5977ae0a1cf.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\liblock_api-0cf97a0bc5225333.rlib" "F:\\
rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libscopeguard-7a3eb969329f6a44.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libtokio_current_thread-0a6db2451725f4ef.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\
deps\\libtokio_executor-5df001a1b86b51f0.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libcrossbeam_utils-c5dc190f95fd578f.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libmio-1f8c1eec22686f6c.rlib" "F:\\rustcode\\mul
ti-party-ecdsa-master\\target\\release\\deps\\libmiow-8968b8fbfb81f0e6.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libws2_32-7299a572329aadf7.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libkernel32-7d5e7071ca743f4
7.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libwinapi-339901690fbef76a.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libnet2-c5d9645590e862e1.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\l
ibhttp_body-c23449f632528f78.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libtokio_buf-8e9d5fcdb900a3fc.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libh2-d5324feb129ed8e3.rlib" "F:\\rustcode\\multi-party-ecdsa-mast
er\\target\\release\\deps\\libstring-aeaa0fcdbb0febc2.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libslab-a52ec2eb4c1c50fe.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libtokio_io-51dd14d9ed9456e1.rlib" "F:\\rustco
de\\multi-party-ecdsa-master\\target\\release\\deps\\libfutures_cpupool-72f1dc8605f9d8d0.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libhttp-84f77248592eac88.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libfnv-203c
2058730c2b10.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libfutures-5574d475975657e4.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libencoding_rs-a9068aae1b8da1ef.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\targe
t\\release\\deps\\libcookie_store-c1f9909d9bfc03e2.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libpublicsuffix-a13accc6b66c0897.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\liburl-1ac1cca4398d2feb.rlib" "F:\\rustco
de\\multi-party-ecdsa-master\\target\\release\\deps\\libpercent_encoding-2931a4346acb2f17.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libidna-80e02a989d5c51a4.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libregex-7
80a8640cf18aee1.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libregex_syntax-8a0767d1c1252efa.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\liblazy_static-f87bece2c4bf1a5e.rlib" "F:\\rustcode\\multi-party-ecdsa-maste
r\\target\\release\\deps\\liberror_chain-e03f672a0bb633ce.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libtry_from-408ccf0a7145d285.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libfailure-e61f3c5145cbd1fe.rlib" "F:\
\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libbacktrace-46983df57a9d81a6.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\librustc_demangle-30ec7aaae01831d0.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\
libcookie-3241869e8cb2d610.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libbytes-8af7810dfd10a5fb.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libeither-a998067f777735bc.rlib" "F:\\rustcode\\multi-party-ecdsa-master
\\target\\release\\deps\\libiovec-5142677e4c1ec571.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libcurv-4be9c439b3d52648.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libhmac-e46cb8143f624613.rlib" "F:\\rustcode\\mul
ti-party-ecdsa-master\\target\\release\\deps\\libcrypto_mac-925d9ef6ae4b5193.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libsubtle-c37bc2b00e97ff00.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libsha2-ace2dd5b19784
3bf.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libfake_simd-aa133cc27fa22141.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libblake2b_simd-aee6a663d36c0d08.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\rel
ease\\deps\\libconstant_time_eq-c658cc94fbe6b50e.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libarrayvec-88f3bf78f4321bc1.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libarrayref-cbaa68cdbc305db2.rlib" "F:\\rustcod
e\\multi-party-ecdsa-master\\target\\release\\deps\\libsha3-437c0c5ef06e8fba.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libdigest-a839084f5f006a9d.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libopaque_debug-05ce5
882de270436.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libblock_buffer-cd917cc4be06fa9f.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libgeneric_array-aa73cbf095bd2f34.rlib" "F:\\rustcode\\multi-party-ecdsa-master\
\target\\release\\deps\\libtypenum-034803bac2f7aa61.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libblock_padding-1db94b794db05c08.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libbyte_tools-d333598573c712dd.rlib" "F
:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libkeccak-19ad87f1eabe79f0.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libgmp-8ee5d53cabfe3ff8.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libnum_trait
s-aa7fdd97888c52ea.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libzeroize-b684541bb3596f9a.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libsecp256k1-0cedecaf313f64ea.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\t
arget\\release\\deps\\librand-d6d637451260a871.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\librand_xorshift-34b8c722fa652ad9.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\librand_pcg-dd4e77a80a3a2ec0.rlib" "F:\\rust
code\\multi-party-ecdsa-master\\target\\release\\deps\\librand_hc-79c6b6647ed951da.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\librand_chacha-3e3897938b67a796.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\librand_is
aac-379297b4f2a7cb4c.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\librand_core-ba87b9cb07336320.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\librand_os-c90c6958c250e37c.rlib" "F:\\rustcode\\multi-party-ecdsa-master\
\target\\release\\deps\\librand_jitter-43228d7e23d1bb76.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\librand_core-9bf81d9c0af68447.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libcrypto-641881688c468d15.rlib" "F:\\r
ustcode\\multi-party-ecdsa-master\\target\\release\\deps\\liblibc-1a337355faef191a.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\librustc_serialize-0c23f6d081fe1cfa.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libran
d-66e2bf1bb2b4a20e.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\librand-4fd1997ade6b8dc8.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libuuid-57e83e9bf94a27bc.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\r
elease\\deps\\librand-64fe7d1ff12dc3c2.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\librand_chacha-a7f59c094346e00c.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libppv_lite86-ecb78556a3f267ec.rlib" "F:\\rustcode\\mu
lti-party-ecdsa-master\\target\\release\\deps\\librand_core-29b09990d895d2e1.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libgetrandom-9c8e2d6122b970a6.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\librocket_contrib-
ff74b4536216e331.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libserde_json-90eda275630547eb.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libryu-823c6f1a53741a46.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target
\\release\\deps\\libitoa-396ad9c01424f31b.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\librocket-5a6333b84d5b047c.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libatty-a2c3f8b0fa13d6ad.rlib" "F:\\rustcode\\multi-part
y-ecdsa-master\\target\\release\\deps\\libbase64-afe07ed64e3fb8c3.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libmemchr-093e47af9f4022f5.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libtoml-7b68f70c86206613.rlib" "
F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libserde-e9aecfadc5a6818b.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libyansi-d662373364dbf861.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\librocket_
http-1e6241d31858fd10.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libhyper-4eb88fdc51ebb4ae.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libmime-bc1ea3f86720264b.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\targe
t\\release\\deps\\liblog-56f5f03cbd755dcf.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\liblog-284f943c4ce0c13d.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libcfg_if-31eaf206bdb44090.rlib" "F:\\rustcode\\multi-party
-ecdsa-master\\target\\release\\deps\\liblanguage_tags-5ec0ea271bd9256e.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libtypeable-fd12ba52a9065402.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libtraitobject-34f20bed1
efe02d4.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libnum_cpus-1c958f0f1f35a51e.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libhttparse-af2068facb006bb2.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\rele
ase\\deps\\libunicase-13824eaef16a2911.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libbase64-b5e4d1d5122daabf.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libsafemem-5521c56c5d451119.rlib" "F:\\rustcode\\multi-part
y-ecdsa-master\\target\\release\\deps\\libbyteorder-f5e63805e80f1b61.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libunicode_xid-15c30b6e8ef23867.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libstate-77406789ff851d1
0.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libindexmap-795b00fca348ae6f.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libcookie-77b77d7c8f6f3cf4.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\dep
s\\libtime-c3175b3c508c8bcf.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libwinapi-0f51a43659f90c6a.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\liburl-958d2791b3b93a75.rlib" "F:\\rustcode\\multi-party-ecdsa-master\
\target\\release\\deps\\libidna-7f9af993a6b87201.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libunicode_normalization-62ab15e926b00f04.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libunicode_bidi-4128539ae13d11ef.r
lib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libmatches-d072fd4019b81012.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libsmallvec-eddc8aac5b7d2830.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\
\libpercent_encoding-916e82758745343c.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libpear-2132d500a4843c9d.rlib" "C:\\Users\\VictorXie\\.rustup\\toolchains\\nightly-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\libstd-
04d5009d5730db24.rlib" "C:\\Users\\VictorXie\\.rustup\\toolchains\\nightly-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\libpanic_unwind-ba7e278c3a13e389.rlib" "C:\\Users\\VictorXie\\.rustup\\toolchains\\nightly-x86_64-pc-windows-msvc\\lib\\rus
tlib\\x86_64-pc-windows-msvc\\lib\\libhashbrown-a64d8502b8eb1601.rlib" "C:\\Users\\VictorXie\\.rustup\\toolchains\\nightly-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\librustc_std_workspace_alloc-9a5c8ec03ac52eab.rlib" "C:\\Users\\VictorXie\\
.rustup\\toolchains\\nightly-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\libbacktrace-17de743b12ad001c.rlib" "C:\\Users\\VictorXie\\.rustup\\toolchains\\nightly-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\librustc_deman
gle-34b741028331e100.rlib" "C:\\Users\\VictorXie\\.rustup\\toolchains\\nightly-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\libunwind-f40156ef32076ee5.rlib" "C:\\Users\\VictorXie\\.rustup\\toolchains\\nightly-x86_64-pc-windows-msvc\\lib\\rustl
ib\\x86_64-pc-windows-msvc\\lib\\libcfg_if-08d8f158086bc959.rlib" "C:\\Users\\VictorXie\\.rustup\\toolchains\\nightly-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\liblibc-022ac961886c5a64.rlib" "C:\\Users\\VictorXie\\.rustup\\toolchains\\night
ly-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\liballoc-69474e7b1d414eba.rlib" "C:\\Users\\VictorXie\\.rustup\\toolchains\\nightly-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\librustc_std_workspace_core-ebb93cf09fb9da35
.rlib" "C:\\Users\\VictorXie\\.rustup\\toolchains\\nightly-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\libcore-242b1b8b2e396484.rlib" "C:\\Users\\VictorXie\\.rustup\\toolchains\\nightly-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-
msvc\\lib\\libcompiler_builtins-3fccde95dc36895e.rlib" "ws2_32.lib" "kernel32.lib" "gmp.lib" "gmp.lib" "gmp.lib" "gmp.lib" "gmp.lib" "advapi32.lib" "advapi32.lib" "cfgmgr32.lib" "credui.lib" "fwpuclnt.lib" "gdi32.lib" "kernel32.lib" "msimg32.lib" "ntdll.lib" "openg
l32.lib" "secur32.lib" "synchronization.lib" "user32.lib" "winspool.lib" "ws2_32.lib" "advapi32.lib" "ws2_32.lib" "userenv.lib" "msvcrt.lib"
= note: Non-UTF-8 output: LINK : fatal error LNK1181: \xce\xde\xb7\xa8\xb4\xf2\xbf\xaa\xca\xe4\xc8\xeb\xce\xc4\xbc\xfe\xa1\xb0gmp.lib\xa1\xb1\r\n
It seems like that the link.exe cannot find the gmp.lib, I tried to install mingw32-gmp with mingw-get and it didn't help. I don't know where the problem is, and how to fix it.

Related

Rust-GSL Crate not linking to Rust project

I am trying to use GSL in Rust https://docs.rs/GSL/6.0.0/rgsl/ but am having trouble as I am very new to Rust. Every other crate I have tried to use just works by including the dependency in the Cargo.toml file. However, it doesn't seem to be this simple for this crate.
I have GSL installed and in Visual Studio 2022 I can successfully include it and I successfully built a program which uses functions from the library in C++.
#include <iostream>
#include <gsl/gsl_specfunc.h>
int main()
{
double k = 0.5;
double k_prime = sqrt(1 - k * k);
double K = gsl_sf_ellint_Kcomp(k, GSL_PREC_DOUBLE);
double K_prime = gsl_sf_ellint_Kcomp(k_prime, GSL_PREC_DOUBLE);
std::cout << K/K_prime << "\n";
}
I use IntelliJ as my Rust IDE, and I have a project with a Cargo.toml
[package]
name = "rust-gsl-test"
version = "0.1.0"
edition = "2021"
[dependencies]
GSL = "4.0"
In IntelliJ's terminal, when I type cargo build, I get
error: linking with `link.exe` failed: exit code: 1181
|
= note: "C:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.33.31629\\bin\\HostX64\\x64\\link.exe" "/DEF:C:\\Users\\etcto\\AppData\\Local\\Temp\\rustckB
WI9y\\lib.def" "/NOLOGO" "C:\\Users\\etcto\\AppData\\Local\\Temp\\rustckBWI9y\\symbols.o" "D:\\GitHub\\rust-ellint\\target\\debug\\deps\\gsl_sys-0d1cd764caa3b2be.gsl_sys.59103b07-cgu.0
.rcgu.o" "D:\\GitHub\\rust-ellint\\target\\debug\\deps\\gsl_sys-0d1cd764caa3b2be.gsl_sys.59103b07-cgu.1.rcgu.o" "D:\\GitHub\\rust-ellint\\target\\debug\\deps\\gsl_sys-0d1cd764caa3b2be.
gsl_sys.59103b07-cgu.10.rcgu.o" "D:\\GitHub\\rust-ellint\\target\\debug\\deps\\gsl_sys-0d1cd764caa3b2be.gsl_sys.59103b07-cgu.11.rcgu.o" "D:\\GitHub\\rust-ellint\\target\\debug\\deps\\g
sl_sys-0d1cd764caa3b2be.gsl_sys.59103b07-cgu.12.rcgu.o" "D:\\GitHub\\rust-ellint\\target\\debug\\deps\\gsl_sys-0d1cd764caa3b2be.gsl_sys.59103b07-cgu.2.rcgu.o" "D:\\GitHub\\rust-ellint\
\target\\debug\\deps\\gsl_sys-0d1cd764caa3b2be.gsl_sys.59103b07-cgu.3.rcgu.o" "D:\\GitHub\\rust-ellint\\target\\debug\\deps\\gsl_sys-0d1cd764caa3b2be.gsl_sys.59103b07-cgu.4.rcgu.o" "D:
\\GitHub\\rust-ellint\\target\\debug\\deps\\gsl_sys-0d1cd764caa3b2be.gsl_sys.59103b07-cgu.5.rcgu.o" "D:\\GitHub\\rust-ellint\\target\\debug\\deps\\gsl_sys-0d1cd764caa3b2be.gsl_sys.5910
3b07-cgu.6.rcgu.o" "D:\\GitHub\\rust-ellint\\target\\debug\\deps\\gsl_sys-0d1cd764caa3b2be.gsl_sys.59103b07-cgu.7.rcgu.o" "D:\\GitHub\\rust-ellint\\target\\debug\\deps\\gsl_sys-0d1cd76
4caa3b2be.gsl_sys.59103b07-cgu.8.rcgu.o" "D:\\GitHub\\rust-ellint\\target\\debug\\deps\\gsl_sys-0d1cd764caa3b2be.gsl_sys.59103b07-cgu.9.rcgu.o" "D:\\GitHub\\rust-ellint\\target\\debug\
\deps\\gsl_sys-0d1cd764caa3b2be.3ehg95o16e12j0cb.rcgu.rmeta" "/LIBPATH:D:\\GitHub\\rust-ellint\\target\\debug\\deps" "/LIBPATH:C:\\Users\\etcto\\.rustup\\toolchains\\stable-x86_64-pc-w
indows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib" "gsl.lib" "gslcblas.lib" "D:\\GitHub\\rust-ellint\\target\\debug\\deps\\liblibc-33d50219ec2d56d1.rlib" "/LIBPATH:C:\\Users\\etct
o\\.rustup\\toolchains\\stable-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib" "std-fdaa63d6970be740.dll.lib" "C:\\Users\\etcto\\.rustup\\toolchains\\stable-x86_64-p
c-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\libcompiler_builtins-3f507ba7adac1c2a.rlib" "legacy_stdio_definitions.lib" "kernel32.lib" "advapi32.lib" "userenv.lib" "kerne
l32.lib" "ws2_32.lib" "bcrypt.lib" "msvcrt.lib" "legacy_stdio_definitions.lib" "/NXCOMPAT" "/LIBPATH:C:\\Users\\etcto\\.rustup\\toolchains\\stable-x86_64-pc-windows-msvc\\lib\\rustlib\
\x86_64-pc-windows-msvc\\lib" "/OUT:D:\\GitHub\\rust-ellint\\target\\debug\\deps\\gsl_sys-0d1cd764caa3b2be.dll" "/OPT:REF,NOICF" "/DLL" "/IMPLIB:D:\\GitHub\\rust-ellint\\target\\debug\
\deps\\gsl_sys-0d1cd764caa3b2be.dll.lib" "/DEBUG" "/NATVIS:C:\\Users\\etcto\\.rustup\\toolchains\\stable-x86_64-pc-windows-msvc\\lib\\rustlib\\etc\\intrinsic.natvis" "/NATVIS:C:\\Users
\\etcto\\.rustup\\toolchains\\stable-x86_64-pc-windows-msvc\\lib\\rustlib\\etc\\liballoc.natvis" "/NATVIS:C:\\Users\\etcto\\.rustup\\toolchains\\stable-x86_64-pc-windows-msvc\\lib\\rustlib\\etc\\libcore.natvis" "/NATVIS:C:\\Users\\etcto\\.rustup\\toolchains\\stable-x86_64-pc-windows-msvc\\lib\\rustlib\\etc\\libstd.natvis"
= note: LINK : fatal error LNK1181: cannot open input file 'gsl.lib'
error: could not compile `GSL-sys` due to previous error
and when I try to run a very basic "main.rs", I get
Compiling GSL-sys v2.0.2
error: linking with `link.exe` failed: exit code: 1181
|
= note: "C:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.33.31629\\bin\\HostX64\\x64\\link.exe" "/DEF:C:\\Users\\etcto\\AppData\\Local\\Temp\\rustcFvqjHf\\lib.def" "/NOLOGO" "C:\\Users\\etcto\\AppData\\Local\\Temp\\rustcFvqjHf\\symbols.o" "D:\\GitHub\\rust-ellint\\target\\debug\\deps\\gsl_sys-0d1cd764caa3b2be.gsl_sys.59103b07-cgu.0.rcgu.o" "D:\\GitHub\\rust-ellint\\target\\debug\\deps\\gsl_sys-0d1cd764caa3b2be.gsl_sys.59103b07-cgu.1.rcgu.o" "D:\\GitHub\\rust-ellint\\target\\debug\\deps\\gsl_sys-0d1cd764caa3b2be.gsl_sys.59103b07-cgu.10.rcgu.o" "D:\\GitHub\\rust-ellint\\target\\debug\\deps\\gsl_sys-0d1cd764caa3b2be.gsl_sys.59103b07-cgu.11.rcgu.o" "D:\\GitHub\\rust-ellint\\target\\debug\\deps\\gsl_sys-0d1cd764caa3b2be.gsl_sys.59103b07-cgu.12.rcgu.o" "D:\\GitHub\\rust-ellint\\target\\debug\\deps\\gsl_sys-0d1cd764caa3b2be.gsl_sys.59103b07-cgu.2.rcgu.o" "D:\\GitHub\\rust-ellint\\target\\debug\\deps\\gsl_sys-0d1cd764caa3b2be.gsl_sys.59103b07-cgu.3.rcgu.o" "D:\\GitHub\\rust-ellint\\target\\debug\\deps\\gsl_sys-0d1cd764caa3b2be.gsl_sys.59103b07-cgu.4.rcgu.o" "D:\\GitHub\\rust-ellint\\target\\debug\\deps\\gsl_sys-0d1cd764caa3b2be.gsl_sys.59103b07-cgu.5.rcgu.o" "D:\\GitHub\\rust-ellint\\target\\debug\\deps\\gsl_sys-0d1cd764caa3b2be.gsl_sys.59103b07-cgu.6.rcgu.o" "D:\\GitHub\\rust-ellint\\target\\debug\\deps\\gsl_sys-0d1cd764caa3b2be.gsl_sys.59103b07-cgu.7.rcgu.o" "D:\\GitHub\\rust-ellint\\target\\debug\\deps\\gsl_sys-0d1cd764caa3b2be.gsl_sys.59103b07-cgu.8.rcgu.o" "D:\\GitHub\\rust-ellint\\target\\debug\\deps\\gsl_sys-0d1cd764caa3b2be.gsl_sys.59103b07-cgu.9.rcgu.o" "D:\\GitHub\\rust-ellint\\target\\debug\\deps\\gsl_sys-0d1cd764caa3b2be.3ehg95o16e12j0cb.rcgu.rmeta" "/LIBPATH:D:\\GitHub\\rust-ellint\\target\\debug\\deps" "/LIBPATH:C:\\Users\\etcto\\.rustup\\toolchains\\stable-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib" "gsl.lib" "gslcblas.lib" "D:\\GitHub\\rust-ellint\\target\\debug\\deps\\liblibc-33d50219ec2d56d1.rlib" "/LIBPATH:C:\\Users\\etcto\\.rustup\\toolchains\\stable-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib" "std-fdaa63d6970be740.dll.lib" "C:\\Users\\etcto\\.rustup\\toolchains\\stable-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\libcompiler_builtins-3f507ba7adac1c2a.rlib" "legacy_stdio_definitions.lib" "kernel32.lib" "advapi32.lib" "userenv.lib" "kernel32.lib" "ws2_32.lib" "bcrypt.lib" "msvcrt.lib" "legacy_stdio_definitions.lib" "/NXCOMPAT" "/LIBPATH:C:\\Users\\etcto\\.rustup\\toolchains\\stable-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib" "/OUT:D:\\GitHub\\rust-ellint\\target\\debug\\deps\\gsl_sys-0d1cd764caa3b2be.dll" "/OPT:REF,NOICF" "/DLL" "/IMPLIB:D:\\GitHub\\rust-ellint\\target\\debug\\deps\\gsl_sys-0d1cd764caa3b2be.dll.lib" "/DEBUG" "/NATVIS:C:\\Users\\etcto\\.rustup\\toolchains\\stable-x86_64-pc-windows-msvc\\lib\\rustlib\\etc\\intrinsic.natvis" "/NATVIS:C:\\Users\\etcto\\.rustup\\toolchains\\stable-x86_64-pc-windows-msvc\\lib\\rustlib\\etc\\liballoc.natvis" "/NATVIS:C:\\Users\\etcto\\.rustup\\toolchains\\stable-x86_64-pc-windows-msvc\\lib\\rustlib\\etc\\libcore.natvis" "/NATVIS:C:\\Users\\etcto\\.rustup\\toolchains\\stable-x86_64-pc-windows-msvc\\lib\\rustlib\\etc\\libstd.natvis"
= note: LINK : fatal error LNK1181: cannot open input file 'gsl.lib'
error: aborting due to previous error
error: could not compile `GSL-sys` due to 2 previous errors
Process finished with exit code 101
where main.rs is
use rgsl;
fn main() {
k = 2;
K = rgsl::pow::Pow::pow_2(&k);
println!("{K}")
}

error: linking with `cc` failed: exit code: 1 while running cargo test --all

Os: macOS Big Sur
I'm facing the following error while running cargo tests while the build is succeeding.
Package: https://github.com/RustPython/RustPython
Command:
cargo test --all
Command cargo build doesn't throw any exception.
Error logs:
Compiling libffi v1.0.1
Compiling rustpython-jit v0.1.2 (/Users/hardikkhandelwal/Projects/rust/RustPython/jit)
Compiling rustpython v0.1.2 (/Users/hardikkhandelwal/Projects/rust/RustPython)
error: linking with `cc` failed: exit status: 1
|
= note: "cc" "-arch" "arm64" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.10ibwvzv3e49l775.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.1253x86kfkxgqh2w.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.13gd08t800tm784s.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.14p9wnwl9pam5ujl.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.15e17o6bveg5koa6.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.17mujewb6k10id8k.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.1a67xs61sj229iqf.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.1ci2h9qeeeje0ik6.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.1cmzqy3ro43zgsl5.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.1dnexk54p6bq143f.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.1e31m0nqihdfx5hb.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.1e4tavcm7ugscqrd.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.1emikuttnt1xip9x.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.1eta79f60kanxjws.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.1hayr2iv232dnoi6.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.1huzgcxsirhwd331.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.1jdul1odse6arzjz.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.1kp92h8yxzzu0eov.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.1m55byjo8aqq49zc.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.1plr2gut2q06gwqk.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.1r0h19gy6b54q79f.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.1s8j2h2qxafcf3x8.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.1satlrt2jdoiv4ey.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.1vvhoeukrpxmv0pq.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.1xe49efr9otpprwn.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.229y1orco2m4dyj8.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.22i642me58xe478c.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.22yxg2lkpcwbwqx.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.23c3y5v0ibs1r2fq.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.2478bzefed036zcv.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.24xhig5xkqgjnv7a.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.258jwdtpk3n29ru2.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.262rgc3v6z28qtsq.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.26mjhrskh3ru1tk9.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.276t6e8c7cnzg6wy.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.2bpnidflpn331uqr.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.2lboqix6b1cjj0jo.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.2m2yba3d9v8p6fyv.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.2n6eyp1zj3oa1kui.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.2ql5hnz2mtbmb7le.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.2rjcm2pt9uke0922.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.2s1wzpdirnzygv7e.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.2tbf8e6r9yt9czf5.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.2ttr38fcx39oazo7.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.2umn21lmb3qc9nxr.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.2uvshfalguw6hxx8.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.2w2ghiqspploxf0f.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.2w74b23mfhoia8ir.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.2wxy1kmtklu8y0w9.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.2x9iwja4h7bf6esl.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.35fuwnpoy3hc2gi7.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.378v5p8yoyjgyfyz.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.391sxamlpl6a96n9.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.39swqzjb6x4tkvcv.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.3botv3568qxh3591.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.3dhw8zhduh09e6r1.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.3flx495gko7kr9f9.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.3h4wy8wkv2xrirsf.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.3mm2wawuqp97kb7v.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.3ofzhlki1cafpfwl.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.3pjsd8hbre1ap5qd.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.3rwk183rvg7z9yca.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.3srtodjtz7bmdola.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.3xlrku5wblas6gnr.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.3yy87npargho7bsd.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.3z5naev9k6lae39q.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.3z9gvqp1n32fcpsx.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.3zjs7qt7onoigcne.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.3zyfqkyu7djvtze2.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.423bys4dlvrx8mvq.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.426c4cdyhetxwb5w.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.42kzw8c6fadp0tby.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.44bge1cbwp7t2tkx.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.49gtvrz6zpsigsfc.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.49lpjq6zqkjbvmne.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.4gi8gsjxezpv3s06.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.4gilgzakkbsi3l3e.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.4iwdwkt6d9cng8m2.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.4jodrvbiqg7w437z.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.4kybga5bhkscrs8c.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.4lekp20xf8bz0r94.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.4m0obk2qh4uzuwsj.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.4nlx000cuo8jnqlt.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.4ofwdpd0cukslkz0.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.4q725i3d0yxgop7v.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.4qo1sfh57tihaadg.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.4rh1b2hcqpcdq3a3.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.4s2ymju7it0okdeb.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.4ust4yu9nvanfhdf.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.4vfd4l254fl8v4dd.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.4xc7hv9qb2t7d616.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.4xqxqqk3fs5kqtfz.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.4y6jbmqopamez3c.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.4yhh8wqcvrop0hx3.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.54jq72kupaotxmzo.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.56zmipy278cdawgn.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.58zht470tb0hjgt1.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.5dzonsas4ynzribc.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.5g4vw0c8dqjw8h37.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.5gh4c861meudgewi.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.6bjt88zjkzd9tt3.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.7as0apovcqc5gub.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.cae7y3juuwiitl1.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.ifacragtyfrbb42.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.jz4h5hg9g0tz6mi.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.kmvxofl9saiovs2.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.nhc3hxxj09rktbm.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.prm338a1k8u52l1.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.q4rx7xjh7rujfgy.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.rztn7f71t7dz6pf.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.ygusbdg7fggss41.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.ykouej5rwx3lr5s.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.1jyvo8pa9soqa56a.rcgu.o" "-L" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps" "-L" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/build/libffi-sys-652628ec5b194c33/out/libffi-root/lib" "-L" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/build/libffi-sys-652628ec5b194c33/out/libffi-root/lib64" "-L" "/Users/hardikkhandelwal/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/libapprox-30ccea96c4acf95a.rlib" "/Users/hardikkhandelwal/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libtest-06ff11d645105e2b.rlib" "/Users/hardikkhandelwal/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libterm-f05ecaeca66814e6.rlib" "/Users/hardikkhandelwal/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libgetopts-6ad0d034fc8e15c7.rlib" "/Users/hardikkhandelwal/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libunicode_width-c4beacdc35405cb8.rlib" "/Users/hardikkhandelwal/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/librustc_std_workspace_std-fc0f4647def297a8.rlib" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/librustpython_jit-2e831fdd027df713.rlib" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/liblibffi-fd0ec330aa459432.rlib" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/libabort_on_panic-caaa79ca88d47ba3.rlib" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/liblibffi_sys-5863f41be7d2bccd.rlib" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/libcranelift_jit-2c55f3ef4f39d959.rlib" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/libregion-197ded681c450d8b.rlib" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/libmach-a93a18ecabd99da0.rlib" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/liberrno-0a3c0f746fd85f07.rlib" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/liblibc-66d4f3764ade8a61.rlib" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/libcranelift_native-08015c03c8f0902a.rlib" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/libcranelift_module-0691469284a7b208.rlib" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/libanyhow-ef3e763f417c2d7a.rlib" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/libcranelift-032d6c244a218970.rlib" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/libcranelift_frontend-5ce9f83164bb63c5.rlib" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/libcranelift_codegen-7362291990ed24ba.rlib" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/libregalloc-57353d751727d8ce.rlib" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/librustc_hash-ab040f1fd6a07e95.rlib" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/libsmallvec-99a5132b3a108cbf.rlib" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/libtarget_lexicon-abfb03971829d1d1.rlib" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/libcranelift_codegen_shared-453aa55f38698ce1.rlib" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/libthiserror-53c05dc94aa30ff9.rlib" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/liblog-3f8f67c165fe661d.rlib" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/libcfg_if-c71a5d33f98d84bb.rlib" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/libcranelift_bforest-b2a7cbdbbb4b7b2e.rlib" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/libcranelift_entity-5d71031a19adbb58.rlib" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/librustpython_bytecode-44e562fca4e24da9.rlib" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/libbincode-7a343aa511b2a28b.rlib" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/liblz4_flex-99575d661e0f318f.rlib" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/libnum_complex-fde276a77140cb97.rlib" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/libnum_bigint-a611dddfa4c568f4.rlib" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/libnum_integer-7f325eb6a21e8c2e.rlib" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/libnum_traits-4df9bc95fb47d436.rlib" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/libitertools-886b111642563542.rlib" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/libeither-3e64107fd8334906.rlib" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/libbstr-c7fc013625c0f979.rlib" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/liblazy_static-d1f48f17eb43777c.rlib" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/libregex_automata-21a890d37c6a8dcc.rlib" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/libserde-2ae11beb1fcdc4df.rlib" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/libmemchr-53a80abe7ced0f1a.rlib" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/libbitflags-9f56f92ce6089ce7.rlib" "/Users/hardikkhandelwal/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libstd-000cdec9267bfd7b.rlib" "/Users/hardikkhandelwal/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libpanic_unwind-2669f3cbce8358f4.rlib" "/Users/hardikkhandelwal/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libobject-86461a1c60728ccb.rlib" "/Users/hardikkhandelwal/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libaddr2line-f17574752cb5ddba.rlib" "/Users/hardikkhandelwal/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libgimli-3bb606c936cc0d28.rlib" "/Users/hardikkhandelwal/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libstd_detect-8139a4b0cda20184.rlib" "/Users/hardikkhandelwal/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/librustc_demangle-ea0823eca3e9abf9.rlib" "/Users/hardikkhandelwal/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libhashbrown-4f19e1259f6028e7.rlib" "/Users/hardikkhandelwal/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/librustc_std_workspace_alloc-435daca85b8e10b5.rlib" "/Users/hardikkhandelwal/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libunwind-d73085abefd284c6.rlib" "/Users/hardikkhandelwal/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libcfg_if-e6a09ca0044b34e5.rlib" "/Users/hardikkhandelwal/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/liblibc-e07333f48f53c71e.rlib" "/Users/hardikkhandelwal/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/liballoc-2a49b0d9fbc7a459.rlib" "/Users/hardikkhandelwal/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/librustc_std_workspace_core-b66dda66aafe36c9.rlib" "/Users/hardikkhandelwal/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libcore-34d0b58da984bf31.rlib" "/Users/hardikkhandelwal/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libcompiler_builtins-01275baa20724171.rlib" "-liconv" "-lSystem" "-lresolv" "-lc" "-lm" "-liconv" "-L" "/Users/hardikkhandelwal/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib" "-o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5" "-Wl,-dead_strip" "-nodefaultlibs"
= note: ld: warning: directory not found for option '-L/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/build/libffi-sys-652628ec5b194c33/out/libffi-root/lib64'
ld: in /Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/liblibffi_sys-5863f41be7d2bccd.rlib(closures.o), archive member 'closures.o' with length 17440 is not mach-o or llvm bitcode for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
error: aborting due to previous error
error: could not compile `rustpython-jit`
To learn more, run the command again with --verbose.
warning: build failed, waiting for other jobs to finish...
error: build failed

Static Linking Cursive/ncurses in Rust

I am trying to create a statically linked executable for a rust project that uses Cursive (with ncurses as backend). I installed the libraries for ncurses-devel, ncurses-static, ncurses-lib as well as did
rustup target add x86_64-unknown-linux-musl
When I try to compile the project using:
RUSTFLAGS='-C link-arg=-s' cargo build --release --target x86_64-unknown-linux-musl
cargo fails with the error:
error: failed to run custom build command for `ncurses v5.101.0`
Caused by:
process didn't exit successfully: `/vagrant_data/rust-cli-example/target/release/build/ncurses-9d002170cebb3401/build-script-build` (exit status: 101)
--- stdout
cargo:rerun-if-env-changed=PKG_CONFIG_PATH
cargo:rerun-if-env-changed=NCURSESW5_NO_PKG_CONFIG
cargo:rerun-if-env-changed=PKG_CONFIG_ALLOW_CROSS_x86_64-unknown-linux-musl
cargo:rerun-if-env-changed=PKG_CONFIG_ALLOW_CROSS_x86_64_unknown_linux_musl
cargo:rerun-if-env-changed=TARGET_PKG_CONFIG_ALLOW_CROSS
cargo:rerun-if-env-changed=PKG_CONFIG_ALLOW_CROSS
cargo:rerun-if-env-changed=PKG_CONFIG_x86_64-unknown-linux-musl
cargo:rerun-if-env-changed=PKG_CONFIG_x86_64_unknown_linux_musl
cargo:rerun-if-env-changed=TARGET_PKG_CONFIG
cargo:rerun-if-env-changed=PKG_CONFIG
cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64-unknown-linux-musl
cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64_unknown_linux_musl
cargo:rerun-if-env-changed=TARGET_PKG_CONFIG_SYSROOT_DIR
cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR
cargo:rerun-if-env-changed=NCURSESW_NO_PKG_CONFIG
cargo:rerun-if-env-changed=PKG_CONFIG_ALLOW_CROSS_x86_64-unknown-linux-musl
cargo:rerun-if-env-changed=PKG_CONFIG_ALLOW_CROSS_x86_64_unknown_linux_musl
cargo:rerun-if-env-changed=TARGET_PKG_CONFIG_ALLOW_CROSS
cargo:rerun-if-env-changed=PKG_CONFIG_ALLOW_CROSS
cargo:rerun-if-env-changed=PKG_CONFIG_x86_64-unknown-linux-musl
cargo:rerun-if-env-changed=PKG_CONFIG_x86_64_unknown_linux_musl
cargo:rerun-if-env-changed=TARGET_PKG_CONFIG
cargo:rerun-if-env-changed=PKG_CONFIG
cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64-unknown-linux-musl
cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64_unknown_linux_musl
cargo:rerun-if-env-changed=TARGET_PKG_CONFIG_SYSROOT_DIR
cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR
cargo:rustc-link-lib=ncursesw
OPT_LEVEL = Some("3")
TARGET = Some("x86_64-unknown-linux-musl")
HOST = Some("x86_64-unknown-linux-gnu")
CC_x86_64-unknown-linux-musl = None
CC_x86_64_unknown_linux_musl = None
TARGET_CC = None
CC = None
CROSS_COMPILE = None
CFLAGS_x86_64-unknown-linux-musl = None
CFLAGS_x86_64_unknown_linux_musl = None
TARGET_CFLAGS = None
CFLAGS = None
CRATE_CC_NO_DEFAULTS = None
DEBUG = Some("false")
CARGO_CFG_TARGET_FEATURE = Some("fxsr,sse,sse2")
--- stderr
/vagrant_data/rust-cli-example/target/x86_64-unknown-linux-musl/release/build/ncurses-7d3468c31a087559/out/chtype_size.c:6:10: fatal error: ncurses.h: No such file or directory
6 | #include <ncurses.h>
| ^~~~~~~~~~~
compilation terminated.
thread 'main' panicked at 'assertion failed: command.status().expect(\"compilation failed\").success()', /home/vagrant/.cargo/registry/src/github.com-1ecc6299db9ec823/ncurses-5.101.0/build.rs:105:5
Can someone please guide me in what needs to be done to get this to compile?

Deadlock only when running Cython compiled .py but not when running from interpreter

The following example code runs as expected when running from interpreter. However, when i cythonize the example and then import the compiled module i'm faced with a deadlock.
Do you know what's the reason for this behaviour? Can i workaround somehow? Would it be possible to implement a timeout, so that the thread is terminated after a certain amount of time, anyway?
from concurrent import futures
import time
class StopFlag:
def __init__(self):
self._started = 0
#property
def started(self):
return self._started
def stop(self):
self._started = 0
def start(self):
self._started = 1
def my_loop(stop_flag):
total_records = 0
print ("Started loop")
# wait until measurement is running actively
while not stop_flag.started:
pass
print ("Started measurement")
# wait until measurement is over
while stop_flag.started:
pass
print ("Measurement over")
stop_flag = StopFlag()
with futures.ThreadPoolExecutor() as t:
t.submit(my_loop, stop_flag)
time.sleep(1)
stop_flag.start()
time.sleep(1)
stop_flag.stop()
Interpreted:
$ py -3.6 treading.py
Started loop
Started measurement
Measurement over
Cythonized:
$ cythonize -ai3 treading.py
Compiling C:\mydir\Trials\treading.py because it changed.
[1/1] Cythonizing C:\mydir\Trials\treading.py
running build_ext
building 'treading' extension
creating C:\mydir\Trials\tmpcu1r5lge\Release
creating C:\mydir\Trials\tmpcu1r5lge\Release\mydir
creating C:\mydir\Trials\tmpcu1r5lge\Release\mydir\Trials
C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.28.29333\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MT "-Ic:\program files (x86)\microsoft visual studio\shared\python36_64\include" "-Ic:\program files (x86)\microsoft visual studio\shared\python36_64\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.28.29333\ATLMFC\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.28.29333\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\cppwinrt" /TcC:\mydir\Trials\treading.c /FoC:\mydir\Trials\tmpcu1r5lge\Release\mydir\Trials\treading.obj
treading.c
C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.28.29333\bin\HostX86\x64\link.exe /nologo /INCREMENTAL:NO /LTCG /nodefaultlib:libucrt.lib ucrt.lib /DLL /MANIFEST:EMBED,ID=2 /MANIFESTUAC:NO "/LIBPATH:c:\program files (x86)\microsoft visual studio\shared\python36_64\libs" "/LIBPATH:c:\program files (x86)\microsoft visual studio\shared\python36_64\PCbuild\amd64" "/LIBPATH:C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.28.29333\ATLMFC\lib\x64" "/LIBPATH:C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.28.29333\lib\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.18362.0\ucrt\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.18362.0\um\x64" /EXPORT:PyInit_treading C:\mydir\Trials\tmpcu1r5lge\Release\mydir\Trials\treading.obj /OUT:C:\mydir\Trials\treading.cp36-win_amd64.pyd /IMPLIB:C:\mydir\Trials\tmpcu1r5lge\Release\mydir\Trials\treading.cp36-win_amd64.lib
Bibliothek "C:\mydir\Trials\tmpcu1r5lge\Release\mydir\Trials\treading.cp36-win_amd64.lib" und Objekt "C:\mydir\Trials\tmpcu1r5lge\Release\mydir\Trials\treading.cp36-win_amd64.exp" werden erstellt.
Code wird generiert.
Codegenerierung ist abgeschlossen.
$ py -3.6 -c "import treading;"
Started loop
<< deadlock >>
Here is the compiled code of the future.submit call:
+38: with futures.ThreadPoolExecutor() as t:
+39: t.submit(my_loop, stop_flag)
__Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_t); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 39, __pyx_L6_error)
__Pyx_GOTREF(__pyx_t_2);
__pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_submit); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 39, __pyx_L6_error)
__Pyx_GOTREF(__pyx_t_3);
__Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
__Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_my_loop); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 39, __pyx_L6_error)
__Pyx_GOTREF(__pyx_t_2);
__Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_stop_flag); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 39, __pyx_L6_error)
__Pyx_GOTREF(__pyx_t_1);
__pyx_t_8 = PyTuple_New(2); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 39, __pyx_L6_error)
__Pyx_GOTREF(__pyx_t_8);
__Pyx_GIVEREF(__pyx_t_2);
PyTuple_SET_ITEM(__pyx_t_8, 0, __pyx_t_2);
__Pyx_GIVEREF(__pyx_t_1);
PyTuple_SET_ITEM(__pyx_t_8, 1, __pyx_t_1);
__pyx_t_2 = 0;
__pyx_t_1 = 0;
__pyx_t_1 = __Pyx_PyObject_Call(__pyx_t_3, __pyx_t_8, NULL); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 39, __pyx_L6_error)
__Pyx_GOTREF(__pyx_t_1);
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
__Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
Disclaimer - I know nothing about cython, I tried it for first time today. This "answer" does not really answer the question.
I tested this on Linux, and problem is present too. Code behaves as if cooperative multitasking would be used. If I add to StopFlag.started a time.sleep(0), or only open a file (without reading it), then it works. Might be useful as workaround.
Edit 2:
Seems to be GIL related. The change below helps (on my system at least).
class StopFlag:
#property
def started(self):
+ with nogil:
+ pass
return self._started
So I guess, thread running my_loop is holding GIL all the time (it was using 100% CPU on my system), and the main thread did not get GIL to be able to really change stop_flag value.
To check this, a second change:
with futures.ThreadPoolExecutor() as t:
t.submit(my_loop, stop_flag)
time.sleep(1)
print("before stop_flag.start")
stop_flag.start()
print("after stop_flag.start")
time.sleep(1)
stop_flag.stop()
I still get on terminal only:
python -c "import treading;"
Started loop
After t.submit, the main thread did execute any other line of code, and before stop_flag.start was not printed.

Unable to compile Actix on macOS Mojave due to "ar crs" "malformed object (unknown load command 1)"

I'm unable to compile a basic example using Actix. I suspect I might be missing some libraries but I have no clue of what it could be. I also upgraded to Mojave a few days ago, but I'm not sure if this is related.
It seems to complain about ar crs and about an internal error happening in ranlib when running this command.
main.rs:
extern crate actix_web;
use actix_web::{server, App, HttpRequest};
fn index(_req: &HttpRequest) -> &'static str {
"Hello world!"
}
fn main() {
server::new(|| App::new().resource("/", |r| r.f(index)))
.bind("127.0.0.1:8088")
.unwrap()
.run();
}
Cargo.toml:
actix-web = "0.7.8"
Backtrace I obtain:
mbp-de-matthieu:hello-world matthieu$ RUST_BACKTRACE=1 cargo build
Compiling backtrace-sys v0.1.24
Compiling miniz-sys v0.1.10
Compiling brotli-sys v0.3.2
Compiling ring v0.13.2
Compiling tokio-current-thread v0.1.3
error: failed to run custom build command for `miniz-sys v0.1.10`
process didn't exit successfully: `/Users/matthieu/Documents/Rust/actix/hello-world/target/debug/build/miniz-sys-dc81523acb01e9e7/build-script-build` (exit code: 101)
--- stdout
TARGET = Some("x86_64-apple-darwin")
OPT_LEVEL = Some("0")
HOST = Some("x86_64-apple-darwin")
CC_x86_64-apple-darwin = None
CC_x86_64_apple_darwin = None
HOST_CC = None
CC = None
CFLAGS_x86_64-apple-darwin = None
CFLAGS_x86_64_apple_darwin = None
HOST_CFLAGS = None
CFLAGS = None
DEBUG = Some("true")
running: "cc" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-Wall" "-Wextra" "-o" "/Users/matthieu/Documents/Rust/actix/hello-world/target/debug/build/miniz-sys-d59b36acd5b3db67/out/miniz.o" "-c" "miniz.c"
exit code: 0
AR_x86_64-apple-darwin = None
AR_x86_64_apple_darwin = None
HOST_AR = None
AR = None
running: "ar" "crs" "/Users/matthieu/Documents/Rust/actix/hello-world/target/debug/build/miniz-sys-d59b36acd5b3db67/out/libminiz.a" "/Users/matthieu/Documents/Rust/actix/hello-world/target/debug/build/miniz-sys-d59b36acd5b3db67/out/miniz.o"
cargo:warning=/usr/local/Cellar/cctools/855/bin/ranlib: object: /Users/matthieu/Documents/Rust/actix/hello-world/target/debug/build/miniz-sys-d59b36acd5b3db67/out/libminiz.a(miniz.o) malformed object (unknown load command 1)
cargo:warning=ar: internal ranlib command failed
exit code: 1
--- stderr
thread 'main' panicked at '
Internal error occurred: Command "ar" "crs" "/Users/matthieu/Documents/Rust/actix/hello-world/target/debug/build/miniz-sys-d59b36acd5b3db67/out/libminiz.a" "/Users/matthieu/Documents/Rust/actix/hello-world/target/debug/build/miniz-sys-d59b36acd5b3db67/out/miniz.o" with args "ar" did not execute successfully (status code exit code: 1).
The complete backtrace is too large to include on Stack Overflow.
It seems to work after installing cctools through MacPorts.
For some reason, installing it through brew didn't seem to work.
I had the same error.
When I replaced cctools 855 with 921 from this tap then cargo build worked: https://github.com/dgsga/homebrew-cctools
brew unlink cctools
brew tap dgsga/cctools
brew install dgsga/cctools/mtoc
Mojave 10.14.3, Rust 1.33.0, actix-web 0.7.18

Resources