Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Self build fails on macOS Monterey (M1) #10055

Closed
ken-matsui opened this issue Nov 7, 2021 · 3 comments
Closed

Self build fails on macOS Monterey (M1) #10055

ken-matsui opened this issue Nov 7, 2021 · 3 comments
Labels
C-bug Category: bug

Comments

@ken-matsui
Copy link

Problem

Following Working on Cargo, I tried to build Cargo by cargo build --verbose command below. However, the linking phase of cargo failed due to OpenSSL.

The main error is shown below:

  = note: ld: reference to symbol (which has not been assigned an address) __ZN4curl4init9INIT_CTOR17hf07493778f5f0015E in '__ZN4curl4init17h813a56f03992ef7eE' from /private/tmp/cargo/target/debug/deps/libcurl-fd4bb0321dc1012c.rlib(curl-fd4bb0321dc1012c.curl.99716010-cgu.2.rcgu.o) for architecture arm64
          clang: error: linker command failed with exit code 1 (use -v to see invocation)

Full errors:

   Compiling cargo v0.59.0 (/private/tmp/cargo)
     Running `rustc --crate-name cargo --edition=2021 src/bin/cargo/main.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C split-debuginfo=unpacked -C debuginfo=2 -C metadata=7e5c90286a6c777b -C extra-filename=-7e5c90286a6c777b --out-dir /private/tmp/cargo/target/debug/deps -C incremental=/private/tmp/cargo/target/debug/incremental -L dependency=/private/tmp/cargo/target/debug/deps --extern anyhow=/private/tmp/cargo/target/debug/deps/libanyhow-4d5ce29d3f2c85bb.rlib --extern atty=/private/tmp/cargo/target/debug/deps/libatty-da2c4d7f80617d9c.rlib --extern bytesize=/private/tmp/cargo/target/debug/deps/libbytesize-f255fe7614a80b1f.rlib --extern cargo=/private/tmp/cargo/target/debug/deps/libcargo-a0e7242d5f04e8f4.rlib --extern cargo_platform=/private/tmp/cargo/target/debug/deps/libcargo_platform-134cc8111595eaaf.rlib --extern cargo_util=/private/tmp/cargo/target/debug/deps/libcargo_util-ea11ab0c06492510.rlib --extern clap=/private/tmp/cargo/target/debug/deps/libclap-c15a6acc5be248c8.rlib --extern crates_io=/private/tmp/cargo/target/debug/deps/libcrates_io-2f3ab4953c73f4e6.rlib --extern crossbeam_utils=/private/tmp/cargo/target/debug/deps/libcrossbeam_utils-5c2ed1d3c2cb2dc3.rlib --extern curl=/private/tmp/cargo/target/debug/deps/libcurl-fd4bb0321dc1012c.rlib --extern curl_sys=/private/tmp/cargo/target/debug/deps/libcurl_sys-2e9dc46954540a19.rlib --extern env_logger=/private/tmp/cargo/target/debug/deps/libenv_logger-fcbfb940fee76868.rlib --extern filetime=/private/tmp/cargo/target/debug/deps/libfiletime-1b01550bf36f797a.rlib --extern flate2=/private/tmp/cargo/target/debug/deps/libflate2-0cf55cd139f03fba.rlib --extern git2=/private/tmp/cargo/target/debug/deps/libgit2-74d91c695619b2dc.rlib --extern git2_curl=/private/tmp/cargo/target/debug/deps/libgit2_curl-c547e12bef0b8fd7.rlib --extern glob=/private/tmp/cargo/target/debug/deps/libglob-697f7aaec2e755b3.rlib --extern hex=/private/tmp/cargo/target/debug/deps/libhex-4d226c024a798d7f.rlib --extern home=/private/tmp/cargo/target/debug/deps/libhome-8ea82dfb128b9df1.rlib --extern humantime=/private/tmp/cargo/target/debug/deps/libhumantime-ce6b1e7e6a39ca62.rlib --extern ignore=/private/tmp/cargo/target/debug/deps/libignore-a8ee901526ec677e.rlib --extern im_rc=/private/tmp/cargo/target/debug/deps/libim_rc-d07d2a04635e3303.rlib --extern itertools=/private/tmp/cargo/target/debug/deps/libitertools-25fd3100ede91153.rlib --extern jobserver=/private/tmp/cargo/target/debug/deps/libjobserver-585a311d2b63a6bd.rlib --extern lazy_static=/private/tmp/cargo/target/debug/deps/liblazy_static-2745487a1a96fbec.rlib --extern lazycell=/private/tmp/cargo/target/debug/deps/liblazycell-d2d4c32abcd5215c.rlib --extern libc=/private/tmp/cargo/target/debug/deps/liblibc-6719e0205e62e143.rlib --extern libgit2_sys=/private/tmp/cargo/target/debug/deps/liblibgit2_sys-14dd5a962ec7f4a2.rlib --extern log=/private/tmp/cargo/target/debug/deps/liblog-076c6a2b87c68dac.rlib --extern memchr=/private/tmp/cargo/target/debug/deps/libmemchr-4cffbd3f4bd1b674.rlib --extern num_cpus=/private/tmp/cargo/target/debug/deps/libnum_cpus-94c69de05dd34a0a.rlib --extern opener=/private/tmp/cargo/target/debug/deps/libopener-5e3079ee3743c011.rlib --extern os_info=/private/tmp/cargo/target/debug/deps/libos_info-6edc810cfcce28b7.rlib --extern percent_encoding=/private/tmp/cargo/target/debug/deps/libpercent_encoding-db100368c109251f.rlib --extern rustc_workspace_hack=/private/tmp/cargo/target/debug/deps/librustc_workspace_hack-d91dd8de30accb60.rlib --extern rustfix=/private/tmp/cargo/target/debug/deps/librustfix-1de7749b50b4d5bf.rlib --extern semver=/private/tmp/cargo/target/debug/deps/libsemver-1314731e30128712.rlib --extern serde=/private/tmp/cargo/target/debug/deps/libserde-743e8a9708050007.rlib --extern serde_ignored=/private/tmp/cargo/target/debug/deps/libserde_ignored-c74afad72be56451.rlib --extern serde_json=/private/tmp/cargo/target/debug/deps/libserde_json-6891288238c13d11.rlib --extern shell_escape=/private/tmp/cargo/target/debug/deps/libshell_escape-7304cb77c0e9f964.rlib --extern strip_ansi_escapes=/private/tmp/cargo/target/debug/deps/libstrip_ansi_escapes-b4e9af94e6fac55d.rlib --extern tar=/private/tmp/cargo/target/debug/deps/libtar-b0edf4c7b9913c79.rlib --extern tempfile=/private/tmp/cargo/target/debug/deps/libtempfile-ef0f844d83c4e851.rlib --extern termcolor=/private/tmp/cargo/target/debug/deps/libtermcolor-9e97de4427d771b2.rlib --extern toml=/private/tmp/cargo/target/debug/deps/libtoml-6b099ba3e86f1141.rlib --extern unicode_width=/private/tmp/cargo/target/debug/deps/libunicode_width-0b13b5839b2ed7be.rlib --extern unicode_xid=/private/tmp/cargo/target/debug/deps/libunicode_xid-588a934b0e757276.rlib --extern url=/private/tmp/cargo/target/debug/deps/liburl-578e31031cec59ec.rlib --extern walkdir=/private/tmp/cargo/target/debug/deps/libwalkdir-5bc48a4c6e6730fe.rlib -L /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/13.0.0/lib/darwin -L native=/private/tmp/cargo/target/debug/build/curl-sys-70d98a9894b7cb6a/out/build -L native=/private/tmp/cargo/target/debug/build/libnghttp2-sys-f9dbdd0a82b26f79/out/i/lib -L native=/private/tmp/cargo/target/debug/build/libgit2-sys-bc5f228af8b348e3/out/build -L native=/private/tmp/cargo/target/debug/build/libssh2-sys-5e5b31ac66e1f9bf/out/build -L 'native=/opt/homebrew/opt/openssl@3/lib'`
error: linking with `cc` failed: exit status: 1
  |
  = note: "cc" "-arch" "arm64" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.10l83cqxffhu1cnw.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.10pd7iotozn0y1bx.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.11dkw23ye8ivk4b4.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.1301c8l9p8le8bvd.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.13o6i1ovgr6i44pz.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.13psh0vonaec4brk.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.147v1ld9wkfsxw8f.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.159zgqx8pmoye1v1.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.164j2sdv0xiwo7sy.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.164qyrc8ocy21kny.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.16optnuw3ovkvuz1.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.17fey47q9g9n52iy.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.17yy48y9jimyat68.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.186x8i4ca32k7xvv.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.1b2x25jv5qaxpvvk.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.1cvng2xqwbqrb51w.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.1dr3wdo2ohnfsf40.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.1dz1u3f338156ghj.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.1e9rl31f5m44lad8.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.1fdkw4os764jipf1.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.1ftfc644nfc49st3.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.1g8w3fqk79cg83o7.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.1h5r2tr7n1o0d3ws.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.1i8v1yqymax4p9yl.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.1ilmh0upn3pn6lqu.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.1jr8lsli6c8kplou.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.1k6dm84llaancvv8.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.1kn81ht8fmphe77h.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.1l13iuqerpn4tgvz.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.1m1xwa86l7calb2g.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.1nfwns8fhj1wxjgj.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.1nl7569pgevjp5fb.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.1p41w3n9zsuhc95t.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.1pesrcrhlxhx8fqk.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.1pjueaiwhyqkqvs2.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.1rjhxt0pwv9bfomz.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.1s4uvy6rts4m8e0j.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.1suizmvkiifu92zx.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.1t54vm6rrremm8yb.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.1texfk5zk2c5d4fe.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.1u96p20ipa93rhj.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.1vo8yf92m565spl.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.1wq4fpzkrlz616xu.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.1xt4lrq7jmn9nmsu.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.1y4b7kbdtj79cbj0.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.1y69jwzow9t6wn3y.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.1yn2ybt25cu69puz.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.20v8albarf3n9c6t.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.21lq6y59m59dl4m8.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.22b85m9a9rc7oart.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.26eohyceuol7vqge.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.26mp8j6j1rnpc97z.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.271sogntohvoa12g.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.273ftjafvl2gmyz8.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.27jsoiy6ztou4bt.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.28c2mjalcxy22cot.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.29grpky7b3lgsspc.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.29o9h7sxx9wywo16.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.2a0ezjpdpvwbbqqm.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.2ar7twrebyzm3q22.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.2bjii83gz4g5rdqn.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.2c7cke2vopyjoifk.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.2ci63mj7mmj0dfft.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.2csl6qiwgqpomgv5.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.2d3j30ihxp0bozin.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.2dubcdmg9yywojz.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.2et2lzw8lvvfatp2.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.2hlib23s5mit285m.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.2hx1oie2if80sp00.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.2igokj6hxw9f9fne.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.2irvw8kq3r662a2h.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.2jhtttkci52agz8n.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.2jyniadduvgykpmp.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.2lwd4m24b75c92np.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.2m2dlburkufkz312.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.2m7fj4gd4xj4l78m.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.2p1zjbib1nwi3agd.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.2qi7qfq9umj12ny5.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.2qzmcrzv6k9r8oha.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.2r8lyblvnyvn6wxx.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.2tme5lq5t0recg34.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.2u0kxwk5wmuy0e6w.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.2ubco0bhyfww3oic.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.2vxaoccz7igyrj2s.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.2y6xzzgd0fg35elt.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.2yngi5zfga4t5qfy.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.2ypnmg17kjeodttp.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.30org4lqzr2owi4x.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.31rn1r1iz439jkze.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.31x2efzjkw0263lo.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.32avd9f7k18kpbzp.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.32lgxq3gl2uw5y1d.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.33azj1ty67exotvp.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.3627kqm45pc28ek0.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.37c7b28gcd1zl5kd.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.39e74pflq37mla31.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.3b8i6niq02p4g82l.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.3bloa8xt2jm6fmqe.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.3d6nokvyjv4vd6qu.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.3dkhsozuqhlkdd5a.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.3f33rpxg01l07upk.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.3frpsfzareozsxrr.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.3gtbt74qhxa65pn3.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.3iy44u9jnl0cvwrn.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.3j5gp5dbiuzh8hjv.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.3k35zqzzix1m6b0w.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.3lhdlfo67a23s5ut.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.3mc3ljbafxo8w7s7.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.3mqc5xkz9fk3oodv.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.3p978akk2qnm36wa.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.3pdti7l371sikqic.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.3r1k09civ72mgpda.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.3t1gnotwcelfkpzc.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.3tbbkrhcei7ccygq.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.3thea2cs8ivih38d.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.3v584dkybwr28j7c.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.3va09apxdnzchj51.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.3vsrpz93sqgdeitr.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.3vxjexuv5wzgje33.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.3yztjnyflvo6jcoy.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.3zen8x047r1tscil.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.3zvv2nlh1ti3223.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.3zzhk5vgwpcxr2x2.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.400su8ij7ex6uh03.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.40ew8nwaid6i3xh8.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.40n1x8zqqu8vsdoh.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.426u1bswn07y9euy.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.42zpgwzd7i9c5lg4.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.45uq6xoe74736i32.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.46g4osvshmmldkm.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.47sxkdii3gnhxdmv.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.488gcjwboe38z0b3.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.48nxua98cb75nubg.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.48uvaw5vikjlx7nq.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.49flgtbjeraahaj3.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.4arfs5uyei5m075j.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.4auvn4yywfum9qe4.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.4cp2s64lofc7x2cy.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.4cv4m3z42u690svi.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.4cy653qbmk5bd96b.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.4d36ikrzkui9d6w2.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.4dkcg26ait7esqao.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.4dye2jbfyf8d1ok1.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.4es28v1ctrqh5azu.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.4fcxjj51rodsozez.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.4flh0iawaq03m0ng.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.4focd14l4gcy9b7u.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.4gm5qpvzs5zki7zv.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.4j06h2prl6huaxkq.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.4mehqtwspqmq3z24.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.4n979p5ukfemjkhd.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.4nr29h4urep1bilv.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.4ohuy0i8qw3p8bth.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.4oxbpkck4auvbzxb.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.4oyahzei30k3npoj.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.4ozuz5hnxmikyu6m.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.4pbes4j1u307q4k1.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.4qrp5ukrl9szi99l.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.4rkx1p1znbbdv0rp.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.4ry571jxt20xl6f2.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.4sgsh5v9fau3d9xm.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.4tl07crdyknoghfn.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.4ubc75n3vx6hf97s.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.4v5ekcc93j3h2k0r.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.4vxkifqv8f0xujd.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.4w7yw35j2kqkhx70.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.4x0yevus85ry2t4e.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.4xdtxcryz1bgoh64.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.4xmbdw2s9zvp6w5a.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.4yvx0ftg3rergrs0.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.4zjdlg0qrdvu2c8l.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.50ynfcdyvncsd9g5.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.519c9v8ud019fvt2.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.51fgbqbiq05ec596.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.52easvadularttqu.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.551z2ymv35bq2udm.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.55srarh53kmno570.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.577emarkg6e7yeoa.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.58gycocenq5y10t3.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.59eujelm59hd6pmt.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.5a5aao6o6nc5gh7w.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.5d3mzc4iuayullcp.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.5dew9u89hbiaks8z.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.5ey7i5yvvql9dctb.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.5f7vrmu5rz3kibhr.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.5g6bjch92vdnttg3.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.6utpm23bym1ckqi.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.77g28q8rbp8brh0.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.a329rneatjdnr4w.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.am99czgogfiepad.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.as2f8q6qy1d7sdg.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.audg4fud9dirofw.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.ejlesy2g3v93exe.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.elwintywfnh1pqc.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.hg5liqbgcno06ac.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.lc3nzzbtewofdzx.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.ldgy0mpm4yn53sr.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.mxnvvndxmf3y3wb.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.n5sbxv1vtzeroa8.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.n6yau5qm151mcks.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.qk4xwyk9q9qc1zc.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.rj6pjqo96f4fy0v.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.sg4q92asncdiucn.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.sv827gxmg6aujmq.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.t02h30vaya0u31a.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.tigg1hkgdfzw39q.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.tq8ut2ojhhgz3il.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.vj0hxij8e1ort72.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.vki920ly39g9jqp.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.wj5aloie3chy6x1.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.wox17c6ah9zhhxu.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.wvp75zoy7sndw3a.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.xgudix4et785grg.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.xihm0kiij11fnsb.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.xvvvz2buttoc62j.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.zevsivig89wv47n.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.zvszknn0cgpcixm.rcgu.o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b.35rex1f1gzia8evq.rcgu.o" "-L" "/private/tmp/cargo/target/debug/deps" "-L" "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/13.0.0/lib/darwin" "-L" "/private/tmp/cargo/target/debug/build/curl-sys-70d98a9894b7cb6a/out/build" "-L" "/private/tmp/cargo/target/debug/build/libnghttp2-sys-f9dbdd0a82b26f79/out/i/lib" "-L" "/private/tmp/cargo/target/debug/build/libgit2-sys-bc5f228af8b348e3/out/build" "-L" "/private/tmp/cargo/target/debug/build/libssh2-sys-5e5b31ac66e1f9bf/out/build" "-L" "/opt/homebrew/opt/openssl@3/lib" "-L" "/Users/user/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib" "/private/tmp/cargo/target/debug/deps/libgit2_curl-c547e12bef0b8fd7.rlib" "/private/tmp/cargo/target/debug/deps/libenv_logger-fcbfb940fee76868.rlib" "/private/tmp/cargo/target/debug/deps/libos_info-6edc810cfcce28b7.rlib" "/private/tmp/cargo/target/debug/deps/libcargo-a0e7242d5f04e8f4.rlib" "/private/tmp/cargo/target/debug/deps/libhome-8ea82dfb128b9df1.rlib" "/private/tmp/cargo/target/debug/deps/libopener-5e3079ee3743c011.rlib" "/private/tmp/cargo/target/debug/deps/libunicode_xid-588a934b0e757276.rlib" "/private/tmp/cargo/target/debug/deps/libim_rc-d07d2a04635e3303.rlib" "/private/tmp/cargo/target/debug/deps/librand_xoshiro-051e968df0975228.rlib" "/private/tmp/cargo/target/debug/deps/librand_core-713b47568cca1fa7.rlib" "/private/tmp/cargo/target/debug/deps/libsized_chunks-b19c9ba7535f2f96.rlib" "/private/tmp/cargo/target/debug/deps/libbitmaps-27cfc06277dd5811.rlib" "/private/tmp/cargo/target/debug/deps/libtypenum-dec3d7d3e88c6917.rlib" "/private/tmp/cargo/target/debug/deps/libtoml-6b099ba3e86f1141.rlib" "/private/tmp/cargo/target/debug/deps/libhumantime-ce6b1e7e6a39ca62.rlib" "/private/tmp/cargo/target/debug/deps/libstrip_ansi_escapes-b4e9af94e6fac55d.rlib" "/private/tmp/cargo/target/debug/deps/libvte-c1f6a4c222f16781.rlib" "/private/tmp/cargo/target/debug/deps/libutf8parse-84ad10cfd77a0f6e.rlib" "/private/tmp/cargo/target/debug/deps/libarrayvec-162769256518181b.rlib" "/private/tmp/cargo/target/debug/deps/libnum_cpus-94c69de05dd34a0a.rlib" "/private/tmp/cargo/target/debug/deps/libserde_ignored-c74afad72be56451.rlib" "/private/tmp/cargo/target/debug/deps/libclap-c15a6acc5be248c8.rlib" "/private/tmp/cargo/target/debug/deps/libvec_map-21564ea24161c51a.rlib" "/private/tmp/cargo/target/debug/deps/libtextwrap-ee9f745840050d8d.rlib" "/private/tmp/cargo/target/debug/deps/libunicode_width-0b13b5839b2ed7be.rlib" "/private/tmp/cargo/target/debug/deps/libstrsim-7cb1a414afdd4411.rlib" "/private/tmp/cargo/target/debug/deps/libatty-da2c4d7f80617d9c.rlib" "/private/tmp/cargo/target/debug/deps/libansi_term-b5cba4b83c95fb29.rlib" "/private/tmp/cargo/target/debug/deps/libignore-a8ee901526ec677e.rlib" "/private/tmp/cargo/target/debug/deps/libthread_local-1b10969ba3abad83.rlib" "/private/tmp/cargo/target/debug/deps/libonce_cell-563dc3acd7f06b26.rlib" "/private/tmp/cargo/target/debug/deps/libglobset-2ed4af37850c6c3f.rlib" "/private/tmp/cargo/target/debug/deps/libfnv-0129d419af574a85.rlib" "/private/tmp/cargo/target/debug/deps/libregex-71046dd49eaae0ee.rlib" "/private/tmp/cargo/target/debug/deps/libregex_syntax-1b8226eb7ca26534.rlib" "/private/tmp/cargo/target/debug/deps/libbstr-37462fd074864549.rlib" "/private/tmp/cargo/target/debug/deps/libaho_corasick-d949042d78138f46.rlib" "/private/tmp/cargo/target/debug/deps/libmemchr-4cffbd3f4bd1b674.rlib" "/private/tmp/cargo/target/debug/deps/libgit2-74d91c695619b2dc.rlib" "/private/tmp/cargo/target/debug/deps/liblibgit2_sys-14dd5a962ec7f4a2.rlib" "/private/tmp/cargo/target/debug/deps/liblibssh2_sys-45cd54142cd64250.rlib" "/private/tmp/cargo/target/debug/deps/libopenssl_sys-23112d9fd2baa26e.rlib" "/private/tmp/cargo/target/debug/deps/libbitflags-e9a5a9a3a5bd735d.rlib" "/private/tmp/cargo/target/debug/deps/libcrates_io-2f3ab4953c73f4e6.rlib" "/private/tmp/cargo/target/debug/deps/librustfix-1de7749b50b4d5bf.rlib" "/private/tmp/cargo/target/debug/deps/libtar-b0edf4c7b9913c79.rlib" "/private/tmp/cargo/target/debug/deps/libflate2-0cf55cd139f03fba.rlib" "/private/tmp/cargo/target/debug/deps/libcrc32fast-acb0f9d1fbf1e51e.rlib" "/private/tmp/cargo/target/debug/deps/libserde_json-6891288238c13d11.rlib" "/private/tmp/cargo/target/debug/deps/libryu-f1feddd0e09bd4a0.rlib" "/private/tmp/cargo/target/debug/deps/libitoa-e4c8bf898d3e9bcc.rlib" "/private/tmp/cargo/target/debug/deps/libitertools-25fd3100ede91153.rlib" "/private/tmp/cargo/target/debug/deps/libeither-403ba3a98edf0797.rlib" "/private/tmp/cargo/target/debug/deps/libglob-697f7aaec2e755b3.rlib" "/private/tmp/cargo/target/debug/deps/libtermcolor-9e97de4427d771b2.rlib" "/private/tmp/cargo/target/debug/deps/libcurl-fd4bb0321dc1012c.rlib" "/private/tmp/cargo/target/debug/deps/libsocket2-583327d32e770dde.rlib" "/private/tmp/cargo/target/debug/deps/libcurl_sys-2e9dc46954540a19.rlib" "/private/tmp/cargo/target/debug/deps/liblibz_sys-0213e0f88fbfde54.rlib" "/private/tmp/cargo/target/debug/deps/liblibnghttp2_sys-ae654d1477aa3cd2.rlib" "/private/tmp/cargo/target/debug/deps/libbytesize-f255fe7614a80b1f.rlib" "/private/tmp/cargo/target/debug/deps/liburl-578e31031cec59ec.rlib" "/private/tmp/cargo/target/debug/deps/libidna-beabdd6fc0ab56f1.rlib" "/private/tmp/cargo/target/debug/deps/libunicode_normalization-49206b5915c523bf.rlib" "/private/tmp/cargo/target/debug/deps/libtinyvec-20dbcbc4f06b5753.rlib" "/private/tmp/cargo/target/debug/deps/libtinyvec_macros-958eb713531abfad.rlib" "/private/tmp/cargo/target/debug/deps/libunicode_bidi-c1abd1b59c5733c2.rlib" "/private/tmp/cargo/target/debug/deps/libform_urlencoded-e8bbe8e103133b9d.rlib" "/private/tmp/cargo/target/debug/deps/libpercent_encoding-db100368c109251f.rlib" "/private/tmp/cargo/target/debug/deps/libmatches-a628a64ce8230e91.rlib" "/private/tmp/cargo/target/debug/deps/libsemver-1314731e30128712.rlib" "/private/tmp/cargo/target/debug/deps/libcrossbeam_utils-5c2ed1d3c2cb2dc3.rlib" "/private/tmp/cargo/target/debug/deps/liblazy_static-2745487a1a96fbec.rlib" "/private/tmp/cargo/target/debug/deps/liblazycell-d2d4c32abcd5215c.rlib" "/private/tmp/cargo/target/debug/deps/libcargo_platform-134cc8111595eaaf.rlib" "/private/tmp/cargo/target/debug/deps/libserde-743e8a9708050007.rlib" "/private/tmp/cargo/target/debug/deps/libcargo_util-ea11ab0c06492510.rlib" "/private/tmp/cargo/target/debug/deps/libhex-4d226c024a798d7f.rlib" "/private/tmp/cargo/target/debug/deps/libwalkdir-5bc48a4c6e6730fe.rlib" "/private/tmp/cargo/target/debug/deps/libsame_file-ebe26f4992e66751.rlib" "/private/tmp/cargo/target/debug/deps/libcrypto_hash-64c3ffa57902bea3.rlib" "/private/tmp/cargo/target/debug/deps/libhex-000b11e71bd60bca.rlib" "/private/tmp/cargo/target/debug/deps/libcommoncrypto-4fc0f82412814a07.rlib" "/private/tmp/cargo/target/debug/deps/libcommoncrypto_sys-47544b417eaff892.rlib" "/private/tmp/cargo/target/debug/deps/libshell_escape-7304cb77c0e9f964.rlib" "/private/tmp/cargo/target/debug/deps/libjobserver-585a311d2b63a6bd.rlib" "/private/tmp/cargo/target/debug/deps/libcore_foundation-f3d95a7fed739eba.rlib" "/private/tmp/cargo/target/debug/deps/libcore_foundation_sys-b3bb6b57e0c56c85.rlib" "/private/tmp/cargo/target/debug/deps/libtempfile-ef0f844d83c4e851.rlib" "/private/tmp/cargo/target/debug/deps/librand-170f427882d2641f.rlib" "/private/tmp/cargo/target/debug/deps/librand_chacha-ce9f3a0118e26cc7.rlib" "/private/tmp/cargo/target/debug/deps/libppv_lite86-bc5d1be8138fe7e1.rlib" "/private/tmp/cargo/target/debug/deps/librand_core-06a40b4df4afbfbd.rlib" "/private/tmp/cargo/target/debug/deps/libgetrandom-6e4ac34ca6480d2b.rlib" "/private/tmp/cargo/target/debug/deps/libremove_dir_all-f5f3e140ca8965a9.rlib" "/private/tmp/cargo/target/debug/deps/libfiletime-1b01550bf36f797a.rlib" "/private/tmp/cargo/target/debug/deps/liblibc-6719e0205e62e143.rlib" "/private/tmp/cargo/target/debug/deps/liblog-076c6a2b87c68dac.rlib" "/private/tmp/cargo/target/debug/deps/libcfg_if-9a8e0d101f07c9ee.rlib" "/private/tmp/cargo/target/debug/deps/libanyhow-4d5ce29d3f2c85bb.rlib" "/Users/user/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libstd-3e9242c3cd2b7504.rlib" "/Users/user/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libpanic_unwind-21fb160eabff0de9.rlib" "/Users/user/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libobject-db30465a1eaface5.rlib" "/Users/user/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libmemchr-e382952d2c548344.rlib" "/Users/user/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libaddr2line-ec20cbcde7f93da6.rlib" "/Users/user/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libgimli-9ab26dd50e2d2400.rlib" "/Users/user/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libstd_detect-2a0541465d7990f5.rlib" "/Users/user/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/librustc_demangle-ca5a8bf0e1c973cd.rlib" "/Users/user/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libhashbrown-661f613758a122d7.rlib" "/Users/user/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/librustc_std_workspace_alloc-e3fb6213fb083b7c.rlib" "/Users/user/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libunwind-e47fb12d3d9565f1.rlib" "/Users/user/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libcfg_if-5d995d79ef7c7cbe.rlib" "/Users/user/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/liblibc-195c03df6e48132d.rlib" "/Users/user/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/liballoc-706d571a09b848f6.rlib" "/Users/user/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/librustc_std_workspace_core-581e7c3ef8936945.rlib" "/Users/user/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libcore-61f7a53bba9c6667.rlib" "/Users/user/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libcompiler_builtins-62ccedd146f025b3.rlib" "-liconv" "-framework" "Security" "-framework" "CoreFoundation" "-lssl" "-lcrypto" "-lclang_rt.osx" "-framework" "Security" "-framework" "CoreFoundation" "-framework" "SystemConfiguration" "-lz" "-framework" "CoreFoundation" "-liconv" "-lSystem" "-lresolv" "-lc" "-lm" "-liconv" "-L" "/Users/user/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib" "-o" "/private/tmp/cargo/target/debug/deps/cargo-7e5c90286a6c777b" "-Wl,-dead_strip" "-nodefaultlibs"
  = note: ld: reference to symbol (which has not been assigned an address) __ZN4curl4init9INIT_CTOR17hf07493778f5f0015E in '__ZN4curl4init17h813a56f03992ef7eE' from /private/tmp/cargo/target/debug/deps/libcurl-fd4bb0321dc1012c.rlib(curl-fd4bb0321dc1012c.curl.99716010-cgu.2.rcgu.o) for architecture arm64
          clang: error: linker command failed with exit code 1 (use -v to see invocation)


error: could not compile `cargo` due to previous error

Caused by:
  process didn't exit successfully: `rustc --crate-name cargo --edition=2021 src/bin/cargo/main.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C split-debuginfo=unpacked -C debuginfo=2 -C metadata=7e5c90286a6c777b -C extra-filename=-7e5c90286a6c777b --out-dir /private/tmp/cargo/target/debug/deps -C incremental=/private/tmp/cargo/target/debug/incremental -L dependency=/private/tmp/cargo/target/debug/deps --extern anyhow=/private/tmp/cargo/target/debug/deps/libanyhow-4d5ce29d3f2c85bb.rlib --extern atty=/private/tmp/cargo/target/debug/deps/libatty-da2c4d7f80617d9c.rlib --extern bytesize=/private/tmp/cargo/target/debug/deps/libbytesize-f255fe7614a80b1f.rlib --extern cargo=/private/tmp/cargo/target/debug/deps/libcargo-a0e7242d5f04e8f4.rlib --extern cargo_platform=/private/tmp/cargo/target/debug/deps/libcargo_platform-134cc8111595eaaf.rlib --extern cargo_util=/private/tmp/cargo/target/debug/deps/libcargo_util-ea11ab0c06492510.rlib --extern clap=/private/tmp/cargo/target/debug/deps/libclap-c15a6acc5be248c8.rlib --extern crates_io=/private/tmp/cargo/target/debug/deps/libcrates_io-2f3ab4953c73f4e6.rlib --extern crossbeam_utils=/private/tmp/cargo/target/debug/deps/libcrossbeam_utils-5c2ed1d3c2cb2dc3.rlib --extern curl=/private/tmp/cargo/target/debug/deps/libcurl-fd4bb0321dc1012c.rlib --extern curl_sys=/private/tmp/cargo/target/debug/deps/libcurl_sys-2e9dc46954540a19.rlib --extern env_logger=/private/tmp/cargo/target/debug/deps/libenv_logger-fcbfb940fee76868.rlib --extern filetime=/private/tmp/cargo/target/debug/deps/libfiletime-1b01550bf36f797a.rlib --extern flate2=/private/tmp/cargo/target/debug/deps/libflate2-0cf55cd139f03fba.rlib --extern git2=/private/tmp/cargo/target/debug/deps/libgit2-74d91c695619b2dc.rlib --extern git2_curl=/private/tmp/cargo/target/debug/deps/libgit2_curl-c547e12bef0b8fd7.rlib --extern glob=/private/tmp/cargo/target/debug/deps/libglob-697f7aaec2e755b3.rlib --extern hex=/private/tmp/cargo/target/debug/deps/libhex-4d226c024a798d7f.rlib --extern home=/private/tmp/cargo/target/debug/deps/libhome-8ea82dfb128b9df1.rlib --extern humantime=/private/tmp/cargo/target/debug/deps/libhumantime-ce6b1e7e6a39ca62.rlib --extern ignore=/private/tmp/cargo/target/debug/deps/libignore-a8ee901526ec677e.rlib --extern im_rc=/private/tmp/cargo/target/debug/deps/libim_rc-d07d2a04635e3303.rlib --extern itertools=/private/tmp/cargo/target/debug/deps/libitertools-25fd3100ede91153.rlib --extern jobserver=/private/tmp/cargo/target/debug/deps/libjobserver-585a311d2b63a6bd.rlib --extern lazy_static=/private/tmp/cargo/target/debug/deps/liblazy_static-2745487a1a96fbec.rlib --extern lazycell=/private/tmp/cargo/target/debug/deps/liblazycell-d2d4c32abcd5215c.rlib --extern libc=/private/tmp/cargo/target/debug/deps/liblibc-6719e0205e62e143.rlib --extern libgit2_sys=/private/tmp/cargo/target/debug/deps/liblibgit2_sys-14dd5a962ec7f4a2.rlib --extern log=/private/tmp/cargo/target/debug/deps/liblog-076c6a2b87c68dac.rlib --extern memchr=/private/tmp/cargo/target/debug/deps/libmemchr-4cffbd3f4bd1b674.rlib --extern num_cpus=/private/tmp/cargo/target/debug/deps/libnum_cpus-94c69de05dd34a0a.rlib --extern opener=/private/tmp/cargo/target/debug/deps/libopener-5e3079ee3743c011.rlib --extern os_info=/private/tmp/cargo/target/debug/deps/libos_info-6edc810cfcce28b7.rlib --extern percent_encoding=/private/tmp/cargo/target/debug/deps/libpercent_encoding-db100368c109251f.rlib --extern rustc_workspace_hack=/private/tmp/cargo/target/debug/deps/librustc_workspace_hack-d91dd8de30accb60.rlib --extern rustfix=/private/tmp/cargo/target/debug/deps/librustfix-1de7749b50b4d5bf.rlib --extern semver=/private/tmp/cargo/target/debug/deps/libsemver-1314731e30128712.rlib --extern serde=/private/tmp/cargo/target/debug/deps/libserde-743e8a9708050007.rlib --extern serde_ignored=/private/tmp/cargo/target/debug/deps/libserde_ignored-c74afad72be56451.rlib --extern serde_json=/private/tmp/cargo/target/debug/deps/libserde_json-6891288238c13d11.rlib --extern shell_escape=/private/tmp/cargo/target/debug/deps/libshell_escape-7304cb77c0e9f964.rlib --extern strip_ansi_escapes=/private/tmp/cargo/target/debug/deps/libstrip_ansi_escapes-b4e9af94e6fac55d.rlib --extern tar=/private/tmp/cargo/target/debug/deps/libtar-b0edf4c7b9913c79.rlib --extern tempfile=/private/tmp/cargo/target/debug/deps/libtempfile-ef0f844d83c4e851.rlib --extern termcolor=/private/tmp/cargo/target/debug/deps/libtermcolor-9e97de4427d771b2.rlib --extern toml=/private/tmp/cargo/target/debug/deps/libtoml-6b099ba3e86f1141.rlib --extern unicode_width=/private/tmp/cargo/target/debug/deps/libunicode_width-0b13b5839b2ed7be.rlib --extern unicode_xid=/private/tmp/cargo/target/debug/deps/libunicode_xid-588a934b0e757276.rlib --extern url=/private/tmp/cargo/target/debug/deps/liburl-578e31031cec59ec.rlib --extern walkdir=/private/tmp/cargo/target/debug/deps/libwalkdir-5bc48a4c6e6730fe.rlib -L /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/13.0.0/lib/darwin -L native=/private/tmp/cargo/target/debug/build/curl-sys-70d98a9894b7cb6a/out/build -L native=/private/tmp/cargo/target/debug/build/libnghttp2-sys-f9dbdd0a82b26f79/out/i/lib -L native=/private/tmp/cargo/target/debug/build/libgit2-sys-bc5f228af8b348e3/out/build -L native=/private/tmp/cargo/target/debug/build/libssh2-sys-5e5b31ac66e1f9bf/out/build -L 'native=/opt/homebrew/opt/openssl@3/lib'` (exit status: 1)

Steps

  1. Clone a fork of rust-lang/cargo
  2. cd cargo
  3. cargo build

Possible Solution(s)

Downgrade the OpenSSL version or change the C compiler from the Apple clang (because the Apple clang often behaves strangely)? However, I don't know how Cargo chooses the OpenSSL library directory and a C compiler internally.

Or please let me know if something else went wrong.

Notes

  • Architecture
$ uname -av
Darwin Kens-MacBook-Pro-2021.local 21.1.0 Darwin Kernel Version 21.1.0: Wed Oct 13 17:33:24 PDT 2021; root:xnu-8019.41.5~1/RELEASE_ARM64_T8101 arm64
  • OS
$ sw_vers
ProductName:    macOS
ProductVersion: 12.0.1
BuildVersion:   21A559
  • OpenSSL
$ openssl version
OpenSSL 3.0.0 7 sep 2021 (Library: OpenSSL 3.0.0 7 sep 2021)
  • C compiler
$ cc --version  
Apple clang version 13.0.0 (clang-1300.0.29.3)
Target: arm64-apple-darwin21.1.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin

Version

cargo 1.56.0 (4ed5d137b 2021-10-04)
release: 1.56.0
commit-hash: 4ed5d137baff5eccf1bae5a7b2ae4b57efad4a7d
commit-date: 2021-10-04
@ken-matsui ken-matsui added the C-bug Category: bug label Nov 7, 2021
@alexcrichton
Copy link
Member

The upstream issue for this I believe is alexcrichton/curl-rust#417

@ken-matsui
Copy link
Author

@alexcrichton
Thank you so much for linking the issue. It seems having the same problem.

@ken-matsui
Copy link
Author

Thanks to alexcrichton/curl-rust#426, this issue was also fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: bug
Projects
None yet
Development

No branches or pull requests

2 participants