killercup / cargo-edit

A utility for managing cargo dependencies from the command line.
http://killercup.github.io/cargo-edit/
MIT License
3.09k stars 148 forks source link

cargo install cargo-edit fails #835

Open servomekanism opened 1 year ago

servomekanism commented 1 year ago

Hello.

At my linux machine I have installed rust with the rustup recommended command: curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

rust version is: rustc 1.66.1 (90743e729 2023-01-10) cargo version is: cargo 1.66.1 (ad779e08b 2023-01-10)

When I run cargo install cargo-edit or cargo install cargo-edit --features vendored-openssl I get:

$ cargo install cargo-edit --features vendored-openssl
    Updating crates.io index
  Installing cargo-edit v0.11.7
   Compiling libc v0.2.139
   Compiling autocfg v1.1.0
   Compiling proc-macro2 v1.0.50
   Compiling quote v1.0.23
   Compiling unicode-ident v1.0.6
   Compiling syn v1.0.107
   Compiling serde_derive v1.0.152
   Compiling pkg-config v0.3.26
   Compiling serde v1.0.152
   Compiling cfg-if v1.0.0
   Compiling version_check v0.9.4
   Compiling crossbeam-utils v0.8.14
   Compiling tinyvec_macros v0.1.0
   Compiling memchr v2.5.0
   Compiling bitflags v1.3.2
   Compiling tinyvec v1.6.0
   Compiling once_cell v1.17.0
   Compiling log v0.4.17
   Compiling io-lifetimes v1.0.4
   Compiling untrusted v0.7.1
   Compiling unicode-bidi v0.3.10
   Compiling memoffset v0.7.1
   Compiling crossbeam-epoch v0.9.13
   Compiling spin v0.5.2
   Compiling percent-encoding v2.2.0
   Compiling proc-macro-error-attr v1.0.4
   Compiling serde_json v1.0.91
   Compiling form_urlencoded v1.1.0
   Compiling scopeguard v1.1.0
   Compiling rustix v0.36.7
   Compiling proc-macro-error v1.0.4
   Compiling either v1.8.0
   Compiling linux-raw-sys v0.1.4
   Compiling ryu v1.0.12
   Compiling itoa v1.0.5
   Compiling semver v1.0.16
   Compiling rayon-core v1.10.2
   Compiling static_assertions v1.1.0
   Compiling crossbeam-channel v0.5.6
   Compiling unicode-normalization v0.1.22
   Compiling smartstring v1.0.1
   Compiling jobserver v0.1.25
   Compiling crossbeam-deque v0.8.2
   Compiling indexmap v1.9.2
   Compiling thiserror v1.0.38
   Compiling rustls v0.20.8
   Compiling camino v1.1.2
   Compiling cc v1.0.78
   Compiling hashbrown v0.12.3
   Compiling anyhow v1.0.68
   Compiling heck v0.4.0
   Compiling idna v0.3.0
   Compiling openssl-probe v0.1.5
   Compiling byteorder v1.4.3
   Compiling os_str_bytes v6.4.1
   Compiling kstring v2.0.0
   Compiling num_cpus v1.15.0
   Compiling atty v0.2.14
   Compiling openssl-src v111.24.0+1.1.1s
   Compiling clap_lex v0.3.1
   Compiling socks v0.3.4
   Compiling dirs-sys-next v0.1.2
   Compiling itertools v0.10.5
   Compiling url v2.3.1
   Compiling nom8 v0.2.0
   Compiling aho-corasick v0.7.20
   Compiling concolor-query v0.0.4
   Compiling regex-syntax v0.6.28
   Compiling rayon v1.6.1
   Compiling strsim v0.10.0
   Compiling rustc-hash v1.1.0
   Compiling home v0.5.4
   Compiling libz-sys v1.1.8
   Compiling openssl-sys v0.9.80
   Compiling ring v0.16.20
   Compiling libssh2-sys v0.2.23
   Compiling libgit2-sys v0.13.5+1.4.5
   Compiling termcolor v1.2.0
   Compiling is-terminal v0.4.2
   Compiling terminal_size v0.2.3
error: failed to run custom build command for `ring v0.16.20`

Caused by:
  process didn't exit successfully: `/tmp/cargo-installF3yJJH/release/build/ring-676a22df0ab29348/build-script-build` (exit status: 101)
  --- stdout
  OPT_LEVEL = Some("3")
  TARGET = Some("x86_64-unknown-linux-gnu")
  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=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 = Some("-wall -pedantic")
  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")

  --- stderr
  running "cc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-wall" "-pedantic" "-I" "include" "-pedantic" "-pedantic-errors" "-Wall" "-Wextra" "-Wcast-align" "-Wcast-qual" "-Wconversion" "-Wenum-compare" "-Wfloat-equal" "-Wformat=2" "-Winline" "-Winvalid-pch" "-Wmissing-field-initializers" "-Wmissing-include-dirs" "-Wredundant-decls" "-Wshadow" "-Wsign-compare" "-Wsign-conversion" "-Wundef" "-Wuninitialized" "-Wwrite-strings" "-fno-strict-aliasing" "-fvisibility=hidden" "-fstack-protector" "-g3" "-DNDEBUG" "-c" "-o/tmp/cargo-installF3yJJH/release/build/ring-401f39dd71a05c83/out/aesni-x86_64-elf.o" "/home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/ring-0.16.20/pregenerated/aesni-x86_64-elf.S"
  cc: error: unrecognized command-line option ‘-wall’; did you mean ‘-Wall’?
  thread 'main' panicked at 'execution failed', /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/ring-0.16.20/build.rs:656:9
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...
error: failed to run custom build command for `openssl-sys v0.9.80`

Caused by:
  process didn't exit successfully: `/tmp/cargo-installF3yJJH/release/build/openssl-sys-d8fc03de8249dca6/build-script-main` (exit status: 101)
  --- stdout
  cargo:rustc-cfg=const_fn
  cargo:rustc-cfg=openssl
  cargo:rerun-if-env-changed=X86_64_UNKNOWN_LINUX_GNU_OPENSSL_NO_VENDOR
  X86_64_UNKNOWN_LINUX_GNU_OPENSSL_NO_VENDOR unset
  cargo:rerun-if-env-changed=OPENSSL_NO_VENDOR
  OPENSSL_NO_VENDOR unset
  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=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 = Some("-wall -pedantic")
  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")
  running "perl" "./Configure" "--prefix=/tmp/cargo-installF3yJJH/release/build/openssl-sys-2f4b1774f19fb249/out/openssl-build/install" "--openssldir=/usr/local/ssl" "no-dso" "no-shared" "no-ssl3" "no-unit-test" "no-comp" "no-zlib" "no-zlib-dynamic" "no-md2" "no-rc5" "no-weak-ssl-ciphers" "no-camellia" "no-idea" "no-seed" "linux-x86_64" "-O2" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-wall" "-pedantic"
  Configuring OpenSSL version 1.1.1s (0x1010113fL) for linux-x86_64
  Using os-specific seed configuration
  Creating configdata.pm
  Creating Makefile

  **********************************************************************
  ***                                                                ***
  ***   OpenSSL has been successfully configured                     ***
  ***                                                                ***
  ***   If you encounter a problem while building, please open an    ***
  ***   issue on GitHub <https://github.com/openssl/openssl/issues>  ***
  ***   and include the output from the following command:           ***
  ***                                                                ***
  ***       perl configdata.pm --dump                                ***
  ***                                                                ***
  ***   (If you are new to OpenSSL, you might want to consult the    ***
  ***   'Troubleshooting' section in the INSTALL file first)         ***
  ***                                                                ***
  **********************************************************************
  running "make" "depend"
  running "make" "build_libs"
  /usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" \
      "-oMakefile" include/crypto/bn_conf.h.in > include/crypto/bn_conf.h
  /usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" \
      "-oMakefile" include/crypto/dso_conf.h.in > include/crypto/dso_conf.h
  /usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" \
      "-oMakefile" include/openssl/opensslconf.h.in > include/openssl/opensslconf.h
  make depend && make _build_libs
  make[1]: Entering directory '/tmp/cargo-installF3yJJH/release/build/openssl-sys-2f4b1774f19fb249/out/openssl-build/build/src'
  make[1]: Leaving directory '/tmp/cargo-installF3yJJH/release/build/openssl-sys-2f4b1774f19fb249/out/openssl-build/build/src'
  make[1]: Entering directory '/tmp/cargo-installF3yJJH/release/build/openssl-sys-2f4b1774f19fb249/out/openssl-build/build/src'
  cc  -I. -Iinclude -fPIC -pthread -m64 -Wa,--noexecstack -wall -pedantic -O2 -ffunction-sections -fdata-sections -fPIC -m64 -wall -pedantic -DOPENSSL_USE_NODELETE -DL_ENDIAN -DOPENSSL_PIC -DOPENSSL_CPUID_OBJ -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DKECCAK1600_ASM -DRC4_ASM -DMD5_ASM -DAESNI_ASM -DVPAES_ASM -DGHASH_ASM -DECP_NISTZ256_ASM -DX25519_ASM -DPOLY1305_ASM -DOPENSSLDIR="\"/usr/local/ssl\"" -DENGINESDIR="\"/tmp/cargo-installF3yJJH/release/build/openssl-sys-2f4b1774f19fb249/out/openssl-build/install/lib/engines-1.1\"" -DNDEBUG  -MMD -MF apps/app_rand.d.tmp -MT apps/app_rand.o -c -o apps/app_rand.o apps/app_rand.c
  cc  -I. -Iinclude -fPIC -pthread -m64 -Wa,--noexecstack -wall -pedantic -O2 -ffunction-sections -fdata-sections -fPIC -m64 -wall -pedantic -DOPENSSL_USE_NODELETE -DL_ENDIAN -DOPENSSL_PIC -DOPENSSL_CPUID_OBJ -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DKECCAK1600_ASM -DRC4_ASM -DMD5_ASM -DAESNI_ASM -DVPAES_ASM -DGHASH_ASM -DECP_NISTZ256_ASM -DX25519_ASM -DPOLY1305_ASM -DOPENSSLDIR="\"/usr/local/ssl\"" -DENGINESDIR="\"/tmp/cargo-installF3yJJH/release/build/openssl-sys-2f4b1774f19fb249/out/openssl-build/install/lib/engines-1.1\"" -DNDEBUG  -MMD -MF apps/apps.d.tmp -MT apps/apps.o -c -o apps/apps.o apps/apps.c
  cc  -I. -Iinclude -fPIC -pthread -m64 -Wa,--noexecstack -wall -pedantic -O2 -ffunction-sections -fdata-sections -fPIC -m64 -wall -pedantic -DOPENSSL_USE_NODELETE -DL_ENDIAN -DOPENSSL_PIC -DOPENSSL_CPUID_OBJ -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DKECCAK1600_ASM -DRC4_ASM -DMD5_ASM -DAESNI_ASM -DVPAES_ASM -DGHASH_ASM -DECP_NISTZ256_ASM -DX25519_ASM -DPOLY1305_ASM -DOPENSSLDIR="\"/usr/local/ssl\"" -DENGINESDIR="\"/tmp/cargo-installF3yJJH/release/build/openssl-sys-2f4b1774f19fb249/out/openssl-build/install/lib/engines-1.1\"" -DNDEBUG  -MMD -MF apps/bf_prefix.d.tmp -MT apps/bf_prefix.o -c -o apps/bf_prefix.o apps/bf_prefix.c
  cc  -I. -Iinclude -fPIC -pthread -m64 -Wa,--noexecstack -wall -pedantic -O2 -ffunction-sections -fdata-sections -fPIC -m64 -wall -pedantic -DOPENSSL_USE_NODELETE -DL_ENDIAN -DOPENSSL_PIC -DOPENSSL_CPUID_OBJ -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DKECCAK1600_ASM -DRC4_ASM -DMD5_ASM -DAESNI_ASM -DVPAES_ASM -DGHASH_ASM -DECP_NISTZ256_ASM -DX25519_ASM -DPOLY1305_ASM -DOPENSSLDIR="\"/usr/local/ssl\"" -DENGINESDIR="\"/tmp/cargo-installF3yJJH/release/build/openssl-sys-2f4b1774f19fb249/out/openssl-build/install/lib/engines-1.1\"" -DNDEBUG  -MMD -MF apps/opt.d.tmp -MT apps/opt.o -c -o apps/opt.o apps/opt.c
  cc  -I. -Iinclude -fPIC -pthread -m64 -Wa,--noexecstack -wall -pedantic -O2 -ffunction-sections -fdata-sections -fPIC -m64 -wall -pedantic -DOPENSSL_USE_NODELETE -DL_ENDIAN -DOPENSSL_PIC -DOPENSSL_CPUID_OBJ -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DKECCAK1600_ASM -DRC4_ASM -DMD5_ASM -DAESNI_ASM -DVPAES_ASM -DGHASH_ASM -DECP_NISTZ256_ASM -DX25519_ASM -DPOLY1305_ASM -DOPENSSLDIR="\"/usr/local/ssl\"" -DENGINESDIR="\"/tmp/cargo-installF3yJJH/release/build/openssl-sys-2f4b1774f19fb249/out/openssl-build/install/lib/engines-1.1\"" -DNDEBUG  -MMD -MF apps/s_cb.d.tmp -MT apps/s_cb.o -c -o apps/s_cb.o apps/s_cb.c
  cc  -I. -Iinclude -fPIC -pthread -m64 -Wa,--noexecstack -wall -pedantic -O2 -ffunction-sections -fdata-sections -fPIC -m64 -wall -pedantic -DOPENSSL_USE_NODELETE -DL_ENDIAN -DOPENSSL_PIC -DOPENSSL_CPUID_OBJ -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DKECCAK1600_ASM -DRC4_ASM -DMD5_ASM -DAESNI_ASM -DVPAES_ASM -DGHASH_ASM -DECP_NISTZ256_ASM -DX25519_ASM -DPOLY1305_ASM -DOPENSSLDIR="\"/usr/local/ssl\"" -DENGINESDIR="\"/tmp/cargo-installF3yJJH/release/build/openssl-sys-2f4b1774f19fb249/out/openssl-build/install/lib/engines-1.1\"" -DNDEBUG  -MMD -MF apps/s_socket.d.tmp -MT apps/s_socket.o -c -o apps/s_socket.o apps/s_socket.c
  cc  -I. -Iinclude -fPIC -pthread -m64 -Wa,--noexecstack -wall -pedantic -O2 -ffunction-sections -fdata-sections -fPIC -m64 -wall -pedantic -DOPENSSL_USE_NODELETE -DL_ENDIAN -DOPENSSL_PIC -DOPENSSL_CPUID_OBJ -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DKECCAK1600_ASM -DRC4_ASM -DMD5_ASM -DAESNI_ASM -DVPAES_ASM -DGHASH_ASM -DECP_NISTZ256_ASM -DX25519_ASM -DPOLY1305_ASM -DOPENSSLDIR="\"/usr/local/ssl\"" -DENGINESDIR="\"/tmp/cargo-installF3yJJH/release/build/openssl-sys-2f4b1774f19fb249/out/openssl-build/install/lib/engines-1.1\"" -DNDEBUG  -MMD -MF crypto/aes/aes_cbc.d.tmp -MT crypto/aes/aes_cbc.o -c -o crypto/aes/aes_cbc.o crypto/aes/aes_cbc.c
  cc  -I. -Iinclude -fPIC -pthread -m64 -Wa,--noexecstack -wall -pedantic -O2 -ffunction-sections -fdata-sections -fPIC -m64 -wall -pedantic -DOPENSSL_USE_NODELETE -DL_ENDIAN -DOPENSSL_PIC -DOPENSSL_CPUID_OBJ -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DKECCAK1600_ASM -DRC4_ASM -DMD5_ASM -DAESNI_ASM -DVPAES_ASM -DGHASH_ASM -DECP_NISTZ256_ASM -DX25519_ASM -DPOLY1305_ASM -DOPENSSLDIR="\"/usr/local/ssl\"" -DENGINESDIR="\"/tmp/cargo-installF3yJJH/release/build/openssl-sys-2f4b1774f19fb249/out/openssl-build/install/lib/engines-1.1\"" -DNDEBUG  -MMD -MF crypto/aes/aes_cfb.d.tmp -MT crypto/aes/aes_cfb.o -c -o crypto/aes/aes_cfb.o crypto/aes/aes_cfb.c
  cc  -I. -Iinclude -fPIC -pthread -m64 -Wa,--noexecstack -wall -pedantic -O2 -ffunction-sections -fdata-sections -fPIC -m64 -wall -pedantic -DOPENSSL_USE_NODELETE -DL_ENDIAN -DOPENSSL_PIC -DOPENSSL_CPUID_OBJ -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DKECCAK1600_ASM -DRC4_ASM -DMD5_ASM -DAESNI_ASM -DVPAES_ASM -DGHASH_ASM -DECP_NISTZ256_ASM -DX25519_ASM -DPOLY1305_ASM -DOPENSSLDIR="\"/usr/local/ssl\"" -DENGINESDIR="\"/tmp/cargo-installF3yJJH/release/build/openssl-sys-2f4b1774f19fb249/out/openssl-build/install/lib/engines-1.1\"" -DNDEBUG  -MMD -MF crypto/aes/aes_core.d.tmp -MT crypto/aes/aes_core.o -c -o crypto/aes/aes_core.o crypto/aes/aes_core.c
  cc  -I. -Iinclude -fPIC -pthread -m64 -Wa,--noexecstack -wall -pedantic -O2 -ffunction-sections -fdata-sections -fPIC -m64 -wall -pedantic -DOPENSSL_USE_NODELETE -DL_ENDIAN -DOPENSSL_PIC -DOPENSSL_CPUID_OBJ -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DKECCAK1600_ASM -DRC4_ASM -DMD5_ASM -DAESNI_ASM -DVPAES_ASM -DGHASH_ASM -DECP_NISTZ256_ASM -DX25519_ASM -DPOLY1305_ASM -DOPENSSLDIR="\"/usr/local/ssl\"" -DENGINESDIR="\"/tmp/cargo-installF3yJJH/release/build/openssl-sys-2f4b1774f19fb249/out/openssl-build/install/lib/engines-1.1\"" -DNDEBUG  -MMD -MF crypto/aes/aes_ecb.d.tmp -MT crypto/aes/aes_ecb.o -c -o crypto/aes/aes_ecb.o crypto/aes/aes_ecb.c
  cc  -I. -Iinclude -fPIC -pthread -m64 -Wa,--noexecstack -wall -pedantic -O2 -ffunction-sections -fdata-sections -fPIC -m64 -wall -pedantic -DOPENSSL_USE_NODELETE -DL_ENDIAN -DOPENSSL_PIC -DOPENSSL_CPUID_OBJ -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DKECCAK1600_ASM -DRC4_ASM -DMD5_ASM -DAESNI_ASM -DVPAES_ASM -DGHASH_ASM -DECP_NISTZ256_ASM -DX25519_ASM -DPOLY1305_ASM -DOPENSSLDIR="\"/usr/local/ssl\"" -DENGINESDIR="\"/tmp/cargo-installF3yJJH/release/build/openssl-sys-2f4b1774f19fb249/out/openssl-build/install/lib/engines-1.1\"" -DNDEBUG  -MMD -MF crypto/aes/aes_ige.d.tmp -MT crypto/aes/aes_ige.o -c -o crypto/aes/aes_ige.o crypto/aes/aes_ige.c
  make[1]: Leaving directory '/tmp/cargo-installF3yJJH/release/build/openssl-sys-2f4b1774f19fb249/out/openssl-build/build/src'

  --- stderr
  cc: error: unrecognized command-line option '-wall'; did you mean '-Wall'?
  cc: error: unrecognized command-line option '-wall'; did you mean '-Wall'?
  cc: error: unrecognized command-line option '-wall'; did you mean '-Wall'?
  cc: error: unrecognized command-line option '-wall'; did you mean '-Wall'?
  cc: error: unrecognized command-line option '-wall'; did you mean '-Wall'?
  cc: error: unrecognized command-line option '-wall'; did you mean '-Wall'?
  make[1]: *** [Makefile:679: apps/app_rand.o] Error 1
  make[1]: *** Waiting for unfinished jobs....
  make[1]: *** [Makefile:687: apps/apps.o] Error 1
  make[1]: *** [Makefile:695: apps/bf_prefix.o] Error 1
  cc: error: unrecognized command-line option '-wall'; did you mean '-Wall'?
  cc: error: unrecognized command-line option '-wall'; did you mean '-Wall'?
  make[1]: *** [Makefile:703: apps/opt.o] Error 1
  cc: error: unrecognized command-line option '-wall'; did you mean '-Wall'?
  cc: error: unrecognized command-line option '-wall'; did you mean '-Wall'?
  make[1]: *** [Makefile:711: apps/s_cb.o] Error 1
  cc: error: unrecognized command-line option '-wall'; did you mean '-Wall'?
  cc: error: unrecognized command-line option '-wall'; did you mean '-Wall'?
  cc: error: unrecognized command-line option '-wall'; did you mean '-Wall'?
  cc: error: unrecognized command-line option '-wall'; did you mean '-Wall'?
  make[1]: *** [Makefile:738: crypto/aes/aes_cfb.o] Error 1
  make[1]: *** [Makefile:719: apps/s_socket.o] Error 1
  cc: error: unrecognized command-line option '-wall'; did you mean '-Wall'?
  cc: error: unrecognized command-line option '-wall'; did you mean '-Wall'?
  make[1]: *** [Makefile:730: crypto/aes/aes_cbc.o] Error 1
  cc: error: unrecognized command-line option '-wall'; did you mean '-Wall'?
  cc: error: unrecognized command-line option '-wall'; did you mean '-Wall'?
  make[1]: *** [Makefile:746: crypto/aes/aes_core.o] Error 1
  cc: error: unrecognized command-line option '-wall'; did you mean '-Wall'?
  cc: error: unrecognized command-line option '-wall'; did you mean '-Wall'?
  cc: error: unrecognized command-line option '-wall'; did you mean '-Wall'?
  cc: error: unrecognized command-line option '-wall'; did you mean '-Wall'?
  make[1]: *** [Makefile:754: crypto/aes/aes_ecb.o] Error 1
  make[1]: *** [Makefile:762: crypto/aes/aes_ige.o] Error 1
  make: *** [Makefile:177: build_libs] Error 2
  thread 'main' panicked at '

  Error building OpenSSL:
      Command: "make" "build_libs"
      Exit status: exit status: 2

      ', /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-src-111.24.0+1.1.1s/src/lib.rs:498:13
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

There seems to be a typo with the -wall argument?