Properly link to xfixes - linux

I am trying to build the following program:
use x11::xfixes::XFixesHideCursor;
use x11::xlib::XDefaultRootWindow;
use x11::xlib::XOpenDisplay;
use x11::xlib::XSync;
fn main() {
let display;
let window;
unsafe {
display = XOpenDisplay(&0);
window = XDefaultRootWindow(display);
XFixesHideCursor(display, window);
XSync(display, 1);
}
}
Cargo.toml:
[package]
name = "xhidecursor"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
x11 = { version = "2.20.0", features = ["xlib"] }
Which fails with:
$ cargo run
Compiling xhidecursor v0.1.0 (/home/neumann/xhidecursor)
error: linking with `cc` failed: exit status: 1
|
= note: "cc" "-m64" "/tmp/rustc90arZ7/symbols.o" "/home/neumann/xhidecursor/target/debug/deps/xhidecursor-72a51398118483b1.1mqky27w09vwj4k3.rcgu.o" "/home/neumann/xhidecursor/target/debug/deps/xhidecursor-72a51398118483b1.2hnupqzwx9pp7uzf.rcgu.o" "/home/neumann/xhidecursor/target/debug/deps/xhidecursor-72a51398118483b1.2ncee6h15dx790kk.rcgu.o" "/home/neumann/xhidecursor/target/debug/deps/xhidecursor-72a51398118483b1.3wcgezgg5zbsr34g.rcgu.o" "/home/neumann/xhidecursor/target/debug/deps/xhidecursor-72a51398118483b1.4icvi7j5fuzwog4h.rcgu.o" "/home/neumann/xhidecursor/target/debug/deps/xhidecursor-72a51398118483b1.4l8ef34cbk2a0uy7.rcgu.o" "/home/neumann/xhidecursor/target/debug/deps/xhidecursor-72a51398118483b1.ropukbb1bsg3lid.rcgu.o" "/home/neumann/xhidecursor/target/debug/deps/xhidecursor-72a51398118483b1.37qtt1vkgdsjm1zb.rcgu.o" "-Wl,--as-needed" "-L" "/home/neumann/xhidecursor/target/debug/deps" "-L" "/usr/lib" "-L" "/home/neumann/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/home/neumann/xhidecursor/target/debug/deps/libx11-f4fa73bc30743fb8.rlib" "/home/neumann/xhidecursor/target/debug/deps/liblibc-f25e23d2977f32be.rlib" "-Wl,--start-group" "/home/neumann/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-5670385a2fe8b60b.rlib" "/home/neumann/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-fd56ba6dbf7aaecc.rlib" "/home/neumann/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-b8acf8e5c2e85baa.rlib" "/home/neumann/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-1706edefffdca0a2.rlib" "/home/neumann/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-f483302e0b13708e.rlib" "/home/neumann/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-725b0718fc18e1ed.rlib" "/home/neumann/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-de685fcf2157e6fb.rlib" "/home/neumann/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-f613ac3eda05b9ff.rlib" "/home/neumann/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-3de98a7d049af6a1.rlib" "/home/neumann/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-c12183655bdce152.rlib" "/home/neumann/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-0fc7beea925de7e3.rlib" "/home/neumann/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-8c34825485bf59dc.rlib" "/home/neumann/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-ba5f7e926e729d81.rlib" "/home/neumann/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-643de0950163a839.rlib" "/home/neumann/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-539ea2f72ef89687.rlib" "/home/neumann/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-871432094bb4c885.rlib" "/home/neumann/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-ef1a8ee61f2e39bf.rlib" "/home/neumann/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-f1646747442c1c7b.rlib" "-Wl,--end-group" "/home/neumann/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-ff283b4bf550fa1c.rlib" "-Wl,-Bdynamic" "-lX11" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/home/neumann/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/home/neumann/xhidecursor/target/debug/deps/xhidecursor-72a51398118483b1" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro,-znow" "-nodefaultlibs"
= note: /usr/bin/ld: /home/neumann/xhidecursor/target/debug/deps/xhidecursor-72a51398118483b1.ropukbb1bsg3lid.rcgu.o: in function `xhidecursor::main':
/home/neumann/xhidecursor/src/main.rs:13: undefined reference to `XFixesHideCursor'
collect2: error: ld returned 1 exit status
= help: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified
= note: use the `-l` flag to specify native libraries to link
= note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#cargorustc-link-libkindname)
error: could not compile `xhidecursor` due to previous error
I already resolved a similar linking issue by including the x11 feature xlib in my Cargo.toml. However, the x11 crate does not seem to ship a feature for xfixes.
What is the correct way to also link to xfixes?

It turned out to be a bug in the x11 crate:
https://github.com/AltF02/x11-rs/issues/158
It was fixed upstream, but no release has been made yet.

Related

Error while building hello cargo example from docs

I have installed rust using rustup with the x86_64-pc-windows-gnu option while keeping all other options default. My operating system is Windows 8.
I am following the rust documentation/book for cargo.
When I run cargo build, I get the following error:
Compiling hello_cargo v0.1.0 (G:\Rust\hello_cargo)
error: linking with `G:\MinGW\x86_64-8.1.0-release-win32-sjlj-rt_v6-rev0\mingw64\bin\gcc.exe` failed: exit code: 1
|
= note: "G:\\MinGW\\x86_64-8.1.0-release-win32-sjlj-rt_v6-rev0\\mingw64\\bin\\gcc.exe" "-fno-use-linker-plugin" "-Wl,--dynamicbase" "-Wl,--disable-auto-image-base" "-m64" "-Wl,--high-entropy-va" "C:\\Users\\Maxim\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\rsbegin.o" "C:\\Users\\Maxim\\AppData\\Local\\Temp\\rustcjeAAq5\\symbols.o" "G:\\Rust\\hello_cargo\\target\\debug\\deps\\hello_cargo-1b0993b62f78ade0.1njww76hwcxxqiw.rcgu.o" "G:\\Rust\\hello_cargo\\target\\debug\\deps\\hello_cargo-1b0993b62f78ade0.1qzf4kdnnpu2g9nz.rcgu.o" "G:\\Rust\\hello_cargo\\target\\debug\\deps\\hello_cargo-1b0993b62f78ade0.2alld89bz5d1j920.rcgu.o" "G:\\Rust\\hello_cargo\\target\\debug\\deps\\hello_cargo-1b0993b62f78ade0.3od230eh6b5djim5.rcgu.o" "G:\\Rust\\hello_cargo\\target\\debug\\deps\\hello_cargo-1b0993b62f78ade0.3s35zamnay9959j7.rcgu.o" "G:\\Rust\\hello_cargo\\target\\debug\\deps\\hello_cargo-1b0993b62f78ade0.438lj7xxeji9yib.rcgu.o" "G:\\Rust\\hello_cargo\\target\\debug\\deps\\hello_cargo-1b0993b62f78ade0.5fez5aubm3fvq89b.rcgu.o" "G:\\Rust\\hello_cargo\\target\\debug\\deps\\hello_cargo-1b0993b62f78ade0.qszjihs90c7exes.rcgu.o" "G:\\Rust\\hello_cargo\\target\\debug\\deps\\hello_cargo-1b0993b62f78ade0.2d9vyibnz5v64h8e.rcgu.o" "-L" "G:\\Rust\\hello_cargo\\target\\debug\\deps" "-L" "C:\\Users\\Maxim\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib" "-Wl,--start-group"
"-Wl,-Bstatic" "C:\\Users\\Maxim\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libstd-fefff10efd686913.rlib" "C:\\Users\\Maxim\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libpanic_unwind-9c45725c63c0d5ed.rlib" "C:\\Users\\Maxim\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libobject-5e1c5cd9ff1eb7cc.rlib" "C:\\Users\\Maxim\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libmemchr-b6bf783b1c783d10.rlib" "C:\\Users\\Maxim\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libaddr2line-2241249e06c7cb40.rlib" "C:\\Users\\Maxim\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libgimli-03f5272f7c5d2bd2.rlib" "C:\\Users\\Maxim\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\librustc_demangle-8def22be308808fe.rlib" "C:\\Users\\Maxim\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libstd_detect-8931bc6a2b527206.rlib" "C:\\Users\\Maxim\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libhashbrown-6e27c0716ec027b4.rlib" "C:\\Users\\Maxim\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libminiz_oxide-c5bbe248c77f2f0b.rlib" "C:\\Users\\Maxim\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libadler-9148e9af213d2829.rlib" "C:\\Users\\Maxim\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\librustc_std_workspace_alloc-47941ef50057df8b.rlib" "C:\\Users\\Maxim\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libunwind-66b0ea2785827b9a.rlib" "C:\\Users\\Maxim\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libcfg_if-4b65aaa3f0b095f9.rlib" "C:\\Users\\Maxim\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\liblibc-04a1f133ddb50e5e.rlib" "C:\\Users\\Maxim\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\liballoc-f67804e146a91ffe.rlib" "C:\\Users\\Maxim\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\librustc_std_workspace_core-a5cbd3ad9e3068dd.rlib" "C:\\Users\\Maxim\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libcore-4bc25ea8e4535542.rlib" "-Wl,--end-group" "C:\\Users\\Maxim\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libcompiler_builtins-ac0b598a973ccaf7.rlib" "-Wl,-Bdynamic" "-ladvapi32" "-luserenv" "-lkernel32" "-lws2_32"
"-lbcrypt" "-lgcc_eh" "-l:libpthread.a" "-lmsvcrt" "-lmingwex" "-lmingw32" "-lgcc" "-lmsvcrt" "-luser32" "-lkernel32" "-Wl,--nxcompat" "-L" "C:\\Users\\Maxim\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib" "-o" "G:\\Rust\\hello_cargo\\target\\debug\\deps\\hello_cargo-1b0993b62f78ade0.exe" "-Wl,--gc-sections" "-no-pie" "-nodefaultlibs" "C:\\Users\\Maxim\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\rsend.o"
= note: G:\Rust\hello_cargo\target\debug\deps\hello_cargo-1b0993b62f78ade0.1qzf4kdnnpu2g9nz.rcgu.o: In function `std::sys_common::backtrace::__rust_begin_short_backtrace':
/rustc/a55dd71d5fb0ec5a6a3a9e8c27b2127ba491ce52\library\std\src\sys_common/backtrace.rs:118: undefined reference to `_Unwind_Resume'
G:\Rust\hello_cargo\target\debug\deps\hello_cargo-1b0993b62f78ade0.3s35zamnay9959j7.rcgu.o: In function `core::ops::function::FnOnce::call_once':
/rustc/a55dd71d5fb0ec5a6a3a9e8c27b2127ba491ce52\library\core\src\ops/function.rs:248: undefined reference to `_Unwind_Resume'
C:\Users\Maxim\.rustup\toolchains\stable-x86_64-pc-windows-gnu\lib\rustlib\x86_64-pc-windows-gnu\lib\libstd-fefff10efd686913.rlib(std-fefff10efd686913.std.1d6b1f25-cgu.0.rcgu.o): In function `alloc::collections::btree::mem::replace':
/rustc/a55dd71d5fb0ec5a6a3a9e8c27b2127ba491ce52/library\alloc\src\collections\btree/mem.rs:(.text+0x241): undefined reference to `_Unwind_Resume'
C:\Users\Maxim\.rustup\toolchains\stable-x86_64-pc-windows-gnu\lib\rustlib\x86_64-pc-windows-gnu\lib\libstd-fefff10efd686913.rlib(std-fefff10efd686913.std.1d6b1f25-cgu.0.rcgu.o): In function `<std::io::Write::write_fmt::Adapter<T> as core::fmt::Write>::write_str':
/rustc/a55dd71d5fb0ec5a6a3a9e8c27b2127ba491ce52/library\std\src\io/mod.rs:1664: undefined reference to `_Unwind_Resume'
C:\Users\Maxim\.rustup\toolchains\stable-x86_64-pc-windows-gnu\lib\rustlib\x86_64-pc-windows-gnu\lib\libstd-fefff10efd686913.rlib(std-fefff10efd686913.std.1d6b1f25-cgu.0.rcgu.o): In function `<std::io::Write::write_fmt::Adapter<T> as core::fmt::Write>::write_str':
/rustc/a55dd71d5fb0ec5a6a3a9e8c27b2127ba491ce52/library\std\src\io/mod.rs:1664: undefined reference to `_Unwind_Resume'
C:\Users\Maxim\.rustup\toolchains\stable-x86_64-pc-windows-gnu\lib\rustlib\x86_64-pc-windows-gnu\lib\libstd-fefff10efd686913.rlib(std-fefff10efd686913.std.1d6b1f25-cgu.0.rcgu.o):/rustc/a55dd71d5fb0ec5a6a3a9e8c27b2127ba491ce52/library\std\src\io/mod.rs:1664: more undefined references to `_Unwind_Resume' follow
C:\Users\Maxim\.rustup\toolchains\stable-x86_64-pc-windows-gnu\lib\rustlib\x86_64-pc-windows-gnu\lib\libpanic_unwind-9c45725c63c0d5ed.rlib(panic_unwind-9c45725c63c0d5ed.panic_unwind.cb21c7dc-cgu.0.rcgu.o): In function `panic_unwind::real_imp::panic':
/rustc/a55dd71d5fb0ec5a6a3a9e8c27b2127ba491ce52/library\panic_unwind\src/gcc.rs:62: undefined reference to `_Unwind_RaiseException'
C:\Users\Maxim\.rustup\toolchains\stable-x86_64-pc-windows-gnu\lib\rustlib\x86_64-pc-windows-gnu\lib\libpanic_unwind-9c45725c63c0d5ed.rlib(panic_unwind-9c45725c63c0d5ed.panic_unwind.cb21c7dc-cgu.0.rcgu.o): In function `alloc::boxed::Box<T>::new':
/rustc/a55dd71d5fb0ec5a6a3a9e8c27b2127ba491ce52/library\alloc\src/boxed.rs:(.text+0x418): undefined reference to `_Unwind_Resume'
C:\Users\Maxim\.rustup\toolchains\stable-x86_64-pc-windows-gnu\lib\rustlib\x86_64-pc-windows-gnu\lib\libpanic_unwind-9c45725c63c0d5ed.rlib(panic_unwind-9c45725c63c0d5ed.panic_unwind.cb21c7dc-cgu.0.rcgu.o): In function `rust_eh_personality':
/rustc/a55dd71d5fb0ec5a6a3a9e8c27b2127ba491ce52/library\panic_unwind\src/gcc.rs:276: undefined reference to `_GCC_specific_handler'
C:\Users\Maxim\.rustup\toolchains\stable-x86_64-pc-windows-gnu\lib\rustlib\x86_64-pc-windows-gnu\lib\libobject-5e1c5cd9ff1eb7cc.rlib(object-5e1c5cd9ff1eb7cc.object.c08054e5-cgu.0.rcgu.o):object.c08054e5-cg:(.text+0x1f95): undefined reference to `_Unwind_Resume'
C:\Users\Maxim\.rustup\toolchains\stable-x86_64-pc-windows-gnu\lib\rustlib\x86_64-pc-windows-gnu\lib\libobject-5e1c5cd9ff1eb7cc.rlib(object-5e1c5cd9ff1eb7cc.object.c08054e5-cgu.0.rcgu.o):object.c08054e5-cg:(.text+0x2b12): undefined reference to `_Unwind_Resume'
C:\Users\Maxim\.rustup\toolchains\stable-x86_64-pc-windows-gnu\lib\rustlib\x86_64-pc-windows-gnu\lib\libgimli-03f5272f7c5d2bd2.rlib(gimli-03f5272f7c5d2bd2.gimli.823974b0-cgu.0.rcgu.o):gimli.823974b0-cgu:(.text+0xc2e): undefined reference to `_Unwind_Resume'
C:\Users\Maxim\.rustup\toolchains\stable-x86_64-pc-windows-gnu\lib\rustlib\x86_64-pc-windows-gnu\lib\libgimli-03f5272f7c5d2bd2.rlib(gimli-03f5272f7c5d2bd2.gimli.823974b0-cgu.0.rcgu.o):gimli.823974b0-cgu:(.text+0x2be7): undefined reference to `_Unwind_Resume'
C:\Users\Maxim\.rustup\toolchains\stable-x86_64-pc-windows-gnu\lib\rustlib\x86_64-pc-windows-gnu\lib\libgimli-03f5272f7c5d2bd2.rlib(gimli-03f5272f7c5d2bd2.gimli.823974b0-cgu.0.rcgu.o):gimli.823974b0-cgu:(.text+0x2c76): undefined reference to `_Unwind_Resume'
C:\Users\Maxim\.rustup\toolchains\stable-x86_64-pc-windows-gnu\lib\rustlib\x86_64-pc-windows-gnu\lib\libgimli-03f5272f7c5d2bd2.rlib(gimli-03f5272f7c5d2bd2.gimli.823974b0-cgu.0.rcgu.o):gimli.823974b0-cgu:(.text+0x2e1f): more undefined references to `_Unwind_Resume' follow
collect2.exe: error: ld returned 1 exit status
= help: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified
= note: use the `-l` flag to specify native libraries to link
= note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#cargorustc-link-libkindname)
I deleted and reinstalled rust but the results were the same.
I didn't find anything useful on google. Any help would be greatly appreciated.

Rust cannot link with `x86_64-w64-mingw32-gcc`

I am trying to make a get request to a url with rust and everytime I run this project I get this error, my other rust project work fine.
here's my cargo.toml file.
[package]
name = "api_req"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
serde = { version = "1.0", features = ["derive"] }
reqwest = { version = "0.11", features = ["json"] }
tokio = { version = "1", features = ["full"]}
this is the output I get when I try to build/run the code.
error: linking with `x86_64-w64-mingw32-gcc` failed: exit code: 1
|
= note: "x86_64-w64-mingw32-gcc" "-fno-use-linker-plugin" "-Wl,--dynamicbase" "-Wl,--disable-auto-image-base" "-m64" "-Wl,--high-entropy-va" "C:\\Users\\sahil\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\self-contained\\crt2.o" "C:\\Users\\sahil\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\rsbegin.o" "C:\\Users\\sahil\\CLionProjects\\coc-rs\\target\\debug\\deps\\coc_rs-6b97e9afad26cc80.1ax3t6bk8kjti15h.rcgu.o" "C:\\Users\\sahil\\CLionProjects\\coc-rs\\target\\debug\\deps\\coc_rs-6b97e9afad26cc80.1c3atn0g0p3yramu.rcgu.o" "C:\\Users\\sahil\\CLionProjects\\coc-rs\\target\\debug\\deps\\coc_rs-6b97e9afad26cc80.1eyopyznq7w9pv6w.rcgu.o" "C:\\Users\\sahil\\CLionProjects\\coc-rs\\target\\debug\\deps\\coc_rs-6b97e9afad26cc80.1fh5351sg6p2mgxa.rcgu.o" "C:\\Users\\sahil\\CLionProjects\\coc-rs\\target\\debug\\deps\\coc_rs-6b97e9afad26cc80.1fq8n5qa6sftc8f2.rcgu.o" "C:\\Users\\sahil\\CLionProjects\\coc-rs\\target\\debug\\deps\\coc_rs-6b97e9afad26cc80.1h7rs4y9okqh73ko.rcgu.o" "C:\\Users\\sahil\\CLionProjects\\coc-rs\\target\\debug\\deps\\coc_rs-6b97e9afad26cc80.1hixbhmcdx93ieog.rcgu.o" "C:\\Users\\sahil\\CLionProjects\\coc-rs\\target\\debug\\deps\\coc_rs-6b97e9afad26cc80.1pusjb2s5mbmv52.rcgu.o" "C:\\Users\\sahil\\CLionProjects\\coc-rs\\target\\debug\\deps\\coc_rs-6b97e9afad26cc80.1r1syzr5iyppur6d.rcgu.o" "C:\\Users\\sahil\\CLionProjects\\coc-rs\\target\\debug\\deps\\coc_rs-6b97e9afad26cc80.1xwze9zzctkvw9zb.rcgu.o" "C:\\Users\\sahil\\CLionProjects\\coc-rs\\target\\debug\\deps\\coc_rs-6b97e9afad26cc80.1yo20a6n3puo41ow.rcgu.o" "C:\\Users\\sahil\\CLionProjects\\coc-rs\\target\\debug\\deps\\coc_rs-6b97e9afad26cc80.2255vjpd8xu3a9fy.rcgu.o" "C:\\Users\\sahil\\CLionProjects\\coc-rs\\target\\debug\\deps\\coc_rs-6b97e9afad26cc80.2edfs4qapam51lge.rcgu.o" "C:\\Users\\sahil\\CLionProjects\\coc-rs\\target\\debug\\deps\\coc_rs-6b97e9afad26cc80.2golmsqmo7tnqmzs.rcgu.o" "C:\\Users\\sahil\\CLionProjects\\coc-rs\\target\\debug\\deps\\coc_rs-6b97e9afad26cc80.2xmnjdctq8pjocz5.rcgu.o" "C:\\Users\\sahil\\CLionProjects\\coc-rs\\target\\debug\\deps\\coc_rs-6b97e9afad26cc80.31yrs14s300f4h03.rcgu.o" "C:\\Users\\sahil\\CLionProjects\\coc-rs\\target\\debug\\deps\\coc_rs-6b97e9afad26cc80.33t6gyz621qwigyb.rcgu.o" "C:\\Users\\sahil\\CLionProjects\\coc-rs\\target\\debug\\deps\\coc_rs-6b97e9afad26cc80.3832xteup6xjvzhl.rcgu.o" "C:\\Users\\sahil\\CLionProjects\\coc-rs\\target\\debug\\deps\\coc_rs-6b97e9afad26cc80.3ei96tkdhrg5j4cc.rcgu.o" "C:\\Users\\sahil\\CLionProjects\\coc-rs\\target\\debug\\deps\\coc_rs-6b97e9afad26cc80.3kv9qzjbq6hyvxta.rcgu.o" "C:\\Users\\sahil\\CLionProjects\\coc-rs\\target\\debug\\deps\\coc_rs-6b97e9afad26cc80.3voeuxa39e6i45ek.rcgu.o" "C:\\Users\\sahil\\CLionProjects\\coc-rs\\target\\debug\\deps\\coc_rs-6b97e9afad26cc80.3xczvelu7g3dfuy.rcgu.o" "C:\\Users\\sahil\\CLionProjects\\coc-rs\\target\\debug\\deps\\coc_rs-6b97e9afad26cc80.3xiefxn2bjk8p9wl.rcgu.o" "C:\\Users\\sahil\\CLionProjects\\coc-rs\\target\\debug\\deps\\coc_rs-6b97e9afad26cc80.3zk8kwi563txarv.rcgu.o" "C:\\Users\\sahil\\CLionProjects\\coc-rs\\target\\debug\\deps\\coc_rs-6b97e9afad26cc80.42fx8502ycrtb947.rcgu.o" "C:\\Users\\sahil\\CLionProjects\\coc-rs\\target\\debug\\deps\\coc_rs-6b97e9afad26cc80.42zj1hqr5806tbqq.rcgu.o" "C:\\Users\\sahil\\CLionProjects\\coc-rs\\target\\debug\\deps\\coc_rs-6b97e9afad26cc80.4n2j2pvi987bzjpx.rcgu.o" "C:\\Users\\sahil\\CLionProjects\\coc-rs\\target\\debug\\deps\\coc_rs-6b97e9afad26cc80.4swl56hmxo29rz14.rcgu.o" "C:\\Users\\sahil\\CLionProjects\\coc-rs\\target\\debug\\deps\\coc_rs-6b97e9afad26cc80.4uil31v1upy7ekhm.rcgu.o" "C:\\Users\\sahil\\CLionProjects\\coc-rs\\target\\debug\\deps\\coc_rs-6b97e9afad26cc80.4ux7vz70q14tv1sd.rcgu.o" "C:\\Users\\sahil\\CLionProjects\\coc-rs\\target\\debug\\deps\\coc_rs-6b97e9afad26cc80.5bfbrmu7jie92ld4.rcgu.o" "C:\\Users\\sahil\\CLionProjects\\coc-rs\\target\\debug\\deps\\coc_rs-6b97e9afad26cc80.5c9yop588litxlcp.rcgu.o" "C:\\Users\\sahil\\CLionProjects\\coc-rs\\target\\debug\\deps\\coc_rs-6b97e9afad26cc80.5f5utchxm690fhml.rcgu.o" "C:\\Users\\sahil\\CLionProjects\\coc-rs\\target\\debug\\deps\\coc_rs-6b97e9afad26cc80.8e1pp3wjkpz0u44.rcgu.o" "C:\\Users\\sahil\\CLionProjects\\coc-rs\\target\\debug\\deps\\coc_rs-6b97e9afad26cc80.a6wm8bvo6xgk6kb.rcgu.o" "C:\\Users\\sahil\\CLionProjects\\coc-rs\\target\\debug\\deps\\coc_rs-6b97e9afad26cc80.kov6im1dt7n1158.rcgu.o" "C:\\Users\\sahil\\CLionProjects\\coc-rs\\target\\debug\\deps\\coc_rs-6b97e9afad26cc80.qc6r0urfqm5iwfk.rcgu.o" "C:\\Users\\sahil\\CLionProjects\\coc-rs\\target\\debug\\deps\\coc_rs-6b97e9afad26cc80.xbwmoxc4z4laoj.rcgu.o" "-L" "C:\\Users\\sahil\\CLionProjects\\coc-rs\\target\\debug\\deps" "-L" "C:\\Users\\sahil\\.cargo\\registry\\src\\github.com-1ecc6299db9ec823\\windows_x86_64_gnu-0.36.1\\lib" "-L" "C:\\Users\\sahil\\.cargo\\registry\\src\\github.com-1ecc6299db9ec823\\winapi-x86_64-pc-windows-gnu-0.4.0\\lib" "-L" "C:\\Users\\sahil\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib" "-Wl,-Bstatic" "C:\\Users\\sahil\\CLionProjects\\coc-rs\\target\\debug\\deps\\libreqwest-4c368552b14f2556.rlib" "C:\\Users\\sahil\\CLionProjects\\coc-rs\\target\\debug\\deps\\libhyper_tls-232c1bed3548a04d.rlib" "C:\\Users\\sahil\\CLionProjects\\coc-rs\\target\\debug\\deps\\libserde_urlencoded-7fbc481ab99fd7fa.rlib" "C:\\Users\\sahil\\CLionProjects\\coc-rs\\target\\debug\\deps\\libwinreg-7295b139d2c97e9c.rlib" "C:\\Users\\sahil\\CLionProjects\\coc-rs\\target\\debug\\deps\\libipnet-13ad1b1c2a806ac2.rlib" "C:\\Users\\sahil\\CLionProjects\\coc-rs\\target\\debug\\deps\\libtokio_native_tls-de7295e0ba3eee80.rlib" "C:\\Users\\sahil\\CLionProjects\\coc-rs\\target\\debug\\deps\\libmime-70beac1aae20854a.rlib" "C:\\Users\\sahil\\CLionProjects\\coc-rs\\target\\debug\\deps\\libencoding_rs-424738c02de2a1cb.rlib" "C:\\Users\\sahil\\CLionProjects\\coc-rs\\target\\debug\\deps\\libserde_json-6dd5b460183685b0.rlib" "C:\\Users\\sahil\\CLionProjects\\coc-rs\\target\\debug\\deps\\libryu-5dbe4d0271ae441b.rlib" "C:\\Users\\sahil\\CLionProjects\\coc-rs\\target\\debug\\deps\\libserde-6cae6f9f61ff4ba4.rlib" "C:\\Users\\sahil\\CLionProjects\\coc-rs\\target\\debug\\deps\\libbase64-c8247454f82b9007.rlib" "C:\\Users\\sahil\\CLionProjects\\coc-rs\\target\\debug\\deps\\libnative_tls-6c7c022aaeb526d4.rlib" "C:\\Users\\sahil\\CLionProjects\\coc-rs\\target\\debug\\deps\\libschannel-063e1b413f5599f2.rlib" "C:\\Users\\sahil\\CLionProjects\\coc-rs\\target\\debug\\deps\\libhyper-fb95c482b8443496.rlib" "C:\\Users\\sahil\\CLionProjects\\coc-rs\\target\\debug\\deps\\libwant-1b592153b3050a9c.rlib" "C:\\Users\\sahil\\CLionProjects\\coc-rs\\target\\debug\\deps\\libtry_lock-d260f441477de4db.rlib" "C:\\Users\\sahil\\CLionProjects\\coc-rs\\target\\debug\\deps\\libhttparse-6fcd91990256da53.rlib" "C:\\Users\\sahil\\CLionProjects\\coc-rs\\target\\debug\\deps\\libh2-5a39fe982856f022.rlib" "C:\\Users\\sahil\\CLionProjects\\coc-rs\\target\\debug\\deps\\libindexmap-4a28fef51076f054.rlib" "C:\\Users\\sahil\\CLionProjects\\coc-rs\\target\\debug\\deps\\libhashbrown-d5a9f68bf8fda90f.rlib" "C:\\Users\\sahil\\CLionProjects\\coc-rs\\target\\debug\\deps\\libslab-9fe051d950420d38.rlib" "C:\\Users\\sahil\\CLionProjects\\coc-rs\\target\\debug\\deps\\libtokio_util-1579a0114f5cbde1.rlib" "C:\\Users\\sahil\\CLionProjects\\coc-rs\\target\\debug\\deps\\libfutures_sink-c7192b01df39fa48.rlib" "C:\\Users\\sahil\\CLionProjects\\coc-rs\\target\\debug\\deps\\libtower_service-765eb6356a8cfb2d.rlib" "C:\\Users\\sahil\\CLionProjects\\coc-rs\\target\\debug\\deps\\libtracing-66051f4777353503.rlib" "C:\\Users\\sahil\\CLionProjects\\coc-rs\\target\\debug\\deps\\libtracing_core-f4bfb6d49a965157.rlib" "C:\\Users\\sahil\\CLionProjects\\coc-rs\\target\\debug\\deps\\libfutures_channel-555bafa627f1f911.rlib" "C:\\Users\\sahil\\CLionProjects\\coc-rs\\target\\debug\\deps\\libfutures_util-64a02818b3317840.rlib" "C:\\Users\\sahil\\CLionProjects\\coc-rs\\target\\debug\\deps\\libfutures_task-a4aaaaf936eb564c.rlib" "C:\\Users\\sahil\\CLionProjects\\coc-rs\\target\\debug\\deps\\libpin_utils-5d8a7e5aa44622ca.rlib" "C:\\Users\\sahil\\CLionProjects\\coc-rs\\target\\debug\\deps\\libtokio-624e271f708ed1b7.rlib" "C:\\Users\\sahil\\CLionProjects\\coc-rs\\target\\debug\\deps\\libnum_cpus-e6114d81f932153f.rlib" "C:\\Users\\sahil\\CLionProjects\\coc-rs\\target\\debug\\deps\\libsocket2-f5d2e21f1a9eced5.rlib" "C:\\Users\\sahil\\CLionProjects\\coc-rs\\target\\debug\\deps\\libmemchr-159ce0a562c7c90d.rlib" "C:\\Users\\sahil\\CLionProjects\\coc-rs\\target\\debug\\deps\\libonce_cell-d421f50ef94c81e2.rlib" "C:\\Users\\sahil\\CLionProjects\\coc-rs\\target\\debug\\deps\\libmio-5b2251bc0fa70cc1.rlib" "C:\\Users\\sahil\\CLionProjects\\coc-rs\\target\\debug\\deps\\libwinapi-ea296c23c7d12570.rlib" "C:\\Users\\sahil\\CLionProjects\\coc-rs\\target\\debug\\deps\\libparking_lot-5543975f87a49a76.rlib" "C:\\Users\\sahil\\CLionProjects\\coc-rs\\target\\debug\\deps\\libparking_lot_core-1f22f50f85af7c5b.rlib" "C:\\Users\\sahil\\CLionProjects\\coc-rs\\target\\debug\\deps\\libwindows_sys-b637485aaa7aff92.rlib" "C:\\Users\\sahil\\CLionProjects\\coc-rs\\target\\debug\\deps\\libsmallvec-2f06c5bbc2f28d1d.rlib" "C:\\Users\\sahil\\CLionProjects\\coc-rs\\target\\debug\\deps\\liblock_api-cf5b6e95d6264008.rlib" "C:\\Users\\sahil\\CLionProjects\\coc-rs\\target\\debug\\deps\\libscopeguard-2307887b33c22022.rlib" "C:\\Users\\sahil\\CLionProjects\\coc-rs\\target\\debug\\deps\\libhttp_body-b0dac3684cf21643.rlib" "C:\\Users\\sahil\\CLionProjects\\coc-rs\\target\\debug\\deps\\libpin_project_lite-7f5a255ae99cc584.rlib" "C:\\Users\\sahil\\CLionProjects\\coc-rs\\target\\debug\\deps\\liblog-4a472ba51f3a8c65.rlib" "C:\\Users\\sahil\\CLionProjects\\coc-rs\\target\\debug\\deps\\libcfg_if-582d68df1dda34ce.rlib" "C:\\Users\\sahil\\CLionProjects\\coc-rs\\target\\debug\\deps\\libfutures_core-d4fb194ef52b209e.rlib" "C:\\Users\\sahil\\CLionProjects\\coc-rs\\target\\debug\\deps\\liblazy_static-3560e2a9d79ed69d.rlib" "C:\\Users\\sahil\\CLionProjects\\coc-rs\\target\\debug\\deps\\liburl-0607b9926a2db71d.rlib" "C:\\Users\\sahil\\CLionProjects\\coc-rs\\target\\debug\\deps\\libidna-b2a78f283642d804.rlib" "C:\\Users\\sahil\\CLionProjects\\coc-rs\\target\\debug\\deps\\libunicode_normalization-35bc20584746fa68.rlib" "C:\\Users\\sahil\\CLionProjects\\coc-rs\\target\\debug\\deps\\libtinyvec-142577d0da361009.rlib" "C:\\Users\\sahil\\CLionProjects\\coc-rs\\target\\debug\\deps\\libtinyvec_macros-4336a28f2bcab56f.rlib" "C:\\Users\\sahil\\CLionProjects\\coc-rs\\target\\debug\\deps\\libunicode_bidi-5f2fd3eb1aae333c.rlib" "C:\\Users\\sahil\\CLionProjects\\coc-rs\\target\\debug\\deps\\libform_urlencoded-53698e084bc4bbdc.rlib" "C:\\Users\\sahil\\CLionProjects\\coc-rs\\target\\debug\\deps\\libpercent_encoding-667b3b2a6857c78b.rlib" "C:\\Users\\sahil\\CLionProjects\\coc-rs\\target\\debug\\deps\\libmatches-20581ad2b0980e8c.rlib" "C:\\Users\\sahil\\CLionProjects\\coc-rs\\target\\debug\\deps\\libhttp-4a12e877f9b0b8fa.rlib" "C:\\Users\\sahil\\CLionProjects\\coc-rs\\target\\debug\\deps\\libitoa-3604916ff8b9be67.rlib" "C:\\Users\\sahil\\CLionProjects\\coc-rs\\target\\debug\\deps\\libbytes-4258675eb663602c.rlib" "C:\\Users\\sahil\\CLionProjects\\coc-rs\\target\\debug\\deps\\libfnv-45e655d72242f0ae.rlib" "-Wl,--start-group" "C:\\Users\\sahil\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libstd-9075868f02c39105.rlib" "C:\\Users\\sahil\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libpanic_unwind-9428c324e8b3666b.rlib" "C:\\Users\\sahil\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libobject-4a98078f239020c3.rlib" "C:\\Users\\sahil\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libmemchr-6757767b31fe77e1.rlib" "C:\\Users\\sahil\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libaddr2line-c0d2da11c6d2d6c0.rlib" "C:\\Users\\sahil\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libgimli-9e7d4e8bc407ad15.rlib" "C:\\Users\\sahil\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\librustc_demangle-da42fc4024365a2c.rlib" "C:\\Users\\sahil\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libstd_detect-89ac367f33223d21.rlib" "C:\\Users\\sahil\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libhashbrown-d506a327105b7f9b.rlib" "C:\\Users\\sahil\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\librustc_std_workspace_alloc-59684a51af165391.rlib" "C:\\Users\\sahil\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libunwind-76b6cbab8df641fe.rlib" "C:\\Users\\sahil\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libcfg_if-1f71fd1e2c1fff1d.rlib" "C:\\Users\\sahil\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\liblibc-941c197b7acaf3f9.rlib" "C:\\Users\\sahil\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\liballoc-ed65eeea771bb49a.rlib" "C:\\Users\\sahil\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\librustc_std_workspace_core-206ecc270c58e4f3.rlib" "C:\\Users\\sahil\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libcore-1063c1f162c501e3.rlib" "-Wl,--end-group" "C:\\Users\\sahil\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libcompiler_builtins-3f91c8bbaf203c3c.rlib" "-Wl,-Bdynamic" "-lntdll" "-lwinapi_advapi32" "-lwinapi_cfgmgr32" "-lwinapi_fwpuclnt" "-lwinapi_gdi32" "-lwinapi_kernel32" "-lwinapi_msimg32" "-lwinapi_mswsock" "-lwinapi_ntdll" "-lwinapi_opengl32" "-lwinapi_user32" "-lwinapi_winspool" "-lwinapi_ws2_32" "-lwindows" "-lkernel32" "-lws2_32" "-lbcrypt" "-ladvapi32" "-luserenv" "-lkernel32" "-lgcc_eh" "-l:libpthread.a" "-lmsvcrt" "-lmingwex" "-lmingw32" "-lgcc" "-lmsvcrt" "-luser32" "-lkernel32" "-Wl,--nxcompat" "-nostartfiles" "-L" "C:\\Users\\sahil\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib" "-L" "C:\\Users\\sahil\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\self-contained" "-o" "C:\\Users\\sahil\\CLionProjects\\coc-rs\\target\\debug\\deps\\coc_rs-6b97e9afad26cc80.exe" "-Wl,--gc-sections" "-no-pie" "-nodefaultlibs" "C:\\Users\\sahil\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\rsend.o"
= note: ld: cannot find -lntdll
This is a known bug which should have been by the resolution for another issue.
Just update by rustup update or by any package manager you installed the toolchain.

Mac M1 Rust: ld framework not found CoreFoundation M1

I'm facing an issue compiling a crate in Rust after switching to M1. The crate is "sqlx-macros". As discussed in the sqlx repo, it has become apparent that this is not a problem of the crate per se. Digging around the with ld framework not found CoreFoundation M1, I am unable to resolve my problem.
I'm running:
rustc 1.57.0 (f1edd0429 2021-11-29)
rustup default stable-aarch64-apple-darwin
Here is the error in question:
error: linking with `cc` failed: exit status: 1
|
= note: "cc" "-arch" "arm64" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/sqlx_macros-407f772bf8e457dd.sqlx_macros.3789a723-cgu.0.rcgu.o" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/sqlx_macros-407f772bf8e457dd.sqlx_macros.3789a723-cgu.1.rcgu.o" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/sqlx_macros-407f772bf8e457dd.sqlx_macros.3789a723-cgu.10.rcgu.o" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/sqlx_macros-407f772bf8e457dd.sqlx_macros.3789a723-cgu.11.rcgu.o" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/sqlx_macros-407f772bf8e457dd.sqlx_macros.3789a723-cgu.12.rcgu.o" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/sqlx_macros-407f772bf8e457dd.sqlx_macros.3789a723-cgu.13.rcgu.o" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/sqlx_macros-407f772bf8e457dd.sqlx_macros.3789a723-cgu.14.rcgu.o" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/sqlx_macros-407f772bf8e457dd.sqlx_macros.3789a723-cgu.15.rcgu.o" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/sqlx_macros-407f772bf8e457dd.sqlx_macros.3789a723-cgu.2.rcgu.o" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/sqlx_macros-407f772bf8e457dd.sqlx_macros.3789a723-cgu.3.rcgu.o" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/sqlx_macros-407f772bf8e457dd.sqlx_macros.3789a723-cgu.4.rcgu.o" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/sqlx_macros-407f772bf8e457dd.sqlx_macros.3789a723-cgu.5.rcgu.o" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/sqlx_macros-407f772bf8e457dd.sqlx_macros.3789a723-cgu.6.rcgu.o" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/sqlx_macros-407f772bf8e457dd.sqlx_macros.3789a723-cgu.7.rcgu.o" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/sqlx_macros-407f772bf8e457dd.sqlx_macros.3789a723-cgu.8.rcgu.o" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/sqlx_macros-407f772bf8e457dd.sqlx_macros.3789a723-cgu.9.rcgu.o" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/sqlx_macros-407f772bf8e457dd.312opvse87l793yj.rcgu.o" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/sqlx_macros-407f772bf8e457dd.281281m3wpaf90be.rcgu.o" "-L" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps" "-L" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/build/ring-00b2699d202c565f/out" "-L" "/Users/ulquiorra/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libdotenv-bcf0aca3b7bc8cd4.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libheck-626c5462f41d3929.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libunicode_segmentation-4b1977349c37e802.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libsyn-0c9f33ce0d41da04.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libsqlx_core-ae6ab38c5a09aaa7.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libcrc-da62e3c7cbfe97f5.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libcrc_catalog-d8370c27944dfe7a.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libhex-963718e6915ebdf6.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libwhoami-b6636d0fe6b91268.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libdirs-98e36b19a30fbb31.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libdirs_sys-d59a29575635414f.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libtokio_stream-530bb3979e3faf40.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libwebpki_roots-f4d1a9e1a1d281a7.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libsqlformat-db946c9c86afc529.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libunicode_categories-d7806e456d1ab4fc.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libnom-9324692423ffb34a.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libitertools-d0210e435c329f53.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libthiserror-40227fc935d966f7.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libbitflags-53a23abfe027286d.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/liburl-b6579ec0b8c695a0.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libidna-7c6b1ea0f937ef50.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libform_urlencoded-baa7e538d4ef6431.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libmatches-b58d0fe416543617.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libpercent_encoding-b55ac354f0255b20.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libmd5-74915dbb5c56bd05.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libbyteorder-5d34a33e544c853e.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libatoi-fead19dad46f0cbe.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libstringprep-b9be9e9ddfd94a5b.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libunicode_normalization-1980ff400d6709e5.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libtinyvec-58e0d3e4e182f228.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libtinyvec_macros-41736dd33b4ff66e.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libunicode_bidi-407b876b0fa4c956.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/librand-cbdb2958ad4fad90.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/librand_chacha-bed58bf603b9118b.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libppv_lite86-d55f98a5438a00f7.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/librand_core-5208c26a4e220237.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libhmac-71ed912ade899bb7.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libcrypto_mac-56d4f0e9b07e56da.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libsubtle-552b2ce96e9ace11.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libsha2-cec98bdca95d0c85.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libopaque_debug-0f46acc0bcbe7ebb.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libdigest-5dd2957b2c31b03d.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libblock_buffer-0a07dc8582ad511a.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libgeneric_array-edb04608a7cb3595.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libtypenum-c46c02c8c2d27571.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libhashlink-674e6e90a10a40f5.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libhashbrown-5981cabd74cd4e62.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libahash-c5a767a72ff39fe9.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libchrono-110b9ff6cc82c0dd.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libnum_integer-156ed8041665f5a4.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libnum_traits-2f966b2053809582.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libtime-26b95385d2213e8c.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libuuid-9b78316751859aa3.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libgetrandom-73e09dbdfae59109.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libserde_json-773ad93690775692.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libryu-35ba9cc3d5d02dd4.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libitoa-4cdeaf4add7f7fd0.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libserde-59c3b31fd28fffeb.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libsqlx_rt-0055a762dd1794dd.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libactix_rt-c118c1f8d144d5d0.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libtokio_rustls-8bd246f1cb8a9967.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/librustls-97f8c4084bc5ddbc.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libbase64-6e74f6cd80c81bfd.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libsct-ab05719c0e066ee5.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libwebpki-609d9d6de2956b78.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libring-a9c07951cca54be0.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libuntrusted-7dfb22f78fd3918f.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libtokio-bd033529cc1f9fc7.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libsignal_hook_registry-5efdce841beb6fab.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libnum_cpus-739e46d4ad873a11.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libmemchr-c827c82476ce2244.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libonce_cell-5952971dafb2b2ba.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libbytes-e547253afcf8f088.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libmio-0e779c175f479389.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/liblog-6e3fcaf289c0785c.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libcrossbeam_queue-77a82f114d2b20fc.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libcrossbeam_utils-ddfbc5e71e018f2c.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/liblazy_static-81d20f7d7f1f4bd2.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libfutures_intrusive-654c41f3445053f5.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libparking_lot-ecf810bcff890217.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libparking_lot_core-1cca6e92e476ead3.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/liblibc-249ca7d010eefcfe.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libsmallvec-cd4d7a3bc73153b0.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libinstant-3bd2b2afc483c597.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libcfg_if-070e0057f85f12e1.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/liblock_api-3a560b1cbe9bd1bd.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libscopeguard-46314ee240534403.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libeither-630743a902737812.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libfutures_util-e40c3140032e0ba7.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libpin_project_lite-5bad0c04bfff9074.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libfutures_task-3f7fbb78f0996ac8.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libpin_utils-af5505e3a763c822.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libfutures_channel-3151aecc7bea8587.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libfutures_sink-341ec96125dc400e.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libfutures_core-4077c13931d0998f.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libquote-b86e51bb4f102c43.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libproc_macro2-2f754891ab7c601c.rlib" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libunicode_xid-deac7a8ae4518802.rlib" "/Users/ulquiorra/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libproc_macro-33d9c5891f008791.rlib" "/Users/ulquiorra/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libstd-81655915c211065a.rlib" "/Users/ulquiorra/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libpanic_unwind-6401d7836ab37fcf.rlib" "/Users/ulquiorra/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libobject-bee3b45bdece0195.rlib" "/Users/ulquiorra/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libmemchr-01c74ed3833459fe.rlib" "/Users/ulquiorra/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libaddr2line-48661015cf0226dd.rlib" "/Users/ulquiorra/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libgimli-f6cb12e379c9f859.rlib" "/Users/ulquiorra/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libstd_detect-01c2377d8875d7d3.rlib" "/Users/ulquiorra/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/librustc_demangle-4ecebe9133c1e15e.rlib" "/Users/ulquiorra/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libhashbrown-68b6457fbd59457b.rlib" "/Users/ulquiorra/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/librustc_std_workspace_alloc-9d4889633473e617.rlib" "/Users/ulquiorra/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libunwind-7d202cbf8f30fd4c.rlib" "/Users/ulquiorra/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libcfg_if-412e60c7c12b3b8f.rlib" "/Users/ulquiorra/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/liblibc-45ccb8237a0071b3.rlib" "/Users/ulquiorra/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/liballoc-24424da3181053ad.rlib" "/Users/ulquiorra/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/librustc_std_workspace_core-5789d203d1806d35.rlib" "/Users/ulquiorra/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libcore-22574ec029e9d229.rlib" "/Users/ulquiorra/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libcompiler_builtins-56bb43a121401f7f.rlib" "-framework" "CoreFoundation" "-framework" "SystemConfiguration" "-framework" "Security" "-liconv" "-lSystem" "-lresolv" "-lc" "-lm" "-liconv" "-L" "/Users/ulquiorra/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib" "-o" "/Users/ulquiorra/workspace/mine/toys/zero2prod/target/debug/deps/libsqlx_macros-407f772bf8e457dd.dylib" "-Wl,-dead_strip" "-dynamiclib" "-Wl,-dylib" "-nodefaultlibs" "-undefined" "dynamic_lookup"
= note: ld: framework not found CoreFoundation
clang: error: linker command failed with exit code 1 (use -v to see invocation)
At this point I'm a bit clueless as to what to do so any idea would be appreciated.
When upgrading to a new ARM Mac, the linked directories for Command Line Tools for Xcode can break.
The easiest fix is reinstall Command Line Tools for Xcode with:
sudo rm -rf /Library/Developer/CommandLineTools
xcode-select --install
Then build the project with:
cargo build

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

Rust Cargo cross-compile with musl fails due to missing libc

I am compiling a bindgen sys-crate using the cross Docker containers. The target platform is armv5te-unknown-linux-musleabi.
I use cargo as well as build.rs to generate the bindings. This fails with the following message:
error: linking with `arm-linux-musleabi-gcc` failed: exit code: 1
|
= note: "arm-linux-musleabi-gcc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-Wl,--eh-frame-hdr" "-nostdlib" "/rust/lib/rustlib/armv5te-unknown-linux-musleabi/lib/crt1.o" "/rust/lib/rustlib/armv5te-unknown-linux-musleabi/lib/crti.o" "-L" "/r
ust/lib/rustlib/armv5te-unknown-linux-musleabi/lib" "/target/armv5te-unknown-linux-musleabi/release/examples/sender-ae67e9af7ffd2919.sender.2tpmamwp-cgu.0.rcgu.o" "/target/armv5te-unknown-linux-musleabi/release/examples/sender-ae67e9af7ffd
2919.sender.2tpmamwp-cgu.1.rcgu.o" "/target/armv5te-unknown-linux-musleabi/release/examples/sender-ae67e9af7ffd2919.sender.2tpmamwp-cgu.10.rcgu.o" "/target/armv5te-unknown-linux-musleabi/release/examples/sender-ae67e9af7ffd2919.sender.2tpm
amwp-cgu.11.rcgu.o" "/target/armv5te-unknown-linux-musleabi/release/examples/sender-ae67e9af7ffd2919.sender.2tpmamwp-cgu.12.rcgu.o" "/target/armv5te-unknown-linux-musleabi/release/examples/sender-ae67e9af7ffd2919.sender.2tpmamwp-cgu.13.rcg
u.o" "/target/armv5te-unknown-linux-musleabi/release/examples/sender-ae67e9af7ffd2919.sender.2tpmamwp-cgu.14.rcgu.o" "/target/armv5te-unknown-linux-musleabi/release/examples/sender-ae67e9af7ffd2919.sender.2tpmamwp-cgu.15.rcgu.o" "/target/a
rmv5te-unknown-linux-musleabi/release/examples/sender-ae67e9af7ffd2919.sender.2tpmamwp-cgu.2.rcgu.o" "/target/armv5te-unknown-linux-musleabi/release/examples/sender-ae67e9af7ffd2919.sender.2tpmamwp-cgu.3.rcgu.o" "/target/armv5te-unknown-li
nux-musleabi/release/examples/sender-ae67e9af7ffd2919.sender.2tpmamwp-cgu.4.rcgu.o" "/target/armv5te-unknown-linux-musleabi/release/examples/sender-ae67e9af7ffd2919.sender.2tpmamwp-cgu.5.rcgu.o" "/target/armv5te-unknown-linux-musleabi/rele
ase/examples/sender-ae67e9af7ffd2919.sender.2tpmamwp-cgu.6.rcgu.o" "/target/armv5te-unknown-linux-musleabi/release/examples/sender-ae67e9af7ffd2919.sender.2tpmamwp-cgu.7.rcgu.o" "/target/armv5te-unknown-linux-musleabi/release/examples/send
er-ae67e9af7ffd2919.sender.2tpmamwp-cgu.8.rcgu.o" "/target/armv5te-unknown-linux-musleabi/release/examples/sender-ae67e9af7ffd2919.sender.2tpmamwp-cgu.9.rcgu.o" "-o" "/target/armv5te-unknown-linux-musleabi/release/examples/sender-ae67e9af7
ffd2919" "/target/armv5te-unknown-linux-musleabi/release/examples/sender-ae67e9af7ffd2919.5frnvmjky50nsp1f.rcgu.o" "-Wl,--gc-sections" "-no-pie" "-Wl,-zrelro" "-Wl,-znow" "-Wl,-O1" "-nodefaultlibs" "-L" "/target/armv5te-unknown-linux-musle
abi/release/deps" "-L" "/target/release/deps" "-L" "/usr/local/arm-linux-musleabi/lib" "-L" "/rust/lib/rustlib/armv5te-unknown-linux-musleabi/l
ib" "-Wl,-Bstatic" "/target/armv5te-unknown-linux-musleabi/release/
deps/libchrono-8906c24961356f5d.rlib" "/target/armv5te-unknown-linux-musleabi/release/deps/libnum_integer-63a16a1928372cb0.rlib" "/target/armv5te-unknown-linux-musleabi/release/deps/libnum_traits-3a23e7e4666f92e2.rlib" "/target/armv5te-unk
nown-linux-musleabi/release/deps/libtime-539034810eb0046e.rlib" "/target/armv5te-unknown-linux-musleabi/release/deps/liblibc-21b083a3d3ab5c90.rlib" "/rust/lib/rustlib/armv5te-unknown-linux-musleabi/lib/libstd-30710e7d8f5f101a.rlib" "/rust/
lib/rustlib/armv5te-unknown-linux-musleabi/lib/libpanic_unwind-91d7324608b6a17b.rlib" "/rust/lib/rustlib/armv5te-unknown-linux-musleabi/lib/libhashbrown-a97e0e89225622e4.rlib" "/rust/lib/rustlib/armv5te-unknown-linux-musleabi/lib/librustc_
std_workspace_alloc-70409e4ba766500f.rlib" "/rust/lib/rustlib/armv5te-unknown-linux-musleabi/lib/libbacktrace-4a46bfa51bebadad.rlib" "/rust/lib/rustlib/armv5te-unknown-linux-musleabi/lib/libbacktrace_sys-e26ffb63956c66d6.rlib" "/rust/lib/r
ustlib/armv5te-unknown-linux-musleabi/lib/librustc_demangle-cdb472759f255559.rlib" "/rust/lib/rustlib/armv5te-unknown-linux-musleabi/lib/libunwind-3c1996f92c510542.rlib" "/rust/lib/rustlib/armv5te-unknown-linux-musleabi/lib/libcfg_if-c6d2b
eb10e58281e.rlib" "/rust/lib/rustlib/armv5te-unknown-linux-musleabi/lib/liblibc-cbc45462aec80c66.rlib" "/rust/lib/rustlib/armv5te-unknown-linux-musleabi/lib/liballoc-9b851db7befdb866.rlib" "/rust/lib/rustlib/armv5te-unknown-linux-musleabi/
lib/librustc_std_workspace_core-60d3961272fd7f14.rlib" "/rust/lib/rustlib/armv5te-unknown-linux-musleabi/lib/libcore-119270e0badc7554.rlib" "/rust/lib/rustlib/armv5te-unknown-linux-musleabi/lib/libcompiler_builtins-6891d957f70929ae.rlib" "
-Wl,-Bdynamic" "-lfoo" "-static" "/rust/lib/rustlib/armv5te-unknown-linux-musleabi/lib/crtn.o"
The various error messages include for example:
/project/.../foo.c:167: undefined reference to `printf'
It seem to me that it cannot link the musl-libc. I tried various things (e.g. -lc or passing -C target-feature=+crt-static, but it did not help).

Resources