nabijaczleweli / cargo-update

A cargo subcommand for checking and applying updates to installed executables
MIT License
1.22k stars 42 forks source link

Requesting pushing `git2-rs` up from `1.16` #242

Closed signed-log closed 1 year ago

signed-log commented 1 year ago

libssh2-rs (which is vendored as part of git2-rs) fails the installation of cargo-update all the time on Linux

Log:

Script started on 2023-09-28 20:22:03+02:00 [COMMAND="CARGO_TERM_PROGRESS_WHEN=never CI=1 RUST_BACKTRACE=1 CARGO_TERM_COLOR=never cargo install cargo-update" TERM="tmux-256color" TTY="/dev/pts/1" COLUMNS="118" LINES="90"]
    Updating crates.io index
  Installing cargo-update v13.0.4
    Updating crates.io index
   Compiling libc v0.2.148
   Compiling pkg-config v0.3.27
   Compiling vcpkg v0.2.15
   Compiling serde v1.0.188
   Compiling semver v1.0.19
   Compiling io-lifetimes v1.0.11
   Compiling rustix v0.37.23
   Compiling proc-macro2 v1.0.67
   Compiling tinyvec_macros v0.1.1
   Compiling bitflags v1.3.2
   Compiling linux-raw-sys v0.3.8
   Compiling autocfg v1.1.0
   Compiling unicode-ident v1.0.12
   Compiling memchr v2.6.3
   Compiling unicode-bidi v0.3.13
   Compiling percent-encoding v2.3.0
   Compiling regex-syntax v0.7.5
   Compiling hashbrown v0.12.3
   Compiling os_str_bytes v6.5.1
   Compiling curl v0.4.44
   Compiling openssl-probe v0.1.5
   Compiling termcolor v1.3.0
   Compiling strsim v0.10.0
   Compiling log v0.4.20
   Compiling tinyvec v1.6.0
   Compiling once_cell v1.18.0
   Compiling unicode-width v0.1.11
   Compiling form_urlencoded v1.2.0
   Compiling clap_lex v0.2.4
   Compiling tabwriter v1.3.0
   Compiling array_tool v1.0.3
   Compiling home v0.5.5
   Compiling indexmap v1.9.3
   Compiling hex v0.4.3
   Compiling lazysort v0.2.1
   Compiling json-deserializer v0.4.4
   Compiling aho-corasick v1.1.1
   Compiling quote v1.0.33
   Compiling unicode-normalization v0.1.22
   Compiling syn v2.0.37
   Compiling idna v0.4.0
   Compiling jobserver v0.1.26
   Compiling url v2.4.1
   Compiling socket2 v0.4.9
   Compiling atty v0.2.14
   Compiling cc v1.0.83
   Compiling regex-automata v0.3.8
   Compiling libz-sys v1.1.12
   Compiling openssl-sys v0.9.93
   Compiling libnghttp2-sys v0.1.8+1.55.1
   Compiling libssh2-sys v0.2.23
   Compiling curl-sys v0.4.66+curl-8.3.0
   Compiling libgit2-sys v0.14.2+1.5.1
   Compiling serde_derive v1.0.188
   Compiling terminal_size v0.2.6
   Compiling textwrap v0.16.0
   Compiling toml v0.5.11
   Compiling clap v3.2.25
   Compiling rustc_version v0.4.0
   Compiling embed-resource v1.8.0
   Compiling regex v1.9.5
   Compiling cargo-update v13.0.4
The following warnings were emitted during compilation:

warning: libssh2/src/bcrypt_pbkdf.c: In function ‘bcrypt_pbkdf’:
warning: libssh2/src/bcrypt_pbkdf.c:113:24: error: storage size of ‘ctx’ isn’t known
warning:   113 |     libssh2_sha512_ctx ctx;
warning:       |                        ^~~
warning: ToolExecError: Command "cc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I" "/tmp/cargo-installYesOHb/release/build/libssh2-sys-d02046a24f54419b/out/include" "-I" "libssh2/src" "-I" "/tmp/cargo-installYesOHb/release/build/libssh2-sys-d02046a24f54419b/out/build" "-I" "/usr/include" "-fvisibility=hidden" "-DHAVE_LONGLONG" "-DHAVE_SNPRINTF" "-DHAVE_UNISTD_H" "-DHAVE_INTTYPES_H" "-DHAVE_STDLIB_H" "-DHAVE_SYS_SELECT_H" "-DHAVE_SYS_SOCKET_H" "-DHAVE_SYS_IOCTL_H" "-DHAVE_SYS_TIME_H" "-DHAVE_SYS_UN_H" "-DHAVE_O_NONBLOCK" "-DLIBSSH2_OPENSSL" "-DHAVE_LIBCRYPT32" "-DHAVE_EVP_AES_128_CTR" "-DHAVE_POLL" "-DHAVE_GETTIMEOFDAY" "-DLIBSSH2_DH_GEX_NEW" "-DLIBSSH2_HAVE_ZLIB" "-o" "/tmp/cargo-installYesOHb/release/build/libssh2-sys-d02046a24f54419b/out/build/libssh2/src/bcrypt_pbkdf.o" "-c" "libssh2/src/bcrypt_pbkdf.c" with args "cc" did not execute successfully (status code exit status: 1).running: "cc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I" "/tmp/cargo-installYesOHb/release/build/libssh2-sys-d02046a24f54419b/out/include" "-I" "libssh2/src" "-I" "/tmp/cargo-installYesOHb/release/build/libssh2-sys-d02046a24f54419b/out/build" "-I" "/usr/include" "-fvisibility=hidden" "-DHAVE_LONGLONG" "-DHAVE_SNPRINTF" "-DHAVE_UNISTD_H" "-DHAVE_INTTYPES_H" "-DHAVE_STDLIB_H" "-DHAVE_SYS_SELECT_H" "-DHAVE_SYS_SOCKET_H" "-DHAVE_SYS_IOCTL_H" "-DHAVE_SYS_TIME_H" "-DHAVE_SYS_UN_H" "-DHAVE_O_NONBLOCK" "-DLIBSSH2_OPENSSL" "-DHAVE_LIBCRYPT32" "-DHAVE_EVP_AES_128_CTR" "-DHAVE_POLL" "-DHAVE_GETTIMEOFDAY" "-DLIBSSH2_DH_GEX_NEW" "-DLIBSSH2_HAVE_ZLIB" "-o" "/tmp/cargo-installYesOHb/release/build/libssh2-sys-d02046a24f54419b/out/build/libssh2/src/hostkey.o" "-c" "libssh2/src/hostkey.c"
warning: libssh2/src/crypt.c:71:25: error: field ‘h’ has incomplete type
warning:    71 |     _libssh2_cipher_ctx h;
warning:       |                         ^
warning: libssh2/src/hostkey.c: In function ‘hostkey_method_ssh_rsa_signv’:
warning: libssh2/src/hostkey.c:212:22: error: storage size of ‘ctx’ isn’t known
warning:   212 |     libssh2_sha1_ctx ctx;
warning:       |                      ^~~
warning: libssh2/src/hostkey.c: In function ‘hostkey_method_ssh_dss_signv’:
warning: libssh2/src/hostkey.c:431:22: error: storage size of ‘ctx’ isn’t known
warning:   431 |     libssh2_sha1_ctx ctx;
warning:       |                      ^~~
warning: libssh2/src/hostkey.c: In function ‘hostkey_method_ssh_ecdsa_signv’:
warning: libssh2/src/hostkey.c:684:40: error: storage size of ‘ctx’ isn’t known
warning:   684 |         libssh2_sha##digest_type##_ctx ctx;                             \
warning:       |                                        ^~~
warning: libssh2/src/hostkey.c:716:9: note: in expansion of macro ‘LIBSSH2_HOSTKEY_METHOD_EC_SIGNV_HASH’
warning:   716 |         LIBSSH2_HOSTKEY_METHOD_EC_SIGNV_HASH(256);
warning:       |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
warning: libssh2/src/hostkey.c:684:40: error: storage size of ‘ctx’ isn’t known
warning:   684 |         libssh2_sha##digest_type##_ctx ctx;                             \
warning:       |                                        ^~~
warning: libssh2/src/hostkey.c:719:9: note: in expansion of macro ‘LIBSSH2_HOSTKEY_METHOD_EC_SIGNV_HASH’
warning:   719 |         LIBSSH2_HOSTKEY_METHOD_EC_SIGNV_HASH(384);
warning:       |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
warning: libssh2/src/hostkey.c:684:40: error: storage size of ‘ctx’ isn’t known
warning:   684 |         libssh2_sha##digest_type##_ctx ctx;                             \
warning:       |                                        ^~~
warning: libssh2/src/hostkey.c:722:9: note: in expansion of macro ‘LIBSSH2_HOSTKEY_METHOD_EC_SIGNV_HASH’
warning:   722 |         LIBSSH2_HOSTKEY_METHOD_EC_SIGNV_HASH(512);
warning:       |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
warning: ToolExecError: Command "cc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I" "/tmp/cargo-installYesOHb/release/build/libssh2-sys-d02046a24f54419b/out/include" "-I" "libssh2/src" "-I" "/tmp/cargo-installYesOHb/release/build/libssh2-sys-d02046a24f54419b/out/build" "-I" "/usr/include" "-fvisibility=hidden" "-DHAVE_LONGLONG" "-DHAVE_SNPRINTF" "-DHAVE_UNISTD_H" "-DHAVE_INTTYPES_H" "-DHAVE_STDLIB_H" "-DHAVE_SYS_SELECT_H" "-DHAVE_SYS_SOCKET_H" "-DHAVE_SYS_IOCTL_H" "-DHAVE_SYS_TIME_H" "-DHAVE_SYS_UN_H" "-DHAVE_O_NONBLOCK" "-DLIBSSH2_OPENSSL" "-DHAVE_LIBCRYPT32" "-DHAVE_EVP_AES_128_CTR" "-DHAVE_POLL" "-DHAVE_GETTIMEOFDAY" "-DLIBSSH2_DH_GEX_NEW" "-DLIBSSH2_HAVE_ZLIB" "-o" "/tmp/cargo-installYesOHb/release/build/libssh2-sys-d02046a24f54419b/out/build/libssh2/src/crypt.o" "-c" "libssh2/src/crypt.c" with args "cc" did not execute successfully (status code exit status: 1).
warning: ToolExecError: Command "cc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I" "/tmp/cargo-installYesOHb/release/build/libssh2-sys-d02046a24f54419b/out/include" "-I" "libssh2/src" "-I" "/tmp/cargo-installYesOHb/release/build/libssh2-sys-d02046a24f54419b/out/build" "-I" "/usr/include" "-fvisibility=hidden" "-DHAVE_LONGLONG" "-DHAVE_SNPRINTF" "-DHAVE_UNISTD_H" "-DHAVE_INTTYPES_H" "-DHAVE_STDLIB_H" "-DHAVE_SYS_SELECT_H" "-DHAVE_SYS_SOCKET_H" "-DHAVE_SYS_IOCTL_H" "-DHAVE_SYS_TIME_H" "-DHAVE_SYS_UN_H" "-DHAVE_O_NONBLOCK" "-DLIBSSH2_OPENSSL" "-DHAVE_LIBCRYPT32" "-DHAVE_EVP_AES_128_CTR" "-DHAVE_POLL" "-DHAVE_GETTIMEOFDAY" "-DLIBSSH2_DH_GEX_NEW" "-DLIBSSH2_HAVE_ZLIB" "-o" "/tmp/cargo-installYesOHb/release/build/libssh2-sys-d02046a24f54419b/out/build/libssh2/src/hostkey.o" "-c" "libssh2/src/hostkey.c" with args "cc" did not execute successfully (status code exit status: 1).running: "cc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I" "/tmp/cargo-installYesOHb/release/build/libssh2-sys-d02046a24f54419b/out/include" "-I" "libssh2/src" "-I" "/tmp/cargo-installYesOHb/release/build/libssh2-sys-d02046a24f54419b/out/build" "-I" "/usr/include" "-fvisibility=hidden" "-DHAVE_LONGLONG" "-DHAVE_SNPRINTF" "-DHAVE_UNISTD_H" "-DHAVE_INTTYPES_H" "-DHAVE_STDLIB_H" "-DHAVE_SYS_SELECT_H" "-DHAVE_SYS_SOCKET_H" "-DHAVE_SYS_IOCTL_H" "-DHAVE_SYS_TIME_H" "-DHAVE_SYS_UN_H" "-DHAVE_O_NONBLOCK" "-DLIBSSH2_OPENSSL" "-DHAVE_LIBCRYPT32" "-DHAVE_EVP_AES_128_CTR" "-DHAVE_POLL" "-DHAVE_GETTIMEOFDAY" "-DLIBSSH2_DH_GEX_NEW" "-DLIBSSH2_HAVE_ZLIB" "-o" "/tmp/cargo-installYesOHb/release/build/libssh2-sys-d02046a24f54419b/out/build/libssh2/src/kex.o" "-c" "libssh2/src/kex.c"
warning: libssh2/src/kex.c: In function ‘_libssh2_sha_algo_value_hash’:
warning: libssh2/src/kex.c:73:36: error: storage size of ‘hash’ isn’t known
warning:    73 |     libssh2_sha##digest_type##_ctx hash;                                    \
warning:       |                                    ^~~~
warning: libssh2/src/kex.c:186:9: note: in expansion of macro ‘LIBSSH2_KEX_METHOD_SHA_VALUE_HASH’
warning:   186 |         LIBSSH2_KEX_METHOD_SHA_VALUE_HASH(512, *data, data_len, version);
warning:       |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
warning: libssh2/src/kex.c:73:36: error: storage size of ‘hash’ isn’t known
warning:    73 |     libssh2_sha##digest_type##_ctx hash;                                    \
warning:       |                                    ^~~~
warning: libssh2/src/kex.c:189:9: note: in expansion of macro ‘LIBSSH2_KEX_METHOD_SHA_VALUE_HASH’
warning:   189 |         LIBSSH2_KEX_METHOD_SHA_VALUE_HASH(384, *data, data_len, version);
warning:       |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
warning: libssh2/src/kex.c:73:36: error: storage size of ‘hash’ isn’t known
warning:    73 |     libssh2_sha##digest_type##_ctx hash;                                    \
warning:       |                                    ^~~~
warning: libssh2/src/kex.c:192:9: note: in expansion of macro ‘LIBSSH2_KEX_METHOD_SHA_VALUE_HASH’
warning:   192 |         LIBSSH2_KEX_METHOD_SHA_VALUE_HASH(256, *data, data_len, version);
warning:       |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
warning: libssh2/src/kex.c:73:36: error: storage size of ‘hash’ isn’t known
warning:    73 |     libssh2_sha##digest_type##_ctx hash;                                    \
warning:       |                                    ^~~~
warning: libssh2/src/kex.c:195:9: note: in expansion of macro ‘LIBSSH2_KEX_METHOD_SHA_VALUE_HASH’
warning:   195 |         LIBSSH2_KEX_METHOD_SHA_VALUE_HASH(1, *data, data_len, version);
warning:       |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
warning: libssh2/src/kex.c: In function ‘diffie_hellman_sha_algo’:
warning: libssh2/src/kex.c:393:29: error: storage size of ‘fingerprint_ctx’ isn’t known
warning:   393 |             libssh2_md5_ctx fingerprint_ctx;
warning:       |                             ^~~~~~~~~~~~~~~
warning: libssh2/src/kex.c:421:30: error: storage size of ‘fingerprint_ctx’ isn’t known
warning:   421 |             libssh2_sha1_ctx fingerprint_ctx;
warning:       |                              ^~~~~~~~~~~~~~~
warning: libssh2/src/kex.c:449:32: error: storage size of ‘fingerprint_ctx’ isn’t known
warning:   449 |             libssh2_sha256_ctx fingerprint_ctx;
warning:       |                                ^~~~~~~~~~~~~~~
warning: libssh2/src/kex.c: In function ‘kex_method_diffie_hellman_group1_sha1_key_exchange’:
warning: libssh2/src/kex.c:945:22: error: storage size of ‘exchange_hash_ctx’ isn’t known
warning:   945 |     libssh2_sha1_ctx exchange_hash_ctx;
warning:       |                      ^~~~~~~~~~~~~~~~~
warning: libssh2/src/kex.c: In function ‘kex_method_diffie_hellman_group14_sha1_key_exchange’:
warning: libssh2/src/kex.c:1081:22: error: storage size of ‘ctx’ isn’t known
warning:  1081 |     libssh2_sha1_ctx ctx;
warning:       |                      ^~~
warning: libssh2/src/kex.c: In function ‘kex_method_diffie_hellman_group14_sha256_key_exchange’:
warning: libssh2/src/kex.c:1098:24: error: storage size of ‘ctx’ isn’t known
warning:  1098 |     libssh2_sha256_ctx ctx;
warning:       |                        ^~~
warning: libssh2/src/kex.c: In function ‘kex_method_diffie_hellman_group16_sha512_key_exchange’:
warning: libssh2/src/kex.c:1160:24: error: storage size of ‘exchange_hash_ctx’ isn’t known
warning:  1160 |     libssh2_sha512_ctx exchange_hash_ctx;
warning:       |                        ^~~~~~~~~~~~~~~~~
warning: libssh2/src/kex.c: In function ‘kex_method_diffie_hellman_group18_sha512_key_exchange’:
warning: libssh2/src/kex.c:1293:24: error: storage size of ‘exchange_hash_ctx’ isn’t known
warning:  1293 |     libssh2_sha512_ctx exchange_hash_ctx;
warning:       |                        ^~~~~~~~~~~~~~~~~
warning: libssh2/src/kex.c: In function ‘kex_method_diffie_hellman_group_exchange_sha1_key_exchange’:
warning: libssh2/src/kex.c:1399:26: error: storage size of ‘exchange_hash_ctx’ isn’t known
warning:  1399 |         libssh2_sha1_ctx exchange_hash_ctx;
warning:       |                          ^~~~~~~~~~~~~~~~~
warning: libssh2/src/kex.c: In function ‘kex_method_diffie_hellman_group_exchange_sha256_key_exchange’:
warning: libssh2/src/kex.c:1527:28: error: storage size of ‘exchange_hash_ctx’ isn’t known
warning:  1527 |         libssh2_sha256_ctx exchange_hash_ctx;
warning:       |                            ^~~~~~~~~~~~~~~~~
warning: libssh2/src/kex.c: In function ‘ecdh_sha2_nistp’:
warning: libssh2/src/kex.c:1776:29: error: storage size of ‘fingerprint_ctx’ isn’t known
warning:  1776 |             libssh2_md5_ctx fingerprint_ctx;
warning:       |                             ^~~~~~~~~~~~~~~
warning: libssh2/src/kex.c:1804:30: error: storage size of ‘fingerprint_ctx’ isn’t known
warning:  1804 |             libssh2_sha1_ctx fingerprint_ctx;
warning:       |                              ^~~~~~~~~~~~~~~
warning: libssh2/src/kex.c:1833:32: error: storage size of ‘fingerprint_ctx’ isn’t known
warning:  1833 |             libssh2_sha256_ctx fingerprint_ctx;
warning:       |                                ^~~~~~~~~~~~~~~
warning: libssh2/src/kex.c:1601:36: error: storage size of ‘ctx’ isn’t known
warning:  1601 |     libssh2_sha##digest_type##_ctx ctx;                                 \
warning:       |                                    ^~~
warning: libssh2/src/kex.c:1921:17: note: in expansion of macro ‘LIBSSH2_KEX_METHOD_EC_SHA_HASH_CREATE_VERIFY’
warning:  1921 |                 LIBSSH2_KEX_METHOD_EC_SHA_HASH_CREATE_VERIFY(256);
warning:       |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
warning: libssh2/src/kex.c:1601:36: error: storage size of ‘ctx’ isn’t known
warning:  1601 |     libssh2_sha##digest_type##_ctx ctx;                                 \
warning:       |                                    ^~~
warning: libssh2/src/kex.c:1925:17: note: in expansion of macro ‘LIBSSH2_KEX_METHOD_EC_SHA_HASH_CREATE_VERIFY’
warning:  1925 |                 LIBSSH2_KEX_METHOD_EC_SHA_HASH_CREATE_VERIFY(384);
warning:       |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
warning: libssh2/src/kex.c:1601:36: error: storage size of ‘ctx’ isn’t known
warning:  1601 |     libssh2_sha##digest_type##_ctx ctx;                                 \
warning:       |                                    ^~~
warning: libssh2/src/kex.c:1928:17: note: in expansion of macro ‘LIBSSH2_KEX_METHOD_EC_SHA_HASH_CREATE_VERIFY’
warning:  1928 |                 LIBSSH2_KEX_METHOD_EC_SHA_HASH_CREATE_VERIFY(512);
warning:       |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
warning: libssh2/src/kex.c:73:36: error: storage size of ‘hash’ isn’t known
warning:    73 |     libssh2_sha##digest_type##_ctx hash;                                    \
warning:       |                                    ^~~~
warning: libssh2/src/kex.c:59:13: note: in expansion of macro ‘LIBSSH2_KEX_METHOD_SHA_VALUE_HASH’
warning:    59 |             LIBSSH2_KEX_METHOD_SHA_VALUE_HASH(256, value, reqlen, version); \
warning:       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
warning: libssh2/src/kex.c:2019:13: note: in expansion of macro ‘LIBSSH2_KEX_METHOD_EC_SHA_VALUE_HASH’
warning:  2019 |             LIBSSH2_KEX_METHOD_EC_SHA_VALUE_HASH(iv,
warning:       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
warning: libssh2/src/kex.c:73:36: error: storage size of ‘hash’ isn’t known
warning:    73 |     libssh2_sha##digest_type##_ctx hash;                                    \
warning:       |                                    ^~~~
warning: libssh2/src/kex.c:62:13: note: in expansion of macro ‘LIBSSH2_KEX_METHOD_SHA_VALUE_HASH’
warning:    62 |             LIBSSH2_KEX_METHOD_SHA_VALUE_HASH(384, value, reqlen, version); \
warning:       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
warning: libssh2/src/kex.c:2019:13: note: in expansion of macro ‘LIBSSH2_KEX_METHOD_EC_SHA_VALUE_HASH’
warning:  2019 |             LIBSSH2_KEX_METHOD_EC_SHA_VALUE_HASH(iv,
warning:       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
warning: libssh2/src/kex.c:73:36: error: storage size of ‘hash’ isn’t known
warning:    73 |     libssh2_sha##digest_type##_ctx hash;                                    \
warning:       |                                    ^~~~
warning: libssh2/src/kex.c:65:13: note: in expansion of macro ‘LIBSSH2_KEX_METHOD_SHA_VALUE_HASH’
warning:    65 |             LIBSSH2_KEX_METHOD_SHA_VALUE_HASH(512, value, reqlen, version); \
warning:       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
warning: libssh2/src/kex.c:2019:13: note: in expansion of macro ‘LIBSSH2_KEX_METHOD_EC_SHA_VALUE_HASH’
warning:  2019 |             LIBSSH2_KEX_METHOD_EC_SHA_VALUE_HASH(iv,
warning:       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
warning: libssh2/src/kex.c:73:36: error: storage size of ‘hash’ isn’t known
warning:    73 |     libssh2_sha##digest_type##_ctx hash;                                    \
warning:       |                                    ^~~~
warning: libssh2/src/kex.c:59:13: note: in expansion of macro ‘LIBSSH2_KEX_METHOD_SHA_VALUE_HASH’
warning:    59 |             LIBSSH2_KEX_METHOD_SHA_VALUE_HASH(256, value, reqlen, version); \
warning:       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
warning: libssh2/src/kex.c:2027:13: note: in expansion of macro ‘LIBSSH2_KEX_METHOD_EC_SHA_VALUE_HASH’
warning:  2027 |             LIBSSH2_KEX_METHOD_EC_SHA_VALUE_HASH(secret,
warning:       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
warning: libssh2/src/kex.c:73:36: error: storage size of ‘hash’ isn’t known
warning:    73 |     libssh2_sha##digest_type##_ctx hash;                                    \
warning:       |                                    ^~~~
warning: libssh2/src/kex.c:62:13: note: in expansion of macro ‘LIBSSH2_KEX_METHOD_SHA_VALUE_HASH’
warning:    62 |             LIBSSH2_KEX_METHOD_SHA_VALUE_HASH(384, value, reqlen, version); \
warning:       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
warning: libssh2/src/kex.c:2027:13: note: in expansion of macro ‘LIBSSH2_KEX_METHOD_EC_SHA_VALUE_HASH’
warning:  2027 |             LIBSSH2_KEX_METHOD_EC_SHA_VALUE_HASH(secret,
warning:       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
warning: libssh2/src/kex.c:73:36: error: storage size of ‘hash’ isn’t known
warning:    73 |     libssh2_sha##digest_type##_ctx hash;                                    \
warning:       |                                    ^~~~
warning: libssh2/src/kex.c:65:13: note: in expansion of macro ‘LIBSSH2_KEX_METHOD_SHA_VALUE_HASH’
warning:    65 |             LIBSSH2_KEX_METHOD_SHA_VALUE_HASH(512, value, reqlen, version); \
warning:       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
warning: libssh2/src/kex.c:2027:13: note: in expansion of macro ‘LIBSSH2_KEX_METHOD_EC_SHA_VALUE_HASH’
warning:  2027 |             LIBSSH2_KEX_METHOD_EC_SHA_VALUE_HASH(secret,
warning:       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
warning: libssh2/src/knownhost.c: In function ‘knownhost_check’:
warning: libssh2/src/knownhost.c:422:38: error: storage size of ‘ctx’ isn’t known
warning:   422 |                     libssh2_hmac_ctx ctx;
warning:       |                                      ^~~
warning: libssh2/src/kex.c:73:36: error: storage size of ‘hash’ isn’t known
warning:    73 |     libssh2_sha##digest_type##_ctx hash;                                    \
warning:       |                                    ^~~~
warning: libssh2/src/kex.c:59:13: note: in expansion of macro ‘LIBSSH2_KEX_METHOD_SHA_VALUE_HASH’
warning:    59 |             LIBSSH2_KEX_METHOD_SHA_VALUE_HASH(256, value, reqlen, version); \
warning:       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
warning: libssh2/src/kex.c:2069:13: note: in expansion of macro ‘LIBSSH2_KEX_METHOD_EC_SHA_VALUE_HASH’
warning:  2069 |             LIBSSH2_KEX_METHOD_EC_SHA_VALUE_HASH(iv,
warning:       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
warning: libssh2/src/kex.c:73:36: error: storage size of ‘hash’ isn’t known
warning:    73 |     libssh2_sha##digest_type##_ctx hash;                                    \
warning:       |                                    ^~~~
warning: libssh2/src/kex.c:62:13: note: in expansion of macro ‘LIBSSH2_KEX_METHOD_SHA_VALUE_HASH’
warning:    62 |             LIBSSH2_KEX_METHOD_SHA_VALUE_HASH(384, value, reqlen, version); \
warning:       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
warning: libssh2/src/kex.c:2069:13: note: in expansion of macro ‘LIBSSH2_KEX_METHOD_EC_SHA_VALUE_HASH’
warning:  2069 |             LIBSSH2_KEX_METHOD_EC_SHA_VALUE_HASH(iv,
warning:       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
warning: libssh2/src/kex.c:73:36: error: storage size of ‘hash’ isn’t known
warning:    73 |     libssh2_sha##digest_type##_ctx hash;                                    \
warning:       |                                    ^~~~
warning: libssh2/src/kex.c:65:13: note: in expansion of macro ‘LIBSSH2_KEX_METHOD_SHA_VALUE_HASH’
warning:    65 |             LIBSSH2_KEX_METHOD_SHA_VALUE_HASH(512, value, reqlen, version); \
warning:       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
warning: libssh2/src/kex.c:2069:13: note: in expansion of macro ‘LIBSSH2_KEX_METHOD_EC_SHA_VALUE_HASH’
warning:  2069 |             LIBSSH2_KEX_METHOD_EC_SHA_VALUE_HASH(iv,
warning:       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
warning: libssh2/src/kex.c:73:36: error: storage size of ‘hash’ isn’t known
warning:    73 |     libssh2_sha##digest_type##_ctx hash;                                    \
warning:       |                                    ^~~~
warning: libssh2/src/kex.c:59:13: note: in expansion of macro ‘LIBSSH2_KEX_METHOD_SHA_VALUE_HASH’
warning:    59 |             LIBSSH2_KEX_METHOD_SHA_VALUE_HASH(256, value, reqlen, version); \
warning:       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
warning: libssh2/src/kex.c:2077:13: note: in expansion of macro ‘LIBSSH2_KEX_METHOD_EC_SHA_VALUE_HASH’
warning:  2077 |             LIBSSH2_KEX_METHOD_EC_SHA_VALUE_HASH(secret,
warning:       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
warning: libssh2/src/kex.c:73:36: error: storage size of ‘hash’ isn’t known
warning:    73 |     libssh2_sha##digest_type##_ctx hash;                                    \
warning:       |                                    ^~~~
warning: libssh2/src/kex.c:62:13: note: in expansion of macro ‘LIBSSH2_KEX_METHOD_SHA_VALUE_HASH’
warning:    62 |             LIBSSH2_KEX_METHOD_SHA_VALUE_HASH(384, value, reqlen, version); \
warning:       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
warning: libssh2/src/kex.c:2077:13: note: in expansion of macro ‘LIBSSH2_KEX_METHOD_EC_SHA_VALUE_HASH’
warning:  2077 |             LIBSSH2_KEX_METHOD_EC_SHA_VALUE_HASH(secret,
warning:       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
warning: libssh2/src/kex.c:73:36: error: storage size of ‘hash’ isn’t known
warning:    73 |     libssh2_sha##digest_type##_ctx hash;                                    \
warning:       |                                    ^~~~
warning: libssh2/src/kex.c:65:13: note: in expansion of macro ‘LIBSSH2_KEX_METHOD_SHA_VALUE_HASH’
warning:    65 |             LIBSSH2_KEX_METHOD_SHA_VALUE_HASH(512, value, reqlen, version); \
warning:       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
warning: libssh2/src/kex.c:2077:13: note: in expansion of macro ‘LIBSSH2_KEX_METHOD_EC_SHA_VALUE_HASH’
warning:  2077 |             LIBSSH2_KEX_METHOD_EC_SHA_VALUE_HASH(secret,
warning:       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
warning: libssh2/src/kex.c:73:36: error: storage size of ‘hash’ isn’t known
warning:    73 |     libssh2_sha##digest_type##_ctx hash;                                    \
warning:       |                                    ^~~~
warning: libssh2/src/kex.c:59:13: note: in expansion of macro ‘LIBSSH2_KEX_METHOD_SHA_VALUE_HASH’
warning:    59 |             LIBSSH2_KEX_METHOD_SHA_VALUE_HASH(256, value, reqlen, version); \
warning:       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
warning: libssh2/src/kex.c:2117:13: note: in expansion of macro ‘LIBSSH2_KEX_METHOD_EC_SHA_VALUE_HASH’
warning:  2117 |             LIBSSH2_KEX_METHOD_EC_SHA_VALUE_HASH(key,
warning:       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
warning: In file included from libssh2/src/crypto.h:42,
warning:                  from libssh2/src/libssh2_priv.h:141,
warning:                  from libssh2/src/knownhost.c:39:
warning: libssh2/src/openssl.h:280:3: warning: implicit declaration of function ‘HMAC_CTX_init’; did you mean ‘HMAC_CTX_new’? [-Wimplicit-function-declaration]
warning:   280 |   HMAC_CTX_init(&ctx)
warning:       |   ^~~~~~~~~~~~~
warning: libssh2/src/knownhost.c:423:21: note: in expansion of macro ‘libssh2_hmac_ctx_init’
warning:   423 |                     libssh2_hmac_ctx_init(ctx);
warning:       |                     ^~~~~~~~~~~~~~~~~~~~~
warning: libssh2/src/kex.c:73:36: error: storage size of ‘hash’ isn’t known
warning:    73 |     libssh2_sha##digest_type##_ctx hash;                                    \
warning:       |                                    ^~~~
warning: libssh2/src/kex.c:62:13: note: in expansion of macro ‘LIBSSH2_KEX_METHOD_SHA_VALUE_HASH’
warning:    62 |             LIBSSH2_KEX_METHOD_SHA_VALUE_HASH(384, value, reqlen, version); \
warning:       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
warning: libssh2/src/kex.c:2117:13: note: in expansion of macro ‘LIBSSH2_KEX_METHOD_EC_SHA_VALUE_HASH’
warning:  2117 |             LIBSSH2_KEX_METHOD_EC_SHA_VALUE_HASH(key,
warning:       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
warning: libssh2/src/kex.c:73:36: error: storage size of ‘hash’ isn’t known
warning:    73 |     libssh2_sha##digest_type##_ctx hash;                                    \
warning:       |                                    ^~~~
warning: libssh2/src/kex.c:65:13: note: in expansion of macro ‘LIBSSH2_KEX_METHOD_SHA_VALUE_HASH’
warning:    65 |             LIBSSH2_KEX_METHOD_SHA_VALUE_HASH(512, value, reqlen, version); \
warning:       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
warning: libssh2/src/kex.c:2117:13: note: in expansion of macro ‘LIBSSH2_KEX_METHOD_EC_SHA_VALUE_HASH’
warning:  2117 |             LIBSSH2_KEX_METHOD_EC_SHA_VALUE_HASH(key,
warning:       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
warning: libssh2/src/kex.c:73:36: error: storage size of ‘hash’ isn’t known
warning:    73 |     libssh2_sha##digest_type##_ctx hash;                                    \
warning:       |                                    ^~~~
warning: libssh2/src/kex.c:59:13: note: in expansion of macro ‘LIBSSH2_KEX_METHOD_SHA_VALUE_HASH’
warning:    59 |             LIBSSH2_KEX_METHOD_SHA_VALUE_HASH(256, value, reqlen, version); \
warning:       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
warning: libssh2/src/kex.c:2144:13: note: in expansion of macro ‘LIBSSH2_KEX_METHOD_EC_SHA_VALUE_HASH’
warning:  2144 |             LIBSSH2_KEX_METHOD_EC_SHA_VALUE_HASH(key,
warning:       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
warning: libssh2/src/kex.c:73:36: error: storage size of ‘hash’ isn’t known
warning:    73 |     libssh2_sha##digest_type##_ctx hash;                                    \
warning:       |                                    ^~~~
warning: libssh2/src/kex.c:62:13: note: in expansion of macro ‘LIBSSH2_KEX_METHOD_SHA_VALUE_HASH’
warning:    62 |             LIBSSH2_KEX_METHOD_SHA_VALUE_HASH(384, value, reqlen, version); \
warning:       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
warning: libssh2/src/kex.c:2144:13: note: in expansion of macro ‘LIBSSH2_KEX_METHOD_EC_SHA_VALUE_HASH’
warning:  2144 |             LIBSSH2_KEX_METHOD_EC_SHA_VALUE_HASH(key,
warning:       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
warning: libssh2/src/kex.c:73:36: error: storage size of ‘hash’ isn’t known
warning:    73 |     libssh2_sha##digest_type##_ctx hash;                                    \
warning:       |                                    ^~~~
warning: libssh2/src/kex.c:65:13: note: in expansion of macro ‘LIBSSH2_KEX_METHOD_SHA_VALUE_HASH’
warning:    65 |             LIBSSH2_KEX_METHOD_SHA_VALUE_HASH(512, value, reqlen, version); \
warning:       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
warning: libssh2/src/kex.c:2144:13: note: in expansion of macro ‘LIBSSH2_KEX_METHOD_EC_SHA_VALUE_HASH’
warning:  2144 |             LIBSSH2_KEX_METHOD_EC_SHA_VALUE_HASH(key,
warning:       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
warning: libssh2/src/openssl.h:295:35: warning: implicit declaration of function ‘HMAC_cleanup’; did you mean ‘RAND_cleanup’? [-Wimplicit-function-declaration]
warning:   295 | #define libssh2_hmac_cleanup(ctx) HMAC_cleanup(ctx)
warning:       |                                   ^~~~~~~~~~~~
warning: libssh2/src/knownhost.c:435:21: note: in expansion of macro ‘libssh2_hmac_cleanup’
warning:   435 |                     libssh2_hmac_cleanup(&ctx);
warning:       |                     ^~~~~~~~~~~~~~~~~~~~
warning: libssh2/src/mac.c: In function ‘mac_method_hmac_sha2_512_hash’:
warning: libssh2/src/mac.c:111:22: error: storage size of ‘ctx’ isn’t known
warning:   111 |     libssh2_hmac_ctx ctx;
warning:       |                      ^~~
warning: In file included from libssh2/src/crypto.h:42,
warning:                  from libssh2/src/libssh2_priv.h:141,
warning:                  from libssh2/src/mac.c:38:
warning: libssh2/src/openssl.h:280:3: warning: implicit declaration of function ‘HMAC_CTX_init’; did you mean ‘HMAC_CTX_new’? [-Wimplicit-function-declaration]
warning:   280 |   HMAC_CTX_init(&ctx)
warning:       |   ^~~~~~~~~~~~~
warning: libssh2/src/mac.c:117:5: note: in expansion of macro ‘libssh2_hmac_ctx_init’
warning:   117 |     libssh2_hmac_ctx_init(ctx);
warning:       |     ^~~~~~~~~~~~~~~~~~~~~
warning: libssh2/src/openssl.h:295:35: warning: implicit declaration of function ‘HMAC_cleanup’; did you mean ‘RAND_cleanup’? [-Wimplicit-function-declaration]
warning:   295 | #define libssh2_hmac_cleanup(ctx) HMAC_cleanup(ctx)
warning:       |                                   ^~~~~~~~~~~~
warning: libssh2/src/mac.c:125:5: note: in expansion of macro ‘libssh2_hmac_cleanup’
warning:   125 |     libssh2_hmac_cleanup(&ctx);
warning:       |     ^~~~~~~~~~~~~~~~~~~~
warning: libssh2/src/mac.c: In function ‘mac_method_hmac_sha2_256_hash’:
warning: libssh2/src/mac.c:156:22: error: storage size of ‘ctx’ isn’t known
warning:   156 |     libssh2_hmac_ctx ctx;
warning:       |                      ^~~
warning: libssh2/src/mac.c: In function ‘mac_method_hmac_sha1_hash’:
warning: libssh2/src/mac.c:201:22: error: storage size of ‘ctx’ isn’t known
warning:   201 |     libssh2_hmac_ctx ctx;
warning:       |                      ^~~
warning: libssh2/src/mac.c: In function ‘mac_method_hmac_md5_hash’:
warning: libssh2/src/mac.c:274:22: error: storage size of ‘ctx’ isn’t known
warning:   274 |     libssh2_hmac_ctx ctx;
warning:       |                      ^~~
warning: libssh2/src/mac.c: In function ‘mac_method_hmac_ripemd160_hash’:
warning: libssh2/src/mac.c:347:22: error: storage size of ‘ctx’ isn’t known
warning:   347 |     libssh2_hmac_ctx ctx;
warning:       |                      ^~~
warning: libssh2/src/pem.c: In function ‘_libssh2_pem_parse’:
warning: libssh2/src/pem.c:213:25: error: storage size of ‘fingerprint_ctx’ isn’t known
warning:   213 |         libssh2_md5_ctx fingerprint_ctx;
warning:       |                         ^~~~~~~~~~~~~~~
warning: ToolExecError: Command "cc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I" "/tmp/cargo-installYesOHb/release/build/libssh2-sys-d02046a24f54419b/out/include" "-I" "libssh2/src" "-I" "/tmp/cargo-installYesOHb/release/build/libssh2-sys-d02046a24f54419b/out/build" "-I" "/usr/include" "-fvisibility=hidden" "-DHAVE_LONGLONG" "-DHAVE_SNPRINTF" "-DHAVE_UNISTD_H" "-DHAVE_INTTYPES_H" "-DHAVE_STDLIB_H" "-DHAVE_SYS_SELECT_H" "-DHAVE_SYS_SOCKET_H" "-DHAVE_SYS_IOCTL_H" "-DHAVE_SYS_TIME_H" "-DHAVE_SYS_UN_H" "-DHAVE_O_NONBLOCK" "-DLIBSSH2_OPENSSL" "-DHAVE_LIBCRYPT32" "-DHAVE_EVP_AES_128_CTR" "-DHAVE_POLL" "-DHAVE_GETTIMEOFDAY" "-DLIBSSH2_DH_GEX_NEW" "-DLIBSSH2_HAVE_ZLIB" "-o" "/tmp/cargo-installYesOHb/release/build/libssh2-sys-d02046a24f54419b/out/build/libssh2/src/kex.o" "-c" "libssh2/src/kex.c" with args "cc" did not execute successfully (status code exit status: 1).
warning: ToolExecError: Command "cc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I" "/tmp/cargo-installYesOHb/release/build/libssh2-sys-d02046a24f54419b/out/include" "-I" "libssh2/src" "-I" "/tmp/cargo-installYesOHb/release/build/libssh2-sys-d02046a24f54419b/out/build" "-I" "/usr/include" "-fvisibility=hidden" "-DHAVE_LONGLONG" "-DHAVE_SNPRINTF" "-DHAVE_UNISTD_H" "-DHAVE_INTTYPES_H" "-DHAVE_STDLIB_H" "-DHAVE_SYS_SELECT_H" "-DHAVE_SYS_SOCKET_H" "-DHAVE_SYS_IOCTL_H" "-DHAVE_SYS_TIME_H" "-DHAVE_SYS_UN_H" "-DHAVE_O_NONBLOCK" "-DLIBSSH2_OPENSSL" "-DHAVE_LIBCRYPT32" "-DHAVE_EVP_AES_128_CTR" "-DHAVE_POLL" "-DHAVE_GETTIMEOFDAY" "-DLIBSSH2_DH_GEX_NEW" "-DLIBSSH2_HAVE_ZLIB" "-o" "/tmp/cargo-installYesOHb/release/build/libssh2-sys-d02046a24f54419b/out/build/libssh2/src/knownhost.o" "-c" "libssh2/src/knownhost.c" with args "cc" did not execute successfully (status code exit status: 1).running: "cc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I" "/tmp/cargo-installYesOHb/release/build/libssh2-sys-d02046a24f54419b/out/include" "-I" "libssh2/src" "-I" "/tmp/cargo-installYesOHb/release/build/libssh2-sys-d02046a24f54419b/out/build" "-I" "/usr/include" "-fvisibility=hidden" "-DHAVE_LONGLONG" "-DHAVE_SNPRINTF" "-DHAVE_UNISTD_H" "-DHAVE_INTTYPES_H" "-DHAVE_STDLIB_H" "-DHAVE_SYS_SELECT_H" "-DHAVE_SYS_SOCKET_H" "-DHAVE_SYS_IOCTL_H" "-DHAVE_SYS_TIME_H" "-DHAVE_SYS_UN_H" "-DHAVE_O_NONBLOCK" "-DLIBSSH2_OPENSSL" "-DHAVE_LIBCRYPT32" "-DHAVE_EVP_AES_128_CTR" "-DHAVE_POLL" "-DHAVE_GETTIMEOFDAY" "-DLIBSSH2_DH_GEX_NEW" "-DLIBSSH2_HAVE_ZLIB" "-o" "/tmp/cargo-installYesOHb/release/build/libssh2-sys-d02046a24f54419b/out/build/libssh2/src/session.o" "-c" "libssh2/src/session.c"
warning: ToolExecError: Command "cc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I" "/tmp/cargo-installYesOHb/release/build/libssh2-sys-d02046a24f54419b/out/include" "-I" "libssh2/src" "-I" "/tmp/cargo-installYesOHb/release/build/libssh2-sys-d02046a24f54419b/out/build" "-I" "/usr/include" "-fvisibility=hidden" "-DHAVE_LONGLONG" "-DHAVE_SNPRINTF" "-DHAVE_UNISTD_H" "-DHAVE_INTTYPES_H" "-DHAVE_STDLIB_H" "-DHAVE_SYS_SELECT_H" "-DHAVE_SYS_SOCKET_H" "-DHAVE_SYS_IOCTL_H" "-DHAVE_SYS_TIME_H" "-DHAVE_SYS_UN_H" "-DHAVE_O_NONBLOCK" "-DLIBSSH2_OPENSSL" "-DHAVE_LIBCRYPT32" "-DHAVE_EVP_AES_128_CTR" "-DHAVE_POLL" "-DHAVE_GETTIMEOFDAY" "-DLIBSSH2_DH_GEX_NEW" "-DLIBSSH2_HAVE_ZLIB" "-o" "/tmp/cargo-installYesOHb/release/build/libssh2-sys-d02046a24f54419b/out/build/libssh2/src/mac.o" "-c" "libssh2/src/mac.c" with args "cc" did not execute successfully (status code exit status: 1).
warning: ToolExecError: Command "cc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I" "/tmp/cargo-installYesOHb/release/build/libssh2-sys-d02046a24f54419b/out/include" "-I" "libssh2/src" "-I" "/tmp/cargo-installYesOHb/release/build/libssh2-sys-d02046a24f54419b/out/build" "-I" "/usr/include" "-fvisibility=hidden" "-DHAVE_LONGLONG" "-DHAVE_SNPRINTF" "-DHAVE_UNISTD_H" "-DHAVE_INTTYPES_H" "-DHAVE_STDLIB_H" "-DHAVE_SYS_SELECT_H" "-DHAVE_SYS_SOCKET_H" "-DHAVE_SYS_IOCTL_H" "-DHAVE_SYS_TIME_H" "-DHAVE_SYS_UN_H" "-DHAVE_O_NONBLOCK" "-DLIBSSH2_OPENSSL" "-DHAVE_LIBCRYPT32" "-DHAVE_EVP_AES_128_CTR" "-DHAVE_POLL" "-DHAVE_GETTIMEOFDAY" "-DLIBSSH2_DH_GEX_NEW" "-DLIBSSH2_HAVE_ZLIB" "-o" "/tmp/cargo-installYesOHb/release/build/libssh2-sys-d02046a24f54419b/out/build/libssh2/src/pem.o" "-c" "libssh2/src/pem.c" with args "cc" did not execute successfully (status code exit status: 1).running: "cc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I" "/tmp/cargo-installYesOHb/release/build/libssh2-sys-d02046a24f54419b/out/include" "-I" "libssh2/src" "-I" "/tmp/cargo-installYesOHb/release/build/libssh2-sys-d02046a24f54419b/out/build" "-I" "/usr/include" "-fvisibility=hidden" "-DHAVE_LONGLONG" "-DHAVE_SNPRINTF" "-DHAVE_UNISTD_H" "-DHAVE_INTTYPES_H" "-DHAVE_STDLIB_H" "-DHAVE_SYS_SELECT_H" "-DHAVE_SYS_SOCKET_H" "-DHAVE_SYS_IOCTL_H" "-DHAVE_SYS_TIME_H" "-DHAVE_SYS_UN_H" "-DHAVE_O_NONBLOCK" "-DLIBSSH2_OPENSSL" "-DHAVE_LIBCRYPT32" "-DHAVE_EVP_AES_128_CTR" "-DHAVE_POLL" "-DHAVE_GETTIMEOFDAY" "-DLIBSSH2_DH_GEX_NEW" "-DLIBSSH2_HAVE_ZLIB" "-o" "/tmp/cargo-installYesOHb/release/build/libssh2-sys-d02046a24f54419b/out/build/libssh2/src/sftp.o" "-c" "libssh2/src/sftp.c"
warning: libssh2/src/openssl.c: In function ‘_libssh2_rsa_new’:
warning: libssh2/src/openssl.c:134:11: error: invalid use of incomplete typedef ‘RSA’ {aka ‘struct rsa_st’}
warning:   134 |     (*rsa)->e = e;
warning:       |           ^~
warning: libssh2/src/openssl.c:135:11: error: invalid use of incomplete typedef ‘RSA’ {aka ‘struct rsa_st’}
warning:   135 |     (*rsa)->n = n;
warning:       |           ^~
warning: libssh2/src/openssl.c:136:11: error: invalid use of incomplete typedef ‘RSA’ {aka ‘struct rsa_st’}
warning:   136 |     (*rsa)->d = d;
warning:       |           ^~
warning: libssh2/src/openssl.c:142:11: error: invalid use of incomplete typedef ‘RSA’ {aka ‘struct rsa_st’}
warning:   142 |     (*rsa)->p = p;
warning:       |           ^~
warning: libssh2/src/openssl.c:143:11: error: invalid use of incomplete typedef ‘RSA’ {aka ‘struct rsa_st’}
warning:   143 |     (*rsa)->q = q;
warning:       |           ^~
warning: libssh2/src/openssl.c:149:11: error: invalid use of incomplete typedef ‘RSA’ {aka ‘struct rsa_st’}
warning:   149 |     (*rsa)->dmp1 = dmp1;
warning:       |           ^~
warning: libssh2/src/openssl.c:150:11: error: invalid use of incomplete typedef ‘RSA’ {aka ‘struct rsa_st’}
warning:   150 |     (*rsa)->dmq1 = dmq1;
warning:       |           ^~
warning: libssh2/src/openssl.c:151:11: error: invalid use of incomplete typedef ‘RSA’ {aka ‘struct rsa_st’}
warning:   151 |     (*rsa)->iqmp = iqmp;
warning:       |           ^~
warning: libssh2/src/openssl.c: In function ‘_libssh2_dsa_new’:
warning: libssh2/src/openssl.c:213:14: error: invalid use of incomplete typedef ‘DSA’ {aka ‘struct dsa_st’}
warning:   213 |     (*dsactx)->p = p_bn;
warning:       |              ^~
warning: libssh2/src/openssl.c:214:14: error: invalid use of incomplete typedef ‘DSA’ {aka ‘struct dsa_st’}
warning:   214 |     (*dsactx)->g = g_bn;
warning:       |              ^~
warning: libssh2/src/openssl.c:215:14: error: invalid use of incomplete typedef ‘DSA’ {aka ‘struct dsa_st’}
warning:   215 |     (*dsactx)->q = q_bn;
warning:       |              ^~
warning: libssh2/src/openssl.c:221:14: error: invalid use of incomplete typedef ‘DSA’ {aka ‘struct dsa_st’}
warning:   221 |     (*dsactx)->pub_key = pub_key;
warning:       |              ^~
warning: libssh2/src/openssl.c:222:14: error: invalid use of incomplete typedef ‘DSA’ {aka ‘struct dsa_st’}
warning:   222 |     (*dsactx)->priv_key = priv_key;
warning:       |              ^~
warning: libssh2/src/openssl.c: In function ‘_libssh2_dsa_sha1_verify’:
warning: libssh2/src/openssl.c:247:11: error: invalid use of incomplete typedef ‘DSA_SIG’ {aka ‘struct DSA_SIG_st’}
warning:   247 |     dsasig->r = r;
warning:       |           ^~
warning: libssh2/src/openssl.c:248:11: error: invalid use of incomplete typedef ‘DSA_SIG’ {aka ‘struct DSA_SIG_st’}
warning:   248 |     dsasig->s = s;
warning:       |           ^~
warning: libssh2/src/openssl.c: In function ‘_libssh2_ecdsa_verify’:
warning: libssh2/src/openssl.c:370:15: error: storage size of ‘ecdsa_sig_’ isn’t known
warning:   370 |     ECDSA_SIG ecdsa_sig_;
warning:       |               ^~~~~~~~~~
warning: libssh2/src/openssl.c: In function ‘gen_publickey_from_rsa’:
warning: libssh2/src/openssl.c:805:12: error: invalid use of incomplete typedef ‘RSA’ {aka ‘struct rsa_st’}
warning:   805 |     e = rsa->e;
warning:       |            ^~
warning: libssh2/src/openssl.c:806:12: error: invalid use of incomplete typedef ‘RSA’ {aka ‘struct rsa_st’}
warning:   806 |     n = rsa->n;
warning:       |            ^~
warning: libssh2/src/openssl.c: In function ‘_libssh2_rsa_new_additional_parameters’:
warning: libssh2/src/openssl.c:903:15: error: invalid use of incomplete typedef ‘RSA’ {aka ‘struct rsa_st’}
warning:   903 |     d = (*rsa).d;
warning:       |               ^
warning: libssh2/src/openssl.c:904:15: error: invalid use of incomplete typedef ‘RSA’ {aka ‘struct rsa_st’}
warning:   904 |     p = (*rsa).p;
warning:       |               ^
warning: libssh2/src/openssl.c:905:15: error: invalid use of incomplete typedef ‘RSA’ {aka ‘struct rsa_st’}
warning:   905 |     q = (*rsa).q;
warning:       |               ^
warning: libssh2/src/openssl.c:941:11: error: invalid use of incomplete typedef ‘RSA’ {aka ‘struct rsa_st’}
warning:   941 |     (*rsa).dmp1 = dmp1;
warning:       |           ^
warning: libssh2/src/openssl.c:942:11: error: invalid use of incomplete typedef ‘RSA’ {aka ‘struct rsa_st’}
warning:   942 |     (*rsa).dmq1 = dmq1;
warning:       |           ^
warning: libssh2/src/openssl.c: In function ‘gen_publickey_from_dsa’:
warning: libssh2/src/openssl.c:1183:15: error: invalid use of incomplete typedef ‘DSA’ {aka ‘struct dsa_st’}
warning:  1183 |     p_bn = dsa->p;
warning:       |               ^~
warning: libssh2/src/openssl.c:1184:12: error: invalid use of incomplete typedef ‘DSA’ {aka ‘struct dsa_st’}
warning:  1184 |     q = dsa->q;
warning:       |            ^~
warning: libssh2/src/openssl.c:1185:12: error: invalid use of incomplete typedef ‘DSA’ {aka ‘struct dsa_st’}
warning:  1185 |     g = dsa->g;
warning:       |            ^~
warning: libssh2/src/openssl.c:1191:18: error: invalid use of incomplete typedef ‘DSA’ {aka ‘struct dsa_st’}
warning:  1191 |     pub_key = dsa->pub_key;
warning:       |                  ^~
warning: libssh2/src/openssl.c: In function ‘_libssh2_dsa_sha1_sign’:
warning: libssh2/src/openssl.c:1929:12: error: invalid use of incomplete typedef ‘DSA_SIG’ {aka ‘struct DSA_SIG_st’}
warning:  1929 |     r = sig->r;
warning:       |            ^~
warning: libssh2/src/openssl.c:1930:12: error: invalid use of incomplete typedef ‘DSA_SIG’ {aka ‘struct DSA_SIG_st’}
warning:  1930 |     s = sig->s;
warning:       |            ^~
warning: libssh2/src/openssl.c: In function ‘_libssh2_ecdsa_sign’:
warning: libssh2/src/openssl.c:1975:13: error: invalid use of incomplete typedef ‘ECDSA_SIG’ {aka ‘struct ECDSA_SIG_st’}
warning:  1975 |     pr = sig->r;
warning:       |             ^~
warning: libssh2/src/openssl.c:1976:13: error: invalid use of incomplete typedef ‘ECDSA_SIG’ {aka ‘struct ECDSA_SIG_st’}
warning:  1976 |     ps = sig->s;
warning:       |             ^~
warning: libssh2/src/openssl.c: In function ‘_libssh2_sha1’:
warning: libssh2/src/openssl.c:2057:16: error: storage size of ‘ctx’ isn’t known
warning:  2057 |     EVP_MD_CTX ctx;
warning:       |                ^~~
warning: libssh2/src/openssl.c: In function ‘_libssh2_sha256’:
warning: libssh2/src/openssl.c:2109:16: error: storage size of ‘ctx’ isn’t known
warning:  2109 |     EVP_MD_CTX ctx;
warning:       |                ^~~
warning: libssh2/src/openssl.c: In function ‘_libssh2_sha384’:
warning: libssh2/src/openssl.c:2161:16: error: storage size of ‘ctx’ isn’t known
warning:  2161 |     EVP_MD_CTX ctx;
warning:       |                ^~~
warning: libssh2/src/openssl.c: In function ‘_libssh2_sha512’:
warning: libssh2/src/openssl.c:2213:16: error: storage size of ‘ctx’ isn’t known
warning:  2213 |     EVP_MD_CTX ctx;
warning:       |                ^~~
warning: libssh2/src/openssl.c: In function ‘_libssh2_pub_priv_keyfile’:
warning: libssh2/src/openssl.c:3003:16: error: invalid use of incomplete typedef ‘EVP_PKEY’ {aka ‘struct evp_pkey_st’}
warning:  3003 |     pktype = pk->type;
warning:       |                ^~
warning: libssh2/src/openssl.c: In function ‘_libssh2_pub_priv_keyfilememory’:
warning: libssh2/src/openssl.c:3213:16: error: invalid use of incomplete typedef ‘EVP_PKEY’ {aka ‘struct evp_pkey_st’}
warning:  3213 |     pktype = pk->type;
warning:       |                ^~
warning: ToolExecError: Command "cc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I" "/tmp/cargo-installYesOHb/release/build/libssh2-sys-d02046a24f54419b/out/include" "-I" "libssh2/src" "-I" "/tmp/cargo-installYesOHb/release/build/libssh2-sys-d02046a24f54419b/out/build" "-I" "/usr/include" "-fvisibility=hidden" "-DHAVE_LONGLONG" "-DHAVE_SNPRINTF" "-DHAVE_UNISTD_H" "-DHAVE_INTTYPES_H" "-DHAVE_STDLIB_H" "-DHAVE_SYS_SELECT_H" "-DHAVE_SYS_SOCKET_H" "-DHAVE_SYS_IOCTL_H" "-DHAVE_SYS_TIME_H" "-DHAVE_SYS_UN_H" "-DHAVE_O_NONBLOCK" "-DLIBSSH2_OPENSSL" "-DHAVE_LIBCRYPT32" "-DHAVE_EVP_AES_128_CTR" "-DHAVE_POLL" "-DHAVE_GETTIMEOFDAY" "-DLIBSSH2_DH_GEX_NEW" "-DLIBSSH2_HAVE_ZLIB" "-o" "/tmp/cargo-installYesOHb/release/build/libssh2-sys-d02046a24f54419b/out/build/libssh2/src/openssl.o" "-c" "libssh2/src/openssl.c" with args "cc" did not execute successfully (status code exit status: 1).

error: failed to run custom build command for `libssh2-sys v0.2.23`
note: To improve backtraces for build dependencies, set the CARGO_PROFILE_RELEASE_BUILD_OVERRIDE_DEBUG=true environment variable to enable debug information generation.

Caused by:
  process didn't exit successfully: `/tmp/cargo-installYesOHb/release/build/libssh2-sys-b33bcb436760e37e/build-script-build` (exit status: 1)
  --- stdout
  cargo:rerun-if-env-changed=LIBSSH2_SYS_USE_PKG_CONFIG
  cargo:include=/tmp/cargo-installYesOHb/release/build/libssh2-sys-d02046a24f54419b/out/include
  cargo:root=/tmp/cargo-installYesOHb/release/build/libssh2-sys-d02046a24f54419b/out
  cargo:rerun-if-env-changed=DEP_Z_INCLUDE
  cargo:rerun-if-env-changed=DEP_OPENSSL_INCLUDE
  TARGET = Some("x86_64-unknown-linux-gnu")
  OPT_LEVEL = Some("3")
  HOST = Some("x86_64-unknown-linux-gnu")
  cargo:rerun-if-env-changed=CC_x86_64-unknown-linux-gnu
  CC_x86_64-unknown-linux-gnu = None
  cargo:rerun-if-env-changed=CC_x86_64_unknown_linux_gnu
  CC_x86_64_unknown_linux_gnu = None
  cargo:rerun-if-env-changed=HOST_CC
  HOST_CC = None
  cargo:rerun-if-env-changed=CC
  CC = None
  cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
  CRATE_CC_NO_DEFAULTS = None
  DEBUG = Some("false")
  CARGO_CFG_TARGET_FEATURE = Some("fxsr,sse,sse2")
  cargo:rerun-if-env-changed=CFLAGS_x86_64-unknown-linux-gnu
  CFLAGS_x86_64-unknown-linux-gnu = None
  cargo:rerun-if-env-changed=CFLAGS_x86_64_unknown_linux_gnu
  CFLAGS_x86_64_unknown_linux_gnu = None
  cargo:rerun-if-env-changed=HOST_CFLAGS
  HOST_CFLAGS = None
  cargo:rerun-if-env-changed=CFLAGS
  CFLAGS = None
  running: "cc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I" "/tmp/cargo-installYesOHb/release/build/libssh2-sys-d02046a24f54419b/out/include" "-I" "libssh2/src" "-I" "/tmp/cargo-installYesOHb/release/build/libssh2-sys-d02046a24f54419b/out/build" "-I" "/usr/include" "-fvisibility=hidden" "-DHAVE_LONGLONG" "-DHAVE_SNPRINTF" "-DHAVE_UNISTD_H" "-DHAVE_INTTYPES_H" "-DHAVE_STDLIB_H" "-DHAVE_SYS_SELECT_H" "-DHAVE_SYS_SOCKET_H" "-DHAVE_SYS_IOCTL_H" "-DHAVE_SYS_TIME_H" "-DHAVE_SYS_UN_H" "-DHAVE_O_NONBLOCK" "-DLIBSSH2_OPENSSL" "-DHAVE_LIBCRYPT32" "-DHAVE_EVP_AES_128_CTR" "-DHAVE_POLL" "-DHAVE_GETTIMEOFDAY" "-DLIBSSH2_DH_GEX_NEW" "-DLIBSSH2_HAVE_ZLIB" "-o" "/tmp/cargo-installYesOHb/release/build/libssh2-sys-d02046a24f54419b/out/build/libssh2/src/agent.o" "-c" "libssh2/src/agent.c"
  running: "cc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I" "/tmp/cargo-installYesOHb/release/build/libssh2-sys-d02046a24f54419b/out/include" "-I" "libssh2/src" "-I" "/tmp/cargo-installYesOHb/release/build/libssh2-sys-d02046a24f54419b/out/build" "-I" "/usr/include" "-fvisibility=hidden" "-DHAVE_LONGLONG" "-DHAVE_SNPRINTF" "-DHAVE_UNISTD_H" "-DHAVE_INTTYPES_H" "-DHAVE_STDLIB_H" "-DHAVE_SYS_SELECT_H" "-DHAVE_SYS_SOCKET_H" "-DHAVE_SYS_IOCTL_H" "-DHAVE_SYS_TIME_H" "-DHAVE_SYS_UN_H" "-DHAVE_O_NONBLOCK" "-DLIBSSH2_OPENSSL" "-DHAVE_LIBCRYPT32" "-DHAVE_EVP_AES_128_CTR" "-DHAVE_POLL" "-DHAVE_GETTIMEOFDAY" "-DLIBSSH2_DH_GEX_NEW" "-DLIBSSH2_HAVE_ZLIB" "-o" "/tmp/cargo-installYesOHb/release/build/libssh2-sys-d02046a24f54419b/out/build/libssh2/src/bcrypt_pbkdf.o" "-c" "libssh2/src/bcrypt_pbkdf.c"
  running: "cc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I" "/tmp/cargo-installYesOHb/release/build/libssh2-sys-d02046a24f54419b/out/include" "-I" "libssh2/src" "-I" "/tmp/cargo-installYesOHb/release/build/libssh2-sys-d02046a24f54419b/out/build" "-I" "/usr/include" "-fvisibility=hidden" "-DHAVE_LONGLONG" "-DHAVE_SNPRINTF" "-DHAVE_UNISTD_H" "-DHAVE_INTTYPES_H" "-DHAVE_STDLIB_H" "-DHAVE_SYS_SELECT_H" "-DHAVE_SYS_SOCKET_H" "-DHAVE_SYS_IOCTL_H" "-DHAVE_SYS_TIME_H" "-DHAVE_SYS_UN_H" "-DHAVE_O_NONBLOCK" "-DLIBSSH2_OPENSSL" "-DHAVE_LIBCRYPT32" "-DHAVE_EVP_AES_128_CTR" "-DHAVE_POLL" "-DHAVE_GETTIMEOFDAY" "-DLIBSSH2_DH_GEX_NEW" "-DLIBSSH2_HAVE_ZLIB" "-o" "/tmp/cargo-installYesOHb/release/build/libssh2-sys-d02046a24f54419b/out/build/libssh2/src/blowfish.o" "-c" "libssh2/src/blowfish.c"
  running: "cc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I" "/tmp/cargo-installYesOHb/release/build/libssh2-sys-d02046a24f54419b/out/include" "-I" "libssh2/src" "-I" "/tmp/cargo-installYesOHb/release/build/libssh2-sys-d02046a24f54419b/out/build" "-I" "/usr/include" "-fvisibility=hidden" "-DHAVE_LONGLONG" "-DHAVE_SNPRINTF" "-DHAVE_UNISTD_H" "-DHAVE_INTTYPES_H" "-DHAVE_STDLIB_H" "-DHAVE_SYS_SELECT_H" "-DHAVE_SYS_SOCKET_H" "-DHAVE_SYS_IOCTL_H" "-DHAVE_SYS_TIME_H" "-DHAVE_SYS_UN_H" "-DHAVE_O_NONBLOCK" "-DLIBSSH2_OPENSSL" "-DHAVE_LIBCRYPT32" "-DHAVE_EVP_AES_128_CTR" "-DHAVE_POLL" "-DHAVE_GETTIMEOFDAY" "-DLIBSSH2_DH_GEX_NEW" "-DLIBSSH2_HAVE_ZLIB" "-o" "/tmp/cargo-installYesOHb/release/build/libssh2-sys-d02046a24f54419b/out/build/libssh2/src/channel.o" "-c" "libssh2/src/channel.c"
  cargo:warning=libssh2/src/bcrypt_pbkdf.c: In function ‘bcrypt_pbkdf’:

  cargo:warning=libssh2/src/bcrypt_pbkdf.c:113:24: error: storage size of ‘ctx’ isn’t known

  cargo:warning=  113 |     libssh2_sha512_ctx ctx;

  cargo:warning=      |                        ^~~

  running: "cc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I" "/tmp/cargo-installYesOHb/release/build/libssh2-sys-d02046a24f54419b/out/include" "-I" "libssh2/src" "-I" "/tmp/cargo-installYesOHb/release/build/libssh2-sys-d02046a24f54419b/out/build" "-I" "/usr/include" "-fvisibility=hidden" "-DHAVE_LONGLONG" "-DHAVE_SNPRINTF" "-DHAVE_UNISTD_H" "-DHAVE_INTTYPES_H" "-DHAVE_STDLIB_H" "-DHAVE_SYS_SELECT_H" "-DHAVE_SYS_SOCKET_H" "-DHAVE_SYS_IOCTL_H" "-DHAVE_SYS_TIME_H" "-DHAVE_SYS_UN_H" "-DHAVE_O_NONBLOCK" "-DLIBSSH2_OPENSSL" "-DHAVE_LIBCRYPT32" "-DHAVE_EVP_AES_128_CTR" "-DHAVE_POLL" "-DHAVE_GETTIMEOFDAY" "-DLIBSSH2_DH_GEX_NEW" "-DLIBSSH2_HAVE_ZLIB" "-o" "/tmp/cargo-installYesOHb/release/build/libssh2-sys-d02046a24f54419b/out/build/libssh2/src/comp.o" "-c" "libssh2/src/comp.c"
  running: "cc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I" "/tmp/cargo-installYesOHb/release/build/libssh2-sys-d02046a24f54419b/out/include" "-I" "libssh2/src" "-I" "/tmp/cargo-installYesOHb/release/build/libssh2-sys-d02046a24f54419b/out/build" "-I" "/usr/include" "-fvisibility=hidden" "-DHAVE_LONGLONG" "-DHAVE_SNPRINTF" "-DHAVE_UNISTD_H" "-DHAVE_INTTYPES_H" "-DHAVE_STDLIB_H" "-DHAVE_SYS_SELECT_H" "-DHAVE_SYS_SOCKET_H" "-DHAVE_SYS_IOCTL_H" "-DHAVE_SYS_TIME_H" "-DHAVE_SYS_UN_H" "-DHAVE_O_NONBLOCK" "-DLIBSSH2_OPENSSL" "-DHAVE_LIBCRYPT32" "-DHAVE_EVP_AES_128_CTR" "-DHAVE_POLL" "-DHAVE_GETTIMEOFDAY" "-DLIBSSH2_DH_GEX_NEW" "-DLIBSSH2_HAVE_ZLIB" "-o" "/tmp/cargo-installYesOHb/release/build/libssh2-sys-d02046a24f54419b/out/build/libssh2/src/crypt.o" "-c" "libssh2/src/crypt.c"
  running: "cc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I" "/tmp/cargo-installYesOHb/release/build/libssh2-sys-d02046a24f54419b/out/include" "-I" "libssh2/src" "-I" "/tmp/cargo-installYesOHb/release/build/libssh2-sys-d02046a24f54419b/out/build" "-I" "/usr/include" "-fvisibility=hidden" "-DHAVE_LONGLONG" "-DHAVE_SNPRINTF" "-DHAVE_UNISTD_H" "-DHAVE_INTTYPES_H" "-DHAVE_STDLIB_H" "-DHAVE_SYS_SELECT_H" "-DHAVE_SYS_SOCKET_H" "-DHAVE_SYS_IOCTL_H" "-DHAVE_SYS_TIME_H" "-DHAVE_SYS_UN_H" "-DHAVE_O_NONBLOCK" "-DLIBSSH2_OPENSSL" "-DHAVE_LIBCRYPT32" "-DHAVE_EVP_AES_128_CTR" "-DHAVE_POLL" "-DHAVE_GETTIMEOFDAY" "-DLIBSSH2_DH_GEX_NEW" "-DLIBSSH2_HAVE_ZLIB" "-o" "/tmp/cargo-installYesOHb/release/build/libssh2-sys-d02046a24f54419b/out/build/libssh2/src/global.o" "-c" "libssh2/src/global.c"
  exit status: 1
  cargo:warning=ToolExecError: Command "cc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I" "/tmp/cargo-installYesOHb/release/build/libssh2-sys-d02046a24f54419b/out/include" "-I" "libssh2/src" "-I" "/tmp/cargo-installYesOHb/release/build/libssh2-sys-d02046a24f54419b/out/build" "-I" "/usr/include" "-fvisibility=hidden" "-DHAVE_LONGLONG" "-DHAVE_SNPRINTF" "-DHAVE_UNISTD_H" "-DHAVE_INTTYPES_H" "-DHAVE_STDLIB_H" "-DHAVE_SYS_SELECT_H" "-DHAVE_SYS_SOCKET_H" "-DHAVE_SYS_IOCTL_H" "-DHAVE_SYS_TIME_H" "-DHAVE_SYS_UN_H" "-DHAVE_O_NONBLOCK" "-DLIBSSH2_OPENSSL" "-DHAVE_LIBCRYPT32" "-DHAVE_EVP_AES_128_CTR" "-DHAVE_POLL" "-DHAVE_GETTIMEOFDAY" "-DLIBSSH2_DH_GEX_NEW" "-DLIBSSH2_HAVE_ZLIB" "-o" "/tmp/cargo-installYesOHb/release/build/libssh2-sys-d02046a24f54419b/out/build/libssh2/src/bcrypt_pbkdf.o" "-c" "libssh2/src/bcrypt_pbkdf.c" with args "cc" did not execute successfully (status code exit status: 1).running: "cc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I" "/tmp/cargo-installYesOHb/release/build/libssh2-sys-d02046a24f54419b/out/include" "-I" "libssh2/src" "-I" "/tmp/cargo-installYesOHb/release/build/libssh2-sys-d02046a24f54419b/out/build" "-I" "/usr/include" "-fvisibility=hidden" "-DHAVE_LONGLONG" "-DHAVE_SNPRINTF" "-DHAVE_UNISTD_H" "-DHAVE_INTTYPES_H" "-DHAVE_STDLIB_H" "-DHAVE_SYS_SELECT_H" "-DHAVE_SYS_SOCKET_H" "-DHAVE_SYS_IOCTL_H" "-DHAVE_SYS_TIME_H" "-DHAVE_SYS_UN_H" "-DHAVE_O_NONBLOCK" "-DLIBSSH2_OPENSSL" "-DHAVE_LIBCRYPT32" "-DHAVE_EVP_AES_128_CTR" "-DHAVE_POLL" "-DHAVE_GETTIMEOFDAY" "-DLIBSSH2_DH_GEX_NEW" "-DLIBSSH2_HAVE_ZLIB" "-o" "/tmp/cargo-installYesOHb/release/build/libssh2-sys-d02046a24f54419b/out/build/libssh2/src/hostkey.o" "-c" "libssh2/src/hostkey.c"
  cargo:warning=libssh2/src/crypt.c:71:25: error: field ‘h’ has incomplete type

  cargo:warning=   71 |     _libssh2_cipher_ctx h;

  cargo:warning=      |                         ^

  cargo:warning=libssh2/src/hostkey.c: In function ‘hostkey_method_ssh_rsa_signv’:

  cargo:warning=libssh2/src/hostkey.c:212:22: error: storage size of ‘ctx’ isn’t known

  cargo:warning=  212 |     libssh2_sha1_ctx ctx;

  cargo:warning=      |                      ^~~

  cargo:warning=libssh2/src/hostkey.c: In function ‘hostkey_method_ssh_dss_signv’:

  cargo:warning=libssh2/src/hostkey.c:431:22: error: storage size of ‘ctx’ isn’t known

  cargo:warning=  431 |     libssh2_sha1_ctx ctx;

  cargo:warning=      |                      ^~~

  cargo:warning=libssh2/src/hostkey.c: In function ‘hostkey_method_ssh_ecdsa_signv’:

  cargo:warning=libssh2/src/hostkey.c:684:40: error: storage size of ‘ctx’ isn’t known

  cargo:warning=  684 |         libssh2_sha##digest_type##_ctx ctx;                             \

  cargo:warning=      |                                        ^~~

  cargo:warning=libssh2/src/hostkey.c:716:9: note: in expansion of macro ‘LIBSSH2_HOSTKEY_METHOD_EC_SIGNV_HASH’

  cargo:warning=  716 |         LIBSSH2_HOSTKEY_METHOD_EC_SIGNV_HASH(256);

  cargo:warning=      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

  cargo:warning=libssh2/src/hostkey.c:684:40: error: storage size of ‘ctx’ isn’t known

  cargo:warning=  684 |         libssh2_sha##digest_type##_ctx ctx;                             \

  cargo:warning=      |                                        ^~~

  cargo:warning=libssh2/src/hostkey.c:719:9: note: in expansion of macro ‘LIBSSH2_HOSTKEY_METHOD_EC_SIGNV_HASH’

  cargo:warning=  719 |         LIBSSH2_HOSTKEY_METHOD_EC_SIGNV_HASH(384);

  cargo:warning=      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

  cargo:warning=libssh2/src/hostkey.c:684:40: error: storage size of ‘ctx’ isn’t known

  cargo:warning=  684 |         libssh2_sha##digest_type##_ctx ctx;                             \

  cargo:warning=      |                                        ^~~

  cargo:warning=libssh2/src/hostkey.c:722:9: note: in expansion of macro ‘LIBSSH2_HOSTKEY_METHOD_EC_SIGNV_HASH’

  cargo:warning=  722 |         LIBSSH2_HOSTKEY_METHOD_EC_SIGNV_HASH(512);

  cargo:warning=      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

  running: "cc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I" "/tmp/cargo-installYesOHb/release/build/libssh2-sys-d02046a24f54419b/out/include" "-I" "libssh2/src" "-I" "/tmp/cargo-installYesOHb/release/build/libssh2-sys-d02046a24f54419b/out/build" "-I" "/usr/include" "-fvisibility=hidden" "-DHAVE_LONGLONG" "-DHAVE_SNPRINTF" "-DHAVE_UNISTD_H" "-DHAVE_INTTYPES_H" "-DHAVE_STDLIB_H" "-DHAVE_SYS_SELECT_H" "-DHAVE_SYS_SOCKET_H" "-DHAVE_SYS_IOCTL_H" "-DHAVE_SYS_TIME_H" "-DHAVE_SYS_UN_H" "-DHAVE_O_NONBLOCK" "-DLIBSSH2_OPENSSL" "-DHAVE_LIBCRYPT32" "-DHAVE_EVP_AES_128_CTR" "-DHAVE_POLL" "-DHAVE_GETTIMEOFDAY" "-DLIBSSH2_DH_GEX_NEW" "-DLIBSSH2_HAVE_ZLIB" "-o" "/tmp/cargo-installYesOHb/release/build/libssh2-sys-d02046a24f54419b/out/build/libssh2/src/keepalive.o" "-c" "libssh2/src/keepalive.c"

  exit status: 0
  exit status: 0
  exit status: 1
  cargo:warning=ToolExecError: Command "cc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I" "/tmp/cargo-installYesOHb/release/build/libssh2-sys-d02046a24f54419b/out/include" "-I" "libssh2/src" "-I" "/tmp/cargo-installYesOHb/release/build/libssh2-sys-d02046a24f54419b/out/build" "-I" "/usr/include" "-fvisibility=hidden" "-DHAVE_LONGLONG" "-DHAVE_SNPRINTF" "-DHAVE_UNISTD_H" "-DHAVE_INTTYPES_H" "-DHAVE_STDLIB_H" "-DHAVE_SYS_SELECT_H" "-DHAVE_SYS_SOCKET_H" "-DHAVE_SYS_IOCTL_H" "-DHAVE_SYS_TIME_H" "-DHAVE_SYS_UN_H" "-DHAVE_O_NONBLOCK" "-DLIBSSH2_OPENSSL" "-DHAVE_LIBCRYPT32" "-DHAVE_EVP_AES_128_CTR" "-DHAVE_POLL" "-DHAVE_GETTIMEOFDAY" "-DLIBSSH2_DH_GEX_NEW" "-DLIBSSH2_HAVE_ZLIB" "-o" "/tmp/cargo-installYesOHb/release/build/libssh2-sys-d02046a24f54419b/out/build/libssh2/src/crypt.o" "-c" "libssh2/src/crypt.c" with args "cc" did not execute successfully (status code exit status: 1).
  exit status: 0
  exit status: 1
  cargo:warning=ToolExecError: Command "cc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I" "/tmp/cargo-installYesOHb/release/build/libssh2-sys-d02046a24f54419b/out/include" "-I" "libssh2/src" "-I" "/tmp/cargo-installYesOHb/release/build/libssh2-sys-d02046a24f54419b/out/build" "-I" "/usr/include" "-fvisibility=hidden" "-DHAVE_LONGLONG" "-DHAVE_SNPRINTF" "-DHAVE_UNISTD_H" "-DHAVE_INTTYPES_H" "-DHAVE_STDLIB_H" "-DHAVE_SYS_SELECT_H" "-DHAVE_SYS_SOCKET_H" "-DHAVE_SYS_IOCTL_H" "-DHAVE_SYS_TIME_H" "-DHAVE_SYS_UN_H" "-DHAVE_O_NONBLOCK" "-DLIBSSH2_OPENSSL" "-DHAVE_LIBCRYPT32" "-DHAVE_EVP_AES_128_CTR" "-DHAVE_POLL" "-DHAVE_GETTIMEOFDAY" "-DLIBSSH2_DH_GEX_NEW" "-DLIBSSH2_HAVE_ZLIB" "-o" "/tmp/cargo-installYesOHb/release/build/libssh2-sys-d02046a24f54419b/out/build/libssh2/src/hostkey.o" "-c" "libssh2/src/hostkey.c" with args "cc" did not execute successfully (status code exit status: 1).running: "cc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I" "/tmp/cargo-installYesOHb/release/build/libssh2-sys-d02046a24f54419b/out/include" "-I" "libssh2/src" "-I" "/tmp/cargo-installYesOHb/release/build/libssh2-sys-d02046a24f54419b/out/build" "-I" "/usr/include" "-fvisibility=hidden" "-DHAVE_LONGLONG" "-DHAVE_SNPRINTF" "-DHAVE_UNISTD_H" "-DHAVE_INTTYPES_H" "-DHAVE_STDLIB_H" "-DHAVE_SYS_SELECT_H" "-DHAVE_SYS_SOCKET_H" "-DHAVE_SYS_IOCTL_H" "-DHAVE_SYS_TIME_H" "-DHAVE_SYS_UN_H" "-DHAVE_O_NONBLOCK" "-DLIBSSH2_OPENSSL" "-DHAVE_LIBCRYPT32" "-DHAVE_EVP_AES_128_CTR" "-DHAVE_POLL" "-DHAVE_GETTIMEOFDAY" "-DLIBSSH2_DH_GEX_NEW" "-DLIBSSH2_HAVE_ZLIB" "-o" "/tmp/cargo-installYesOHb/release/build/libssh2-sys-d02046a24f54419b/out/build/libssh2/src/kex.o" "-c" "libssh2/src/kex.c"
  running: "cc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I" "/tmp/cargo-installYesOHb/release/build/libssh2-sys-d02046a24f54419b/out/include" "-I" "libssh2/src" "-I" "/tmp/cargo-installYesOHb/release/build/libssh2-sys-d02046a24f54419b/out/build" "-I" "/usr/include" "-fvisibility=hidden" "-DHAVE_LONGLONG" "-DHAVE_SNPRINTF" "-DHAVE_UNISTD_H" "-DHAVE_INTTYPES_H" "-DHAVE_STDLIB_H" "-DHAVE_SYS_SELECT_H" "-DHAVE_SYS_SOCKET_H" "-DHAVE_SYS_IOCTL_H" "-DHAVE_SYS_TIME_H" "-DHAVE_SYS_UN_H" "-DHAVE_O_NONBLOCK" "-DLIBSSH2_OPENSSL" "-DHAVE_LIBCRYPT32" "-DHAVE_EVP_AES_128_CTR" "-DHAVE_POLL" "-DHAVE_GETTIMEOFDAY" "-DLIBSSH2_DH_GEX_NEW" "-DLIBSSH2_HAVE_ZLIB" "-o" "/tmp/cargo-installYesOHb/release/build/libssh2-sys-d02046a24f54419b/out/build/libssh2/src/knownhost.o" "-c" "libssh2/src/knownhost.c"
  running: "cc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I" "/tmp/cargo-installYesOHb/release/build/libssh2-sys-d02046a24f54419b/out/include" "-I" "libssh2/src" "-I" "/tmp/cargo-installYesOHb/release/build/libssh2-sys-d02046a24f54419b/out/build" "-I" "/usr/include" "-fvisibility=hidden" "-DHAVE_LONGLONG" "-DHAVE_SNPRINTF" "-DHAVE_UNISTD_H" "-DHAVE_INTTYPES_H" "-DHAVE_STDLIB_H" "-DHAVE_SYS_SELECT_H" "-DHAVE_SYS_SOCKET_H" "-DHAVE_SYS_IOCTL_H" "-DHAVE_SYS_TIME_H" "-DHAVE_SYS_UN_H" "-DHAVE_O_NONBLOCK" "-DLIBSSH2_OPENSSL" "-DHAVE_LIBCRYPT32" "-DHAVE_EVP_AES_128_CTR" "-DHAVE_POLL" "-DHAVE_GETTIMEOFDAY" "-DLIBSSH2_DH_GEX_NEW" "-DLIBSSH2_HAVE_ZLIB" "-o" "/tmp/cargo-installYesOHb/release/build/libssh2-sys-d02046a24f54419b/out/build/libssh2/src/mac.o" "-c" "libssh2/src/mac.c"
  running: "cc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I" "/tmp/cargo-installYesOHb/release/build/libssh2-sys-d02046a24f54419b/out/include" "-I" "libssh2/src" "-I" "/tmp/cargo-installYesOHb/release/build/libssh2-sys-d02046a24f54419b/out/build" "-I" "/usr/include" "-fvisibility=hidden" "-DHAVE_LONGLONG" "-DHAVE_SNPRINTF" "-DHAVE_UNISTD_H" "-DHAVE_INTTYPES_H" "-DHAVE_STDLIB_H" "-DHAVE_SYS_SELECT_H" "-DHAVE_SYS_SOCKET_H" "-DHAVE_SYS_IOCTL_H" "-DHAVE_SYS_TIME_H" "-DHAVE_SYS_UN_H" "-DHAVE_O_NONBLOCK" "-DLIBSSH2_OPENSSL" "-DHAVE_LIBCRYPT32" "-DHAVE_EVP_AES_128_CTR" "-DHAVE_POLL" "-DHAVE_GETTIMEOFDAY" "-DLIBSSH2_DH_GEX_NEW" "-DLIBSSH2_HAVE_ZLIB" "-o" "/tmp/cargo-installYesOHb/release/build/libssh2-sys-d02046a24f54419b/out/build/libssh2/src/misc.o" "-c" "libssh2/src/misc.c"
  cargo:warning=libssh2/src/kex.c: In function ‘_libssh2_sha_algo_value_hash’:

  cargo:warning=libssh2/src/kex.c:73:36: error: storage size of ‘hash’ isn’t known

  cargo:warning=   73 |     libssh2_sha##digest_type##_ctx hash;                                    \

  cargo:warning=      |                                    ^~~~

  cargo:warning=libssh2/src/kex.c:186:9: note: in expansion of macro ‘LIBSSH2_KEX_METHOD_SHA_VALUE_HASH’

  cargo:warning=  186 |         LIBSSH2_KEX_METHOD_SHA_VALUE_HASH(512, *data, data_len, version);

  cargo:warning=      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

  cargo:warning=libssh2/src/kex.c:73:36: error: storage size of ‘hash’ isn’t known

  cargo:warning=   73 |     libssh2_sha##digest_type##_ctx hash;                                    \

  cargo:warning=      |                                    ^~~~

  cargo:warning=libssh2/src/kex.c:189:9: note: in expansion of macro ‘LIBSSH2_KEX_METHOD_SHA_VALUE_HASH’

  cargo:warning=  189 |         LIBSSH2_KEX_METHOD_SHA_VALUE_HASH(384, *data, data_len, version);

  cargo:warning=      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

  cargo:warning=libssh2/src/kex.c:73:36: error: storage size of ‘hash’ isn’t known

  cargo:warning=   73 |     libssh2_sha##digest_type##_ctx hash;                                    \

  cargo:warning=      |                                    ^~~~

  cargo:warning=libssh2/src/kex.c:192:9: note: in expansion of macro ‘LIBSSH2_KEX_METHOD_SHA_VALUE_HASH’

  cargo:warning=  192 |         LIBSSH2_KEX_METHOD_SHA_VALUE_HASH(256, *data, data_len, version);

  cargo:warning=      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

  cargo:warning=libssh2/src/kex.c:73:36: error: storage size of ‘hash’ isn’t known

  cargo:warning=   73 |     libssh2_sha##digest_type##_ctx hash;                                    \

  cargo:warning=      |                                    ^~~~

  cargo:warning=libssh2/src/kex.c:195:9: note: in expansion of macro ‘LIBSSH2_KEX_METHOD_SHA_VALUE_HASH’

  cargo:warning=  195 |         LIBSSH2_KEX_METHOD_SHA_VALUE_HASH(1, *data, data_len, version);

  cargo:warning=      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

  cargo:warning=libssh2/src/kex.c: In function ‘diffie_hellman_sha_algo’:

  cargo:warning=libssh2/src/kex.c:393:29: error: storage size of ‘fingerprint_ctx’ isn’t known

  cargo:warning=  393 |             libssh2_md5_ctx fingerprint_ctx;

  cargo:warning=      |                             ^~~~~~~~~~~~~~~

  cargo:warning=libssh2/src/kex.c:421:30: error: storage size of ‘fingerprint_ctx’ isn’t known

  cargo:warning=  421 |             libssh2_sha1_ctx fingerprint_ctx;

  cargo:warning=      |                              ^~~~~~~~~~~~~~~

  cargo:warning=libssh2/src/kex.c:449:32: error: storage size of ‘fingerprint_ctx’ isn’t known

  cargo:warning=  449 |             libssh2_sha256_ctx fingerprint_ctx;

  cargo:warning=      |                                ^~~~~~~~~~~~~~~

  cargo:warning=libssh2/src/kex.c: In function ‘kex_method_diffie_hellman_group1_sha1_key_exchange’:

  cargo:warning=libssh2/src/kex.c:945:22: error: storage size of ‘exchange_hash_ctx’ isn’t known

  cargo:warning=  945 |     libssh2_sha1_ctx exchange_hash_ctx;

  cargo:warning=      |                      ^~~~~~~~~~~~~~~~~

  running: "cc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I" "/tmp/cargo-installYesOHb/release/build/libssh2-sys-d02046a24f54419b/out/include" "-I" "libssh2/src" "-I" "/tmp/cargo-installYesOHb/release/build/libssh2-sys-d02046a24f54419b/out/build" "-I" "/usr/include" "-fvisibility=hidden" "-DHAVE_LONGLONG" "-DHAVE_SNPRINTF" "-DHAVE_UNISTD_H" "-DHAVE_INTTYPES_H" "-DHAVE_STDLIB_H" "-DHAVE_SYS_SELECT_H" "-DHAVE_SYS_SOCKET_H" "-DHAVE_SYS_IOCTL_H" "-DHAVE_SYS_TIME_H" "-DHAVE_SYS_UN_H" "-DHAVE_O_NONBLOCK" "-DLIBSSH2_OPENSSL" "-DHAVE_LIBCRYPT32" "-DHAVE_EVP_AES_128_CTR" "-DHAVE_POLL" "-DHAVE_GETTIMEOFDAY" "-DLIBSSH2_DH_GEX_NEW" "-DLIBSSH2_HAVE_ZLIB" "-o" "/tmp/cargo-installYesOHb/release/build/libssh2-sys-d02046a24f54419b/out/build/libssh2/src/packet.o" "-c" "libssh2/src/packet.c"
  cargo:warning=libssh2/src/kex.c: In function ‘kex_method_diffie_hellman_group14_sha1_key_exchange’:

  cargo:warning=libssh2/src/kex.c:1081:22: error: storage size of ‘ctx’ isn’t known

  cargo:warning= 1081 |     libssh2_sha1_ctx ctx;

  cargo:warning=      |                      ^~~

  cargo:warning=libssh2/src/kex.c: In function ‘kex_method_diffie_hellman_group14_sha256_key_exchange’:

  cargo:warning=libssh2/src/kex.c:1098:24: error: storage size of ‘ctx’ isn’t known

  cargo:warning= 1098 |     libssh2_sha256_ctx ctx;

  cargo:warning=      |                        ^~~

  cargo:warning=libssh2/src/kex.c: In function ‘kex_method_diffie_hellman_group16_sha512_key_exchange’:

  cargo:warning=libssh2/src/kex.c:1160:24: error: storage size of ‘exchange_hash_ctx’ isn’t known

  cargo:warning= 1160 |     libssh2_sha512_ctx exchange_hash_ctx;

  cargo:warning=      |                        ^~~~~~~~~~~~~~~~~

  cargo:warning=libssh2/src/kex.c: In function ‘kex_method_diffie_hellman_group18_sha512_key_exchange’:

  cargo:warning=libssh2/src/kex.c:1293:24: error: storage size of ‘exchange_hash_ctx’ isn’t known

  cargo:warning= 1293 |     libssh2_sha512_ctx exchange_hash_ctx;

  cargo:warning=      |                        ^~~~~~~~~~~~~~~~~

  cargo:warning=libssh2/src/kex.c: In function ‘kex_method_diffie_hellman_group_exchange_sha1_key_exchange’:

  cargo:warning=libssh2/src/kex.c:1399:26: error: storage size of ‘exchange_hash_ctx’ isn’t known

  cargo:warning= 1399 |         libssh2_sha1_ctx exchange_hash_ctx;

  cargo:warning=      |                          ^~~~~~~~~~~~~~~~~

  cargo:warning=libssh2/src/kex.c: In function ‘kex_method_diffie_hellman_group_exchange_sha256_key_exchange’:

  cargo:warning=libssh2/src/kex.c:1527:28: error: storage size of ‘exchange_hash_ctx’ isn’t known

  cargo:warning= 1527 |         libssh2_sha256_ctx exchange_hash_ctx;

  cargo:warning=      |                            ^~~~~~~~~~~~~~~~~

  cargo:warning=libssh2/src/kex.c: In function ‘ecdh_sha2_nistp’:

  cargo:warning=libssh2/src/kex.c:1776:29: error: storage size of ‘fingerprint_ctx’ isn’t known

  cargo:warning= 1776 |             libssh2_md5_ctx fingerprint_ctx;

  cargo:warning=      |                             ^~~~~~~~~~~~~~~

  cargo:warning=libssh2/src/kex.c:1804:30: error: storage size of ‘fingerprint_ctx’ isn’t known

  cargo:warning= 1804 |             libssh2_sha1_ctx fingerprint_ctx;

  cargo:warning=      |                              ^~~~~~~~~~~~~~~

  cargo:warning=libssh2/src/kex.c:1833:32: error: storage size of ‘fingerprint_ctx’ isn’t known

  cargo:warning= 1833 |             libssh2_sha256_ctx fingerprint_ctx;

  cargo:warning=      |                                ^~~~~~~~~~~~~~~

  cargo:warning=libssh2/src/kex.c:1601:36: error: storage size of ‘ctx’ isn’t known

  cargo:warning= 1601 |     libssh2_sha##digest_type##_ctx ctx;                                 \

  cargo:warning=      |                                    ^~~

  cargo:warning=libssh2/src/kex.c:1921:17: note: in expansion of macro ‘LIBSSH2_KEX_METHOD_EC_SHA_HASH_CREATE_VERIFY’

  cargo:warning= 1921 |                 LIBSSH2_KEX_METHOD_EC_SHA_HASH_CREATE_VERIFY(256);

  cargo:warning=      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

  running: "cc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I" "/tmp/cargo-installYesOHb/release/build/libssh2-sys-d02046a24f54419b/out/include" "-I" "libssh2/src" "-I" "/tmp/cargo-installYesOHb/release/build/libssh2-sys-d02046a24f54419b/out/build" "-I" "/usr/include" "-fvisibility=hidden" "-DHAVE_LONGLONG" "-DHAVE_SNPRINTF" "-DHAVE_UNISTD_H" "-DHAVE_INTTYPES_H" "-DHAVE_STDLIB_H" "-DHAVE_SYS_SELECT_H" "-DHAVE_SYS_SOCKET_H" "-DHAVE_SYS_IOCTL_H" "-DHAVE_SYS_TIME_H" "-DHAVE_SYS_UN_H" "-DHAVE_O_NONBLOCK" "-DLIBSSH2_OPENSSL" "-DHAVE_LIBCRYPT32" "-DHAVE_EVP_AES_128_CTR" "-DHAVE_POLL" "-DHAVE_GETTIMEOFDAY" "-DLIBSSH2_DH_GEX_NEW" "-DLIBSSH2_HAVE_ZLIB" "-o" "/tmp/cargo-installYesOHb/release/build/libssh2-sys-d02046a24f54419b/out/build/libssh2/src/pem.o" "-c" "libssh2/src/pem.c"
  cargo:warning=libssh2/src/kex.c:1601:36: error: storage size of ‘ctx’ isn’t known

  cargo:warning= 1601 |     libssh2_sha##digest_type##_ctx ctx;                                 \

  cargo:warning=      |                                    ^~~

  cargo:warning=libssh2/src/kex.c:1925:17: note: in expansion of macro ‘LIBSSH2_KEX_METHOD_EC_SHA_HASH_CREATE_VERIFY’

  cargo:warning= 1925 |                 LIBSSH2_KEX_METHOD_EC_SHA_HASH_CREATE_VERIFY(384);

  cargo:warning=      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

  cargo:warning=libssh2/src/kex.c:1601:36: error: storage size of ‘ctx’ isn’t known

  cargo:warning= 1601 |     libssh2_sha##digest_type##_ctx ctx;                                 \

  cargo:warning=      |                                    ^~~

  cargo:warning=libssh2/src/kex.c:1928:17: note: in expansion of macro ‘LIBSSH2_KEX_METHOD_EC_SHA_HASH_CREATE_VERIFY’

  cargo:warning= 1928 |                 LIBSSH2_KEX_METHOD_EC_SHA_HASH_CREATE_VERIFY(512);

  cargo:warning=      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

  cargo:warning=libssh2/src/kex.c:73:36: error: storage size of ‘hash’ isn’t known

  cargo:warning=   73 |     libssh2_sha##digest_type##_ctx hash;                                    \

  cargo:warning=      |                                    ^~~~

  cargo:warning=libssh2/src/kex.c:59:13: note: in expansion of macro ‘LIBSSH2_KEX_METHOD_SHA_VALUE_HASH’

  cargo:warning=   59 |             LIBSSH2_KEX_METHOD_SHA_VALUE_HASH(256, value, reqlen, version); \

  cargo:warning=      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

  cargo:warning=libssh2/src/kex.c:2019:13: note: in expansion of macro ‘LIBSSH2_KEX_METHOD_EC_SHA_VALUE_HASH’

  cargo:warning= 2019 |             LIBSSH2_KEX_METHOD_EC_SHA_VALUE_HASH(iv,

  cargo:warning=      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

  cargo:warning=libssh2/src/kex.c:73:36: error: storage size of ‘hash’ isn’t known

  cargo:warning=   73 |     libssh2_sha##digest_type##_ctx hash;                                    \

  cargo:warning=      |                                    ^~~~

  cargo:warning=libssh2/src/kex.c:62:13: note: in expansion of macro ‘LIBSSH2_KEX_METHOD_SHA_VALUE_HASH’

  cargo:warning=   62 |             LIBSSH2_KEX_METHOD_SHA_VALUE_HASH(384, value, reqlen, version); \

  cargo:warning=      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

  cargo:warning=libssh2/src/kex.c:2019:13: note: in expansion of macro ‘LIBSSH2_KEX_METHOD_EC_SHA_VALUE_HASH’

  cargo:warning= 2019 |             LIBSSH2_KEX_METHOD_EC_SHA_VALUE_HASH(iv,

  cargo:warning=      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

  cargo:warning=libssh2/src/kex.c:73:36: error: storage size of ‘hash’ isn’t known

  cargo:warning=   73 |     libssh2_sha##digest_type##_ctx hash;                                    \

  cargo:warning=      |                                    ^~~~

  cargo:warning=libssh2/src/kex.c:65:13: note: in expansion of macro ‘LIBSSH2_KEX_METHOD_SHA_VALUE_HASH’

  cargo:warning=   65 |             LIBSSH2_KEX_METHOD_SHA_VALUE_HASH(512, value, reqlen, version); \

  cargo:warning=      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

  cargo:warning=libssh2/src/kex.c:2019:13: note: in expansion of macro ‘LIBSSH2_KEX_METHOD_EC_SHA_VALUE_HASH’

  cargo:warning= 2019 |             LIBSSH2_KEX_METHOD_EC_SHA_VALUE_HASH(iv,

  cargo:warning=      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

  cargo:warning=libssh2/src/kex.c:73:36: error: storage size of ‘hash’ isn’t known

  cargo:warning=   73 |     libssh2_sha##digest_type##_ctx hash;                                    \

  cargo:warning=      |                                    ^~~~

  cargo:warning=libssh2/src/kex.c:59:13: note: in expansion of macro ‘LIBSSH2_KEX_METHOD_SHA_VALUE_HASH’

  cargo:warning=   59 |             LIBSSH2_KEX_METHOD_SHA_VALUE_HASH(256, value, reqlen, version); \

  cargo:warning=      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

  cargo:warning=libssh2/src/kex.c:2027:13: note: in expansion of macro ‘LIBSSH2_KEX_METHOD_EC_SHA_VALUE_HASH’

  cargo:warning= 2027 |             LIBSSH2_KEX_METHOD_EC_SHA_VALUE_HASH(secret,

  cargo:warning=      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

  cargo:warning=libssh2/src/kex.c:73:36: error: storage size of ‘hash’ isn’t known

  cargo:warning=   73 |     libssh2_sha##digest_type##_ctx hash;                                    \

  cargo:warning=      |                                    ^~~~

  cargo:warning=libssh2/src/kex.c:62:13: note: in expansion of macro ‘LIBSSH2_KEX_METHOD_SHA_VALUE_HASH’

  cargo:warning=   62 |             LIBSSH2_KEX_METHOD_SHA_VALUE_HASH(384, value, reqlen, version); \

  cargo:warning=      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

  cargo:warning=libssh2/src/kex.c:2027:13: note: in expansion of macro ‘LIBSSH2_KEX_METHOD_EC_SHA_VALUE_HASH’

  cargo:warning= 2027 |             LIBSSH2_KEX_METHOD_EC_SHA_VALUE_HASH(secret,

  cargo:warning=      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

  cargo:warning=libssh2/src/kex.c:73:36: error: storage size of ‘hash’ isn’t known

  cargo:warning=   73 |     libssh2_sha##digest_type##_ctx hash;                                    \

  cargo:warning=      |                                    ^~~~

  cargo:warning=libssh2/src/kex.c:65:13: note: in expansion of macro ‘LIBSSH2_KEX_METHOD_SHA_VALUE_HASH’

  cargo:warning=   65 |             LIBSSH2_KEX_METHOD_SHA_VALUE_HASH(512, value, reqlen, version); \

  cargo:warning=      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

  cargo:warning=libssh2/src/kex.c:2027:13: note: in expansion of macro ‘LIBSSH2_KEX_METHOD_EC_SHA_VALUE_HASH’

  cargo:warning= 2027 |             LIBSSH2_KEX_METHOD_EC_SHA_VALUE_HASH(secret,

  cargo:warning=      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

  cargo:warning=libssh2/src/knownhost.c: In function ‘knownhost_check’:

  cargo:warning=libssh2/src/knownhost.c:422:38: error: storage size of ‘ctx’ isn’t known

  cargo:warning=  422 |                     libssh2_hmac_ctx ctx;

  cargo:warning=      |                                      ^~~

  cargo:warning=libssh2/src/kex.c:73:36: error: storage size of ‘hash’ isn’t known

  cargo:warning=   73 |     libssh2_sha##digest_type##_ctx hash;                                    \

  cargo:warning=      |                                    ^~~~

  cargo:warning=libssh2/src/kex.c:59:13: note: in expansion of macro ‘LIBSSH2_KEX_METHOD_SHA_VALUE_HASH’

  cargo:warning=   59 |             LIBSSH2_KEX_METHOD_SHA_VALUE_HASH(256, value, reqlen, version); \

  cargo:warning=      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

  cargo:warning=libssh2/src/kex.c:2069:13: note: in expansion of macro ‘LIBSSH2_KEX_METHOD_EC_SHA_VALUE_HASH’

  cargo:warning= 2069 |             LIBSSH2_KEX_METHOD_EC_SHA_VALUE_HASH(iv,

  cargo:warning=      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

  cargo:warning=libssh2/src/kex.c:73:36: error: storage size of ‘hash’ isn’t known

  cargo:warning=   73 |     libssh2_sha##digest_type##_ctx hash;                                    \

  cargo:warning=      |                                    ^~~~

  cargo:warning=libssh2/src/kex.c:62:13: note: in expansion of macro ‘LIBSSH2_KEX_METHOD_SHA_VALUE_HASH’

  cargo:warning=   62 |             LIBSSH2_KEX_METHOD_SHA_VALUE_HASH(384, value, reqlen, version); \

  cargo:warning=      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

  cargo:warning=libssh2/src/kex.c:2069:13: note: in expansion of macro ‘LIBSSH2_KEX_METHOD_EC_SHA_VALUE_HASH’

  cargo:warning= 2069 |             LIBSSH2_KEX_METHOD_EC_SHA_VALUE_HASH(iv,

  cargo:warning=      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

  cargo:warning=libssh2/src/kex.c:73:36: error: storage size of ‘hash’ isn’t known

  cargo:warning=   73 |     libssh2_sha##digest_type##_ctx hash;                                    \

  cargo:warning=      |                                    ^~~~

  cargo:warning=libssh2/src/kex.c:65:13: note: in expansion of macro ‘LIBSSH2_KEX_METHOD_SHA_VALUE_HASH’

  cargo:warning=   65 |             LIBSSH2_KEX_METHOD_SHA_VALUE_HASH(512, value, reqlen, version); \

  cargo:warning=      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

  cargo:warning=libssh2/src/kex.c:2069:13: note: in expansion of macro ‘LIBSSH2_KEX_METHOD_EC_SHA_VALUE_HASH’

  cargo:warning= 2069 |             LIBSSH2_KEX_METHOD_EC_SHA_VALUE_HASH(iv,

  cargo:warning=      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

  running: "cc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I" "/tmp/cargo-installYesOHb/release/build/libssh2-sys-d02046a24f54419b/out/include" "-I" "libssh2/src" "-I" "/tmp/cargo-installYesOHb/release/build/libssh2-sys-d02046a24f54419b/out/build" "-I" "/usr/include" "-fvisibility=hidden" "-DHAVE_LONGLONG" "-DHAVE_SNPRINTF" "-DHAVE_UNISTD_H" "-DHAVE_INTTYPES_H" "-DHAVE_STDLIB_H" "-DHAVE_SYS_SELECT_H" "-DHAVE_SYS_SOCKET_H" "-DHAVE_SYS_IOCTL_H" "-DHAVE_SYS_TIME_H" "-DHAVE_SYS_UN_H" "-DHAVE_O_NONBLOCK" "-DLIBSSH2_OPENSSL" "-DHAVE_LIBCRYPT32" "-DHAVE_EVP_AES_128_CTR" "-DHAVE_POLL" "-DHAVE_GETTIMEOFDAY" "-DLIBSSH2_DH_GEX_NEW" "-DLIBSSH2_HAVE_ZLIB" "-o" "/tmp/cargo-installYesOHb/release/build/libssh2-sys-d02046a24f54419b/out/build/libssh2/src/publickey.o" "-c" "libssh2/src/publickey.c"
  cargo:warning=libssh2/src/kex.c:73:36: error: storage size of ‘hash’ isn’t known

  cargo:warning=   73 |     libssh2_sha##digest_type##_ctx hash;                                    \

  cargo:warning=      |                                    ^~~~

  cargo:warning=libssh2/src/kex.c:59:13: note: in expansion of macro ‘LIBSSH2_KEX_METHOD_SHA_VALUE_HASH’

  cargo:warning=   59 |             LIBSSH2_KEX_METHOD_SHA_VALUE_HASH(256, value, reqlen, version); \

  cargo:warning=      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

  cargo:warning=libssh2/src/kex.c:2077:13: note: in expansion of macro ‘LIBSSH2_KEX_METHOD_EC_SHA_VALUE_HASH’

  cargo:warning= 2077 |             LIBSSH2_KEX_METHOD_EC_SHA_VALUE_HASH(secret,

  cargo:warning=      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

  cargo:warning=libssh2/src/kex.c:73:36: error: storage size of ‘hash’ isn’t known

  cargo:warning=   73 |     libssh2_sha##digest_type##_ctx hash;                                    \

  cargo:warning=      |                                    ^~~~

  cargo:warning=libssh2/src/kex.c:62:13: note: in expansion of macro ‘LIBSSH2_KEX_METHOD_SHA_VALUE_HASH’

  cargo:warning=   62 |             LIBSSH2_KEX_METHOD_SHA_VALUE_HASH(384, value, reqlen, version); \

  cargo:warning=      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

  cargo:warning=libssh2/src/kex.c:2077:13: note: in expansion of macro ‘LIBSSH2_KEX_METHOD_EC_SHA_VALUE_HASH’

  cargo:warning= 2077 |             LIBSSH2_KEX_METHOD_EC_SHA_VALUE_HASH(secret,

  cargo:warning=      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

  cargo:warning=libssh2/src/kex.c:73:36: error: storage size of ‘hash’ isn’t known

  cargo:warning=   73 |     libssh2_sha##digest_type##_ctx hash;                                    \

  cargo:warning=      |                                    ^~~~

  cargo:warning=libssh2/src/kex.c:65:13: note: in expansion of macro ‘LIBSSH2_KEX_METHOD_SHA_VALUE_HASH’

  cargo:warning=   65 |             LIBSSH2_KEX_METHOD_SHA_VALUE_HASH(512, value, reqlen, version); \

  cargo:warning=      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

  cargo:warning=libssh2/src/kex.c:2077:13: note: in expansion of macro ‘LIBSSH2_KEX_METHOD_EC_SHA_VALUE_HASH’

  cargo:warning= 2077 |             LIBSSH2_KEX_METHOD_EC_SHA_VALUE_HASH(secret,

  cargo:warning=      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

  cargo:warning=libssh2/src/kex.c:73:36: error: storage size of ‘hash’ isn’t known

  cargo:warning=   73 |     libssh2_sha##digest_type##_ctx hash;                                    \

  cargo:warning=      |                                    ^~~~

  cargo:warning=libssh2/src/kex.c:59:13: note: in expansion of macro ‘LIBSSH2_KEX_METHOD_SHA_VALUE_HASH’

  cargo:warning=   59 |             LIBSSH2_KEX_METHOD_SHA_VALUE_HASH(256, value, reqlen, version); \

  cargo:warning=      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

  cargo:warning=libssh2/src/kex.c:2117:13: note: in expansion of macro ‘LIBSSH2_KEX_METHOD_EC_SHA_VALUE_HASH’

  cargo:warning= 2117 |             LIBSSH2_KEX_METHOD_EC_SHA_VALUE_HASH(key,

  cargo:warning=      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

  cargo:warning=In file included from libssh2/src/crypto.h:42,

  cargo:warning=                 from libssh2/src/libssh2_priv.h:141,

  cargo:warning=                 from libssh2/src/knownhost.c:39:

  cargo:warning=libssh2/src/openssl.h:280:3: warning: implicit declaration of function ‘HMAC_CTX_init’; did you mean ‘HMAC_CTX_new’? [-Wimplicit-function-declaration]

  cargo:warning=  280 |   HMAC_CTX_init(&ctx)

  cargo:warning=      |   ^~~~~~~~~~~~~

  cargo:warning=libssh2/src/knownhost.c:423:21: note: in expansion of macro ‘libssh2_hmac_ctx_init’

  cargo:warning=  423 |                     libssh2_hmac_ctx_init(ctx);

  cargo:warning=      |                     ^~~~~~~~~~~~~~~~~~~~~

  cargo:warning=libssh2/src/kex.c:73:36: error: storage size of ‘hash’ isn’t known

  cargo:warning=   73 |     libssh2_sha##digest_type##_ctx hash;                                    \

  cargo:warning=      |                                    ^~~~

  cargo:warning=libssh2/src/kex.c:62:13: note: in expansion of macro ‘LIBSSH2_KEX_METHOD_SHA_VALUE_HASH’

  cargo:warning=   62 |             LIBSSH2_KEX_METHOD_SHA_VALUE_HASH(384, value, reqlen, version); \

  cargo:warning=      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

  cargo:warning=libssh2/src/kex.c:2117:13: note: in expansion of macro ‘LIBSSH2_KEX_METHOD_EC_SHA_VALUE_HASH’

  cargo:warning= 2117 |             LIBSSH2_KEX_METHOD_EC_SHA_VALUE_HASH(key,

  cargo:warning=      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

  cargo:warning=libssh2/src/kex.c:73:36: error: storage size of ‘hash’ isn’t known

  cargo:warning=   73 |     libssh2_sha##digest_type##_ctx hash;                                    \

  cargo:warning=      |                                    ^~~~

  cargo:warning=libssh2/src/kex.c:65:13: note: in expansion of macro ‘LIBSSH2_KEX_METHOD_SHA_VALUE_HASH’

  cargo:warning=   65 |             LIBSSH2_KEX_METHOD_SHA_VALUE_HASH(512, value, reqlen, version); \

  cargo:warning=      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

  cargo:warning=libssh2/src/kex.c:2117:13: note: in expansion of macro ‘LIBSSH2_KEX_METHOD_EC_SHA_VALUE_HASH’

  cargo:warning= 2117 |             LIBSSH2_KEX_METHOD_EC_SHA_VALUE_HASH(key,

  cargo:warning=      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

  cargo:warning=libssh2/src/kex.c:73:36: error: storage size of ‘hash’ isn’t known

  cargo:warning=   73 |     libssh2_sha##digest_type##_ctx hash;                                    \

  cargo:warning=      |                                    ^~~~

  cargo:warning=libssh2/src/kex.c:59:13: note: in expansion of macro ‘LIBSSH2_KEX_METHOD_SHA_VALUE_HASH’

  cargo:warning=   59 |             LIBSSH2_KEX_METHOD_SHA_VALUE_HASH(256, value, reqlen, version); \

  cargo:warning=      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

  cargo:warning=libssh2/src/kex.c:2144:13: note: in expansion of macro ‘LIBSSH2_KEX_METHOD_EC_SHA_VALUE_HASH’

  cargo:warning= 2144 |             LIBSSH2_KEX_METHOD_EC_SHA_VALUE_HASH(key,

  cargo:warning=      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

  cargo:warning=libssh2/src/kex.c:73:36: error: storage size of ‘hash’ isn’t known

  cargo:warning=   73 |     libssh2_sha##digest_type##_ctx hash;                                    \

  cargo:warning=      |                                    ^~~~

  cargo:warning=libssh2/src/kex.c:62:13: note: in expansion of macro ‘LIBSSH2_KEX_METHOD_SHA_VALUE_HASH’

  cargo:warning=   62 |             LIBSSH2_KEX_METHOD_SHA_VALUE_HASH(384, value, reqlen, version); \

  cargo:warning=      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

  cargo:warning=libssh2/src/kex.c:2144:13: note: in expansion of macro ‘LIBSSH2_KEX_METHOD_EC_SHA_VALUE_HASH’

  cargo:warning= 2144 |             LIBSSH2_KEX_METHOD_EC_SHA_VALUE_HASH(key,

  cargo:warning=      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

  cargo:warning=libssh2/src/kex.c:73:36: error: storage size of ‘hash’ isn’t known

  cargo:warning=   73 |     libssh2_sha##digest_type##_ctx hash;                                    \

  cargo:warning=      |                                    ^~~~

  cargo:warning=libssh2/src/kex.c:65:13: note: in expansion of macro ‘LIBSSH2_KEX_METHOD_SHA_VALUE_HASH’

  cargo:warning=   65 |             LIBSSH2_KEX_METHOD_SHA_VALUE_HASH(512, value, reqlen, version); \

  cargo:warning=      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

  cargo:warning=libssh2/src/kex.c:2144:13: note: in expansion of macro ‘LIBSSH2_KEX_METHOD_EC_SHA_VALUE_HASH’

  cargo:warning= 2144 |             LIBSSH2_KEX_METHOD_EC_SHA_VALUE_HASH(key,

  cargo:warning=      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

  cargo:warning=libssh2/src/openssl.h:295:35: warning: implicit declaration of function ‘HMAC_cleanup’; did you mean ‘RAND_cleanup’? [-Wimplicit-function-declaration]

  cargo:warning=  295 | #define libssh2_hmac_cleanup(ctx) HMAC_cleanup(ctx)

  cargo:warning=      |                                   ^~~~~~~~~~~~

  cargo:warning=libssh2/src/knownhost.c:435:21: note: in expansion of macro ‘libssh2_hmac_cleanup’

  cargo:warning=  435 |                     libssh2_hmac_cleanup(&ctx);

  cargo:warning=      |                     ^~~~~~~~~~~~~~~~~~~~

  cargo:warning=libssh2/src/mac.c: In function ‘mac_method_hmac_sha2_512_hash’:

  cargo:warning=libssh2/src/mac.c:111:22: error: storage size of ‘ctx’ isn’t known

  cargo:warning=  111 |     libssh2_hmac_ctx ctx;

  cargo:warning=      |                      ^~~

  cargo:warning=In file included from libssh2/src/crypto.h:42,

  cargo:warning=                 from libssh2/src/libssh2_priv.h:141,

  cargo:warning=                 from libssh2/src/mac.c:38:

  cargo:warning=libssh2/src/openssl.h:280:3: warning: implicit declaration of function ‘HMAC_CTX_init’; did you mean ‘HMAC_CTX_new’? [-Wimplicit-function-declaration]

  cargo:warning=  280 |   HMAC_CTX_init(&ctx)

  cargo:warning=      |   ^~~~~~~~~~~~~

  cargo:warning=libssh2/src/mac.c:117:5: note: in expansion of macro ‘libssh2_hmac_ctx_init’

  cargo:warning=  117 |     libssh2_hmac_ctx_init(ctx);

  cargo:warning=      |     ^~~~~~~~~~~~~~~~~~~~~

  cargo:warning=libssh2/src/openssl.h:295:35: warning: implicit declaration of function ‘HMAC_cleanup’; did you mean ‘RAND_cleanup’? [-Wimplicit-function-declaration]

  cargo:warning=  295 | #define libssh2_hmac_cleanup(ctx) HMAC_cleanup(ctx)

  cargo:warning=      |                                   ^~~~~~~~~~~~

  cargo:warning=libssh2/src/mac.c:125:5: note: in expansion of macro ‘libssh2_hmac_cleanup’

  cargo:warning=  125 |     libssh2_hmac_cleanup(&ctx);

  cargo:warning=      |     ^~~~~~~~~~~~~~~~~~~~

  cargo:warning=libssh2/src/mac.c: In function ‘mac_method_hmac_sha2_256_hash’:

  cargo:warning=libssh2/src/mac.c:156:22: error: storage size of ‘ctx’ isn’t known

  cargo:warning=  156 |     libssh2_hmac_ctx ctx;

  cargo:warning=      |                      ^~~

  cargo:warning=libssh2/src/mac.c: In function ‘mac_method_hmac_sha1_hash’:

  cargo:warning=libssh2/src/mac.c:201:22: error: storage size of ‘ctx’ isn’t known

  cargo:warning=  201 |     libssh2_hmac_ctx ctx;

  cargo:warning=      |                      ^~~

  cargo:warning=libssh2/src/mac.c: In function ‘mac_method_hmac_md5_hash’:

  cargo:warning=libssh2/src/mac.c:274:22: error: storage size of ‘ctx’ isn’t known

  cargo:warning=  274 |     libssh2_hmac_ctx ctx;

  cargo:warning=      |                      ^~~

  cargo:warning=libssh2/src/mac.c: In function ‘mac_method_hmac_ripemd160_hash’:

  cargo:warning=libssh2/src/mac.c:347:22: error: storage size of ‘ctx’ isn’t known

  cargo:warning=  347 |     libssh2_hmac_ctx ctx;

  cargo:warning=      |                      ^~~

  cargo:warning=libssh2/src/pem.c: In function ‘_libssh2_pem_parse’:

  cargo:warning=libssh2/src/pem.c:213:25: error: storage size of ‘fingerprint_ctx’ isn’t known

  cargo:warning=  213 |         libssh2_md5_ctx fingerprint_ctx;

  cargo:warning=      |                         ^~~~~~~~~~~~~~~

  running: "cc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I" "/tmp/cargo-installYesOHb/release/build/libssh2-sys-d02046a24f54419b/out/include" "-I" "libssh2/src" "-I" "/tmp/cargo-installYesOHb/release/build/libssh2-sys-d02046a24f54419b/out/build" "-I" "/usr/include" "-fvisibility=hidden" "-DHAVE_LONGLONG" "-DHAVE_SNPRINTF" "-DHAVE_UNISTD_H" "-DHAVE_INTTYPES_H" "-DHAVE_STDLIB_H" "-DHAVE_SYS_SELECT_H" "-DHAVE_SYS_SOCKET_H" "-DHAVE_SYS_IOCTL_H" "-DHAVE_SYS_TIME_H" "-DHAVE_SYS_UN_H" "-DHAVE_O_NONBLOCK" "-DLIBSSH2_OPENSSL" "-DHAVE_LIBCRYPT32" "-DHAVE_EVP_AES_128_CTR" "-DHAVE_POLL" "-DHAVE_GETTIMEOFDAY" "-DLIBSSH2_DH_GEX_NEW" "-DLIBSSH2_HAVE_ZLIB" "-o" "/tmp/cargo-installYesOHb/release/build/libssh2-sys-d02046a24f54419b/out/build/libssh2/src/scp.o" "-c" "libssh2/src/scp.c"

  exit status: 0
  exit status: 0
  exit status: 1
  cargo:warning=ToolExecError: Command "cc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I" "/tmp/cargo-installYesOHb/release/build/libssh2-sys-d02046a24f54419b/out/include" "-I" "libssh2/src" "-I" "/tmp/cargo-installYesOHb/release/build/libssh2-sys-d02046a24f54419b/out/build" "-I" "/usr/include" "-fvisibility=hidden" "-DHAVE_LONGLONG" "-DHAVE_SNPRINTF" "-DHAVE_UNISTD_H" "-DHAVE_INTTYPES_H" "-DHAVE_STDLIB_H" "-DHAVE_SYS_SELECT_H" "-DHAVE_SYS_SOCKET_H" "-DHAVE_SYS_IOCTL_H" "-DHAVE_SYS_TIME_H" "-DHAVE_SYS_UN_H" "-DHAVE_O_NONBLOCK" "-DLIBSSH2_OPENSSL" "-DHAVE_LIBCRYPT32" "-DHAVE_EVP_AES_128_CTR" "-DHAVE_POLL" "-DHAVE_GETTIMEOFDAY" "-DLIBSSH2_DH_GEX_NEW" "-DLIBSSH2_HAVE_ZLIB" "-o" "/tmp/cargo-installYesOHb/release/build/libssh2-sys-d02046a24f54419b/out/build/libssh2/src/kex.o" "-c" "libssh2/src/kex.c" with args "cc" did not execute successfully (status code exit status: 1).
  exit status: 1
  cargo:warning=ToolExecError: Command "cc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I" "/tmp/cargo-installYesOHb/release/build/libssh2-sys-d02046a24f54419b/out/include" "-I" "libssh2/src" "-I" "/tmp/cargo-installYesOHb/release/build/libssh2-sys-d02046a24f54419b/out/build" "-I" "/usr/include" "-fvisibility=hidden" "-DHAVE_LONGLONG" "-DHAVE_SNPRINTF" "-DHAVE_UNISTD_H" "-DHAVE_INTTYPES_H" "-DHAVE_STDLIB_H" "-DHAVE_SYS_SELECT_H" "-DHAVE_SYS_SOCKET_H" "-DHAVE_SYS_IOCTL_H" "-DHAVE_SYS_TIME_H" "-DHAVE_SYS_UN_H" "-DHAVE_O_NONBLOCK" "-DLIBSSH2_OPENSSL" "-DHAVE_LIBCRYPT32" "-DHAVE_EVP_AES_128_CTR" "-DHAVE_POLL" "-DHAVE_GETTIMEOFDAY" "-DLIBSSH2_DH_GEX_NEW" "-DLIBSSH2_HAVE_ZLIB" "-o" "/tmp/cargo-installYesOHb/release/build/libssh2-sys-d02046a24f54419b/out/build/libssh2/src/knownhost.o" "-c" "libssh2/src/knownhost.c" with args "cc" did not execute successfully (status code exit status: 1).running: "cc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I" "/tmp/cargo-installYesOHb/release/build/libssh2-sys-d02046a24f54419b/out/include" "-I" "libssh2/src" "-I" "/tmp/cargo-installYesOHb/release/build/libssh2-sys-d02046a24f54419b/out/build" "-I" "/usr/include" "-fvisibility=hidden" "-DHAVE_LONGLONG" "-DHAVE_SNPRINTF" "-DHAVE_UNISTD_H" "-DHAVE_INTTYPES_H" "-DHAVE_STDLIB_H" "-DHAVE_SYS_SELECT_H" "-DHAVE_SYS_SOCKET_H" "-DHAVE_SYS_IOCTL_H" "-DHAVE_SYS_TIME_H" "-DHAVE_SYS_UN_H" "-DHAVE_O_NONBLOCK" "-DLIBSSH2_OPENSSL" "-DHAVE_LIBCRYPT32" "-DHAVE_EVP_AES_128_CTR" "-DHAVE_POLL" "-DHAVE_GETTIMEOFDAY" "-DLIBSSH2_DH_GEX_NEW" "-DLIBSSH2_HAVE_ZLIB" "-o" "/tmp/cargo-installYesOHb/release/build/libssh2-sys-d02046a24f54419b/out/build/libssh2/src/session.o" "-c" "libssh2/src/session.c"

  exit status: 1
  cargo:warning=ToolExecError: Command "cc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I" "/tmp/cargo-installYesOHb/release/build/libssh2-sys-d02046a24f54419b/out/include" "-I" "libssh2/src" "-I" "/tmp/cargo-installYesOHb/release/build/libssh2-sys-d02046a24f54419b/out/build" "-I" "/usr/include" "-fvisibility=hidden" "-DHAVE_LONGLONG" "-DHAVE_SNPRINTF" "-DHAVE_UNISTD_H" "-DHAVE_INTTYPES_H" "-DHAVE_STDLIB_H" "-DHAVE_SYS_SELECT_H" "-DHAVE_SYS_SOCKET_H" "-DHAVE_SYS_IOCTL_H" "-DHAVE_SYS_TIME_H" "-DHAVE_SYS_UN_H" "-DHAVE_O_NONBLOCK" "-DLIBSSH2_OPENSSL" "-DHAVE_LIBCRYPT32" "-DHAVE_EVP_AES_128_CTR" "-DHAVE_POLL" "-DHAVE_GETTIMEOFDAY" "-DLIBSSH2_DH_GEX_NEW" "-DLIBSSH2_HAVE_ZLIB" "-o" "/tmp/cargo-installYesOHb/release/build/libssh2-sys-d02046a24f54419b/out/build/libssh2/src/mac.o" "-c" "libssh2/src/mac.c" with args "cc" did not execute successfully (status code exit status: 1).
  exit status: 1
  cargo:warning=ToolExecError: Command "cc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I" "/tmp/cargo-installYesOHb/release/build/libssh2-sys-d02046a24f54419b/out/include" "-I" "libssh2/src" "-I" "/tmp/cargo-installYesOHb/release/build/libssh2-sys-d02046a24f54419b/out/build" "-I" "/usr/include" "-fvisibility=hidden" "-DHAVE_LONGLONG" "-DHAVE_SNPRINTF" "-DHAVE_UNISTD_H" "-DHAVE_INTTYPES_H" "-DHAVE_STDLIB_H" "-DHAVE_SYS_SELECT_H" "-DHAVE_SYS_SOCKET_H" "-DHAVE_SYS_IOCTL_H" "-DHAVE_SYS_TIME_H" "-DHAVE_SYS_UN_H" "-DHAVE_O_NONBLOCK" "-DLIBSSH2_OPENSSL" "-DHAVE_LIBCRYPT32" "-DHAVE_EVP_AES_128_CTR" "-DHAVE_POLL" "-DHAVE_GETTIMEOFDAY" "-DLIBSSH2_DH_GEX_NEW" "-DLIBSSH2_HAVE_ZLIB" "-o" "/tmp/cargo-installYesOHb/release/build/libssh2-sys-d02046a24f54419b/out/build/libssh2/src/pem.o" "-c" "libssh2/src/pem.c" with args "cc" did not execute successfully (status code exit status: 1).running: "cc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I" "/tmp/cargo-installYesOHb/release/build/libssh2-sys-d02046a24f54419b/out/include" "-I" "libssh2/src" "-I" "/tmp/cargo-installYesOHb/release/build/libssh2-sys-d02046a24f54419b/out/build" "-I" "/usr/include" "-fvisibility=hidden" "-DHAVE_LONGLONG" "-DHAVE_SNPRINTF" "-DHAVE_UNISTD_H" "-DHAVE_INTTYPES_H" "-DHAVE_STDLIB_H" "-DHAVE_SYS_SELECT_H" "-DHAVE_SYS_SOCKET_H" "-DHAVE_SYS_IOCTL_H" "-DHAVE_SYS_TIME_H" "-DHAVE_SYS_UN_H" "-DHAVE_O_NONBLOCK" "-DLIBSSH2_OPENSSL" "-DHAVE_LIBCRYPT32" "-DHAVE_EVP_AES_128_CTR" "-DHAVE_POLL" "-DHAVE_GETTIMEOFDAY" "-DLIBSSH2_DH_GEX_NEW" "-DLIBSSH2_HAVE_ZLIB" "-o" "/tmp/cargo-installYesOHb/release/build/libssh2-sys-d02046a24f54419b/out/build/libssh2/src/sftp.o" "-c" "libssh2/src/sftp.c"
  running: "cc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I" "/tmp/cargo-installYesOHb/release/build/libssh2-sys-d02046a24f54419b/out/include" "-I" "libssh2/src" "-I" "/tmp/cargo-installYesOHb/release/build/libssh2-sys-d02046a24f54419b/out/build" "-I" "/usr/include" "-fvisibility=hidden" "-DHAVE_LONGLONG" "-DHAVE_SNPRINTF" "-DHAVE_UNISTD_H" "-DHAVE_INTTYPES_H" "-DHAVE_STDLIB_H" "-DHAVE_SYS_SELECT_H" "-DHAVE_SYS_SOCKET_H" "-DHAVE_SYS_IOCTL_H" "-DHAVE_SYS_TIME_H" "-DHAVE_SYS_UN_H" "-DHAVE_O_NONBLOCK" "-DLIBSSH2_OPENSSL" "-DHAVE_LIBCRYPT32" "-DHAVE_EVP_AES_128_CTR" "-DHAVE_POLL" "-DHAVE_GETTIMEOFDAY" "-DLIBSSH2_DH_GEX_NEW" "-DLIBSSH2_HAVE_ZLIB" "-o" "/tmp/cargo-installYesOHb/release/build/libssh2-sys-d02046a24f54419b/out/build/libssh2/src/transport.o" "-c" "libssh2/src/transport.c"
  running: "cc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I" "/tmp/cargo-installYesOHb/release/build/libssh2-sys-d02046a24f54419b/out/include" "-I" "libssh2/src" "-I" "/tmp/cargo-installYesOHb/release/build/libssh2-sys-d02046a24f54419b/out/build" "-I" "/usr/include" "-fvisibility=hidden" "-DHAVE_LONGLONG" "-DHAVE_SNPRINTF" "-DHAVE_UNISTD_H" "-DHAVE_INTTYPES_H" "-DHAVE_STDLIB_H" "-DHAVE_SYS_SELECT_H" "-DHAVE_SYS_SOCKET_H" "-DHAVE_SYS_IOCTL_H" "-DHAVE_SYS_TIME_H" "-DHAVE_SYS_UN_H" "-DHAVE_O_NONBLOCK" "-DLIBSSH2_OPENSSL" "-DHAVE_LIBCRYPT32" "-DHAVE_EVP_AES_128_CTR" "-DHAVE_POLL" "-DHAVE_GETTIMEOFDAY" "-DLIBSSH2_DH_GEX_NEW" "-DLIBSSH2_HAVE_ZLIB" "-o" "/tmp/cargo-installYesOHb/release/build/libssh2-sys-d02046a24f54419b/out/build/libssh2/src/userauth.o" "-c" "libssh2/src/userauth.c"
  running: "cc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I" "/tmp/cargo-installYesOHb/release/build/libssh2-sys-d02046a24f54419b/out/include" "-I" "libssh2/src" "-I" "/tmp/cargo-installYesOHb/release/build/libssh2-sys-d02046a24f54419b/out/build" "-I" "/usr/include" "-fvisibility=hidden" "-DHAVE_LONGLONG" "-DHAVE_SNPRINTF" "-DHAVE_UNISTD_H" "-DHAVE_INTTYPES_H" "-DHAVE_STDLIB_H" "-DHAVE_SYS_SELECT_H" "-DHAVE_SYS_SOCKET_H" "-DHAVE_SYS_IOCTL_H" "-DHAVE_SYS_TIME_H" "-DHAVE_SYS_UN_H" "-DHAVE_O_NONBLOCK" "-DLIBSSH2_OPENSSL" "-DHAVE_LIBCRYPT32" "-DHAVE_EVP_AES_128_CTR" "-DHAVE_POLL" "-DHAVE_GETTIMEOFDAY" "-DLIBSSH2_DH_GEX_NEW" "-DLIBSSH2_HAVE_ZLIB" "-o" "/tmp/cargo-installYesOHb/release/build/libssh2-sys-d02046a24f54419b/out/build/libssh2/src/openssl.o" "-c" "libssh2/src/openssl.c"
  cargo:warning=libssh2/src/openssl.c: In function ‘_libssh2_rsa_new’:

  cargo:warning=libssh2/src/openssl.c:134:11: error: invalid use of incomplete typedef ‘RSA’ {aka ‘struct rsa_st’}

  cargo:warning=  134 |     (*rsa)->e = e;

  cargo:warning=      |           ^~

  cargo:warning=libssh2/src/openssl.c:135:11: error: invalid use of incomplete typedef ‘RSA’ {aka ‘struct rsa_st’}

  cargo:warning=  135 |     (*rsa)->n = n;

  cargo:warning=      |           ^~

  cargo:warning=libssh2/src/openssl.c:136:11: error: invalid use of incomplete typedef ‘RSA’ {aka ‘struct rsa_st’}

  cargo:warning=  136 |     (*rsa)->d = d;

  cargo:warning=      |           ^~

  cargo:warning=libssh2/src/openssl.c:142:11: error: invalid use of incomplete typedef ‘RSA’ {aka ‘struct rsa_st’}

  cargo:warning=  142 |     (*rsa)->p = p;

  cargo:warning=      |           ^~

  cargo:warning=libssh2/src/openssl.c:143:11: error: invalid use of incomplete typedef ‘RSA’ {aka ‘struct rsa_st’}

  cargo:warning=  143 |     (*rsa)->q = q;

  cargo:warning=      |           ^~

  cargo:warning=libssh2/src/openssl.c:149:11: error: invalid use of incomplete typedef ‘RSA’ {aka ‘struct rsa_st’}

  cargo:warning=  149 |     (*rsa)->dmp1 = dmp1;

  cargo:warning=      |           ^~

  cargo:warning=libssh2/src/openssl.c:150:11: error: invalid use of incomplete typedef ‘RSA’ {aka ‘struct rsa_st’}

  cargo:warning=  150 |     (*rsa)->dmq1 = dmq1;

  cargo:warning=      |           ^~

  cargo:warning=libssh2/src/openssl.c:151:11: error: invalid use of incomplete typedef ‘RSA’ {aka ‘struct rsa_st’}

  cargo:warning=  151 |     (*rsa)->iqmp = iqmp;

  cargo:warning=      |           ^~

  cargo:warning=libssh2/src/openssl.c: In function ‘_libssh2_dsa_new’:

  cargo:warning=libssh2/src/openssl.c:213:14: error: invalid use of incomplete typedef ‘DSA’ {aka ‘struct dsa_st’}

  cargo:warning=  213 |     (*dsactx)->p = p_bn;

  cargo:warning=      |              ^~

  cargo:warning=libssh2/src/openssl.c:214:14: error: invalid use of incomplete typedef ‘DSA’ {aka ‘struct dsa_st’}

  cargo:warning=  214 |     (*dsactx)->g = g_bn;

  cargo:warning=      |              ^~

  cargo:warning=libssh2/src/openssl.c:215:14: error: invalid use of incomplete typedef ‘DSA’ {aka ‘struct dsa_st’}

  cargo:warning=  215 |     (*dsactx)->q = q_bn;

  cargo:warning=      |              ^~

  cargo:warning=libssh2/src/openssl.c:221:14: error: invalid use of incomplete typedef ‘DSA’ {aka ‘struct dsa_st’}

  cargo:warning=  221 |     (*dsactx)->pub_key = pub_key;

  cargo:warning=      |              ^~

  cargo:warning=libssh2/src/openssl.c:222:14: error: invalid use of incomplete typedef ‘DSA’ {aka ‘struct dsa_st’}

  cargo:warning=  222 |     (*dsactx)->priv_key = priv_key;

  cargo:warning=      |              ^~

  cargo:warning=libssh2/src/openssl.c: In function ‘_libssh2_dsa_sha1_verify’:

  cargo:warning=libssh2/src/openssl.c:247:11: error: invalid use of incomplete typedef ‘DSA_SIG’ {aka ‘struct DSA_SIG_st’}

  cargo:warning=  247 |     dsasig->r = r;

  cargo:warning=      |           ^~

  cargo:warning=libssh2/src/openssl.c:248:11: error: invalid use of incomplete typedef ‘DSA_SIG’ {aka ‘struct DSA_SIG_st’}

  cargo:warning=  248 |     dsasig->s = s;

  cargo:warning=      |           ^~

  cargo:warning=libssh2/src/openssl.c: In function ‘_libssh2_ecdsa_verify’:

  cargo:warning=libssh2/src/openssl.c:370:15: error: storage size of ‘ecdsa_sig_’ isn’t known

  cargo:warning=  370 |     ECDSA_SIG ecdsa_sig_;

  cargo:warning=      |               ^~~~~~~~~~

  cargo:warning=libssh2/src/openssl.c: In function ‘gen_publickey_from_rsa’:

  cargo:warning=libssh2/src/openssl.c:805:12: error: invalid use of incomplete typedef ‘RSA’ {aka ‘struct rsa_st’}

  cargo:warning=  805 |     e = rsa->e;

  cargo:warning=      |            ^~

  cargo:warning=libssh2/src/openssl.c:806:12: error: invalid use of incomplete typedef ‘RSA’ {aka ‘struct rsa_st’}

  cargo:warning=  806 |     n = rsa->n;

  cargo:warning=      |            ^~

  cargo:warning=libssh2/src/openssl.c: In function ‘_libssh2_rsa_new_additional_parameters’:

  cargo:warning=libssh2/src/openssl.c:903:15: error: invalid use of incomplete typedef ‘RSA’ {aka ‘struct rsa_st’}

  cargo:warning=  903 |     d = (*rsa).d;

  cargo:warning=      |               ^

  cargo:warning=libssh2/src/openssl.c:904:15: error: invalid use of incomplete typedef ‘RSA’ {aka ‘struct rsa_st’}

  cargo:warning=  904 |     p = (*rsa).p;

  cargo:warning=      |               ^

  cargo:warning=libssh2/src/openssl.c:905:15: error: invalid use of incomplete typedef ‘RSA’ {aka ‘struct rsa_st’}

  cargo:warning=  905 |     q = (*rsa).q;

  cargo:warning=      |               ^

  cargo:warning=libssh2/src/openssl.c:941:11: error: invalid use of incomplete typedef ‘RSA’ {aka ‘struct rsa_st’}

  cargo:warning=  941 |     (*rsa).dmp1 = dmp1;

  cargo:warning=      |           ^

  cargo:warning=libssh2/src/openssl.c:942:11: error: invalid use of incomplete typedef ‘RSA’ {aka ‘struct rsa_st’}

  cargo:warning=  942 |     (*rsa).dmq1 = dmq1;

  cargo:warning=      |           ^

  cargo:warning=libssh2/src/openssl.c: In function ‘gen_publickey_from_dsa’:

  cargo:warning=libssh2/src/openssl.c:1183:15: error: invalid use of incomplete typedef ‘DSA’ {aka ‘struct dsa_st’}

  cargo:warning= 1183 |     p_bn = dsa->p;

  cargo:warning=      |               ^~

  cargo:warning=libssh2/src/openssl.c:1184:12: error: invalid use of incomplete typedef ‘DSA’ {aka ‘struct dsa_st’}

  cargo:warning= 1184 |     q = dsa->q;

  cargo:warning=      |            ^~

  cargo:warning=libssh2/src/openssl.c:1185:12: error: invalid use of incomplete typedef ‘DSA’ {aka ‘struct dsa_st’}

  cargo:warning= 1185 |     g = dsa->g;

  cargo:warning=      |            ^~

  cargo:warning=libssh2/src/openssl.c:1191:18: error: invalid use of incomplete typedef ‘DSA’ {aka ‘struct dsa_st’}

  cargo:warning= 1191 |     pub_key = dsa->pub_key;

  cargo:warning=      |                  ^~

  cargo:warning=libssh2/src/openssl.c: In function ‘_libssh2_dsa_sha1_sign’:

  cargo:warning=libssh2/src/openssl.c:1929:12: error: invalid use of incomplete typedef ‘DSA_SIG’ {aka ‘struct DSA_SIG_st’}

  cargo:warning= 1929 |     r = sig->r;

  cargo:warning=      |            ^~

  cargo:warning=libssh2/src/openssl.c:1930:12: error: invalid use of incomplete typedef ‘DSA_SIG’ {aka ‘struct DSA_SIG_st’}

  cargo:warning= 1930 |     s = sig->s;

  cargo:warning=      |            ^~

  cargo:warning=libssh2/src/openssl.c: In function ‘_libssh2_ecdsa_sign’:

  cargo:warning=libssh2/src/openssl.c:1975:13: error: invalid use of incomplete typedef ‘ECDSA_SIG’ {aka ‘struct ECDSA_SIG_st’}

  cargo:warning= 1975 |     pr = sig->r;

  cargo:warning=      |             ^~

  cargo:warning=libssh2/src/openssl.c:1976:13: error: invalid use of incomplete typedef ‘ECDSA_SIG’ {aka ‘struct ECDSA_SIG_st’}

  cargo:warning= 1976 |     ps = sig->s;

  cargo:warning=      |             ^~

  cargo:warning=libssh2/src/openssl.c: In function ‘_libssh2_sha1’:

  cargo:warning=libssh2/src/openssl.c:2057:16: error: storage size of ‘ctx’ isn’t known

  cargo:warning= 2057 |     EVP_MD_CTX ctx;

  cargo:warning=      |                ^~~

  cargo:warning=libssh2/src/openssl.c: In function ‘_libssh2_sha256’:

  cargo:warning=libssh2/src/openssl.c:2109:16: error: storage size of ‘ctx’ isn’t known

  cargo:warning= 2109 |     EVP_MD_CTX ctx;

  cargo:warning=      |                ^~~

  cargo:warning=libssh2/src/openssl.c: In function ‘_libssh2_sha384’:

  cargo:warning=libssh2/src/openssl.c:2161:16: error: storage size of ‘ctx’ isn’t known

  cargo:warning= 2161 |     EVP_MD_CTX ctx;

  cargo:warning=      |                ^~~

  cargo:warning=libssh2/src/openssl.c: In function ‘_libssh2_sha512’:

  cargo:warning=libssh2/src/openssl.c:2213:16: error: storage size of ‘ctx’ isn’t known

  cargo:warning= 2213 |     EVP_MD_CTX ctx;

  cargo:warning=      |                ^~~

  cargo:warning=libssh2/src/openssl.c: In function ‘_libssh2_pub_priv_keyfile’:

  cargo:warning=libssh2/src/openssl.c:3003:16: error: invalid use of incomplete typedef ‘EVP_PKEY’ {aka ‘struct evp_pkey_st’}

  cargo:warning= 3003 |     pktype = pk->type;

  cargo:warning=      |                ^~

  cargo:warning=libssh2/src/openssl.c: In function ‘_libssh2_pub_priv_keyfilememory’:

  cargo:warning=libssh2/src/openssl.c:3213:16: error: invalid use of incomplete typedef ‘EVP_PKEY’ {aka ‘struct evp_pkey_st’}

  cargo:warning= 3213 |     pktype = pk->type;

  cargo:warning=      |                ^~

  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 1
  cargo:warning=ToolExecError: Command "cc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I" "/tmp/cargo-installYesOHb/release/build/libssh2-sys-d02046a24f54419b/out/include" "-I" "libssh2/src" "-I" "/tmp/cargo-installYesOHb/release/build/libssh2-sys-d02046a24f54419b/out/build" "-I" "/usr/include" "-fvisibility=hidden" "-DHAVE_LONGLONG" "-DHAVE_SNPRINTF" "-DHAVE_UNISTD_H" "-DHAVE_INTTYPES_H" "-DHAVE_STDLIB_H" "-DHAVE_SYS_SELECT_H" "-DHAVE_SYS_SOCKET_H" "-DHAVE_SYS_IOCTL_H" "-DHAVE_SYS_TIME_H" "-DHAVE_SYS_UN_H" "-DHAVE_O_NONBLOCK" "-DLIBSSH2_OPENSSL" "-DHAVE_LIBCRYPT32" "-DHAVE_EVP_AES_128_CTR" "-DHAVE_POLL" "-DHAVE_GETTIMEOFDAY" "-DLIBSSH2_DH_GEX_NEW" "-DLIBSSH2_HAVE_ZLIB" "-o" "/tmp/cargo-installYesOHb/release/build/libssh2-sys-d02046a24f54419b/out/build/libssh2/src/openssl.o" "-c" "libssh2/src/openssl.c" with args "cc" did not execute successfully (status code exit status: 1).
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0

  --- stderr
  fatal: not a git repository (or any parent up to mount point /)
  Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).

  error occurred: Command "cc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I" "/tmp/cargo-installYesOHb/release/build/libssh2-sys-d02046a24f54419b/out/include" "-I" "libssh2/src" "-I" "/tmp/cargo-installYesOHb/release/build/libssh2-sys-d02046a24f54419b/out/build" "-I" "/usr/include" "-fvisibility=hidden" "-DHAVE_LONGLONG" "-DHAVE_SNPRINTF" "-DHAVE_UNISTD_H" "-DHAVE_INTTYPES_H" "-DHAVE_STDLIB_H" "-DHAVE_SYS_SELECT_H" "-DHAVE_SYS_SOCKET_H" "-DHAVE_SYS_IOCTL_H" "-DHAVE_SYS_TIME_H" "-DHAVE_SYS_UN_H" "-DHAVE_O_NONBLOCK" "-DLIBSSH2_OPENSSL" "-DHAVE_LIBCRYPT32" "-DHAVE_EVP_AES_128_CTR" "-DHAVE_POLL" "-DHAVE_GETTIMEOFDAY" "-DLIBSSH2_DH_GEX_NEW" "-DLIBSSH2_HAVE_ZLIB" "-o" "/tmp/cargo-installYesOHb/release/build/libssh2-sys-d02046a24f54419b/out/build/libssh2/src/openssl.o" "-c" "libssh2/src/openssl.c" with args "cc" did not execute successfully (status code exit status: 1).

warning: build failed, waiting for other jobs to finish...
error: failed to compile `cargo-update v13.0.4`, intermediate artifacts can be found at `/tmp/cargo-installYesOHb`.
To reuse those artifacts with a future compilation, set the environment variable `CARGO_TARGET_DIR` to that path.

Script done on 2023-09-28 20:22:10+02:00 [COMMAND_EXIT_CODE="101"]

Happening on multiple versions of stable and nightly Rust on mostly openSUSE Tumbleweed Linux hosts

https://github.com/alexcrichton/ssh2-rs/issues/288#issuecomment-1728640199 is stated to be a vendored libssh issue, and as PoC, pushing git2 to 1.18 instead of 1.16 fixes the build issue

nabijaczleweli commented 1 year ago

Released in v13.1.0.