Skip to content

Instantly share code, notes, and snippets.

@fourstepper
Created February 8, 2021 11:47
Show Gist options
  • Save fourstepper/27db0fc4247ad59970a84e12ac70a938 to your computer and use it in GitHub Desktop.
Save fourstepper/27db0fc4247ad59970a84e12ac70a938 to your computer and use it in GitHub Desktop.
failing cryptography build
Building wheel for cryptography (PEP 517): started
Building wheel for cryptography (PEP 517): still running...
Building wheel for cryptography (PEP 517): still running...
Building wheel for cryptography (PEP 517): finished with status 'error'
Building wheel for bcrypt (PEP 517): started
ERROR: Command errored out with exit status 1:
command: /builds/QkTvrxuF/1/ansible/role-selinux/venv/bin/python3 /builds/QkTvrxuF/1/ansible/role-selinux/venv/lib/python3.8/site-packages/pip/_vendor/pep517/_in_process.py build_wheel /tmp/tmpi_t14n76
cwd: /tmp/pip-install-hf2bp963/cryptography
Complete output (237 lines):
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.8
creating build/lib.linux-x86_64-3.8/cryptography
copying src/cryptography/__init__.py -> build/lib.linux-x86_64-3.8/cryptography
copying src/cryptography/__about__.py -> build/lib.linux-x86_64-3.8/cryptography
copying src/cryptography/fernet.py -> build/lib.linux-x86_64-3.8/cryptography
copying src/cryptography/utils.py -> build/lib.linux-x86_64-3.8/cryptography
copying src/cryptography/exceptions.py -> build/lib.linux-x86_64-3.8/cryptography
creating build/lib.linux-x86_64-3.8/cryptography/hazmat
copying src/cryptography/hazmat/__init__.py -> build/lib.linux-x86_64-3.8/cryptography/hazmat
copying src/cryptography/hazmat/_types.py -> build/lib.linux-x86_64-3.8/cryptography/hazmat
copying src/cryptography/hazmat/_oid.py -> build/lib.linux-x86_64-3.8/cryptography/hazmat
copying src/cryptography/hazmat/_der.py -> build/lib.linux-x86_64-3.8/cryptography/hazmat
creating build/lib.linux-x86_64-3.8/cryptography/x509
copying src/cryptography/x509/certificate_transparency.py -> build/lib.linux-x86_64-3.8/cryptography/x509
copying src/cryptography/x509/__init__.py -> build/lib.linux-x86_64-3.8/cryptography/x509
copying src/cryptography/x509/name.py -> build/lib.linux-x86_64-3.8/cryptography/x509
copying src/cryptography/x509/base.py -> build/lib.linux-x86_64-3.8/cryptography/x509
copying src/cryptography/x509/extensions.py -> build/lib.linux-x86_64-3.8/cryptography/x509
copying src/cryptography/x509/ocsp.py -> build/lib.linux-x86_64-3.8/cryptography/x509
copying src/cryptography/x509/general_name.py -> build/lib.linux-x86_64-3.8/cryptography/x509
copying src/cryptography/x509/oid.py -> build/lib.linux-x86_64-3.8/cryptography/x509
creating build/lib.linux-x86_64-3.8/cryptography/hazmat/bindings
copying src/cryptography/hazmat/bindings/__init__.py -> build/lib.linux-x86_64-3.8/cryptography/hazmat/bindings
creating build/lib.linux-x86_64-3.8/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/padding.py -> build/lib.linux-x86_64-3.8/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/__init__.py -> build/lib.linux-x86_64-3.8/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/_cipheralgorithm.py -> build/lib.linux-x86_64-3.8/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/hmac.py -> build/lib.linux-x86_64-3.8/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/constant_time.py -> build/lib.linux-x86_64-3.8/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/_asymmetric.py -> build/lib.linux-x86_64-3.8/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/_serialization.py -> build/lib.linux-x86_64-3.8/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/hashes.py -> build/lib.linux-x86_64-3.8/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/keywrap.py -> build/lib.linux-x86_64-3.8/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/cmac.py -> build/lib.linux-x86_64-3.8/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/poly1305.py -> build/lib.linux-x86_64-3.8/cryptography/hazmat/primitives
creating build/lib.linux-x86_64-3.8/cryptography/hazmat/backends
copying src/cryptography/hazmat/backends/__init__.py -> build/lib.linux-x86_64-3.8/cryptography/hazmat/backends
copying src/cryptography/hazmat/backends/interfaces.py -> build/lib.linux-x86_64-3.8/cryptography/hazmat/backends
creating build/lib.linux-x86_64-3.8/cryptography/hazmat/bindings/openssl
copying src/cryptography/hazmat/bindings/openssl/binding.py -> build/lib.linux-x86_64-3.8/cryptography/hazmat/bindings/openssl
copying src/cryptography/hazmat/bindings/openssl/_conditional.py -> build/lib.linux-x86_64-3.8/cryptography/hazmat/bindings/openssl
copying src/cryptography/hazmat/bindings/openssl/__init__.py -> build/lib.linux-x86_64-3.8/cryptography/hazmat/bindings/openssl
creating build/lib.linux-x86_64-3.8/cryptography/hazmat/primitives/kdf
copying src/cryptography/hazmat/primitives/kdf/__init__.py -> build/lib.linux-x86_64-3.8/cryptography/hazmat/primitives/kdf
copying src/cryptography/hazmat/primitives/kdf/kbkdf.py -> build/lib.linux-x86_64-3.8/cryptography/hazmat/primitives/kdf
copying src/cryptography/hazmat/primitives/kdf/x963kdf.py -> build/lib.linux-x86_64-3.8/cryptography/hazmat/primitives/kdf
copying src/cryptography/hazmat/primitives/kdf/hkdf.py -> build/lib.linux-x86_64-3.8/cryptography/hazmat/primitives/kdf
copying src/cryptography/hazmat/primitives/kdf/concatkdf.py -> build/lib.linux-x86_64-3.8/cryptography/hazmat/primitives/kdf
copying src/cryptography/hazmat/primitives/kdf/scrypt.py -> build/lib.linux-x86_64-3.8/cryptography/hazmat/primitives/kdf
copying src/cryptography/hazmat/primitives/kdf/pbkdf2.py -> build/lib.linux-x86_64-3.8/cryptography/hazmat/primitives/kdf
creating build/lib.linux-x86_64-3.8/cryptography/hazmat/primitives/ciphers
copying src/cryptography/hazmat/primitives/ciphers/__init__.py -> build/lib.linux-x86_64-3.8/cryptography/hazmat/primitives/ciphers
copying src/cryptography/hazmat/primitives/ciphers/base.py -> build/lib.linux-x86_64-3.8/cryptography/hazmat/primitives/ciphers
copying src/cryptography/hazmat/primitives/ciphers/algorithms.py -> build/lib.linux-x86_64-3.8/cryptography/hazmat/primitives/ciphers
copying src/cryptography/hazmat/primitives/ciphers/aead.py -> build/lib.linux-x86_64-3.8/cryptography/hazmat/primitives/ciphers
copying src/cryptography/hazmat/primitives/ciphers/modes.py -> build/lib.linux-x86_64-3.8/cryptography/hazmat/primitives/ciphers
creating build/lib.linux-x86_64-3.8/cryptography/hazmat/primitives/serialization
copying src/cryptography/hazmat/primitives/serialization/pkcs7.py -> build/lib.linux-x86_64-3.8/cryptography/hazmat/primitives/serialization
copying src/cryptography/hazmat/primitives/serialization/__init__.py -> build/lib.linux-x86_64-3.8/cryptography/hazmat/primitives/serialization
copying src/cryptography/hazmat/primitives/serialization/base.py -> build/lib.linux-x86_64-3.8/cryptography/hazmat/primitives/serialization
copying src/cryptography/hazmat/primitives/serialization/pkcs12.py -> build/lib.linux-x86_64-3.8/cryptography/hazmat/primitives/serialization
copying src/cryptography/hazmat/primitives/serialization/ssh.py -> build/lib.linux-x86_64-3.8/cryptography/hazmat/primitives/serialization
creating build/lib.linux-x86_64-3.8/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/padding.py -> build/lib.linux-x86_64-3.8/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/__init__.py -> build/lib.linux-x86_64-3.8/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/dsa.py -> build/lib.linux-x86_64-3.8/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/x25519.py -> build/lib.linux-x86_64-3.8/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/ec.py -> build/lib.linux-x86_64-3.8/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/dh.py -> build/lib.linux-x86_64-3.8/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/rsa.py -> build/lib.linux-x86_64-3.8/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/x448.py -> build/lib.linux-x86_64-3.8/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/utils.py -> build/lib.linux-x86_64-3.8/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/ed25519.py -> build/lib.linux-x86_64-3.8/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/ed448.py -> build/lib.linux-x86_64-3.8/cryptography/hazmat/primitives/asymmetric
creating build/lib.linux-x86_64-3.8/cryptography/hazmat/primitives/twofactor
copying src/cryptography/hazmat/primitives/twofactor/__init__.py -> build/lib.linux-x86_64-3.8/cryptography/hazmat/primitives/twofactor
copying src/cryptography/hazmat/primitives/twofactor/hotp.py -> build/lib.linux-x86_64-3.8/cryptography/hazmat/primitives/twofactor
copying src/cryptography/hazmat/primitives/twofactor/totp.py -> build/lib.linux-x86_64-3.8/cryptography/hazmat/primitives/twofactor
copying src/cryptography/hazmat/primitives/twofactor/utils.py -> build/lib.linux-x86_64-3.8/cryptography/hazmat/primitives/twofactor
creating build/lib.linux-x86_64-3.8/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/decode_asn1.py -> build/lib.linux-x86_64-3.8/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/__init__.py -> build/lib.linux-x86_64-3.8/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/hmac.py -> build/lib.linux-x86_64-3.8/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/dsa.py -> build/lib.linux-x86_64-3.8/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/x25519.py -> build/lib.linux-x86_64-3.8/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/ocsp.py -> build/lib.linux-x86_64-3.8/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/ec.py -> build/lib.linux-x86_64-3.8/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/x509.py -> build/lib.linux-x86_64-3.8/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/hashes.py -> build/lib.linux-x86_64-3.8/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/ciphers.py -> build/lib.linux-x86_64-3.8/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/dh.py -> build/lib.linux-x86_64-3.8/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/aead.py -> build/lib.linux-x86_64-3.8/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/rsa.py -> build/lib.linux-x86_64-3.8/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/x448.py -> build/lib.linux-x86_64-3.8/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/utils.py -> build/lib.linux-x86_64-3.8/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/backend.py -> build/lib.linux-x86_64-3.8/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/encode_asn1.py -> build/lib.linux-x86_64-3.8/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/cmac.py -> build/lib.linux-x86_64-3.8/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/ed25519.py -> build/lib.linux-x86_64-3.8/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/ed448.py -> build/lib.linux-x86_64-3.8/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/poly1305.py -> build/lib.linux-x86_64-3.8/cryptography/hazmat/backends/openssl
running egg_info
writing src/cryptography.egg-info/PKG-INFO
writing dependency_links to src/cryptography.egg-info/dependency_links.txt
writing requirements to src/cryptography.egg-info/requires.txt
writing top-level names to src/cryptography.egg-info/top_level.txt
reading manifest file 'src/cryptography.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
no previously-included directories found matching 'docs/_build'
warning: no previously-included files found matching 'vectors'
warning: no previously-included files matching '*' found under directory 'vectors'
warning: no previously-included files matching '*' found under directory '.github'
warning: no previously-included files found matching 'release.py'
warning: no previously-included files found matching '.coveragerc'
warning: no previously-included files found matching 'codecov.yml'
warning: no previously-included files found matching '.readthedocs.yml'
warning: no previously-included files found matching 'dev-requirements.txt'
warning: no previously-included files found matching 'tox.ini'
warning: no previously-included files found matching 'mypy.ini'
warning: no previously-included files matching '*' found under directory '.zuul.d'
warning: no previously-included files matching '*' found under directory '.zuul.playbooks'
writing manifest file 'src/cryptography.egg-info/SOURCES.txt'
running build_ext
generating cffi module 'build/temp.linux-x86_64-3.8/_padding.c'
creating build/temp.linux-x86_64-3.8
generating cffi module 'build/temp.linux-x86_64-3.8/_openssl.c'
running build_rust
Updating crates.io index
Downloading crates ...
Downloaded inventory-impl v0.1.10
Downloaded cfg-if v1.0.0
Downloaded parking_lot_core v0.8.2
Downloaded lock_api v0.4.2
Downloaded smallvec v1.6.1
Downloaded unindent v0.1.7
Downloaded parking_lot v0.11.1
Downloaded unicode-xid v0.2.1
Downloaded inventory v0.1.10
Downloaded quote v1.0.8
Downloaded pyo3-macros-backend v0.13.1
Downloaded scopeguard v1.1.0
Downloaded indoc v1.0.3
Downloaded ghost v0.1.2
Downloaded syn v1.0.60
Downloaded paste v1.0.4
Downloaded libc v0.2.85
Downloaded pyo3-macros v0.13.1
Downloaded pyo3 v0.13.1
Downloaded ctor v0.1.19
Downloaded proc-macro2 v1.0.24
Downloaded instant v0.1.9
Downloading crates ...
Downloaded winapi v0.3.9
Downloaded winapi-i686-pc-windows-gnu v0.4.0
Downloaded redox_syscall v0.1.57
Downloaded winapi-x86_64-pc-windows-gnu v0.4.0
Compiling proc-macro2 v1.0.24
Compiling unicode-xid v0.2.1
Running `rustc --crate-name build_script_build --edition=2018 /root/.cargo/registry/src/github.com-1ecc6299db9ec823/proc-macro2-1.0.24/build.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type bin --emit=dep-info,link -C opt-level=3 --cfg 'feature="default"' --cfg 'feature="proc-macro"' -C metadata=f427c3638ad4ea90 -C extra-filename=-f427c3638ad4ea90 --out-dir /tmp/pip-install-hf2bp963/cryptography/src/rust/target/release/build/proc-macro2-f427c3638ad4ea90 -L dependency=/tmp/pip-install-hf2bp963/cryptography/src/rust/target/release/deps --cap-lints allow -C target-feature=-crt-static`
Running `rustc --crate-name unicode_xid /root/.cargo/registry/src/github.com-1ecc6299db9ec823/unicode-xid-0.2.1/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 --cfg 'feature="default"' -C metadata=13530667aae58aae -C extra-filename=-13530667aae58aae --out-dir /tmp/pip-install-hf2bp963/cryptography/src/rust/target/release/deps -L dependency=/tmp/pip-install-hf2bp963/cryptography/src/rust/target/release/deps --cap-lints allow -C target-feature=-crt-static`
Compiling syn v1.0.60
Running `rustc --crate-name build_script_build --edition=2018 /root/.cargo/registry/src/github.com-1ecc6299db9ec823/syn-1.0.60/build.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type bin --emit=dep-info,link -C opt-level=3 --cfg 'feature="clone-impls"' --cfg 'feature="default"' --cfg 'feature="derive"' --cfg 'feature="extra-traits"' --cfg 'feature="full"' --cfg 'feature="parsing"' --cfg 'feature="printing"' --cfg 'feature="proc-macro"' --cfg 'feature="quote"' -C metadata=7c8932f0581bed6e -C extra-filename=-7c8932f0581bed6e --out-dir /tmp/pip-install-hf2bp963/cryptography/src/rust/target/release/build/syn-7c8932f0581bed6e -L dependency=/tmp/pip-install-hf2bp963/cryptography/src/rust/target/release/deps --cap-lints allow -C target-feature=-crt-static`
Compiling libc v0.2.85
Running `rustc --crate-name build_script_build /root/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.85/build.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type bin --emit=dep-info,link -C opt-level=3 --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=f20530e26818cd2d -C extra-filename=-f20530e26818cd2d --out-dir /tmp/pip-install-hf2bp963/cryptography/src/rust/target/release/build/libc-f20530e26818cd2d -L dependency=/tmp/pip-install-hf2bp963/cryptography/src/rust/target/release/deps --cap-lints allow -C target-feature=-crt-static`
Compiling cfg-if v1.0.0
Running `rustc --crate-name cfg_if --edition=2018 /root/.cargo/registry/src/github.com-1ecc6299db9ec823/cfg-if-1.0.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C metadata=cac6a3fe3e67c31f -C extra-filename=-cac6a3fe3e67c31f --out-dir /tmp/pip-install-hf2bp963/cryptography/src/rust/target/release/deps -L dependency=/tmp/pip-install-hf2bp963/cryptography/src/rust/target/release/deps --cap-lints allow -C target-feature=-crt-static`
Compiling scopeguard v1.1.0
Running `rustc --crate-name scopeguard /root/.cargo/registry/src/github.com-1ecc6299db9ec823/scopeguard-1.1.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C metadata=f090762e9218b647 -C extra-filename=-f090762e9218b647 --out-dir /tmp/pip-install-hf2bp963/cryptography/src/rust/target/release/deps -L dependency=/tmp/pip-install-hf2bp963/cryptography/src/rust/target/release/deps --cap-lints allow -C target-feature=-crt-static`
Compiling inventory v0.1.10
Running `rustc --crate-name build_script_build --edition=2018 /root/.cargo/registry/src/github.com-1ecc6299db9ec823/inventory-0.1.10/build.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type bin --emit=dep-info,link -C opt-level=3 -C metadata=668d61fad1b23259 -C extra-filename=-668d61fad1b23259 --out-dir /tmp/pip-install-hf2bp963/cryptography/src/rust/target/release/build/inventory-668d61fad1b23259 -L dependency=/tmp/pip-install-hf2bp963/cryptography/src/rust/target/release/deps --cap-lints allow -C target-feature=-crt-static`
Compiling smallvec v1.6.1
Running `rustc --crate-name smallvec --edition=2018 /root/.cargo/registry/src/github.com-1ecc6299db9ec823/smallvec-1.6.1/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C metadata=4a190f9a26ad8e9a -C extra-filename=-4a190f9a26ad8e9a --out-dir /tmp/pip-install-hf2bp963/cryptography/src/rust/target/release/deps -L dependency=/tmp/pip-install-hf2bp963/cryptography/src/rust/target/release/deps --cap-lints allow -C target-feature=-crt-static`
Compiling unindent v0.1.7
Running `rustc --crate-name unindent --edition=2018 /root/.cargo/registry/src/github.com-1ecc6299db9ec823/unindent-0.1.7/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C metadata=ca556b44bd871b33 -C extra-filename=-ca556b44bd871b33 --out-dir /tmp/pip-install-hf2bp963/cryptography/src/rust/target/release/deps -L dependency=/tmp/pip-install-hf2bp963/cryptography/src/rust/target/release/deps --cap-lints allow -C target-feature=-crt-static`
Compiling pyo3 v0.13.1
Running `rustc --crate-name build_script_build --edition=2018 /root/.cargo/registry/src/github.com-1ecc6299db9ec823/pyo3-0.13.1/build.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type bin --emit=dep-info,link -C opt-level=3 --cfg 'feature="abi3"' --cfg 'feature="abi3-py36"' --cfg 'feature="abi3-py37"' --cfg 'feature="abi3-py38"' --cfg 'feature="abi3-py39"' --cfg 'feature="auto-initialize"' --cfg 'feature="ctor"' --cfg 'feature="default"' --cfg 'feature="extension-module"' --cfg 'feature="indoc"' --cfg 'feature="inventory"' --cfg 'feature="macros"' --cfg 'feature="paste"' --cfg 'feature="pyo3-macros"' --cfg 'feature="unindent"' -C metadata=089b3f9e5ef423ad -C extra-filename=-089b3f9e5ef423ad --out-dir /tmp/pip-install-hf2bp963/cryptography/src/rust/target/release/build/pyo3-089b3f9e5ef423ad -L dependency=/tmp/pip-install-hf2bp963/cryptography/src/rust/target/release/deps --cap-lints allow -C target-feature=-crt-static`
Compiling paste v1.0.4
Running `rustc --crate-name paste --edition=2018 /root/.cargo/registry/src/github.com-1ecc6299db9ec823/paste-1.0.4/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type proc-macro --emit=dep-info,link -C prefer-dynamic -C opt-level=3 -C metadata=883d1dd72c89797e -C extra-filename=-883d1dd72c89797e --out-dir /tmp/pip-install-hf2bp963/cryptography/src/rust/target/release/deps -L dependency=/tmp/pip-install-hf2bp963/cryptography/src/rust/target/release/deps --extern proc_macro --cap-lints allow -C target-feature=-crt-static`
Running `/tmp/pip-install-hf2bp963/cryptography/src/rust/target/release/build/syn-7c8932f0581bed6e/build-script-build`
Running `/tmp/pip-install-hf2bp963/cryptography/src/rust/target/release/build/proc-macro2-f427c3638ad4ea90/build-script-build`
Compiling instant v0.1.9
Running `rustc --crate-name instant --edition=2018 /root/.cargo/registry/src/github.com-1ecc6299db9ec823/instant-0.1.9/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C metadata=8d8e286f6640e0bb -C extra-filename=-8d8e286f6640e0bb --out-dir /tmp/pip-install-hf2bp963/cryptography/src/rust/target/release/deps -L dependency=/tmp/pip-install-hf2bp963/cryptography/src/rust/target/release/deps --extern cfg_if=/tmp/pip-install-hf2bp963/cryptography/src/rust/target/release/deps/libcfg_if-cac6a3fe3e67c31f.rmeta --cap-lints allow -C target-feature=-crt-static`
Compiling lock_api v0.4.2
Running `rustc --crate-name lock_api --edition=2018 /root/.cargo/registry/src/github.com-1ecc6299db9ec823/lock_api-0.4.2/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C metadata=8e10e3c848fbd6d6 -C extra-filename=-8e10e3c848fbd6d6 --out-dir /tmp/pip-install-hf2bp963/cryptography/src/rust/target/release/deps -L dependency=/tmp/pip-install-hf2bp963/cryptography/src/rust/target/release/deps --extern scopeguard=/tmp/pip-install-hf2bp963/cryptography/src/rust/target/release/deps/libscopeguard-f090762e9218b647.rmeta --cap-lints allow -C target-feature=-crt-static`
Running `/tmp/pip-install-hf2bp963/cryptography/src/rust/target/release/build/inventory-668d61fad1b23259/build-script-build`
Running `/tmp/pip-install-hf2bp963/cryptography/src/rust/target/release/build/libc-f20530e26818cd2d/build-script-build`
Compiling indoc v1.0.3
Running `rustc --crate-name indoc --edition=2018 /root/.cargo/registry/src/github.com-1ecc6299db9ec823/indoc-1.0.3/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type proc-macro --emit=dep-info,link -C prefer-dynamic -C opt-level=3 -C metadata=eec74360ae5bcbdd -C extra-filename=-eec74360ae5bcbdd --out-dir /tmp/pip-install-hf2bp963/cryptography/src/rust/target/release/deps -L dependency=/tmp/pip-install-hf2bp963/cryptography/src/rust/target/release/deps --extern unindent=/tmp/pip-install-hf2bp963/cryptography/src/rust/target/release/deps/libunindent-ca556b44bd871b33.rlib --extern proc_macro --cap-lints allow -C target-feature=-crt-static`
Running `rustc --crate-name proc_macro2 --edition=2018 /root/.cargo/registry/src/github.com-1ecc6299db9ec823/proc-macro2-1.0.24/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 --cfg 'feature="default"' --cfg 'feature="proc-macro"' -C metadata=aa3871282eef8eab -C extra-filename=-aa3871282eef8eab --out-dir /tmp/pip-install-hf2bp963/cryptography/src/rust/target/release/deps -L dependency=/tmp/pip-install-hf2bp963/cryptography/src/rust/target/release/deps --extern unicode_xid=/tmp/pip-install-hf2bp963/cryptography/src/rust/target/release/deps/libunicode_xid-13530667aae58aae.rmeta --cap-lints allow -C target-feature=-crt-static --cfg lexerror_display --cfg use_proc_macro --cfg wrap_proc_macro`
Running `rustc --crate-name libc /root/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.85/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=7eee26158fb5ebc8 -C extra-filename=-7eee26158fb5ebc8 --out-dir /tmp/pip-install-hf2bp963/cryptography/src/rust/target/release/deps -L dependency=/tmp/pip-install-hf2bp963/cryptography/src/rust/target/release/deps --cap-lints allow -C target-feature=-crt-static --cfg freebsd11 --cfg libc_priv_mod_use --cfg libc_union --cfg libc_const_size_of --cfg libc_align --cfg libc_core_cvoid --cfg libc_packedN --cfg libc_cfg_target_vendor`
Running `/tmp/pip-install-hf2bp963/cryptography/src/rust/target/release/build/pyo3-089b3f9e5ef423ad/build-script-build`
Compiling quote v1.0.8
Running `rustc --crate-name quote --edition=2018 /root/.cargo/registry/src/github.com-1ecc6299db9ec823/quote-1.0.8/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 --cfg 'feature="default"' --cfg 'feature="proc-macro"' -C metadata=4a1344d16195b0c6 -C extra-filename=-4a1344d16195b0c6 --out-dir /tmp/pip-install-hf2bp963/cryptography/src/rust/target/release/deps -L dependency=/tmp/pip-install-hf2bp963/cryptography/src/rust/target/release/deps --extern proc_macro2=/tmp/pip-install-hf2bp963/cryptography/src/rust/target/release/deps/libproc_macro2-aa3871282eef8eab.rmeta --cap-lints allow -C target-feature=-crt-static`
Compiling parking_lot_core v0.8.2
Running `rustc --crate-name parking_lot_core --edition=2018 /root/.cargo/registry/src/github.com-1ecc6299db9ec823/parking_lot_core-0.8.2/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C metadata=eee97183f997b675 -C extra-filename=-eee97183f997b675 --out-dir /tmp/pip-install-hf2bp963/cryptography/src/rust/target/release/deps -L dependency=/tmp/pip-install-hf2bp963/cryptography/src/rust/target/release/deps --extern cfg_if=/tmp/pip-install-hf2bp963/cryptography/src/rust/target/release/deps/libcfg_if-cac6a3fe3e67c31f.rmeta --extern instant=/tmp/pip-install-hf2bp963/cryptography/src/rust/target/release/deps/libinstant-8d8e286f6640e0bb.rmeta --extern libc=/tmp/pip-install-hf2bp963/cryptography/src/rust/target/release/deps/liblibc-7eee26158fb5ebc8.rmeta --extern smallvec=/tmp/pip-install-hf2bp963/cryptography/src/rust/target/release/deps/libsmallvec-4a190f9a26ad8e9a.rmeta --cap-lints allow -C target-feature=-crt-static`
Running `rustc --crate-name syn --edition=2018 /root/.cargo/registry/src/github.com-1ecc6299db9ec823/syn-1.0.60/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 --cfg 'feature="clone-impls"' --cfg 'feature="default"' --cfg 'feature="derive"' --cfg 'feature="extra-traits"' --cfg 'feature="full"' --cfg 'feature="parsing"' --cfg 'feature="printing"' --cfg 'feature="proc-macro"' --cfg 'feature="quote"' -C metadata=e836c33ca097f1fb -C extra-filename=-e836c33ca097f1fb --out-dir /tmp/pip-install-hf2bp963/cryptography/src/rust/target/release/deps -L dependency=/tmp/pip-install-hf2bp963/cryptography/src/rust/target/release/deps --extern proc_macro2=/tmp/pip-install-hf2bp963/cryptography/src/rust/target/release/deps/libproc_macro2-aa3871282eef8eab.rmeta --extern quote=/tmp/pip-install-hf2bp963/cryptography/src/rust/target/release/deps/libquote-4a1344d16195b0c6.rmeta --extern unicode_xid=/tmp/pip-install-hf2bp963/cryptography/src/rust/target/release/deps/libunicode_xid-13530667aae58aae.rmeta --cap-lints allow -C target-feature=-crt-static --cfg syn_disable_nightly_tests`
Compiling parking_lot v0.11.1
Running `rustc --crate-name parking_lot --edition=2018 /root/.cargo/registry/src/github.com-1ecc6299db9ec823/parking_lot-0.11.1/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 --cfg 'feature="default"' -C metadata=01e553f69513271f -C extra-filename=-01e553f69513271f --out-dir /tmp/pip-install-hf2bp963/cryptography/src/rust/target/release/deps -L dependency=/tmp/pip-install-hf2bp963/cryptography/src/rust/target/release/deps --extern instant=/tmp/pip-install-hf2bp963/cryptography/src/rust/target/release/deps/libinstant-8d8e286f6640e0bb.rmeta --extern lock_api=/tmp/pip-install-hf2bp963/cryptography/src/rust/target/release/deps/liblock_api-8e10e3c848fbd6d6.rmeta --extern parking_lot_core=/tmp/pip-install-hf2bp963/cryptography/src/rust/target/release/deps/libparking_lot_core-eee97183f997b675.rmeta --cap-lints allow -C target-feature=-crt-static`
Compiling pyo3-macros-backend v0.13.1
Running `rustc --crate-name pyo3_macros_backend --edition=2018 /root/.cargo/registry/src/github.com-1ecc6299db9ec823/pyo3-macros-backend-0.13.1/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C metadata=1c47d36fb0c032da -C extra-filename=-1c47d36fb0c032da --out-dir /tmp/pip-install-hf2bp963/cryptography/src/rust/target/release/deps -L dependency=/tmp/pip-install-hf2bp963/cryptography/src/rust/target/release/deps --extern proc_macro2=/tmp/pip-install-hf2bp963/cryptography/src/rust/target/release/deps/libproc_macro2-aa3871282eef8eab.rmeta --extern quote=/tmp/pip-install-hf2bp963/cryptography/src/rust/target/release/deps/libquote-4a1344d16195b0c6.rmeta --extern syn=/tmp/pip-install-hf2bp963/cryptography/src/rust/target/release/deps/libsyn-e836c33ca097f1fb.rmeta --cap-lints allow -C target-feature=-crt-static`
error[E0658]: use of unstable library feature 'str_strip': newly added
--> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/pyo3-macros-backend-0.13.1/src/method.rs:144:18
|
144 | .strip_prefix(prefix)
| ^^^^^^^^^^^^
|
= note: see issue #67302 <https://github.com/rust-lang/rust/issues/67302> for more information
error: aborting due to previous error
For more information about this error, try `rustc --explain E0658`.
error: could not compile `pyo3-macros-backend`.
Caused by:
process didn't exit successfully: `rustc --crate-name pyo3_macros_backend --edition=2018 /root/.cargo/registry/src/github.com-1ecc6299db9ec823/pyo3-macros-backend-0.13.1/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C metadata=1c47d36fb0c032da -C extra-filename=-1c47d36fb0c032da --out-dir /tmp/pip-install-hf2bp963/cryptography/src/rust/target/release/deps -L dependency=/tmp/pip-install-hf2bp963/cryptography/src/rust/target/release/deps --extern proc_macro2=/tmp/pip-install-hf2bp963/cryptography/src/rust/target/release/deps/libproc_macro2-aa3871282eef8eab.rmeta --extern quote=/tmp/pip-install-hf2bp963/cryptography/src/rust/target/release/deps/libquote-4a1344d16195b0c6.rmeta --extern syn=/tmp/pip-install-hf2bp963/cryptography/src/rust/target/release/deps/libsyn-e836c33ca097f1fb.rmeta --cap-lints allow -C target-feature=-crt-static` (exit code: 1)
warning: build failed, waiting for other jobs to finish...
error: build failed
cargo rustc --lib --manifest-path src/rust/Cargo.toml --features pyo3/abi3-py36 pyo3/extension-module --release --verbose -- --crate-type cdylib
=============================DEBUG ASSISTANCE=============================
If you are seeing a compilation error please try the following steps to
successfully install cryptography:
1) Upgrade to the latest pip and try again. This will fix errors for most
users. See: https://pip.pypa.io/en/stable/installing/#upgrading-pip
2) Read https://cryptography.io/en/latest/installation.html for specific
instructions for your platform.
3) Check our frequently asked questions for more information:
https://cryptography.io/en/latest/faq.html
4) Ensure you have a recent Rust toolchain installed.
=============================DEBUG ASSISTANCE=============================
error: cargo failed with code: 101
----------------------------------------
ERROR: Failed building wheel for cryptography
@md-fahad-ali32
Copy link

Did u get the solution

@fourstepper
Copy link
Author

@sploit30 If I remember correctly, the issue here was an old version of rust on the system when compiling cryptograph Please follow this issue to learn more on how to fix this pyca/cryptography#5771

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment