Closed alexreg closed 2 years ago
It looks like it tries to build for x86_64 despite the architecture being arm64.
$ cargo install cargo-outdated Updating crates.io index Installing cargo-outdated v0.11.1 Compiling libc v0.2.135 Compiling pkg-config v0.3.25 Compiling proc-macro2 v1.0.47 Compiling unicode-ident v1.0.5 Compiling quote v1.0.21 Compiling autocfg v1.1.0 Compiling cfg-if v1.0.0 Compiling syn v1.0.102 Compiling serde_derive v1.0.145 Compiling serde v1.0.145 Compiling log v0.4.17 Compiling memchr v2.5.0 Compiling crc32fast v1.3.2 Compiling tinyvec_macros v0.1.0 Compiling percent-encoding v2.2.0 Compiling anyhow v1.0.65 Compiling typenum v1.15.0 Compiling unicode-bidi v0.3.8 Compiling core-foundation-sys v0.8.3 Compiling curl v0.4.44 Compiling bitflags v1.3.2 Compiling serde_json v1.0.86 Compiling regex-syntax v0.6.27 Compiling itoa v1.0.4 Compiling crossbeam-utils v0.8.12 Compiling same-file v1.0.6 Compiling ryu v1.0.11 Compiling unicode-width v0.1.10 Compiling hashbrown v0.12.3 Compiling version_check v0.9.4 Compiling either v1.8.0 Compiling remove_dir_all v0.5.3 Compiling fnv v1.0.7 Compiling os_str_bytes v6.3.0 Compiling once_cell v1.15.0 Compiling utf8parse v0.2.0 Compiling hex v0.3.2 Compiling bytes v1.2.1 Compiling fastrand v1.8.0 Compiling rand_core v0.6.4 Compiling termcolor v1.1.3 Compiling arrayvec v0.5.2 Compiling semver v1.0.14 Compiling shell-escape v0.1.5 Compiling strsim v0.10.0 Compiling humantime v2.1.0 Compiling hex v0.4.3 Compiling lazy_static v1.4.0 Compiling textwrap v0.15.1 Compiling glob v0.3.0 Compiling opener v0.5.0 Compiling ansi_term v0.12.1 Compiling strsim v0.8.0 Compiling unicode-xid v0.2.4 Compiling home v0.5.4 Compiling bytesize v1.1.0 Compiling rustc-workspace-hack v1.0.0 Compiling lazycell v1.3.0 Compiling vec_map v0.8.2 Compiling tinyvec v1.6.0 Compiling indexmap v1.9.1 Compiling form_urlencoded v1.1.0 Compiling walkdir v2.3.2 Compiling textwrap v0.11.0 Compiling tabwriter v1.2.1 Compiling itertools v0.10.5 Compiling thread_local v1.1.4 Compiling clap_lex v0.2.4 Compiling im-rc v15.1.0 Compiling rand_xoshiro v0.6.0 Compiling unicode-normalization v0.1.22 Compiling atty v0.2.14 Compiling socket2 v0.4.7 Compiling commoncrypto-sys v0.2.0 Compiling filetime v0.2.17 Compiling core-foundation v0.9.3 Compiling jobserver v0.1.25 Compiling tempfile v3.3.0 Compiling num_cpus v1.13.1 Compiling aho-corasick v0.7.19 Compiling bstr v0.2.17 Compiling combine v4.6.6 Compiling clap v2.34.0 Compiling commoncrypto v0.2.0 Compiling tar v0.4.38 Compiling idna v0.3.0 Compiling bitmaps v2.1.0 Compiling cc v1.0.73 Compiling clap v3.2.22 Compiling vte_generate_state_changes v0.1.1 Compiling crypto-hash v0.3.4 Compiling regex v1.6.0 Compiling url v2.3.1 Compiling sized-chunks v0.6.5 Compiling cargo-util v0.1.2 Compiling libz-sys v1.1.8 Compiling openssl-sys v0.9.76 Compiling libnghttp2-sys v0.1.7+1.45.0 Compiling curl-sys v0.4.56+curl-7.83.1 Compiling libssh2-sys v0.2.23 Compiling libgit2-sys v0.13.4+1.4.2 Compiling vte v0.10.1 Compiling globset v0.4.9 Compiling env_logger v0.9.1 Compiling ignore v0.4.18 Compiling strip-ansi-escapes v0.1.1 Compiling flate2 v1.0.24 Compiling cargo v0.61.1 Compiling kstring v1.0.6 Compiling os_info v3.5.1 Compiling cargo-platform v0.1.2 Compiling serde_ignored v0.1.5 Compiling toml v0.5.9 Compiling toml_edit v0.13.4 Compiling rustfix v0.6.1 Compiling crates-io v0.34.0 Compiling git2 v0.14.4 Compiling git2-curl v0.15.0 Compiling cargo-outdated v0.11.1 error: linking with `cc` failed: exit status: 1 | = note: "cc" "-m64" "-arch" "x86_64" "/var/folders/cp/qx0df5kx497_rygnyvv9xl8m0000gn/T/rustcVl0wbe/symbols.o" "/var/folders/cp/qx0df5kx497_rygnyvv9xl8m0000gn/T/cargo-installpCoEQn/release/deps/cargo_outdated-5f80c148867fb452.cargo_outdated.4102d194-cgu.11.rcgu.o" "-L" "/var/folders/cp/qx0df5kx497_rygnyvv9xl8m0000gn/T/cargo-installpCoEQn/release/deps" "-L" "/Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/lib/darwin" "-L" "/var/folders/cp/qx0df5kx497_rygnyvv9xl8m0000gn/T/cargo-installpCoEQn/release/build/curl-sys-1c87478d2d605bd0/out/build" "-L" "/var/folders/cp/qx0df5kx497_rygnyvv9xl8m0000gn/T/cargo-installpCoEQn/release/build/libnghttp2-sys-c30024a0135265bf/out/i/lib" "-L" "/var/folders/cp/qx0df5kx497_rygnyvv9xl8m0000gn/T/cargo-installpCoEQn/release/build/libgit2-sys-d3f3d1cd294a7e61/out/build" "-L" "/var/folders/cp/qx0df5kx497_rygnyvv9xl8m0000gn/T/cargo-installpCoEQn/release/build/libssh2-sys-6bd7419da4c78892/out/build" "-L" "/opt/homebrew/opt/openssl@3/lib" "-L" "/Users/alex/.rustup/toolchains/nightly-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib" "/var/folders/cp/qx0df5kx497_rygnyvv9xl8m0000gn/T/rustcVl0wbe/liblibgit2_sys-85f085f94b44c8b3.rlib" "/var/folders/cp/qx0df5kx497_rygnyvv9xl8m0000gn/T/rustcVl0wbe/liblibssh2_sys-5071ac28038616f1.rlib" "/var/folders/cp/qx0df5kx497_rygnyvv9xl8m0000gn/T/rustcVl0wbe/libcurl_sys-b89985355503ea62.rlib" "/var/folders/cp/qx0df5kx497_rygnyvv9xl8m0000gn/T/rustcVl0wbe/liblibnghttp2_sys-3af5156887dfcb1a.rlib" "/Users/alex/.rustup/toolchains/nightly-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libcompiler_builtins-ff0e8884ef5b55d4.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/alex/.rustup/toolchains/nightly-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib" "-o" "/var/folders/cp/qx0df5kx497_rygnyvv9xl8m0000gn/T/cargo-installpCoEQn/release/deps/cargo_outdated-5f80c148867fb452" "-Wl,-dead_strip" "-nodefaultlibs" = note: ld: warning: ignoring file /opt/homebrew/opt/openssl@3/lib/libssl.dylib, building for macOS-x86_64 but attempting to link with file built for macOS-arm64 ld: warning: ignoring file /opt/homebrew/opt/openssl@3/lib/libcrypto.dylib, building for macOS-x86_64 but attempting to link with file built for macOS-arm64 Undefined symbols for architecture x86_64: "_BIO_ctrl", referenced from: __libssh2_pub_priv_keyfile in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) __libssh2_pub_priv_keyfilememory in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) "_BIO_free", referenced from: __libssh2_rsa_new_private_frommemory in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) __libssh2_rsa_new_private in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) __libssh2_dsa_new_private_frommemory in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) __libssh2_dsa_new_private in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) __libssh2_ecdsa_new_private_frommemory in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) __libssh2_ed25519_new_private_frommemory in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) __libssh2_ecdsa_new_private in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) ... "_BIO_new_file", referenced from: __libssh2_rsa_new_private in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) __libssh2_dsa_new_private in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) __libssh2_ecdsa_new_private in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) __libssh2_pub_priv_keyfile in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) "_BIO_new_mem_buf", referenced from: __libssh2_rsa_new_private_frommemory in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) __libssh2_dsa_new_private_frommemory in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) __libssh2_ecdsa_new_private_frommemory in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) __libssh2_ed25519_new_private_frommemory in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) __libssh2_pub_priv_keyfilememory in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) "_BN_CTX_free", referenced from: __libssh2_ecdsa_create_key in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) __libssh2_ecdh_gen_k in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) __libssh2_curve25519_gen_k in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) _gen_publickey_from_ec_evp in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) _gen_publickey_from_rsa_openssh_priv_data in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) _diffie_hellman_sha_algo in liblibssh2_sys-5071ac28038616f1.rlib(kex.o) "_BN_CTX_new", referenced from: __libssh2_ecdsa_create_key in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) __libssh2_ecdh_gen_k in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) __libssh2_curve25519_gen_k in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) _gen_publickey_from_ec_evp in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) _gen_publickey_from_rsa_openssh_priv_data in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) _diffie_hellman_sha_algo in liblibssh2_sys-5071ac28038616f1.rlib(kex.o) "_BN_bin2bn", referenced from: __libssh2_rsa_new in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) __libssh2_dsa_new in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) __libssh2_dsa_sha1_verify in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) __libssh2_ecdsa_verify in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) __libssh2_ecdh_gen_k in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) __libssh2_curve25519_gen_k in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) _gen_publickey_from_ecdsa_openssh_priv_data in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) ... "_BN_bn2bin", referenced from: __libssh2_dsa_sha1_sign in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) __libssh2_ecdsa_sign in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) _gen_publickey_from_rsa_evp in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) _gen_publickey_from_dsa_evp in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) _kex_method_curve25519_key_exchange in liblibssh2_sys-5071ac28038616f1.rlib(kex.o) _ecdh_sha2_nistp in liblibssh2_sys-5071ac28038616f1.rlib(kex.o) _diffie_hellman_sha_algo in liblibssh2_sys-5071ac28038616f1.rlib(kex.o) ... "_BN_clear_free", referenced from: __libssh2_dh_dtor in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) _gen_publickey_from_rsa_openssh_priv_data in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) _kex_method_curve25519_key_exchange in liblibssh2_sys-5071ac28038616f1.rlib(kex.o) _ecdh_sha2_nistp in liblibssh2_sys-5071ac28038616f1.rlib(kex.o) _kex_method_diffie_hellman_group_exchange_sha256_key_exchange in liblibssh2_sys-5071ac28038616f1.rlib(kex.o) _diffie_hellman_sha_algo in liblibssh2_sys-5071ac28038616f1.rlib(kex.o) _kex_method_diffie_hellman_group16_sha512_key_exchange in liblibssh2_sys-5071ac28038616f1.rlib(kex.o) ... "_BN_div", referenced from: _gen_publickey_from_rsa_openssh_priv_data in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) "_BN_mod_exp", referenced from: __libssh2_dh_key_pair in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) __libssh2_dh_secret in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) "_BN_new", referenced from: __libssh2_rsa_new in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) __libssh2_dsa_new in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) __libssh2_dsa_sha1_verify in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) __libssh2_ecdsa_verify in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) __libssh2_dh_init in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) _gen_publickey_from_rsa_openssh_priv_data in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) _gen_publickey_from_ecdsa_openssh_priv_data in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) ... "_BN_num_bits", referenced from: __libssh2_dsa_sha1_sign in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) __libssh2_ecdsa_sign in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) _gen_publickey_from_rsa_evp in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) _gen_publickey_from_dsa_evp in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) _kex_method_curve25519_key_exchange in liblibssh2_sys-5071ac28038616f1.rlib(kex.o) _ecdh_sha2_nistp in liblibssh2_sys-5071ac28038616f1.rlib(kex.o) _diffie_hellman_sha_algo in liblibssh2_sys-5071ac28038616f1.rlib(kex.o) ... "_BN_rand", referenced from: __libssh2_dh_key_pair in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) "_BN_set_word", referenced from: _kex_method_diffie_hellman_group16_sha512_key_exchange in liblibssh2_sys-5071ac28038616f1.rlib(kex.o) _kex_method_diffie_hellman_group18_sha512_key_exchange in liblibssh2_sys-5071ac28038616f1.rlib(kex.o) _kex_method_diffie_hellman_group14_key_exchange in liblibssh2_sys-5071ac28038616f1.rlib(kex.o) _kex_method_diffie_hellman_group1_sha1_key_exchange in liblibssh2_sys-5071ac28038616f1.rlib(kex.o) "_BN_sub", referenced from: _gen_publickey_from_rsa_openssh_priv_data in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) "_BN_value_one", referenced from: _gen_publickey_from_rsa_openssh_priv_data in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) "_DSA_SIG_free", referenced from: __libssh2_dsa_sha1_verify in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) __libssh2_dsa_sha1_sign in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) "_DSA_SIG_get0", referenced from: __libssh2_dsa_sha1_sign in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) "_DSA_SIG_new", referenced from: __libssh2_dsa_sha1_verify in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) "_DSA_SIG_set0", referenced from: __libssh2_dsa_sha1_verify in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) "_DSA_do_sign", referenced from: __libssh2_dsa_sha1_sign in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) "_DSA_do_verify", referenced from: __libssh2_dsa_sha1_verify in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) "_DSA_free", referenced from: _gen_publickey_from_dsa_evp in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) _gen_publickey_from_dsa_openssh_priv_data in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) _hostkey_method_ssh_dss_init in liblibssh2_sys-5071ac28038616f1.rlib(hostkey.o) _hostkey_method_ssh_dss_initPEM in liblibssh2_sys-5071ac28038616f1.rlib(hostkey.o) _hostkey_method_ssh_dss_initPEMFromMemory in liblibssh2_sys-5071ac28038616f1.rlib(hostkey.o) _hostkey_method_ssh_dss_dtor in liblibssh2_sys-5071ac28038616f1.rlib(hostkey.o) "_DSA_get0_key", referenced from: _gen_publickey_from_dsa_evp in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) "_DSA_get0_pqg", referenced from: _gen_publickey_from_dsa_evp in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) "_DSA_new", referenced from: __libssh2_dsa_new in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) "_DSA_set0_key", referenced from: __libssh2_dsa_new in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) "_DSA_set0_pqg", referenced from: __libssh2_dsa_new in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) "_ECDH_compute_key", referenced from: __libssh2_ecdh_gen_k in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) "_ECDSA_SIG_free", referenced from: __libssh2_ecdsa_verify in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) __libssh2_ecdsa_sign in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) "_ECDSA_SIG_get0", referenced from: __libssh2_ecdsa_sign in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) "_ECDSA_SIG_new", referenced from: __libssh2_ecdsa_verify in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) "_ECDSA_SIG_set0", referenced from: __libssh2_ecdsa_verify in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) "_ECDSA_do_sign", referenced from: __libssh2_ecdsa_sign in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) "_ECDSA_do_verify", referenced from: __libssh2_ecdsa_verify in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) "_EC_GROUP_get_curve_name", referenced from: __libssh2_ecdsa_get_curve_type in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) __libssh2_ecdsa_verify in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) _gen_publickey_from_ec_evp in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) "_EC_GROUP_get_degree", referenced from: __libssh2_ecdh_gen_k in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) "_EC_KEY_free", referenced from: _gen_publickey_from_ec_evp in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) _gen_publickey_from_ecdsa_openssh_priv_data in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) _hostkey_method_ssh_ecdsa_init in liblibssh2_sys-5071ac28038616f1.rlib(hostkey.o) _hostkey_method_ssh_ecdsa_initPEM in liblibssh2_sys-5071ac28038616f1.rlib(hostkey.o) _hostkey_method_ssh_ecdsa_initPEMFromMemory in liblibssh2_sys-5071ac28038616f1.rlib(hostkey.o) _hostkey_method_ssh_ecdsa_dtor in liblibssh2_sys-5071ac28038616f1.rlib(hostkey.o) _kex_method_ecdh_key_exchange in liblibssh2_sys-5071ac28038616f1.rlib(kex.o) ... "_EC_KEY_generate_key", referenced from: __libssh2_ecdsa_create_key in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) "_EC_KEY_get0_group", referenced from: __libssh2_ecdsa_get_curve_type in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) __libssh2_ecdsa_curve_name_with_octal_new in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) __libssh2_ecdsa_verify in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) __libssh2_ecdsa_create_key in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) __libssh2_ecdh_gen_k in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) _gen_publickey_from_ec_evp in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) _gen_publickey_from_ecdsa_openssh_priv_data in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) ... "_EC_KEY_get0_public_key", referenced from: __libssh2_ecdsa_create_key in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) _gen_publickey_from_ec_evp in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) "_EC_KEY_new_by_curve_name", referenced from: __libssh2_ecdsa_curve_name_with_octal_new in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) __libssh2_ecdsa_create_key in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) _gen_publickey_from_ecdsa_openssh_priv_data in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) "_EC_KEY_set_private_key", referenced from: _gen_publickey_from_ecdsa_openssh_priv_data in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) "_EC_KEY_set_public_key", referenced from: __libssh2_ecdsa_curve_name_with_octal_new in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) _gen_publickey_from_ecdsa_openssh_priv_data in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) "_EC_POINT_free", referenced from: __libssh2_ecdsa_curve_name_with_octal_new in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) __libssh2_ecdh_gen_k in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) _gen_publickey_from_ecdsa_openssh_priv_data in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) "_EC_POINT_new", referenced from: __libssh2_ecdsa_curve_name_with_octal_new in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) __libssh2_ecdh_gen_k in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) _gen_publickey_from_ecdsa_openssh_priv_data in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) "_EC_POINT_oct2point", referenced from: __libssh2_ecdsa_curve_name_with_octal_new in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) __libssh2_ecdh_gen_k in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) _gen_publickey_from_ecdsa_openssh_priv_data in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) "_EC_POINT_point2oct", referenced from: __libssh2_ecdsa_create_key in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) _gen_publickey_from_ec_evp in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) "_ENGINE_load_builtin_engines", referenced from: __libssh2_openssl_crypto_init in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) "_ENGINE_register_all_complete", referenced from: __libssh2_openssl_crypto_init in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) "_EVP_CIPHER_CTX_free", referenced from: _crypt_dtor in liblibssh2_sys-5071ac28038616f1.rlib(crypt.o) "_EVP_CIPHER_CTX_new", referenced from: __libssh2_cipher_init in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) "_EVP_Cipher", referenced from: __libssh2_cipher_crypt in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) "_EVP_CipherInit", referenced from: __libssh2_cipher_init in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) "_EVP_DigestFinal", referenced from: __libssh2_rsa_sha1_verify in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) __libssh2_dsa_sha1_verify in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) __libssh2_ecdsa_verify in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) _hostkey_method_ssh_ecdsa_signv in liblibssh2_sys-5071ac28038616f1.rlib(hostkey.o) _hostkey_method_ssh_rsa_signv in liblibssh2_sys-5071ac28038616f1.rlib(hostkey.o) _hostkey_method_ssh_dss_signv in liblibssh2_sys-5071ac28038616f1.rlib(hostkey.o) _kex_method_curve25519_key_exchange in liblibssh2_sys-5071ac28038616f1.rlib(kex.o) ... "_EVP_DigestInit", referenced from: __libssh2_rsa_sha1_verify in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) __libssh2_dsa_sha1_verify in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) __libssh2_ecdsa_verify in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) __libssh2_sha1_init in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) __libssh2_sha256_init in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) __libssh2_sha384_init in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) __libssh2_sha512_init in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) ... "_EVP_DigestSign", referenced from: __libssh2_ed25519_sign in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) "_EVP_DigestSignInit", referenced from: __libssh2_ed25519_sign in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) "_EVP_DigestUpdate", referenced from: __libssh2_rsa_sha1_verify in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) __libssh2_dsa_sha1_verify in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) __libssh2_ecdsa_verify in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) _hostkey_method_ssh_ecdsa_signv in liblibssh2_sys-5071ac28038616f1.rlib(hostkey.o) _hostkey_method_ssh_rsa_signv in liblibssh2_sys-5071ac28038616f1.rlib(hostkey.o) _hostkey_method_ssh_dss_signv in liblibssh2_sys-5071ac28038616f1.rlib(hostkey.o) _kex_method_curve25519_key_exchange in liblibssh2_sys-5071ac28038616f1.rlib(kex.o) ... "_EVP_DigestVerify", referenced from: __libssh2_ed25519_verify in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) "_EVP_DigestVerifyInit", referenced from: __libssh2_ed25519_verify in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) "_EVP_MD_CTX_free", referenced from: __libssh2_rsa_sha1_verify in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) __libssh2_dsa_sha1_verify in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) __libssh2_ecdsa_verify in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) __libssh2_sha1_init in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) __libssh2_sha256_init in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) __libssh2_sha384_init in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) __libssh2_sha512_init in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) ... "_EVP_MD_CTX_new", referenced from: __libssh2_rsa_sha1_verify in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) __libssh2_dsa_sha1_verify in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) __libssh2_ecdsa_verify in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) __libssh2_sha1_init in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) __libssh2_sha256_init in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) __libssh2_sha384_init in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) __libssh2_sha512_init in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) ... "_EVP_PKEY_CTX_free", referenced from: __libssh2_curve25519_new in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) __libssh2_curve25519_gen_k in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) "_EVP_PKEY_CTX_new", referenced from: __libssh2_curve25519_gen_k in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) "_EVP_PKEY_CTX_new_id", referenced from: __libssh2_curve25519_new in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) "_EVP_PKEY_derive", referenced from: __libssh2_curve25519_gen_k in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) "_EVP_PKEY_derive_init", referenced from: __libssh2_curve25519_gen_k in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) "_EVP_PKEY_derive_set_peer", referenced from: __libssh2_curve25519_gen_k in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) "_EVP_PKEY_free", referenced from: __libssh2_curve25519_new in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) __libssh2_ed25519_new_private in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) _gen_publickey_from_ed25519_openssh_priv_data in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) __libssh2_ed25519_new_private_frommemory in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) __libssh2_curve25519_gen_k in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) __libssh2_pub_priv_keyfile in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) __libssh2_pub_priv_keyfilememory in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) ... "_EVP_PKEY_get1_DSA", referenced from: _gen_publickey_from_dsa_evp in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) "_EVP_PKEY_get1_EC_KEY", referenced from: _gen_publickey_from_ec_evp in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) "_EVP_PKEY_get1_RSA", referenced from: _gen_publickey_from_rsa_evp in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) "_EVP_PKEY_get_id", referenced from: __libssh2_ed25519_new_private_frommemory in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) __libssh2_pub_priv_keyfile in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) __libssh2_pub_priv_keyfilememory in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) "_EVP_PKEY_get_raw_private_key", referenced from: __libssh2_curve25519_new in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) "_EVP_PKEY_get_raw_public_key", referenced from: __libssh2_curve25519_new in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) _gen_publickey_from_ed_evp in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) "_EVP_PKEY_keygen", referenced from: __libssh2_curve25519_new in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) "_EVP_PKEY_keygen_init", referenced from: __libssh2_curve25519_new in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) "_EVP_PKEY_new", referenced from: _gen_publickey_from_rsa_openssh_priv_data in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) _gen_publickey_from_dsa_openssh_priv_data in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) _gen_publickey_from_ecdsa_openssh_priv_data in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) "_EVP_PKEY_new_raw_private_key", referenced from: _gen_publickey_from_ed25519_openssh_priv_data in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) __libssh2_curve25519_gen_k in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) "_EVP_PKEY_new_raw_public_key", referenced from: __libssh2_ed25519_new_public in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) __libssh2_curve25519_gen_k in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) "_EVP_PKEY_set1_DSA", referenced from: _gen_publickey_from_dsa_openssh_priv_data in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) "_EVP_PKEY_set1_EC_KEY", referenced from: _gen_publickey_from_ecdsa_openssh_priv_data in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) "_EVP_PKEY_set1_RSA", referenced from: _gen_publickey_from_rsa_openssh_priv_data in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) "_EVP_aes_128_cbc", referenced from: _libssh2_crypt_method_aes128_cbc in liblibssh2_sys-5071ac28038616f1.rlib(crypt.o) "_EVP_aes_128_ctr", referenced from: _libssh2_crypt_method_aes128_ctr in liblibssh2_sys-5071ac28038616f1.rlib(crypt.o) "_EVP_aes_192_cbc", referenced from: _libssh2_crypt_method_aes192_cbc in liblibssh2_sys-5071ac28038616f1.rlib(crypt.o) "_EVP_aes_192_ctr", referenced from: _libssh2_crypt_method_aes192_ctr in liblibssh2_sys-5071ac28038616f1.rlib(crypt.o) "_EVP_aes_256_cbc", referenced from: _libssh2_crypt_method_aes256_cbc in liblibssh2_sys-5071ac28038616f1.rlib(crypt.o) _libssh2_crypt_method_rijndael_cbc_lysator_liu_se in liblibssh2_sys-5071ac28038616f1.rlib(crypt.o) "_EVP_aes_256_ctr", referenced from: _libssh2_crypt_method_aes256_ctr in liblibssh2_sys-5071ac28038616f1.rlib(crypt.o) "_EVP_bf_cbc", referenced from: _libssh2_crypt_method_blowfish_cbc in liblibssh2_sys-5071ac28038616f1.rlib(crypt.o) "_EVP_cast5_cbc", referenced from: _libssh2_crypt_method_cast128_cbc in liblibssh2_sys-5071ac28038616f1.rlib(crypt.o) "_EVP_des_ede3_cbc", referenced from: _libssh2_crypt_method_3des_cbc in liblibssh2_sys-5071ac28038616f1.rlib(crypt.o) "_EVP_get_digestbyname", referenced from: __libssh2_rsa_sha1_verify in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) __libssh2_dsa_sha1_verify in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) __libssh2_ecdsa_verify in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) __libssh2_sha1_init in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) __libssh2_sha256_init in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) __libssh2_sha384_init in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) __libssh2_sha512_init in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) ... "_EVP_md5", referenced from: _mac_method_hmac_md5_hash in liblibssh2_sys-5071ac28038616f1.rlib(mac.o) "_EVP_rc4", referenced from: _libssh2_crypt_method_arcfour128 in liblibssh2_sys-5071ac28038616f1.rlib(crypt.o) _libssh2_crypt_method_arcfour in liblibssh2_sys-5071ac28038616f1.rlib(crypt.o) "_EVP_ripemd160", referenced from: _mac_method_hmac_ripemd160_hash in liblibssh2_sys-5071ac28038616f1.rlib(mac.o) "_EVP_sha1", referenced from: _mac_method_hmac_sha1_hash in liblibssh2_sys-5071ac28038616f1.rlib(mac.o) "_EVP_sha256", referenced from: _mac_method_hmac_sha2_256_hash in liblibssh2_sys-5071ac28038616f1.rlib(mac.o) "_EVP_sha512", referenced from: _mac_method_hmac_sha2_512_hash in liblibssh2_sys-5071ac28038616f1.rlib(mac.o) "_HMAC_CTX_free", referenced from: _mac_method_hmac_sha2_256_hash in liblibssh2_sys-5071ac28038616f1.rlib(mac.o) _mac_method_hmac_sha2_512_hash in liblibssh2_sys-5071ac28038616f1.rlib(mac.o) _mac_method_hmac_sha1_hash in liblibssh2_sys-5071ac28038616f1.rlib(mac.o) _mac_method_hmac_md5_hash in liblibssh2_sys-5071ac28038616f1.rlib(mac.o) _mac_method_hmac_ripemd160_hash in liblibssh2_sys-5071ac28038616f1.rlib(mac.o) "_HMAC_CTX_new", referenced from: _mac_method_hmac_sha2_256_hash in liblibssh2_sys-5071ac28038616f1.rlib(mac.o) _mac_method_hmac_sha2_512_hash in liblibssh2_sys-5071ac28038616f1.rlib(mac.o) _mac_method_hmac_sha1_hash in liblibssh2_sys-5071ac28038616f1.rlib(mac.o) _mac_method_hmac_md5_hash in liblibssh2_sys-5071ac28038616f1.rlib(mac.o) _mac_method_hmac_ripemd160_hash in liblibssh2_sys-5071ac28038616f1.rlib(mac.o) "_HMAC_Final", referenced from: _mac_method_hmac_sha2_256_hash in liblibssh2_sys-5071ac28038616f1.rlib(mac.o) _mac_method_hmac_sha2_512_hash in liblibssh2_sys-5071ac28038616f1.rlib(mac.o) _mac_method_hmac_sha1_hash in liblibssh2_sys-5071ac28038616f1.rlib(mac.o) _mac_method_hmac_md5_hash in liblibssh2_sys-5071ac28038616f1.rlib(mac.o) _mac_method_hmac_ripemd160_hash in liblibssh2_sys-5071ac28038616f1.rlib(mac.o) "_HMAC_Init_ex", referenced from: _mac_method_hmac_sha2_256_hash in liblibssh2_sys-5071ac28038616f1.rlib(mac.o) _mac_method_hmac_sha2_512_hash in liblibssh2_sys-5071ac28038616f1.rlib(mac.o) _mac_method_hmac_sha1_hash in liblibssh2_sys-5071ac28038616f1.rlib(mac.o) _mac_method_hmac_md5_hash in liblibssh2_sys-5071ac28038616f1.rlib(mac.o) _mac_method_hmac_ripemd160_hash in liblibssh2_sys-5071ac28038616f1.rlib(mac.o) "_HMAC_Update", referenced from: _mac_method_hmac_sha2_256_hash in liblibssh2_sys-5071ac28038616f1.rlib(mac.o) _mac_method_hmac_sha2_512_hash in liblibssh2_sys-5071ac28038616f1.rlib(mac.o) _mac_method_hmac_sha1_hash in liblibssh2_sys-5071ac28038616f1.rlib(mac.o) _mac_method_hmac_md5_hash in liblibssh2_sys-5071ac28038616f1.rlib(mac.o) _mac_method_hmac_ripemd160_hash in liblibssh2_sys-5071ac28038616f1.rlib(mac.o) "_OPENSSL_init_ssl", referenced from: core::ops::function::FnOnce::call_once$u7b$$u7b$vtable.shim$u7d$$u7d$::hb39bb98f6711802d in cargo_outdated-5f80c148867fb452.cargo_outdated.4102d194-cgu.11.rcgu.o std::sync::once::Once::call_once::_$u7b$$u7b$closure$u7d$$u7d$::hc9289d9b5a863f56 in cargo_outdated-5f80c148867fb452.cargo_outdated.4102d194-cgu.11.rcgu.o "_PEM_read_bio_DSAPrivateKey", referenced from: __libssh2_dsa_new_private_frommemory in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) __libssh2_dsa_new_private in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) "_PEM_read_bio_ECPrivateKey", referenced from: __libssh2_ecdsa_new_private_frommemory in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) __libssh2_ecdsa_new_private in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) "_PEM_read_bio_PrivateKey", referenced from: __libssh2_ed25519_new_private_frommemory in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) __libssh2_pub_priv_keyfile in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) __libssh2_pub_priv_keyfilememory in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) "_PEM_read_bio_RSAPrivateKey", referenced from: __libssh2_rsa_new_private_frommemory in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) __libssh2_rsa_new_private in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) "_RAND_bytes", referenced from: __libssh2_kex_exchange in liblibssh2_sys-5071ac28038616f1.rlib(kex.o) __libssh2_transport_send in liblibssh2_sys-5071ac28038616f1.rlib(transport.o) "_RSA_free", referenced from: _gen_publickey_from_rsa_evp in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) _gen_publickey_from_rsa_openssh_priv_data in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) _hostkey_method_ssh_rsa_init in liblibssh2_sys-5071ac28038616f1.rlib(hostkey.o) _hostkey_method_ssh_rsa_initPEM in liblibssh2_sys-5071ac28038616f1.rlib(hostkey.o) _hostkey_method_ssh_rsa_initPEMFromMemory in liblibssh2_sys-5071ac28038616f1.rlib(hostkey.o) _hostkey_method_ssh_rsa_dtor in liblibssh2_sys-5071ac28038616f1.rlib(hostkey.o) "_RSA_get0_factors", referenced from: _gen_publickey_from_rsa_openssh_priv_data in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) "_RSA_get0_key", referenced from: _gen_publickey_from_rsa_evp in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) _gen_publickey_from_rsa_openssh_priv_data in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) "_RSA_new", referenced from: __libssh2_rsa_new in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) "_RSA_set0_crt_params", referenced from: __libssh2_rsa_new in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) _gen_publickey_from_rsa_openssh_priv_data in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) "_RSA_set0_factors", referenced from: __libssh2_rsa_new in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) "_RSA_set0_key", referenced from: __libssh2_rsa_new in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) "_RSA_sign", referenced from: __libssh2_rsa_sha1_sign in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) "_RSA_size", referenced from: __libssh2_rsa_sha1_sign in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) "_RSA_verify", referenced from: __libssh2_rsa_sha1_verify in liblibssh2_sys-5071ac28038616f1.rlib(openssl.o) ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) error: could not compile `cargo-outdated` due to previous error error: failed to compile `cargo-outdated v0.11.1`, intermediate artifacts can be found at `/var/folders/cp/qx0df5kx497_rygnyvv9xl8m0000gn/T/cargo-installpCoEQn`
It looks like a misconfigured rust. It compiles fine here
@melMass Thanks, you're quite right. I had a messed-up installation.
It looks like it tries to build for x86_64 despite the architecture being arm64.