pyca / cryptography

cryptography is a package designed to expose cryptographic primitives and recipes to Python developers.
https://cryptography.io
Other
6.65k stars 1.53k forks source link

Various installation issues on linux arm32 #7636

Closed fhempy closed 1 year ago

fhempy commented 2 years ago

Hardware Orange Pi One Armbian 22.08.1 Jammy with Linux 5.15.63-sunxi Python: 3.10.4

Unfortunately the installation of cryptography fails:

fhem@orangepione:~$ pip3 install -U cffi pip setuptools
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: cffi in ./.local/lib/python3.10/site-packages (1.15.1)
Requirement already satisfied: pip in ./.local/lib/python3.10/site-packages (22.2.2)
Requirement already satisfied: setuptools in /usr/local/lib/python3.10/dist-packages (65.3.0)
Requirement already satisfied: pycparser in ./.local/lib/python3.10/site-packages (from cffi) (2.21)
fhem@orangepione:~$ pip3 install -U cryptography
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: cryptography in /usr/lib/python3/dist-packages (3.4.8)
Collecting cryptography
  Using cached cryptography-38.0.1.tar.gz (599 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... error
  error: subprocess-exited-with-error

  × Getting requirements to build wheel did not run successfully.
  │ exit code: 1
  ╰─> [29 lines of output]

              =============================DEBUG ASSISTANCE==========================
              If you are seeing an error here please try the following to
              successfully install cryptography:

              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
              =============================DEBUG ASSISTANCE==========================

      Traceback (most recent call last):
        File "/opt/fhem/.local/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 363, in <module>
          main()
        File "/opt/fhem/.local/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 345, in main
          json_out['return_val'] = hook(**hook_input['kwargs'])
        File "/opt/fhem/.local/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 130, in get_requires_for_build_wheel
          return hook(config_settings)
        File "/usr/lib/python3/dist-packages/setuptools/build_meta.py", line 162, in get_requires_for_build_wheel
          return self._get_build_requires(
        File "/usr/lib/python3/dist-packages/setuptools/build_meta.py", line 143, in _get_build_requires
          self.run_setup()
        File "/usr/lib/python3/dist-packages/setuptools/build_meta.py", line 158, in run_setup
          exec(compile(code, __file__, 'exec'), locals())
        File "setup.py", line 17, in <module>
          from setuptools_rust import RustExtension
        File "/tmp/pip-build-env-s4wc9vjp/overlay/local/lib/python3.10/dist-packages/setuptools_rust/__init__.py", line 1, in <module>
          from .build import build_rust
        File "/tmp/pip-build-env-s4wc9vjp/overlay/local/lib/python3.10/dist-packages/setuptools_rust/build.py", line 23, in <module>
          from setuptools.command.build import build as CommandBuild  # type: ignore[import]
      ModuleNotFoundError: No module named 'setuptools.command.build'
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.

Please let me know if you need further information.

alex commented 2 years ago

What does pip3 --version print?

ahermann86 commented 2 years ago

root@orangepione:~# pip3 --version pip 22.0.2 from /usr/lib/python3/dist-packages/pip (python 3.10)

alex commented 2 years ago

I'm very frustrated, because I am positive I have seen this issue before, but github issues search is totally unable to find it.

My recollection is that it has something to do with a setuptools/setuptools-rust version mismatch, but I have no idea what one does to provoke that, or to resolve it.

alex commented 2 years ago

My next debugging suggestion would be: Can you try creating a virtualenv and install into that?

ahermann86 commented 2 years ago

No, but I have an other idea. I give you the SSH access to the Orage Pi. I have set it up especially for testing. I will send you the login data by e-mail.

alex commented 2 years ago

That's not how this works. I'm happy to try to provide advice, but I'm not going to SSH into your device because you're unwilling or unable to attempt a debugging step.

ahermann86 commented 2 years ago

The problem is, that I just have basic linux knowledge. If you have the patience, I can try that.

If we should/can solve this in another way, I would need to know what virtualenv is.

The way I see it, I would need to run this:

apt-get install virtualenv python3 -m venv /path_to_new_virtual_environment Which path do I have to specify for this?

fhempy commented 2 years ago

I tried in a venv with the following result

fhem@orangepione:~$ . venv_fhempy/bin/activate
(venv_fhempy) fhem@orangepione:~$ pip3 install --upgrade cryptography
Collecting cryptography
  Using cached cryptography-38.0.1.tar.gz (599 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Collecting cffi>=1.12
  Using cached cffi-1.15.1-cp310-cp310-linux_armv7l.whl
Collecting pycparser
  Using cached pycparser-2.21-py2.py3-none-any.whl (118 kB)
Building wheels for collected packages: cryptography
  Building wheel for cryptography (pyproject.toml) ... error
  error: subprocess-exited-with-error

  × Building wheel for cryptography (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [191 lines of output]
      running bdist_wheel
      running build
      running build_py
      creating build
      creating build/lib.linux-armv7l-cpython-310
      creating build/lib.linux-armv7l-cpython-310/cryptography
      copying src/cryptography/utils.py -> build/lib.linux-armv7l-cpython-310/cryptography
      copying src/cryptography/fernet.py -> build/lib.linux-armv7l-cpython-310/cryptography
      copying src/cryptography/exceptions.py -> build/lib.linux-armv7l-cpython-310/cryptography
      copying src/cryptography/__init__.py -> build/lib.linux-armv7l-cpython-310/cryptography
      copying src/cryptography/__about__.py -> build/lib.linux-armv7l-cpython-310/cryptography
      creating build/lib.linux-armv7l-cpython-310/cryptography/x509
      copying src/cryptography/x509/oid.py -> build/lib.linux-armv7l-cpython-310/cryptography/x509
      copying src/cryptography/x509/ocsp.py -> build/lib.linux-armv7l-cpython-310/cryptography/x509
      copying src/cryptography/x509/name.py -> build/lib.linux-armv7l-cpython-310/cryptography/x509
      copying src/cryptography/x509/general_name.py -> build/lib.linux-armv7l-cpython-310/cryptography/x509
      copying src/cryptography/x509/extensions.py -> build/lib.linux-armv7l-cpython-310/cryptography/x509
      copying src/cryptography/x509/certificate_transparency.py -> build/lib.linux-armv7l-cpython-310/cryptography/x509
      copying src/cryptography/x509/base.py -> build/lib.linux-armv7l-cpython-310/cryptography/x509
      copying src/cryptography/x509/__init__.py -> build/lib.linux-armv7l-cpython-310/cryptography/x509
      creating build/lib.linux-armv7l-cpython-310/cryptography/hazmat
      copying src/cryptography/hazmat/_oid.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat
      copying src/cryptography/hazmat/__init__.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat
      creating build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives
      copying src/cryptography/hazmat/primitives/poly1305.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives
      copying src/cryptography/hazmat/primitives/padding.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives
      copying src/cryptography/hazmat/primitives/keywrap.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives
      copying src/cryptography/hazmat/primitives/hmac.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives
      copying src/cryptography/hazmat/primitives/hashes.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives
      copying src/cryptography/hazmat/primitives/constant_time.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives
      copying src/cryptography/hazmat/primitives/cmac.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives
      copying src/cryptography/hazmat/primitives/_serialization.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives
      copying src/cryptography/hazmat/primitives/_cipheralgorithm.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives
      copying src/cryptography/hazmat/primitives/_asymmetric.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives
      copying src/cryptography/hazmat/primitives/__init__.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives
      creating build/lib.linux-armv7l-cpython-310/cryptography/hazmat/bindings
      copying src/cryptography/hazmat/bindings/__init__.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/bindings
      creating build/lib.linux-armv7l-cpython-310/cryptography/hazmat/backends
      copying src/cryptography/hazmat/backends/__init__.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/backends
      creating build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/twofactor
      copying src/cryptography/hazmat/primitives/twofactor/totp.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/twofactor
      copying src/cryptography/hazmat/primitives/twofactor/hotp.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/twofactor
      copying src/cryptography/hazmat/primitives/twofactor/__init__.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/twofactor
      creating build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/serialization
      copying src/cryptography/hazmat/primitives/serialization/ssh.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/serialization
      copying src/cryptography/hazmat/primitives/serialization/pkcs7.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/serialization
      copying src/cryptography/hazmat/primitives/serialization/pkcs12.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/serialization
      copying src/cryptography/hazmat/primitives/serialization/base.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/serialization
      copying src/cryptography/hazmat/primitives/serialization/__init__.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/serialization
      creating build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/kdf
      copying src/cryptography/hazmat/primitives/kdf/x963kdf.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/kdf
      copying src/cryptography/hazmat/primitives/kdf/scrypt.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/kdf
      copying src/cryptography/hazmat/primitives/kdf/pbkdf2.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/kdf
      copying src/cryptography/hazmat/primitives/kdf/kbkdf.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/kdf
      copying src/cryptography/hazmat/primitives/kdf/hkdf.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/kdf
      copying src/cryptography/hazmat/primitives/kdf/concatkdf.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/kdf
      copying src/cryptography/hazmat/primitives/kdf/__init__.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/kdf
      creating build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/ciphers
      copying src/cryptography/hazmat/primitives/ciphers/modes.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/ciphers
      copying src/cryptography/hazmat/primitives/ciphers/base.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/ciphers
      copying src/cryptography/hazmat/primitives/ciphers/algorithms.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/ciphers
      copying src/cryptography/hazmat/primitives/ciphers/aead.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/ciphers
      copying src/cryptography/hazmat/primitives/ciphers/__init__.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/ciphers
      creating build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/asymmetric
      copying src/cryptography/hazmat/primitives/asymmetric/x448.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/asymmetric
      copying src/cryptography/hazmat/primitives/asymmetric/x25519.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/asymmetric
      copying src/cryptography/hazmat/primitives/asymmetric/utils.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/asymmetric
      copying src/cryptography/hazmat/primitives/asymmetric/types.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/asymmetric
      copying src/cryptography/hazmat/primitives/asymmetric/rsa.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/asymmetric
      copying src/cryptography/hazmat/primitives/asymmetric/padding.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/asymmetric
      copying src/cryptography/hazmat/primitives/asymmetric/ed448.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/asymmetric
      copying src/cryptography/hazmat/primitives/asymmetric/ed25519.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/asymmetric
      copying src/cryptography/hazmat/primitives/asymmetric/ec.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/asymmetric
      copying src/cryptography/hazmat/primitives/asymmetric/dsa.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/asymmetric
      copying src/cryptography/hazmat/primitives/asymmetric/dh.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/asymmetric
      copying src/cryptography/hazmat/primitives/asymmetric/__init__.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/asymmetric
      creating build/lib.linux-armv7l-cpython-310/cryptography/hazmat/bindings/openssl
      copying src/cryptography/hazmat/bindings/openssl/binding.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/bindings/openssl
      copying src/cryptography/hazmat/bindings/openssl/_conditional.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/bindings/openssl
      copying src/cryptography/hazmat/bindings/openssl/__init__.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/bindings/openssl
      creating build/lib.linux-armv7l-cpython-310/cryptography/hazmat/backends/openssl
      copying src/cryptography/hazmat/backends/openssl/x509.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/backends/openssl
      copying src/cryptography/hazmat/backends/openssl/x448.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/backends/openssl
      copying src/cryptography/hazmat/backends/openssl/x25519.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/backends/openssl
      copying src/cryptography/hazmat/backends/openssl/utils.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/backends/openssl
      copying src/cryptography/hazmat/backends/openssl/rsa.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/backends/openssl
      copying src/cryptography/hazmat/backends/openssl/poly1305.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/backends/openssl
      copying src/cryptography/hazmat/backends/openssl/hmac.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/backends/openssl
      copying src/cryptography/hazmat/backends/openssl/hashes.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/backends/openssl
      copying src/cryptography/hazmat/backends/openssl/ed448.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/backends/openssl
      copying src/cryptography/hazmat/backends/openssl/ed25519.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/backends/openssl
      copying src/cryptography/hazmat/backends/openssl/ec.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/backends/openssl
      copying src/cryptography/hazmat/backends/openssl/dsa.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/backends/openssl
      copying src/cryptography/hazmat/backends/openssl/dh.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/backends/openssl
      copying src/cryptography/hazmat/backends/openssl/decode_asn1.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/backends/openssl
      copying src/cryptography/hazmat/backends/openssl/cmac.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/backends/openssl
      copying src/cryptography/hazmat/backends/openssl/ciphers.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/backends/openssl
      copying src/cryptography/hazmat/backends/openssl/backend.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/backends/openssl
      copying src/cryptography/hazmat/backends/openssl/aead.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/backends/openssl
      copying src/cryptography/hazmat/backends/openssl/__init__.py -> build/lib.linux-armv7l-cpython-310/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 '.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 '.circleci'
      adding license file 'LICENSE'
      adding license file 'LICENSE.APACHE'
      adding license file 'LICENSE.BSD'
      adding license file 'LICENSE.PSF'
      writing manifest file 'src/cryptography.egg-info/SOURCES.txt'
      /tmp/pip-build-env-o9ufxb5q/overlay/lib/python3.10/site-packages/setuptools/command/build_py.py:202: SetuptoolsDeprecationWarning:     Installing 'cryptography.hazmat.bindings._rust' as data is deprecated, please list it in `packages`.
          !!

          ############################
          # Package would be ignored #
          ############################
          Python recognizes 'cryptography.hazmat.bindings._rust' as an importable package,
          but it is not listed in the `packages` configuration of setuptools.

          'cryptography.hazmat.bindings._rust' has been automatically added to the distribution only
          because it may contain data files, but this behavior is likely to change
          in future versions of setuptools (and therefore is considered deprecated).

          Please make sure that 'cryptography.hazmat.bindings._rust' is included as a package by using
          the `packages` configuration field or the proper discovery methods
          (for example by using `find_namespace_packages(...)`/`find_namespace:`
          instead of `find_packages(...)`/`find:`).

          You can read more about "package discovery" and "data files" on setuptools
          documentation page.

      !!

        check.warn(importable)
      copying src/cryptography/py.typed -> build/lib.linux-armv7l-cpython-310/cryptography
      copying src/cryptography/hazmat/bindings/_openssl.pyi -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/bindings
      creating build/lib.linux-armv7l-cpython-310/cryptography/hazmat/bindings/_rust
      copying src/cryptography/hazmat/bindings/_rust/__init__.pyi -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/bindings/_rust
      copying src/cryptography/hazmat/bindings/_rust/asn1.pyi -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/bindings/_rust
      copying src/cryptography/hazmat/bindings/_rust/ocsp.pyi -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/bindings/_rust
      copying src/cryptography/hazmat/bindings/_rust/x509.pyi -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/bindings/_rust
      running build_ext
      running build_rust

          =============================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/ for specific
             instructions for your platform.
          3) Check our frequently asked questions for more information:
             https://cryptography.io/en/latest/faq/
          4) Ensure you have a recent Rust toolchain installed:
             https://cryptography.io/en/latest/installation/#rust

          Python: 3.10.4
          platform: Linux-5.15.63-sunxi-armv7l-with-glibc2.35
          pip: n/a
          setuptools: 65.3.0
          setuptools_rust: 1.5.2
          rustc: n/a
          =============================DEBUG ASSISTANCE=============================

      error: can't find Rust compiler

      If you are using an outdated pip version, it is possible a prebuilt wheel is available for this package but pip is not able to install from it. Installing from the wheel would avoid the need for a Rust compiler.

      To update pip, run:

          pip install --upgrade pip

      and then retry package installation.

      If you did intend to build this package from source, try installing a Rust compiler from your system package manager and ensure it is on the PATH during installation. Alternatively, rustup (available at https://rustup.rs) is the recommended way to download and update the Rust compiler toolchain.

      This package requires Rust >=1.48.0.
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for cryptography
Failed to build cryptography
ERROR: Could not build wheels for cryptography, which is required to install pyproject.toml-based projects

after installing rust-all package it ends with

root@orangepione:~# sudo -u fhem bash
fhem@orangepione:/root$ cd
fhem@orangepione:~$ . venv_fhempy/bin/activate
(venv_fhempy) fhem@orangepione:~$ pip3 install --upgrade fhempy
Collecting fhempy
  Using cached fhempy-0.1.473-py3-none-any.whl (4.4 MB)
Collecting dbus-python==1.2.18
  Using cached dbus-python-1.2.18.tar.gz (578 kB)
  Preparing metadata (setup.py) ... done
Collecting aiohttp[speedups]==3.8.1
  Using cached aiohttp-3.8.1.tar.gz (7.3 MB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Installing backend dependencies ... done
  Preparing metadata (pyproject.toml) ... done
Collecting zeroconf==0.36.12
  Using cached zeroconf-0.36.12-py3-none-any.whl (104 kB)
Collecting cryptography==37.0.4
  Using cached cryptography-37.0.4.tar.gz (585 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Collecting importlib-metadata==4.8.1
  Using cached importlib_metadata-4.8.1-py3-none-any.whl (17 kB)
Collecting websockets==10.3
  Using cached websockets-10.3.tar.gz (84 kB)
  Preparing metadata (setup.py) ... done
Collecting requests==2.26.0
  Using cached requests-2.26.0-py2.py3-none-any.whl (62 kB)
Collecting markdown2==2.4.2
  Using cached markdown2-2.4.2-py2.py3-none-any.whl (34 kB)
Collecting charset-normalizer<3.0,>=2.0
  Using cached charset_normalizer-2.1.1-py3-none-any.whl (39 kB)
Collecting aiosignal>=1.1.2
  Using cached aiosignal-1.2.0-py3-none-any.whl (8.2 kB)
Collecting yarl<2.0,>=1.0
  Using cached yarl-1.8.1.tar.gz (172 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Collecting multidict<7.0,>=4.5
  Using cached multidict-6.0.2.tar.gz (50 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Collecting async-timeout<5.0,>=4.0.0a3
  Using cached async_timeout-4.0.2-py3-none-any.whl (5.8 kB)
Collecting attrs>=17.3.0
  Using cached attrs-22.1.0-py2.py3-none-any.whl (58 kB)
Collecting frozenlist>=1.1.1
  Using cached frozenlist-1.3.1.tar.gz (66 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Collecting cchardet
  Using cached cchardet-2.1.7.tar.gz (653 kB)
  Preparing metadata (setup.py) ... done
Collecting Brotli
  Using cached Brotli-1.0.9.zip (510 kB)
  Preparing metadata (setup.py) ... done
Collecting aiodns
  Using cached aiodns-3.0.0-py3-none-any.whl (5.0 kB)
Collecting cffi>=1.12
  Using cached cffi-1.15.1-cp310-cp310-linux_armv7l.whl
Collecting zipp>=0.5
  Using cached zipp-3.8.1-py3-none-any.whl (5.6 kB)
Collecting certifi>=2017.4.17
  Using cached certifi-2022.9.14-py3-none-any.whl (162 kB)
Collecting charset-normalizer<3.0,>=2.0
  Using cached charset_normalizer-2.0.12-py3-none-any.whl (39 kB)
Collecting idna<4,>=2.5
  Using cached idna-3.4-py3-none-any.whl (61 kB)
Collecting urllib3<1.27,>=1.21.1
  Using cached urllib3-1.26.12-py2.py3-none-any.whl (140 kB)
Collecting ifaddr>=0.1.7
  Using cached ifaddr-0.2.0-py3-none-any.whl (12 kB)
Collecting pycparser
  Using cached pycparser-2.21-py2.py3-none-any.whl (118 kB)
Collecting pycares>=4.0.0
  Using cached pycares-4.2.2.tar.gz (825 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Using legacy 'setup.py install' for dbus-python, since package 'wheel' is not installed.
Using legacy 'setup.py install' for websockets, since package 'wheel' is not installed.
Using legacy 'setup.py install' for Brotli, since package 'wheel' is not installed.
Using legacy 'setup.py install' for cchardet, since package 'wheel' is not installed.
Building wheels for collected packages: cryptography, frozenlist, multidict, yarl, aiohttp, pycares
  Building wheel for cryptography (pyproject.toml) ... \

hanging at that state

alex commented 2 years ago

Is it hanging, or just very slow?

From reading the output, it appears that it first attempts to install cryptography 38, which fails because you don't have rust installed. Then it falls back to attempting to install cryptography 37 -- which I imagine will fail for the same reason, causing it to fall back to 36, etc.

Vault2501 commented 2 years ago

I'm running into the exact same issue. This did still work last week, but since yesterady I also get the ModuleNotFoundError: No module named 'setuptools.command.build' message. Tried installing rust from packages as well as from upstream. No difference. Have not yet tried venv. But something changed since last week that broke it for me.

grepwood commented 2 years ago

I'm running into the same issue, except after installing rust compiler and co I can't download all the shit cargo pulls in because our workplace networks have no Internet access.

ahermann86 commented 2 years ago

I did the installation process again with venv. Maybe that helps - I get the following result now:

(venv_fhempy) fhem@orangepione:~$ pip3 install --upgrade fhempy
Collecting fhempy
  Using cached fhempy-0.1.483-py3-none-any.whl (4.4 MB)
Collecting aiohttp[speedups]==3.8.1
  Using cached aiohttp-3.8.1.tar.gz (7.3 MB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Installing backend dependencies ... done
  Preparing metadata (pyproject.toml) ... done
Collecting dbus-python==1.2.18
  Using cached dbus-python-1.2.18.tar.gz (578 kB)
  Preparing metadata (setup.py) ... done
Collecting websockets==10.3
  Using cached websockets-10.3.tar.gz (84 kB)
  Preparing metadata (setup.py) ... done
Collecting importlib-metadata==4.8.1
  Using cached importlib_metadata-4.8.1-py3-none-any.whl (17 kB)
Collecting cryptography==37.0.4
  Using cached cryptography-37.0.4.tar.gz (585 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Collecting requests==2.26.0
  Using cached requests-2.26.0-py2.py3-none-any.whl (62 kB)
Collecting markdown2==2.4.2
  Using cached markdown2-2.4.2-py2.py3-none-any.whl (34 kB)
Collecting zeroconf==0.36.12
  Using cached zeroconf-0.36.12-py3-none-any.whl (104 kB)
Collecting frozenlist>=1.1.1
  Using cached frozenlist-1.3.1.tar.gz (66 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Collecting multidict<7.0,>=4.5
  Using cached multidict-6.0.2.tar.gz (50 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Collecting async-timeout<5.0,>=4.0.0a3
  Using cached async_timeout-4.0.2-py3-none-any.whl (5.8 kB)
Collecting yarl<2.0,>=1.0
  Using cached yarl-1.8.1.tar.gz (172 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Collecting aiosignal>=1.1.2
  Using cached aiosignal-1.2.0-py3-none-any.whl (8.2 kB)
Collecting attrs>=17.3.0
  Using cached attrs-22.1.0-py2.py3-none-any.whl (58 kB)
Collecting charset-normalizer<3.0,>=2.0
  Using cached charset_normalizer-2.1.1-py3-none-any.whl (39 kB)
Collecting cchardet
  Using cached cchardet-2.1.7.tar.gz (653 kB)
  Preparing metadata (setup.py) ... done
Collecting aiodns
  Using cached aiodns-3.0.0-py3-none-any.whl (5.0 kB)
Collecting Brotli
  Using cached Brotli-1.0.9.zip (510 kB)
  Preparing metadata (setup.py) ... done
Collecting cffi>=1.12
  Using cached cffi-1.15.1-cp310-cp310-linux_armv7l.whl
Collecting zipp>=0.5
  Using cached zipp-3.8.1-py3-none-any.whl (5.6 kB)
Collecting charset-normalizer<3.0,>=2.0
  Using cached charset_normalizer-2.0.12-py3-none-any.whl (39 kB)
Collecting idna<4,>=2.5
  Using cached idna-3.4-py3-none-any.whl (61 kB)
Collecting certifi>=2017.4.17
  Downloading certifi-2022.9.24-py3-none-any.whl (161 kB)
     qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq 161.1/161.1 KB 614.7 kB/s eta 0:00:00
Collecting urllib3<1.27,>=1.21.1
  Using cached urllib3-1.26.12-py2.py3-none-any.whl (140 kB)
Collecting ifaddr>=0.1.7
  Using cached ifaddr-0.2.0-py3-none-any.whl (12 kB)
Collecting pycparser
  Using cached pycparser-2.21-py2.py3-none-any.whl (118 kB)
Collecting pycares>=4.0.0
  Using cached pycares-4.2.2.tar.gz (825 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Using legacy 'setup.py install' for dbus-python, since package 'wheel' is not installed.
Using legacy 'setup.py install' for websockets, since package 'wheel' is not installed.
Using legacy 'setup.py install' for Brotli, since package 'wheel' is not installed.
Using legacy 'setup.py install' for cchardet, since package 'wheel' is not installed.
Building wheels for collected packages: cryptography, frozenlist, multidict, yarl, aiohttp, pycares
  Building wheel for cryptography (pyproject.toml) ... /Killed
(venv_fhempy) fhem@orangepione:~$
messense commented 2 years ago

No module named 'setuptools.command.build' means setuptools version is too old, try upgrade it first: pip install -U setuptools.

ahermann86 commented 2 years ago

I update the version:

root@orangepione:~# pip install -U setuptools
Requirement already satisfied: setuptools in /usr/local/lib/python3.10/dist-packages (65.3.0)
Collecting setuptools
  Downloading setuptools-65.4.0-py3-none-any.whl (1.2 MB)
     qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq 1.2/1.2 MB 1.3 MB/s eta 0:00:00
Installing collected packages: setuptools
  Attempting uninstall: setuptools
    Found existing installation: setuptools 65.3.0
    Uninstalling setuptools-65.3.0:
      Successfully uninstalled setuptools-65.3.0
Successfully installed setuptools-65.4.0
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv

and then i try again:

root@orangepione:~# sudo -u fhem bash
fhem@orangepione:/root$ cd
fhem@orangepione:~$ . venv_fhempy/bin/activate
(venv_fhempy) fhem@orangepione:~$ pip3 install --upgrade fhempy
Collecting fhempy
  Using cached fhempy-0.1.486-py3-none-any.whl (4.5 MB)
Collecting importlib-metadata==4.8.1
  Using cached importlib_metadata-4.8.1-py3-none-any.whl (17 kB)
Collecting websockets==10.3
  Using cached websockets-10.3.tar.gz (84 kB)
  Preparing metadata (setup.py) ... done
Collecting requests==2.26.0
  Using cached requests-2.26.0-py2.py3-none-any.whl (62 kB)
Collecting zeroconf==0.36.12
  Using cached zeroconf-0.36.12-py3-none-any.whl (104 kB)
Collecting cryptography==37.0.4
  Using cached cryptography-37.0.4.tar.gz (585 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Collecting markdown2==2.4.2
  Using cached markdown2-2.4.2-py2.py3-none-any.whl (34 kB)
Collecting aiohttp[speedups]==3.8.1
  Using cached aiohttp-3.8.1.tar.gz (7.3 MB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Installing backend dependencies ... done
  Preparing metadata (pyproject.toml) ... done
Collecting dbus-python==1.2.18
  Using cached dbus-python-1.2.18.tar.gz (578 kB)
  Preparing metadata (setup.py) ... done
Collecting attrs>=17.3.0
  Using cached attrs-22.1.0-py2.py3-none-any.whl (58 kB)
Collecting multidict<7.0,>=4.5
  Using cached multidict-6.0.2.tar.gz (50 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Collecting aiosignal>=1.1.2
  Using cached aiosignal-1.2.0-py3-none-any.whl (8.2 kB)
Collecting yarl<2.0,>=1.0
  Using cached yarl-1.8.1.tar.gz (172 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Collecting charset-normalizer<3.0,>=2.0
  Using cached charset_normalizer-2.1.1-py3-none-any.whl (39 kB)
Collecting frozenlist>=1.1.1
  Using cached frozenlist-1.3.1.tar.gz (66 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Collecting async-timeout<5.0,>=4.0.0a3
  Using cached async_timeout-4.0.2-py3-none-any.whl (5.8 kB)
Collecting Brotli
  Using cached Brotli-1.0.9.zip (510 kB)
  Preparing metadata (setup.py) ... done
Collecting cchardet
  Using cached cchardet-2.1.7.tar.gz (653 kB)
  Preparing metadata (setup.py) ... done
Collecting aiodns
  Using cached aiodns-3.0.0-py3-none-any.whl (5.0 kB)
Collecting cffi>=1.12
  Using cached cffi-1.15.1-cp310-cp310-linux_armv7l.whl
Collecting zipp>=0.5
  Using cached zipp-3.8.1-py3-none-any.whl (5.6 kB)
Collecting charset-normalizer<3.0,>=2.0
  Using cached charset_normalizer-2.0.12-py3-none-any.whl (39 kB)
Collecting certifi>=2017.4.17
  Using cached certifi-2022.9.24-py3-none-any.whl (161 kB)
Collecting idna<4,>=2.5
  Using cached idna-3.4-py3-none-any.whl (61 kB)
Collecting urllib3<1.27,>=1.21.1
  Using cached urllib3-1.26.12-py2.py3-none-any.whl (140 kB)
Collecting ifaddr>=0.1.7
  Using cached ifaddr-0.2.0-py3-none-any.whl (12 kB)
Collecting pycparser
  Using cached pycparser-2.21-py2.py3-none-any.whl (118 kB)
Collecting pycares>=4.0.0
  Using cached pycares-4.2.2.tar.gz (825 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Using legacy 'setup.py install' for dbus-python, since package 'wheel' is not installed.
Using legacy 'setup.py install' for websockets, since package 'wheel' is not installed.
Using legacy 'setup.py install' for Brotli, since package 'wheel' is not installed.
Using legacy 'setup.py install' for cchardet, since package 'wheel' is not installed.
Building wheels for collected packages: cryptography, frozenlist, multidict, yarl, aiohttp, pycares
  Building wheel for cryptography (pyproject.toml) ... /Killed
(venv_fhempy) fhem@orangepione:~$
reaperhulk commented 2 years ago

The Killed suggests you ran out of memory during compilation. Do you see an OOM killer message in dmesg?

ahermann86 commented 2 years ago

You're right. It says something like this:

(venv_fhempy) fhem@orangepione:~$ dmesg |tail -100
[52588.701349] Hardware name: Allwinner sun8i Family
[52588.701364] [<c010cd21>] (unwind_backtrace) from [<c01095fd>] (show_stack+0x11/0x14)
[52588.701396] [<c01095fd>] (show_stack) from [<c09de1a9>] (dump_stack_lvl+0x2b/0x34)
[52588.701421] [<c09de1a9>] (dump_stack_lvl) from [<c09d91bf>] (dump_header+0x41/0x17c)
[52588.701442] [<c09d91bf>] (dump_header) from [<c0231101>] (oom_kill_process+0x12d/0x138)
[52588.701463] [<c0231101>] (oom_kill_process) from [<c02318c5>] (out_of_memory+0x1e1/0x278)
[52588.701481] [<c02318c5>] (out_of_memory) from [<c026b81f>] (__alloc_pages+0xa67/0xbb8)
[52588.701503] [<c026b81f>] (__alloc_pages) from [<c022c9f7>] (pagecache_get_page+0xfb/0x390)
[52588.701527] [<c022c9f7>] (pagecache_get_page) from [<c022d039>] (filemap_fault+0x3ad/0x6dc)
[52588.701549] [<c022d039>] (filemap_fault) from [<c025650b>] (__do_fault+0x1f/0xe0)
[52588.701572] [<c025650b>] (__do_fault) from [<c025a583>] (handle_mm_fault+0x867/0xba8)
[52588.701592] [<c025a583>] (handle_mm_fault) from [<c09e9ee3>] (do_page_fault+0xff/0x258)
[52588.701617] [<c09e9ee3>] (do_page_fault) from [<c010ff6b>] (do_DataAbort+0x33/0x90)
[52588.701639] [<c010ff6b>] (do_DataAbort) from [<c0100eaf>] (__dabt_usr+0x4f/0x60)
[52588.701656] Exception stack(0xc3991fb0 to 0xc3991ff8)
[52588.701668] 1fa0:                                     b6de77c0 b66c8184 80000000 00000073
[52588.701681] 1fc0: 00000000 01b18e78 b6dd8f7c 00000009 b6dd2af0 b6dd497c 01b18e78 00000009
[52588.701691] 1fe0: ffffffff be943ea8 b6f5b985 b6f6bea6 60040030 ffffffff
[52588.701700] Mem-Info:
[52588.701708] active_anon:17974 inactive_anon:52596 isolated_anon:0
                active_file:150 inactive_file:297 isolated_file:0
                unevictable:0 dirty:0 writeback:0
                slab_reclaimable:3456 slab_unreclaimable:6169
                mapped:694 shmem:20565 pagetables:1151 bounce:0
                kernel_misc_reclaimable:0
                free:1816 free_pcp:292 free_cma:3
[52588.701733] Node 0 active_anon:71896kB inactive_anon:210384kB active_file:600kB inactive_file:1188kB unevictable:0kB isolated(anon):0kB isolated(file):0kB mapped:2776kB dirty:0kB writeback:0kB shmem:82260kB writeback_tmp:0kB kernel_stack:1400kB pagetables:4604kB all_unreclaimable? no
[52588.701759] Normal free:7264kB min:9100kB low:9800kB high:10500kB reserved_highatomic:0KB active_anon:71896kB inactive_anon:210384kB active_file:524kB inactive_file:1188kB unevictable:0kB writepending:0kB present:524288kB managed:503480kB mlocked:0kB bounce:0kB free_pcp:1168kB local_pcp:812kB free_cma:12kB
[52588.701784] lowmem_reserve[]: 0 0 0
[52588.701804] Normal: 109*4kB (UMEC) 13*8kB (UE) 47*16kB (UE) 79*32kB (UE) 53*64kB (UE) 0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 7212kB
[52588.701884] 21262 total pagecache pages
[52588.701889] 192 pages in swap cache
[52588.701932] Swap cache stats: add 111200, delete 110989, find 723/22979
[52588.701944] Free swap  = 0kB
[52588.701949] Total swap = 251736kB
[52588.701955] 131072 pages RAM
[52588.701959] 0 pages HighMem/MovableOnly
[52588.701964] 5202 pages reserved
[52588.701970] 26624 pages cma reserved
[52588.701975] Tasks state (memory values in pages):
[52588.701980] [  pid  ]   uid  tgid total_vm      rss pgtables_bytes swapents oom_score_adj name
[52588.702004] [    318]     0   318     4893       14    20480      187         -1000 systemd-udevd
[52588.702023] [    568]     0   568     7039      142    22528      126          -250 systemd-journal
[52588.702038] [    572]     0   572     1869        8    14336      760             0 haveged
[52588.702053] [    573]   107   573     1508        7    16384       85             0 rpcbind
[52588.702067] [    574]   101   574     4730       27    28672      756             0 systemd-resolve
[52588.702081] [    579]     0   579      796        1    12288       33             0 blkmapd
[52588.702095] [    580]     0   580      515        4    12288       29             0 rpc.idmapd
[52588.702110] [    581]     0   581      817        9    10240       84             0 nfsdcld
[52588.702124] [   1063]     0  1063     1833       18    16384       30             0 cron
[52588.702139] [   1067]   102  1067     1553       65    16384       70          -900 dbus-daemon
[52588.702154] [   1070]     0  1070    14513      163    49152      313             0 NetworkManager
[52588.702169] [   1078]     0  1078     6155        0    36864     1376             0 networkd-dispat
[52588.702183] [   1088]   103  1088     6378       84    22528      135             0 rsyslogd
[52588.702198] [   1093]     0  1093     1939       17    16384      158             0 smartd
[52588.702212] [   1106]     0  1106     2731       29    20480      131             0 systemd-logind
[52588.702227] [   1108]     0  1108     2630       11    18432      120             0 wpa_supplicant
[52588.702241] [   1252]   108  1252      906        0    12288       59             0 rpc.statd
[52588.702256] [   1253]     0  1253     9159        1    38912     1293             0 unattended-upgr
[52588.702270] [   1254]     0  1254      996        7    14336       72             0 rpc.mountd
[52588.702285] [   1256]   105  1256      794      111    12288       12             0 vnstatd
[52588.702299] [   1260]     0  1260     1561        0    16384       20             0 agetty
[52588.702313] [   1267]     0  1267     2798        2    22528      251         -1000 sshd
[52588.702328] [   1274]     0  1274      928        0    12288       18             0 agetty
[52588.702343] [   1275]   106  1275     4075       44    16384       92             0 chronyd
[52588.702357] [   1277]   106  1277     2034        1    16384      110             0 chronyd
[52588.702376] [  11993]     0 11993     3341       30    22528      355             0 sshd
[52588.702390] [  11996]     0 11996     3082        2    22528      235             0 systemd
[52588.702404] [  11997]     0 11997     8695       10    26624      548             0 (sd-pam)
[52588.702419] [  12129]     0 12129     1989        2    16384      234             0 bash
[52588.702433] [  12160]     0 12160     2947       14    22528      111             0 sudo
[52588.702447] [  12161]     0 12161     2947        7    20480      118             0 sudo
[52588.702462] [  12162]   999 12162     1846        0    12288       86             0 bash
[52588.702476] [  12167]   999 12167    13138      215    61440     9025             0 pip3
[52588.702491] [  12297]   999 12297     8430       14    43008     4854             0 python3
[52588.702505] [  12303]   999 12303    37795      416   141312      911             0 cargo
[52588.702519] [  12874]   999 12874    85103     8780   311296      268             0 rustc
[52588.702534] [  12940]   999 12940    67628     9334   235520        0             0 rustc
[52588.702548] [  12962]   999 12962    78115     4152   274432        0             0 rustc
[52588.702562] [  12971]   999 12971     7632     4769    38912      130             0 perl
[52588.702576] [  12981]   999 12981     3565      847    20480        0             0 python3
[52588.702591] [  12983]   999 12983     9865     6029    51200        0             0 python3
[52588.702605] [  12985]   999 12985    89909    12664   290816        0             0 rustc
[52588.702620] [  12993]   999 12993     4416     1533    28672        0             0 python3
[52588.702635] [  13029]     0 13029     2702      100    20480        7             0 cron
[52588.702649] [  13030]     0 13030     2702      100    20480        7             0 cron
[52588.702663] [  13032]     0 13032     2702       99    20480        8             0 cron
[52588.702679] [  13041]     0 13041     2702      100    20480        7             0 cron
[52588.702693] [  13043]     0 13043     2379       62    18432       15             0 cron
[52588.702708] [  13048]     0 13048     2379       57    18432       15             0 cron
[52588.702723] [  13049]     0 13049      424       20     8192        0             0 sh
[52588.702737] [  13050]     0 13050      424       20    12288        0             0 sh
[52588.702751] [  13051]     0 13051      424       19     8192        0             0 sh
[52588.702765] [  13052]     0 13052      424       19    12288        0             0 sh
[52588.702781] [  13057]     0 13057      424       18    12288        0             0 debian-sa1
[52588.702795] [  13058]     0 13058      397       12     6144        0             0 debian-sa1
[52588.702809] [  13059]     0 13059      632       11     8192        0             0 armbian-truncat
[52588.702824] [  13060]     0 13060       77        7     6144        0             0 run-parts
[52588.702836] oom-kill:constraint=CONSTRAINT_NONE,nodemask=(null),cpuset=/,mems_allowed=0,global_oom,task_memcg=/user.slice/user-0.slice/session-155.scope,task=rustc,pid=12985,uid=999
[52588.702939] Out of memory: Killed process 12985 (rustc) total-vm:359636kB, anon-rss:50128kB, file-rss:0kB, shmem-rss:528kB, UID:999 pgtables:284kB oom_score_adj:0
(venv_fhempy) fhem@orangepione:~$

What can I do against it?

reaperhulk commented 2 years ago

The only real option is to enable swap, which you can find instructions for online. Be aware that will be very slow for the duration of compilation, but should give you a wheel at the end. Hopefully piwheels.org will merge their rust fixes soon and you won't have to do this in the future though.

Vault2501 commented 2 years ago

I have armbian ubuntu jammy images for banana pi zero with reticulum preinstalled. I just triggered a build for orange pi on - its pi one, not pi one plus, right? I'll let you know if and when the build succeeds and can share the image. I have the stuff I use to build the image at https://github.com/Vault2501/Meshed-Banana-image - but currently some changes that are not yet pushed. Will do that the weekend and also let you know. That way you can build on some x86 machine and don;t run into the memory issues. Edit: That was btw my solution for the problem - using setuptools and rust from ubuntu as package.

ahermann86 commented 2 years ago

Now I created a swap file with 1GB. This fixes the problem with the kill. Unfortunately, the process still does not work without errors. I have already updated pip3:

(venv_fhempy) fhem@orangepione:~$ pip3 install --upgrade fhempy
Collecting fhempy
  Using cached fhempy-0.1.487-py3-none-any.whl (4.5 MB)
Collecting markdown2==2.4.2
  Using cached markdown2-2.4.2-py2.py3-none-any.whl (34 kB)
Collecting websockets==10.3
  Using cached websockets-10.3.tar.gz (84 kB)
  Preparing metadata (setup.py) ... done
Collecting cryptography==37.0.4
  Using cached cryptography-37.0.4.tar.gz (585 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Collecting zeroconf==0.36.12
  Using cached zeroconf-0.36.12-py3-none-any.whl (104 kB)
Collecting dbus-python==1.2.18
  Using cached dbus-python-1.2.18.tar.gz (578 kB)
  Preparing metadata (setup.py) ... done
Collecting aiohttp[speedups]==3.8.1
  Using cached aiohttp-3.8.1.tar.gz (7.3 MB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Installing backend dependencies ... done
  Preparing metadata (pyproject.toml) ... done
Collecting requests==2.26.0
  Using cached requests-2.26.0-py2.py3-none-any.whl (62 kB)
Collecting importlib-metadata==4.8.1
  Using cached importlib_metadata-4.8.1-py3-none-any.whl (17 kB)
Collecting aiosignal>=1.1.2
  Using cached aiosignal-1.2.0-py3-none-any.whl (8.2 kB)
Collecting charset-normalizer<3.0,>=2.0
  Using cached charset_normalizer-2.1.1-py3-none-any.whl (39 kB)
Collecting multidict<7.0,>=4.5
  Using cached multidict-6.0.2-cp310-cp310-linux_armv7l.whl
Collecting async-timeout<5.0,>=4.0.0a3
  Using cached async_timeout-4.0.2-py3-none-any.whl (5.8 kB)
Collecting yarl<2.0,>=1.0
  Using cached yarl-1.8.1-cp310-cp310-linux_armv7l.whl
Collecting attrs>=17.3.0
  Using cached attrs-22.1.0-py2.py3-none-any.whl (58 kB)
Collecting frozenlist>=1.1.1
  Using cached frozenlist-1.3.1-cp310-cp310-linux_armv7l.whl
Collecting aiodns
  Using cached aiodns-3.0.0-py3-none-any.whl (5.0 kB)
Collecting Brotli
  Using cached Brotli-1.0.9.zip (510 kB)
  Preparing metadata (setup.py) ... done
Collecting cchardet
  Using cached cchardet-2.1.7.tar.gz (653 kB)
  Preparing metadata (setup.py) ... done
Collecting cffi>=1.12
  Using cached cffi-1.15.1-cp310-cp310-linux_armv7l.whl
Collecting zipp>=0.5
  Using cached zipp-3.8.1-py3-none-any.whl (5.6 kB)
Collecting charset-normalizer<3.0,>=2.0
  Using cached charset_normalizer-2.0.12-py3-none-any.whl (39 kB)
Collecting urllib3<1.27,>=1.21.1
  Using cached urllib3-1.26.12-py2.py3-none-any.whl (140 kB)
Collecting certifi>=2017.4.17
  Using cached certifi-2022.9.24-py3-none-any.whl (161 kB)
Collecting idna<4,>=2.5
  Using cached idna-3.4-py3-none-any.whl (61 kB)
Collecting ifaddr>=0.1.7
  Using cached ifaddr-0.2.0-py3-none-any.whl (12 kB)
Collecting pycparser
  Using cached pycparser-2.21-py2.py3-none-any.whl (118 kB)
Collecting pycares>=4.0.0
  Using cached pycares-4.2.2-cp310-cp310-linux_armv7l.whl
Using legacy 'setup.py install' for dbus-python, since package 'wheel' is not installed.
Using legacy 'setup.py install' for websockets, since package 'wheel' is not installed.
Using legacy 'setup.py install' for Brotli, since package 'wheel' is not installed.
Using legacy 'setup.py install' for cchardet, since package 'wheel' is not installed.
Building wheels for collected packages: cryptography, aiohttp
  Building wheel for cryptography (pyproject.toml) ... error
  error: subprocess-exited-with-error

  × Building wheel for cryptography (pyproject.toml) did not run successfully.
  x exit code: 1
  mq> [274 lines of output]
      running bdist_wheel
      running build
      running build_py
      creating build
      creating build/lib.linux-armv7l-cpython-310
      creating build/lib.linux-armv7l-cpython-310/cryptography
      copying src/cryptography/utils.py -> build/lib.linux-armv7l-cpython-310/cryptography
      copying src/cryptography/fernet.py -> build/lib.linux-armv7l-cpython-310/cryptography
      copying src/cryptography/exceptions.py -> build/lib.linux-armv7l-cpython-310/cryptography
      copying src/cryptography/__init__.py -> build/lib.linux-armv7l-cpython-310/cryptography
      copying src/cryptography/__about__.py -> build/lib.linux-armv7l-cpython-310/cryptography
      creating build/lib.linux-armv7l-cpython-310/cryptography/x509
      copying src/cryptography/x509/oid.py -> build/lib.linux-armv7l-cpython-310/cryptography/x509
      copying src/cryptography/x509/ocsp.py -> build/lib.linux-armv7l-cpython-310/cryptography/x509
      copying src/cryptography/x509/name.py -> build/lib.linux-armv7l-cpython-310/cryptography/x509
      copying src/cryptography/x509/general_name.py -> build/lib.linux-armv7l-cpython-310/cryptography/x509
      copying src/cryptography/x509/extensions.py -> build/lib.linux-armv7l-cpython-310/cryptography/x509
      copying src/cryptography/x509/certificate_transparency.py -> build/lib.linux-armv7l-cpython-310/cryptography/x509
      copying src/cryptography/x509/base.py -> build/lib.linux-armv7l-cpython-310/cryptography/x509
      copying src/cryptography/x509/__init__.py -> build/lib.linux-armv7l-cpython-310/cryptography/x509
      creating build/lib.linux-armv7l-cpython-310/cryptography/hazmat
      copying src/cryptography/hazmat/_oid.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat
      copying src/cryptography/hazmat/__init__.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat
      creating build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives
      copying src/cryptography/hazmat/primitives/poly1305.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives
      copying src/cryptography/hazmat/primitives/padding.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives
      copying src/cryptography/hazmat/primitives/keywrap.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives
      copying src/cryptography/hazmat/primitives/hmac.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives
      copying src/cryptography/hazmat/primitives/hashes.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives
      copying src/cryptography/hazmat/primitives/constant_time.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives
      copying src/cryptography/hazmat/primitives/cmac.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives
      copying src/cryptography/hazmat/primitives/_serialization.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives
      copying src/cryptography/hazmat/primitives/_cipheralgorithm.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives
      copying src/cryptography/hazmat/primitives/_asymmetric.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives
      copying src/cryptography/hazmat/primitives/__init__.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives
      creating build/lib.linux-armv7l-cpython-310/cryptography/hazmat/bindings
      copying src/cryptography/hazmat/bindings/__init__.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/bindings
      creating build/lib.linux-armv7l-cpython-310/cryptography/hazmat/backends
      copying src/cryptography/hazmat/backends/__init__.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/backends
      creating build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/twofactor
      copying src/cryptography/hazmat/primitives/twofactor/totp.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/twofactor
      copying src/cryptography/hazmat/primitives/twofactor/hotp.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/twofactor
      copying src/cryptography/hazmat/primitives/twofactor/__init__.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/twofactor
      creating build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/serialization
      copying src/cryptography/hazmat/primitives/serialization/ssh.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/serialization
      copying src/cryptography/hazmat/primitives/serialization/pkcs7.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/serialization
      copying src/cryptography/hazmat/primitives/serialization/pkcs12.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/serialization
      copying src/cryptography/hazmat/primitives/serialization/base.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/serialization
      copying src/cryptography/hazmat/primitives/serialization/__init__.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/serialization
      creating build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/kdf
      copying src/cryptography/hazmat/primitives/kdf/x963kdf.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/kdf
      copying src/cryptography/hazmat/primitives/kdf/scrypt.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/kdf
      copying src/cryptography/hazmat/primitives/kdf/pbkdf2.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/kdf
      copying src/cryptography/hazmat/primitives/kdf/kbkdf.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/kdf
      copying src/cryptography/hazmat/primitives/kdf/hkdf.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/kdf
      copying src/cryptography/hazmat/primitives/kdf/concatkdf.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/kdf
      copying src/cryptography/hazmat/primitives/kdf/__init__.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/kdf
      creating build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/ciphers
      copying src/cryptography/hazmat/primitives/ciphers/modes.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/ciphers
      copying src/cryptography/hazmat/primitives/ciphers/base.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/ciphers
      copying src/cryptography/hazmat/primitives/ciphers/algorithms.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/ciphers
      copying src/cryptography/hazmat/primitives/ciphers/aead.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/ciphers
      copying src/cryptography/hazmat/primitives/ciphers/__init__.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/ciphers
      creating build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/asymmetric
      copying src/cryptography/hazmat/primitives/asymmetric/x448.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/asymmetric
      copying src/cryptography/hazmat/primitives/asymmetric/x25519.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/asymmetric
      copying src/cryptography/hazmat/primitives/asymmetric/utils.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/asymmetric
      copying src/cryptography/hazmat/primitives/asymmetric/types.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/asymmetric
      copying src/cryptography/hazmat/primitives/asymmetric/rsa.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/asymmetric
      copying src/cryptography/hazmat/primitives/asymmetric/padding.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/asymmetric
      copying src/cryptography/hazmat/primitives/asymmetric/ed448.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/asymmetric
      copying src/cryptography/hazmat/primitives/asymmetric/ed25519.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/asymmetric
      copying src/cryptography/hazmat/primitives/asymmetric/ec.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/asymmetric
      copying src/cryptography/hazmat/primitives/asymmetric/dsa.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/asymmetric
      copying src/cryptography/hazmat/primitives/asymmetric/dh.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/asymmetric
      copying src/cryptography/hazmat/primitives/asymmetric/__init__.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/asymmetric
      creating build/lib.linux-armv7l-cpython-310/cryptography/hazmat/bindings/openssl
      copying src/cryptography/hazmat/bindings/openssl/binding.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/bindings/openssl
      copying src/cryptography/hazmat/bindings/openssl/_conditional.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/bindings/openssl
      copying src/cryptography/hazmat/bindings/openssl/__init__.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/bindings/openssl
      creating build/lib.linux-armv7l-cpython-310/cryptography/hazmat/backends/openssl
      copying src/cryptography/hazmat/backends/openssl/x509.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/backends/openssl
      copying src/cryptography/hazmat/backends/openssl/x448.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/backends/openssl
      copying src/cryptography/hazmat/backends/openssl/x25519.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/backends/openssl
      copying src/cryptography/hazmat/backends/openssl/utils.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/backends/openssl
      copying src/cryptography/hazmat/backends/openssl/rsa.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/backends/openssl
      copying src/cryptography/hazmat/backends/openssl/poly1305.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/backends/openssl
      copying src/cryptography/hazmat/backends/openssl/hmac.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/backends/openssl
      copying src/cryptography/hazmat/backends/openssl/hashes.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/backends/openssl
      copying src/cryptography/hazmat/backends/openssl/encode_asn1.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/backends/openssl
      copying src/cryptography/hazmat/backends/openssl/ed448.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/backends/openssl
      copying src/cryptography/hazmat/backends/openssl/ed25519.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/backends/openssl
      copying src/cryptography/hazmat/backends/openssl/ec.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/backends/openssl
      copying src/cryptography/hazmat/backends/openssl/dsa.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/backends/openssl
      copying src/cryptography/hazmat/backends/openssl/dh.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/backends/openssl
      copying src/cryptography/hazmat/backends/openssl/decode_asn1.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/backends/openssl
      copying src/cryptography/hazmat/backends/openssl/cmac.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/backends/openssl
      copying src/cryptography/hazmat/backends/openssl/ciphers.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/backends/openssl
      copying src/cryptography/hazmat/backends/openssl/backend.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/backends/openssl
      copying src/cryptography/hazmat/backends/openssl/aead.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/backends/openssl
      copying src/cryptography/hazmat/backends/openssl/__init__.py -> build/lib.linux-armv7l-cpython-310/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 '.circleci'
      adding license file 'LICENSE'
      adding license file 'LICENSE.APACHE'
      adding license file 'LICENSE.BSD'
      adding license file 'LICENSE.PSF'
      writing manifest file 'src/cryptography.egg-info/SOURCES.txt'
      /tmp/pip-build-env-sqdyvac0/overlay/lib/python3.10/site-packages/setuptools/command/build_py.py:202: SetuptoolsDeprecationWarning:     Installing 'cryptography.hazmat.bindings._rust' as data is deprecated, please list it in `packages`.
          !!

          ############################
          # Package would be ignored #
          ############################
          Python recognizes 'cryptography.hazmat.bindings._rust' as an importable package,
          but it is not listed in the `packages` configuration of setuptools.

          'cryptography.hazmat.bindings._rust' has been automatically added to the distribution only
          because it may contain data files, but this behavior is likely to change
          in future versions of setuptools (and therefore is considered deprecated).

          Please make sure that 'cryptography.hazmat.bindings._rust' is included as a package by using
          the `packages` configuration field or the proper discovery methods
          (for example by using `find_namespace_packages(...)`/`find_namespace:`
          instead of `find_packages(...)`/`find:`).

          You can read more about "package discovery" and "data files" on setuptools
          documentation page.

      !!

        check.warn(importable)
      copying src/cryptography/py.typed -> build/lib.linux-armv7l-cpython-310/cryptography
      creating build/lib.linux-armv7l-cpython-310/cryptography/hazmat/bindings/_rust
      copying src/cryptography/hazmat/bindings/_rust/__init__.pyi -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/bindings/_rust
      copying src/cryptography/hazmat/bindings/_rust/asn1.pyi -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/bindings/_rust
      copying src/cryptography/hazmat/bindings/_rust/ocsp.pyi -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/bindings/_rust
      copying src/cryptography/hazmat/bindings/_rust/x509.pyi -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/bindings/_rust
      running build_ext
      running build_rust
      cargo rustc --lib --message-format=json-render-diagnostics --manifest-path src/rust/Cargo.toml --release -v --features pyo3/extension-module pyo3/abi3-py36 -- --crate-type cdylib
         Compiling proc-macro2 v1.0.37
         Compiling unicode-xid v0.2.2
         Compiling autocfg v1.1.0
         Compiling syn v1.0.91
           Running `rustc --crate-name build_script_build --edition=2018 /opt/fhem/.cargo/registry/src/github.com-1285ae84e5963aae/proc-macro2-1.0.37/build.rs --error-format=json --json=diagnostic-rendered-ansi,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off -C overflow-checks=on --cfg 'feature="default"' --cfg 'feature="proc-macro"' -C metadata=f5113d63e23eb8e8 -C extra-filename=-f5113d63e23eb8e8 --out-dir /tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/build/proc-macro2-f5113d63e23eb8e8 -L dependency=/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps --cap-lints allow`
           Running `rustc --crate-name unicode_xid /opt/fhem/.cargo/registry/src/github.com-1285ae84e5963aae/unicode-xid-0.2.2/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off -C overflow-checks=on --cfg 'feature="default"' -C metadata=014ba9000088dd56 -C extra-filename=-014ba9000088dd56 --out-dir /tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps -L dependency=/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps --cap-lints allow`
           Running `rustc --crate-name autocfg /opt/fhem/.cargo/registry/src/github.com-1285ae84e5963aae/autocfg-1.1.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off -C overflow-checks=on -C metadata=9259d9b0de9ace3e -C extra-filename=-9259d9b0de9ace3e --out-dir /tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps -L dependency=/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps --cap-lints allow`
           Running `rustc --crate-name build_script_build --edition=2018 /opt/fhem/.cargo/registry/src/github.com-1285ae84e5963aae/syn-1.0.91/build.rs --error-format=json --json=diagnostic-rendered-ansi,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off -C overflow-checks=on --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=2c9fb338ad54b9c9 -C extra-filename=-2c9fb338ad54b9c9 --out-dir /tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/build/syn-2c9fb338ad54b9c9 -L dependency=/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps --cap-lints allow`
         Compiling version_check v0.9.4
           Running `rustc --crate-name version_check /opt/fhem/.cargo/registry/src/github.com-1285ae84e5963aae/version_check-0.9.4/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off -C overflow-checks=on -C metadata=a929cf8cae8e20a4 -C extra-filename=-a929cf8cae8e20a4 --out-dir /tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps -L dependency=/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps --cap-lints allow`
         Compiling libc v0.2.124
           Running `rustc --crate-name build_script_build /opt/fhem/.cargo/registry/src/github.com-1285ae84e5963aae/libc-0.2.124/build.rs --error-format=json --json=diagnostic-rendered-ansi,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off -C overflow-checks=on --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=d43704dcf9e6cd36 -C extra-filename=-d43704dcf9e6cd36 --out-dir /tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/build/libc-d43704dcf9e6cd36 -L dependency=/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps --cap-lints allow`
         Compiling proc-macro-hack v0.5.19
         Compiling pyo3-build-config v0.15.2
           Running `rustc --crate-name build_script_build --edition=2018 /opt/fhem/.cargo/registry/src/github.com-1285ae84e5963aae/proc-macro-hack-0.5.19/build.rs --error-format=json --json=diagnostic-rendered-ansi,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off -C overflow-checks=on -C metadata=cbaa41cfaf3014fa -C extra-filename=-cbaa41cfaf3014fa --out-dir /tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/build/proc-macro-hack-cbaa41cfaf3014fa -L dependency=/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps --cap-lints allow`
           Running `rustc --crate-name build_script_build --edition=2018 /opt/fhem/.cargo/registry/src/github.com-1285ae84e5963aae/pyo3-build-config-0.15.2/build.rs --error-format=json --json=diagnostic-rendered-ansi,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off -C overflow-checks=on --cfg 'feature="abi3"' --cfg 'feature="abi3-py310"' --cfg 'feature="abi3-py36"' --cfg 'feature="abi3-py37"' --cfg 'feature="abi3-py38"' --cfg 'feature="abi3-py39"' --cfg 'feature="default"' --cfg 'feature="resolve-config"' -C metadata=829b0799ecadff23 -C extra-filename=-829b0799ecadff23 --out-dir /tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/build/pyo3-build-config-829b0799ecadff23 -L dependency=/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps --cap-lints allow`
         Compiling once_cell v1.10.0
           Running `rustc --crate-name once_cell --edition=2018 /opt/fhem/.cargo/registry/src/github.com-1285ae84e5963aae/once_cell-1.10.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off -C overflow-checks=on --cfg 'feature="alloc"' --cfg 'feature="default"' --cfg 'feature="race"' --cfg 'feature="std"' -C metadata=3bcf8816752316a2 -C extra-filename=-3bcf8816752316a2 --out-dir /tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps -L dependency=/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps --cap-lints allow`
         Compiling cfg-if v1.0.0
           Running `rustc --crate-name cfg_if --edition=2018 /opt/fhem/.cargo/registry/src/github.com-1285ae84e5963aae/cfg-if-1.0.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C linker-plugin-lto -C overflow-checks=on -C metadata=bfbc8041e2c37f87 -C extra-filename=-bfbc8041e2c37f87 --out-dir /tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps -L dependency=/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps --cap-lints allow`
         Compiling parking_lot_core v0.8.5
           Running `rustc --crate-name build_script_build --edition=2018 /opt/fhem/.cargo/registry/src/github.com-1285ae84e5963aae/parking_lot_core-0.8.5/build.rs --error-format=json --json=diagnostic-rendered-ansi,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off -C overflow-checks=on -C metadata=df83fe9b118bc805 -C extra-filename=-df83fe9b118bc805 --out-dir /tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/build/parking_lot_core-df83fe9b118bc805 -L dependency=/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps --cap-lints allow`
         Compiling unindent v0.1.8
         Compiling smallvec v1.8.0
           Running `rustc --crate-name unindent --edition=2018 /opt/fhem/.cargo/registry/src/github.com-1285ae84e5963aae/unindent-0.1.8/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off -C overflow-checks=on -C metadata=8f31277f7c779a06 -C extra-filename=-8f31277f7c779a06 --out-dir /tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps -L dependency=/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps --cap-lints allow`
           Running `rustc --crate-name smallvec --edition=2018 /opt/fhem/.cargo/registry/src/github.com-1285ae84e5963aae/smallvec-1.8.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C linker-plugin-lto -C overflow-checks=on -C metadata=9905dbfe05df205f -C extra-filename=-9905dbfe05df205f --out-dir /tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps -L dependency=/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps --cap-lints allow`
         Compiling scopeguard v1.1.0
           Running `rustc --crate-name scopeguard /opt/fhem/.cargo/registry/src/github.com-1285ae84e5963aae/scopeguard-1.1.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C linker-plugin-lto -C overflow-checks=on -C metadata=38db6384bf758970 -C extra-filename=-38db6384bf758970 --out-dir /tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps -L dependency=/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps --cap-lints allow`
         Compiling Inflector v0.11.4
           Running `rustc --crate-name inflector /opt/fhem/.cargo/registry/src/github.com-1285ae84e5963aae/Inflector-0.11.4/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off -C overflow-checks=on -C metadata=4fc1188fa6fe87a9 -C extra-filename=-4fc1188fa6fe87a9 --out-dir /tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps -L dependency=/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps --cap-lints allow`
         Compiling stable_deref_trait v1.2.0
           Running `rustc --crate-name stable_deref_trait /opt/fhem/.cargo/registry/src/github.com-1285ae84e5963aae/stable_deref_trait-1.2.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C linker-plugin-lto -C overflow-checks=on --cfg 'feature="alloc"' --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=66eb0677da742be8 -C extra-filename=-66eb0677da742be8 --out-dir /tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps -L dependency=/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps --cap-lints allow`
         Compiling base64 v0.13.0
           Running `rustc --crate-name base64 --edition=2018 /opt/fhem/.cargo/registry/src/github.com-1285ae84e5963aae/base64-0.13.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C linker-plugin-lto -C overflow-checks=on --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=ab2eb98022cfe5f1 -C extra-filename=-ab2eb98022cfe5f1 --out-dir /tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps -L dependency=/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps --cap-lints allow`
         Compiling aliasable v0.1.3
           Running `rustc --crate-name aliasable --edition=2018 /opt/fhem/.cargo/registry/src/github.com-1285ae84e5963aae/aliasable-0.1.3/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C linker-plugin-lto -C overflow-checks=on --cfg 'feature="alloc"' --cfg 'feature="default"' -C metadata=2ff07f11416021f5 -C extra-filename=-2ff07f11416021f5 --out-dir /tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps -L dependency=/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps --cap-lints allow`
           Running `rustc --crate-name unindent --edition=2018 /opt/fhem/.cargo/registry/src/github.com-1285ae84e5963aae/unindent-0.1.8/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C linker-plugin-lto -C overflow-checks=on -C metadata=1d9f0db1061f7f2a -C extra-filename=-1d9f0db1061f7f2a --out-dir /tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps -L dependency=/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps --cap-lints allow`
         Compiling lazy_static v1.4.0
           Running `rustc --crate-name lazy_static /opt/fhem/.cargo/registry/src/github.com-1285ae84e5963aae/lazy_static-1.4.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C linker-plugin-lto -C overflow-checks=on -C metadata=349c5f1de5fb74b3 -C extra-filename=-349c5f1de5fb74b3 --out-dir /tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps -L dependency=/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps --cap-lints allow`
         Compiling num-traits v0.2.14
           Running `rustc --crate-name build_script_build /opt/fhem/.cargo/registry/src/github.com-1285ae84e5963aae/num-traits-0.2.14/build.rs --error-format=json --json=diagnostic-rendered-ansi,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off -C overflow-checks=on -C metadata=14cb7e5cbacd17cc -C extra-filename=-14cb7e5cbacd17cc --out-dir /tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/build/num-traits-14cb7e5cbacd17cc -L dependency=/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps --extern autocfg=/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps/libautocfg-9259d9b0de9ace3e.rlib --cap-lints allow`
         Compiling num-integer v0.1.44
           Running `rustc --crate-name build_script_build /opt/fhem/.cargo/registry/src/github.com-1285ae84e5963aae/num-integer-0.1.44/build.rs --error-format=json --json=diagnostic-rendered-ansi,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off -C overflow-checks=on -C metadata=6d377c8589c82b64 -C extra-filename=-6d377c8589c82b64 --out-dir /tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/build/num-integer-6d377c8589c82b64 -L dependency=/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps --extern autocfg=/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps/libautocfg-9259d9b0de9ace3e.rlib --cap-lints allow`
         Compiling lock_api v0.4.7
           Running `rustc --crate-name build_script_build --edition=2018 /opt/fhem/.cargo/registry/src/github.com-1285ae84e5963aae/lock_api-0.4.7/build.rs --error-format=json --json=diagnostic-rendered-ansi,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off -C overflow-checks=on -C metadata=89c4563e89da9ad0 -C extra-filename=-89c4563e89da9ad0 --out-dir /tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/build/lock_api-89c4563e89da9ad0 -L dependency=/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps --extern autocfg=/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps/libautocfg-9259d9b0de9ace3e.rlib --cap-lints allow`
           Running `/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/build/proc-macro2-f5113d63e23eb8e8/build-script-build`
           Running `/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/build/syn-2c9fb338ad54b9c9/build-script-build`
         Compiling proc-macro-error-attr v1.0.4
           Running `rustc --crate-name build_script_build --edition=2018 /opt/fhem/.cargo/registry/src/github.com-1285ae84e5963aae/proc-macro-error-attr-1.0.4/build.rs --error-format=json --json=diagnostic-rendered-ansi,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off -C overflow-checks=on -C metadata=536a3ddf807c17e0 -C extra-filename=-536a3ddf807c17e0 --out-dir /tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/build/proc-macro-error-attr-536a3ddf807c17e0 -L dependency=/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps --extern version_check=/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps/libversion_check-a929cf8cae8e20a4.rlib --cap-lints allow`
         Compiling proc-macro-error v1.0.4
           Running `rustc --crate-name build_script_build --edition=2018 /opt/fhem/.cargo/registry/src/github.com-1285ae84e5963aae/proc-macro-error-1.0.4/build.rs --error-format=json --json=diagnostic-rendered-ansi,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off -C overflow-checks=on --cfg 'feature="default"' --cfg 'feature="syn"' --cfg 'feature="syn-error"' -C metadata=49fd0f631044e484 -C extra-filename=-49fd0f631044e484 --out-dir /tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/build/proc-macro-error-49fd0f631044e484 -L dependency=/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps --extern version_check=/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps/libversion_check-a929cf8cae8e20a4.rlib --cap-lints allow`
         Compiling instant v0.1.12
           Running `rustc --crate-name instant --edition=2018 /opt/fhem/.cargo/registry/src/github.com-1285ae84e5963aae/instant-0.1.12/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C linker-plugin-lto -C overflow-checks=on -C metadata=460908abe19b54ed -C extra-filename=-460908abe19b54ed --out-dir /tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps -L dependency=/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps --extern cfg_if=/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps/libcfg_if-bfbc8041e2c37f87.rmeta --cap-lints allow`
           Running `/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/build/proc-macro-hack-cbaa41cfaf3014fa/build-script-build`
           Running `/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/build/libc-d43704dcf9e6cd36/build-script-build`
           Running `/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/build/parking_lot_core-df83fe9b118bc805/build-script-build`
         Compiling pem v1.0.2
           Running `rustc --crate-name pem --edition=2018 /opt/fhem/.cargo/registry/src/github.com-1285ae84e5963aae/pem-1.0.2/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C linker-plugin-lto -C overflow-checks=on -C metadata=9d1060c7716e890d -C extra-filename=-9d1060c7716e890d --out-dir /tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps -L dependency=/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps --extern base64=/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps/libbase64-ab2eb98022cfe5f1.rmeta --cap-lints allow`
           Running `/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/build/pyo3-build-config-829b0799ecadff23/build-script-build`
           Running `/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/build/num-traits-14cb7e5cbacd17cc/build-script-build`
           Running `rustc --crate-name proc_macro2 --edition=2018 /opt/fhem/.cargo/registry/src/github.com-1285ae84e5963aae/proc-macro2-1.0.37/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off -C overflow-checks=on --cfg 'feature="default"' --cfg 'feature="proc-macro"' -C metadata=3495efcff9a08cba -C extra-filename=-3495efcff9a08cba --out-dir /tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps -L dependency=/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps --extern unicode_xid=/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps/libunicode_xid-014ba9000088dd56.rmeta --cap-lints allow --cfg use_proc_macro --cfg wrap_proc_macro`
           Running `/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/build/proc-macro-error-attr-536a3ddf807c17e0/build-script-build`
           Running `/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/build/num-integer-6d377c8589c82b64/build-script-build`
           Running `/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/build/proc-macro-error-49fd0f631044e484/build-script-build`
           Running `/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/build/lock_api-89c4563e89da9ad0/build-script-build`
           Running `rustc --crate-name proc_macro_hack --edition=2018 /opt/fhem/.cargo/registry/src/github.com-1285ae84e5963aae/proc-macro-hack-0.5.19/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,future-incompat --crate-type proc-macro --emit=dep-info,link -C prefer-dynamic -C embed-bitcode=no -C debug-assertions=off -C overflow-checks=on -C metadata=749195a5efd42d04 -C extra-filename=-749195a5efd42d04 --out-dir /tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps -L dependency=/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps --extern proc_macro --cap-lints allow`
           Running `rustc --crate-name libc /opt/fhem/.cargo/registry/src/github.com-1285ae84e5963aae/libc-0.2.124/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C linker-plugin-lto -C overflow-checks=on --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=281422f2397d0385 -C extra-filename=-281422f2397d0385 --out-dir /tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps -L dependency=/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps --cap-lints allow --cfg freebsd11 --cfg libc_priv_mod_use --cfg libc_union --cfg libc_const_size_of --cfg libc_align --cfg libc_int128 --cfg libc_core_cvoid --cfg libc_packedN --cfg libc_cfg_target_vendor --cfg libc_non_exhaustive --cfg libc_ptr_addr_of --cfg libc_underscore_const_names`
           Running `rustc --crate-name pyo3_build_config --edition=2018 /opt/fhem/.cargo/registry/src/github.com-1285ae84e5963aae/pyo3-build-config-0.15.2/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off -C overflow-checks=on --cfg 'feature="abi3"' --cfg 'feature="abi3-py310"' --cfg 'feature="abi3-py36"' --cfg 'feature="abi3-py37"' --cfg 'feature="abi3-py38"' --cfg 'feature="abi3-py39"' --cfg 'feature="default"' --cfg 'feature="resolve-config"' -C metadata=5ee74a334029a3b3 -C extra-filename=-5ee74a334029a3b3 --out-dir /tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps -L dependency=/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps --extern once_cell=/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps/libonce_cell-3bcf8816752316a2.rmeta --cap-lints allow`
           Running `rustc --crate-name num_traits /opt/fhem/.cargo/registry/src/github.com-1285ae84e5963aae/num-traits-0.2.14/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C linker-plugin-lto -C overflow-checks=on -C metadata=717a8a28bc530cf8 -C extra-filename=-717a8a28bc530cf8 --out-dir /tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps -L dependency=/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps --cap-lints allow --cfg has_i128 --cfg has_to_int_unchecked`
           Running `rustc --crate-name lock_api --edition=2018 /opt/fhem/.cargo/registry/src/github.com-1285ae84e5963aae/lock_api-0.4.7/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C linker-plugin-lto -C overflow-checks=on -C metadata=b9b739be1806d034 -C extra-filename=-b9b739be1806d034 --out-dir /tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps -L dependency=/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps --extern scopeguard=/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps/libscopeguard-38db6384bf758970.rmeta --cap-lints allow`
         Compiling quote v1.0.18
           Running `rustc --crate-name quote --edition=2018 /opt/fhem/.cargo/registry/src/github.com-1285ae84e5963aae/quote-1.0.18/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off -C overflow-checks=on --cfg 'feature="default"' --cfg 'feature="proc-macro"' -C metadata=f4482cac1e8ef5e4 -C extra-filename=-f4482cac1e8ef5e4 --out-dir /tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps -L dependency=/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps --extern proc_macro2=/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps/libproc_macro2-3495efcff9a08cba.rmeta --cap-lints allow`
           Running `rustc --crate-name parking_lot_core --edition=2018 /opt/fhem/.cargo/registry/src/github.com-1285ae84e5963aae/parking_lot_core-0.8.5/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C linker-plugin-lto -C overflow-checks=on -C metadata=763e0731454c481a -C extra-filename=-763e0731454c481a --out-dir /tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps -L dependency=/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps --extern cfg_if=/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps/libcfg_if-bfbc8041e2c37f87.rmeta --extern instant=/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps/libinstant-460908abe19b54ed.rmeta --extern libc=/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps/liblibc-281422f2397d0385.rmeta --extern smallvec=/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps/libsmallvec-9905dbfe05df205f.rmeta --cap-lints allow`
           Running `rustc --crate-name syn --edition=2018 /opt/fhem/.cargo/registry/src/github.com-1285ae84e5963aae/syn-1.0.91/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off -C overflow-checks=on --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=86c76512f5d9c111 -C extra-filename=-86c76512f5d9c111 --out-dir /tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps -L dependency=/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps --extern proc_macro2=/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps/libproc_macro2-3495efcff9a08cba.rmeta --extern quote=/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps/libquote-f4482cac1e8ef5e4.rmeta --extern unicode_xid=/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps/libunicode_xid-014ba9000088dd56.rmeta --cap-lints allow --cfg syn_disable_nightly_tests`
           Running `rustc --crate-name proc_macro_error_attr --edition=2018 /opt/fhem/.cargo/registry/src/github.com-1285ae84e5963aae/proc-macro-error-attr-1.0.4/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,future-incompat --crate-type proc-macro --emit=dep-info,link -C prefer-dynamic -C embed-bitcode=no -C debug-assertions=off -C overflow-checks=on -C metadata=01546245c0b3b210 -C extra-filename=-01546245c0b3b210 --out-dir /tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps -L dependency=/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps --extern proc_macro2=/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps/libproc_macro2-3495efcff9a08cba.rlib --extern quote=/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps/libquote-f4482cac1e8ef5e4.rlib --extern proc_macro --cap-lints allow`
         Compiling paste-impl v0.1.18
           Running `rustc --crate-name paste_impl --edition=2018 /opt/fhem/.cargo/registry/src/github.com-1285ae84e5963aae/paste-impl-0.1.18/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,future-incompat --crate-type proc-macro --emit=dep-info,link -C prefer-dynamic -C embed-bitcode=no -C debug-assertions=off -C overflow-checks=on -C metadata=4c0bf0aaf93c9c72 -C extra-filename=-4c0bf0aaf93c9c72 --out-dir /tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps -L dependency=/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps --extern proc_macro_hack=/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps/libproc_macro_hack-749195a5efd42d04.so --extern proc_macro --cap-lints allow`
      LLVM ERROR: IO failure on output stream: No space left on device
      error: failed to write /tmp/rustcClV4EJ/lib.rmeta: No space left on device (os error 28)

      error: could not compile `proc-macro-error-attr`

      Caused by:
        process didn't exit successfully: `rustc --crate-name proc_macro_error_attr --edition=2018 /opt/fhem/.cargo/registry/src/github.com-1285ae84e5963aae/proc-macro-error-attr-1.0.4/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,future-incompat --crate-type proc-macro --emit=dep-info,link -C prefer-dynamic -C embed-bitcode=no -C debug-assertions=off -C overflow-checks=on -C metadata=01546245c0b3b210 -C extra-filename=-01546245c0b3b210 --out-dir /tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps -L dependency=/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps --extern proc_macro2=/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps/libproc_macro2-3495efcff9a08cba.rlib --extern quote=/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps/libquote-f4482cac1e8ef5e4.rlib --extern proc_macro --cap-lints allow` (exit status: 101)
      warning: build failed, waiting for other jobs to finish...
      error: linking with `cc` failed: exit status: 1
        |
        = note: "cc" "/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps/paste_impl-4c0bf0aaf93c9c72.paste_impl.d44775f6-cgu.0.rcgu.o" "/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps/paste_impl-4c0bf0aaf93c9c72.paste_impl.d44775f6-cgu.1.rcgu.o" "/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps/paste_impl-4c0bf0aaf93c9c72.paste_impl.d44775f6-cgu.10.rcgu.o" "/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps/paste_impl-4c0bf0aaf93c9c72.paste_impl.d44775f6-cgu.11.rcgu.o" "/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps/paste_impl-4c0bf0aaf93c9c72.paste_impl.d44775f6-cgu.12.rcgu.o" "/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps/paste_impl-4c0bf0aaf93c9c72.paste_impl.d44775f6-cgu.13.rcgu.o" "/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps/paste_impl-4c0bf0aaf93c9c72.paste_impl.d44775f6-cgu.14.rcgu.o" "/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps/paste_impl-4c0bf0aaf93c9c72.paste_impl.d44775f6-cgu.15.rcgu.o" "/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps/paste_impl-4c0bf0aaf93c9c72.paste_impl.d44775f6-cgu.2.rcgu.o" "/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps/paste_impl-4c0bf0aaf93c9c72.paste_impl.d44775f6-cgu.3.rcgu.o" "/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps/paste_impl-4c0bf0aaf93c9c72.paste_impl.d44775f6-cgu.4.rcgu.o" "/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps/paste_impl-4c0bf0aaf93c9c72.paste_impl.d44775f6-cgu.5.rcgu.o" "/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps/paste_impl-4c0bf0aaf93c9c72.paste_impl.d44775f6-cgu.6.rcgu.o" "/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps/paste_impl-4c0bf0aaf93c9c72.paste_impl.d44775f6-cgu.7.rcgu.o" "/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps/paste_impl-4c0bf0aaf93c9c72.paste_impl.d44775f6-cgu.8.rcgu.o" "/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps/paste_impl-4c0bf0aaf93c9c72.paste_impl.d44775f6-cgu.9.rcgu.o" "/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps/paste_impl-4c0bf0aaf93c9c72.878t9x41t4usbkq.rcgu.rmeta" "/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps/paste_impl-4c0bf0aaf93c9c72.4q3h1jx6ivza92sd.rcgu.o" "-Wl,--as-needed" "-L" "/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps" "-L" "/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib" "-Wl,-Bstatic" "/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libproc_macro-ab101411afb87c5e.rlib" "-Wl,--start-group" "/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libstd-2d62b2d9e27ea91e.rlib" "/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libpanic_unwind-4f699c0372adcb4c.rlib" "/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libminiz_oxide-92086161600136f1.rlib" "/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libadler-381fda60eb8b0dc2.rlib" "/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libobject-557989c27e7f95fa.rlib" "/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libmemchr-27c74ea51c93fa81.rlib" "/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libaddr2line-a315ce3f0ab0a8b9.rlib" "/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libgimli-7346a14ff423efca.rlib" "/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libstd_detect-e76dab7b6ac10e48.rlib" "/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librustc_demangle-ec42140cc54deda7.rlib" "/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libhashbrown-832f7ed4c1b9232d.rlib" "/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librustc_std_workspace_alloc-00ca9a583d406a37.rlib" "/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libunwind-d62320a9647e8986.rlib" "/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libcfg_if-aa11f11ebbc858b0.rlib" "/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/liblibc-b6989aafcea16b92.rlib" "/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/liballoc-63a28fa93d37dc08.rlib" "/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librustc_std_workspace_core-a76430cc9f4f8b9d.rlib" "/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libcore-4405a08eacc622a3.rlib" "-Wl,--end-group" "/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libcompiler_builtins-913af34d9889555a.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/usr/lib/rustlib/armv7-unknown-linux-gnueabihf/lib" "-o" "/tmp/pip-install-8yc_arbj/cryptography_4be92a96ebce40a094012390f89dbe6e/src/rust/target/release/deps/libpaste_impl-4c0bf0aaf93c9c72.so" "-Wl,--gc-sections" "-shared" "-Wl,-zrelro,-znow" "-nodefaultlibs"
        = note: /usr/bin/ld: final link failed: No space left on device
                collect2: error: ld returned 1 exit status

      error: build failed

          =============================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/ for specific
             instructions for your platform.
          3) Check our frequently asked questions for more information:
             https://cryptography.io/en/latest/faq/
          4) Ensure you have a recent Rust toolchain installed:
             https://cryptography.io/en/latest/installation/#rust

          Python: 3.10.4
          platform: Linux-5.15.63-sunxi-armv7l-with-glibc2.35
          pip: n/a
          setuptools: 65.4.1
          setuptools_rust: 1.5.2
          =============================DEBUG ASSISTANCE=============================

      error: `cargo rustc --lib --message-format=json-render-diagnostics --manifest-path src/rust/Cargo.toml --release -v --features 'pyo3/extension-module pyo3/abi3-py36' -- --crate-type cdylib` failed with code 101
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for cryptography
  Building wheel for aiohttp (pyproject.toml) ... error
  error: subprocess-exited-with-error

  × Building wheel for aiohttp (pyproject.toml) did not run successfully.
  x exit code: 1
  mq> [124 lines of output]
      *********************
      * Accelerated build *
      *********************
      running bdist_wheel
      running build
      running build_py
      creating build
      creating build/lib.linux-armv7l-cpython-310
      creating build/lib.linux-armv7l-cpython-310/aiohttp
      copying aiohttp/worker.py -> build/lib.linux-armv7l-cpython-310/aiohttp
      copying aiohttp/web_ws.py -> build/lib.linux-armv7l-cpython-310/aiohttp
      copying aiohttp/web_urldispatcher.py -> build/lib.linux-armv7l-cpython-310/aiohttp
      copying aiohttp/web_server.py -> build/lib.linux-armv7l-cpython-310/aiohttp
      copying aiohttp/web_runner.py -> build/lib.linux-armv7l-cpython-310/aiohttp
      copying aiohttp/web_routedef.py -> build/lib.linux-armv7l-cpython-310/aiohttp
      copying aiohttp/web_response.py -> build/lib.linux-armv7l-cpython-310/aiohttp
      copying aiohttp/web_request.py -> build/lib.linux-armv7l-cpython-310/aiohttp
      copying aiohttp/web_protocol.py -> build/lib.linux-armv7l-cpython-310/aiohttp
      copying aiohttp/web_middlewares.py -> build/lib.linux-armv7l-cpython-310/aiohttp
      copying aiohttp/web_log.py -> build/lib.linux-armv7l-cpython-310/aiohttp
      copying aiohttp/web_fileresponse.py -> build/lib.linux-armv7l-cpython-310/aiohttp
      copying aiohttp/web_exceptions.py -> build/lib.linux-armv7l-cpython-310/aiohttp
      copying aiohttp/web_app.py -> build/lib.linux-armv7l-cpython-310/aiohttp
      copying aiohttp/web.py -> build/lib.linux-armv7l-cpython-310/aiohttp
      copying aiohttp/typedefs.py -> build/lib.linux-armv7l-cpython-310/aiohttp
      copying aiohttp/tracing.py -> build/lib.linux-armv7l-cpython-310/aiohttp
      copying aiohttp/test_utils.py -> build/lib.linux-armv7l-cpython-310/aiohttp
      copying aiohttp/tcp_helpers.py -> build/lib.linux-armv7l-cpython-310/aiohttp
      copying aiohttp/streams.py -> build/lib.linux-armv7l-cpython-310/aiohttp
      copying aiohttp/resolver.py -> build/lib.linux-armv7l-cpython-310/aiohttp
      copying aiohttp/pytest_plugin.py -> build/lib.linux-armv7l-cpython-310/aiohttp
      copying aiohttp/payload_streamer.py -> build/lib.linux-armv7l-cpython-310/aiohttp
      copying aiohttp/payload.py -> build/lib.linux-armv7l-cpython-310/aiohttp
      copying aiohttp/multipart.py -> build/lib.linux-armv7l-cpython-310/aiohttp
      copying aiohttp/log.py -> build/lib.linux-armv7l-cpython-310/aiohttp
      copying aiohttp/locks.py -> build/lib.linux-armv7l-cpython-310/aiohttp
      copying aiohttp/http_writer.py -> build/lib.linux-armv7l-cpython-310/aiohttp
      copying aiohttp/http_websocket.py -> build/lib.linux-armv7l-cpython-310/aiohttp
      copying aiohttp/http_parser.py -> build/lib.linux-armv7l-cpython-310/aiohttp
      copying aiohttp/http_exceptions.py -> build/lib.linux-armv7l-cpython-310/aiohttp
      copying aiohttp/http.py -> build/lib.linux-armv7l-cpython-310/aiohttp
      copying aiohttp/helpers.py -> build/lib.linux-armv7l-cpython-310/aiohttp
      copying aiohttp/hdrs.py -> build/lib.linux-armv7l-cpython-310/aiohttp
      copying aiohttp/formdata.py -> build/lib.linux-armv7l-cpython-310/aiohttp
      copying aiohttp/cookiejar.py -> build/lib.linux-armv7l-cpython-310/aiohttp
      copying aiohttp/connector.py -> build/lib.linux-armv7l-cpython-310/aiohttp
      copying aiohttp/client_ws.py -> build/lib.linux-armv7l-cpython-310/aiohttp
      copying aiohttp/client_reqrep.py -> build/lib.linux-armv7l-cpython-310/aiohttp
      copying aiohttp/client_proto.py -> build/lib.linux-armv7l-cpython-310/aiohttp
      copying aiohttp/client_exceptions.py -> build/lib.linux-armv7l-cpython-310/aiohttp
      copying aiohttp/client.py -> build/lib.linux-armv7l-cpython-310/aiohttp
      copying aiohttp/base_protocol.py -> build/lib.linux-armv7l-cpython-310/aiohttp
      copying aiohttp/abc.py -> build/lib.linux-armv7l-cpython-310/aiohttp
      copying aiohttp/__init__.py -> build/lib.linux-armv7l-cpython-310/aiohttp
      running egg_info
      writing aiohttp.egg-info/PKG-INFO
      writing dependency_links to aiohttp.egg-info/dependency_links.txt
      writing requirements to aiohttp.egg-info/requires.txt
      writing top-level names to aiohttp.egg-info/top_level.txt
      reading manifest file 'aiohttp.egg-info/SOURCES.txt'
      reading manifest template 'MANIFEST.in'
      warning: no files found matching 'aiohttp' anywhere in distribution
      warning: no previously-included files matching '*.pyc' found anywhere in distribution
      warning: no previously-included files matching '*.pyd' found anywhere in distribution
      warning: no previously-included files matching '*.so' found anywhere in distribution
      warning: no previously-included files matching '*.lib' found anywhere in distribution
      warning: no previously-included files matching '*.dll' found anywhere in distribution
      warning: no previously-included files matching '*.a' found anywhere in distribution
      warning: no previously-included files matching '*.obj' found anywhere in distribution
      warning: no previously-included files found matching 'aiohttp/*.html'
      no previously-included directories found matching 'docs/_build'
      adding license file 'LICENSE.txt'
      writing manifest file 'aiohttp.egg-info/SOURCES.txt'
      copying aiohttp/_cparser.pxd -> build/lib.linux-armv7l-cpython-310/aiohttp
      copying aiohttp/_find_header.c -> build/lib.linux-armv7l-cpython-310/aiohttp
      copying aiohttp/_find_header.h -> build/lib.linux-armv7l-cpython-310/aiohttp
      copying aiohttp/_find_header.pxd -> build/lib.linux-armv7l-cpython-310/aiohttp
      copying aiohttp/_headers.pxi -> build/lib.linux-armv7l-cpython-310/aiohttp
      copying aiohttp/_helpers.c -> build/lib.linux-armv7l-cpython-310/aiohttp
      copying aiohttp/_helpers.pyi -> build/lib.linux-armv7l-cpython-310/aiohttp
      copying aiohttp/_helpers.pyx -> build/lib.linux-armv7l-cpython-310/aiohttp
      copying aiohttp/_http_parser.c -> build/lib.linux-armv7l-cpython-310/aiohttp
      copying aiohttp/_http_parser.pyx -> build/lib.linux-armv7l-cpython-310/aiohttp
      copying aiohttp/_http_writer.c -> build/lib.linux-armv7l-cpython-310/aiohttp
      copying aiohttp/_http_writer.pyx -> build/lib.linux-armv7l-cpython-310/aiohttp
      copying aiohttp/_websocket.c -> build/lib.linux-armv7l-cpython-310/aiohttp
      copying aiohttp/_websocket.pyx -> build/lib.linux-armv7l-cpython-310/aiohttp
      copying aiohttp/py.typed -> build/lib.linux-armv7l-cpython-310/aiohttp
      creating build/lib.linux-armv7l-cpython-310/aiohttp/.hash
      copying aiohttp/.hash/_cparser.pxd.hash -> build/lib.linux-armv7l-cpython-310/aiohttp/.hash
      copying aiohttp/.hash/_find_header.pxd.hash -> build/lib.linux-armv7l-cpython-310/aiohttp/.hash
      copying aiohttp/.hash/_helpers.pyi.hash -> build/lib.linux-armv7l-cpython-310/aiohttp/.hash
      copying aiohttp/.hash/_helpers.pyx.hash -> build/lib.linux-armv7l-cpython-310/aiohttp/.hash
      copying aiohttp/.hash/_http_parser.pyx.hash -> build/lib.linux-armv7l-cpython-310/aiohttp/.hash
      copying aiohttp/.hash/_http_writer.pyx.hash -> build/lib.linux-armv7l-cpython-310/aiohttp/.hash
      copying aiohttp/.hash/_websocket.pyx.hash -> build/lib.linux-armv7l-cpython-310/aiohttp/.hash
      copying aiohttp/.hash/hdrs.py.hash -> build/lib.linux-armv7l-cpython-310/aiohttp/.hash
      running build_ext
      building 'aiohttp._websocket' extension
      creating build/temp.linux-armv7l-cpython-310
      creating build/temp.linux-armv7l-cpython-310/aiohttp
      arm-linux-gnueabihf-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -fPIC -I/opt/fhem/venv_fhempy/include -I/usr/include/python3.10 -c aiohttp/_websocket.c -o build/temp.linux-armv7l-cpython-310/aiohttp/_websocket.o
      arm-linux-gnueabihf-gcc -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -g -fwrapv -O2 build/temp.linux-armv7l-cpython-310/aiohttp/_websocket.o -L/usr/lib/arm-linux-gnueabihf -o build/lib.linux-armv7l-cpython-310/aiohttp/_websocket.cpython-310-arm-linux-gnueabihf.so
      building 'aiohttp._http_parser' extension
      creating build/temp.linux-armv7l-cpython-310/vendor
      creating build/temp.linux-armv7l-cpython-310/vendor/llhttp
      creating build/temp.linux-armv7l-cpython-310/vendor/llhttp/build
      creating build/temp.linux-armv7l-cpython-310/vendor/llhttp/build/c
      creating build/temp.linux-armv7l-cpython-310/vendor/llhttp/src
      creating build/temp.linux-armv7l-cpython-310/vendor/llhttp/src/native
      arm-linux-gnueabihf-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -fPIC -DLLHTTP_STRICT_MODE=0 -Ivendor/llhttp/build -I/opt/fhem/venv_fhempy/include -I/usr/include/python3.10 -c aiohttp/_find_header.c -o build/temp.linux-armv7l-cpython-310/aiohttp/_find_header.o
      aiohttp/_find_header.c: In function ‘find_header’:
      aiohttp/_find_header.c:21:19: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
         21 |     char *pchar = str;
            |                   ^~~
      aiohttp/_find_header.c:9867:1: warning: label ‘missing’ defined but not used [-Wunused-label]
       9867 | missing:
            | ^~~~~~~
      aiohttp/_find_header.c: At top level:
      aiohttp/_find_header.c:9870:1: fatal error: error writing to /tmp/cc7UnoDG.s: No space left on device
       9870 | }
            | ^
      compilation terminated.
      error: command '/usr/bin/arm-linux-gnueabihf-gcc' failed with exit code 1
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for aiohttp
Failed to build cryptography aiohttp
ERROR: Could not build wheels for cryptography, aiohttp, which is required to install pyproject.toml-based projects
Vault2501 commented 2 years ago

I just finished buildng the jammy image. Based on a minimal image, these were the packages I installed additionally in order to install reticulum and sideband:

REQUIRED_PACKAGES="libgl1-mesa-dev python3-pip python3-setuptools build-essential python3-dev libffi-dev cargo libssl-dev python3-wheel rust-all python3-setuptools-rust python3-pil python3-pygame"

The command to install the python modules:

PYTHON_MODULES="cryptography rns lxmf nomadnet rnodeconf requests sbapp"

You can see the commands I use at https://github.com/Vault2501/Meshed-Banana-image/tree/main/userpatches/overlay/scripts

Vault2501 commented 2 years ago

Just read your build log - and what stands out is

LLVM ERROR: IO failure on output stream: No space left on device

I think you ran out of disk space?

Vault2501 commented 2 years ago

I put the current images here, there is now also a minimal orange pi one image, in case you want to try that: https://github.com/Vault2501/Meshed-Banana-image/wiki/Images

grepwood commented 2 years ago

What eventually worked for me was moving back to cryptography 3.3.4, before they starting cargoculting Rust into the project

somanipra commented 2 years ago

It suddenly started failing recently for me with the same rust issue, I was trying to make a docker image having dependency on python crypto. Base image debian:10.1 Python 3.7 cryptography == 36.0.2

grepwood commented 2 years ago

@somanipra have you tried moving back to cryptography<3.4.0? Because that's what did help me.

somanipra commented 2 years ago

@grepwood I upgraded pip in docker image. It works fine now. Thanks

grepwood commented 2 years ago

@somanipra no problem, you're welcome. I'm gonna embrace cryptography with Rust in it, but first I need to enable this transition to be much less painful. It's not going to be like this with NixOS. Lucky you for using Debian :)

alex commented 2 years ago

Updated the title to reflect that this issue has a bunch of different installation issues -- the common thread is that they're on arm32 linux. This became an issue recently because piwheels can no longer build cryptography: https://github.com/piwheels/piwheels/pull/322

clacknya commented 2 years ago

I got a different error when compile cryptography with rust in termux.

error: failed to prepare thin LTO module: Opaque pointers are only supported in -opaque-pointers mode (Producer: 'LLVM15.0.2' Reader: 'LLVM 15.0.2')
Full LOG ``` error: subprocess-exited-with-error × Building wheel for cryptography (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [296 lines of output] running bdist_wheel running build running build_py creating build creating build/lib.linux-armv8l-cpython-310 creating build/lib.linux-armv8l-cpython-310/cryptography copying src/cryptography/__about__.py -> build/lib.linux-armv8l-cpython-310/cryptography copying src/cryptography/__init__.py -> build/lib.linux-armv8l-cpython-310/cryptography copying src/cryptography/exceptions.py -> build/lib.linux-armv8l-cpython-310/cryptography copying src/cryptography/fernet.py -> build/lib.linux-armv8l-cpython-310/cryptography copying src/cryptography/utils.py -> build/lib.linux-armv8l-cpython-310/cryptography creating build/lib.linux-armv8l-cpython-310/cryptography/hazmat copying src/cryptography/hazmat/__init__.py -> build/lib.linux-armv8l-cpython-310/cryptography/hazmat copying src/cryptography/hazmat/_oid.py -> build/lib.linux-armv8l-cpython-310/cryptography/hazmat creating build/lib.linux-armv8l-cpython-310/cryptography/x509 copying src/cryptography/x509/__init__.py -> build/lib.linux-armv8l-cpython-310/cryptography/x509 copying src/cryptography/x509/base.py -> build/lib.linux-armv8l-cpython-310/cryptography/x509 copying src/cryptography/x509/certificate_transparency.py -> build/lib.linux-armv8l-cpython-310/cryptography/x509 copying src/cryptography/x509/extensions.py -> build/lib.linux-armv8l-cpython-310/cryptography/x509 copying src/cryptography/x509/general_name.py -> build/lib.linux-armv8l-cpython-310/cryptography/x509 copying src/cryptography/x509/name.py -> build/lib.linux-armv8l-cpython-310/cryptography/x509 copying src/cryptography/x509/ocsp.py -> build/lib.linux-armv8l-cpython-310/cryptography/x509 copying src/cryptography/x509/oid.py -> build/lib.linux-armv8l-cpython-310/cryptography/x509 creating build/lib.linux-armv8l-cpython-310/cryptography/hazmat/backends copying src/cryptography/hazmat/backends/__init__.py -> build/lib.linux-armv8l-cpython-310/cryptography/hazmat/backends creating build/lib.linux-armv8l-cpython-310/cryptography/hazmat/bindings copying src/cryptography/hazmat/bindings/__init__.py -> build/lib.linux-armv8l-cpython-310/cryptography/hazmat/bindings creating build/lib.linux-armv8l-cpython-310/cryptography/hazmat/primitives copying src/cryptography/hazmat/primitives/__init__.py -> build/lib.linux-armv8l-cpython-310/cryptography/hazmat/primitives copying src/cryptography/hazmat/primitives/_asymmetric.py -> build/lib.linux-armv8l-cpython-310/cryptography/hazmat/primitives copying src/cryptography/hazmat/primitives/_cipheralgorithm.py -> build/lib.linux-armv8l-cpython-310/cryptography/hazmat/primitives copying src/cryptography/hazmat/primitives/_serialization.py -> build/lib.linux-armv8l-cpython-310/cryptography/hazmat/primitives copying src/cryptography/hazmat/primitives/cmac.py -> build/lib.linux-armv8l-cpython-310/cryptography/hazmat/primitives copying src/cryptography/hazmat/primitives/constant_time.py -> build/lib.linux-armv8l-cpython-310/cryptography/hazmat/primitives copying src/cryptography/hazmat/primitives/hashes.py -> build/lib.linux-armv8l-cpython-310/cryptography/hazmat/primitives copying src/cryptography/hazmat/primitives/hmac.py -> build/lib.linux-armv8l-cpython-310/cryptography/hazmat/primitives copying src/cryptography/hazmat/primitives/keywrap.py -> build/lib.linux-armv8l-cpython-310/cryptography/hazmat/primitives copying src/cryptography/hazmat/primitives/padding.py -> build/lib.linux-armv8l-cpython-310/cryptography/hazmat/primitives copying src/cryptography/hazmat/primitives/poly1305.py -> build/lib.linux-armv8l-cpython-310/cryptography/hazmat/primitives creating build/lib.linux-armv8l-cpython-310/cryptography/hazmat/backends/openssl copying src/cryptography/hazmat/backends/openssl/__init__.py -> build/lib.linux-armv8l-cpython-310/cryptography/hazmat/backends/openssl copying src/cryptography/hazmat/backends/openssl/aead.py -> build/lib.linux-armv8l-cpython-310/cryptography/hazmat/backends/openssl copying src/cryptography/hazmat/backends/openssl/backend.py -> build/lib.linux-armv8l-cpython-310/cryptography/hazmat/backends/openssl copying src/cryptography/hazmat/backends/openssl/ciphers.py -> build/lib.linux-armv8l-cpython-310/cryptography/hazmat/backends/openssl copying src/cryptography/hazmat/backends/openssl/cmac.py -> build/lib.linux-armv8l-cpython-310/cryptography/hazmat/backends/openssl copying src/cryptography/hazmat/backends/openssl/decode_asn1.py -> build/lib.linux-armv8l-cpython-310/cryptography/hazmat/backends/openssl copying src/cryptography/hazmat/backends/openssl/dh.py -> build/lib.linux-armv8l-cpython-310/cryptography/hazmat/backends/openssl copying src/cryptography/hazmat/backends/openssl/dsa.py -> build/lib.linux-armv8l-cpython-310/cryptography/hazmat/backends/openssl copying src/cryptography/hazmat/backends/openssl/ec.py -> build/lib.linux-armv8l-cpython-310/cryptography/hazmat/backends/openssl copying src/cryptography/hazmat/backends/openssl/ed25519.py -> build/lib.linux-armv8l-cpython-310/cryptography/hazmat/backends/openssl copying src/cryptography/hazmat/backends/openssl/ed448.py -> build/lib.linux-armv8l-cpython-310/cryptography/hazmat/backends/openssl copying src/cryptography/hazmat/backends/openssl/encode_asn1.py -> build/lib.linux-armv8l-cpython-310/cryptography/hazmat/backends/openssl copying src/cryptography/hazmat/backends/openssl/hashes.py -> build/lib.linux-armv8l-cpython-310/cryptography/hazmat/backends/openssl copying src/cryptography/hazmat/backends/openssl/hmac.py -> build/lib.linux-armv8l-cpython-310/cryptography/hazmat/backends/openssl copying src/cryptography/hazmat/backends/openssl/poly1305.py -> build/lib.linux-armv8l-cpython-310/cryptography/hazmat/backends/openssl copying src/cryptography/hazmat/backends/openssl/rsa.py -> build/lib.linux-armv8l-cpython-310/cryptography/hazmat/backends/openssl copying src/cryptography/hazmat/backends/openssl/utils.py -> build/lib.linux-armv8l-cpython-310/cryptography/hazmat/backends/openssl copying src/cryptography/hazmat/backends/openssl/x25519.py -> build/lib.linux-armv8l-cpython-310/cryptography/hazmat/backends/openssl copying src/cryptography/hazmat/backends/openssl/x448.py -> build/lib.linux-armv8l-cpython-310/cryptography/hazmat/backends/openssl copying src/cryptography/hazmat/backends/openssl/x509.py -> build/lib.linux-armv8l-cpython-310/cryptography/hazmat/backends/openssl creating build/lib.linux-armv8l-cpython-310/cryptography/hazmat/bindings/openssl copying src/cryptography/hazmat/bindings/openssl/__init__.py -> build/lib.linux-armv8l-cpython-310/cryptography/hazmat/bindings/openssl copying src/cryptography/hazmat/bindings/openssl/_conditional.py -> build/lib.linux-armv8l-cpython-310/cryptography/hazmat/bindings/openssl copying src/cryptography/hazmat/bindings/openssl/binding.py -> build/lib.linux-armv8l-cpython-310/cryptography/hazmat/bindings/openssl creating build/lib.linux-armv8l-cpython-310/cryptography/hazmat/primitives/asymmetric copying src/cryptography/hazmat/primitives/asymmetric/__init__.py -> build/lib.linux-armv8l-cpython-310/cryptography/hazmat/primitives/asymmetric copying src/cryptography/hazmat/primitives/asymmetric/dh.py -> build/lib.linux-armv8l-cpython-310/cryptography/hazmat/primitives/asymmetric copying src/cryptography/hazmat/primitives/asymmetric/dsa.py -> build/lib.linux-armv8l-cpython-310/cryptography/hazmat/primitives/asymmetric copying src/cryptography/hazmat/primitives/asymmetric/ec.py -> build/lib.linux-armv8l-cpython-310/cryptography/hazmat/primitives/asymmetric copying src/cryptography/hazmat/primitives/asymmetric/ed25519.py -> build/lib.linux-armv8l-cpython-310/cryptography/hazmat/primitives/asymmetric copying src/cryptography/hazmat/primitives/asymmetric/ed448.py -> build/lib.linux-armv8l-cpython-310/cryptography/hazmat/primitives/asymmetric copying src/cryptography/hazmat/primitives/asymmetric/padding.py -> build/lib.linux-armv8l-cpython-310/cryptography/hazmat/primitives/asymmetric copying src/cryptography/hazmat/primitives/asymmetric/rsa.py -> build/lib.linux-armv8l-cpython-310/cryptography/hazmat/primitives/asymmetric copying src/cryptography/hazmat/primitives/asymmetric/types.py -> build/lib.linux-armv8l-cpython-310/cryptography/hazmat/primitives/asymmetric copying src/cryptography/hazmat/primitives/asymmetric/utils.py -> build/lib.linux-armv8l-cpython-310/cryptography/hazmat/primitives/asymmetric copying src/cryptography/hazmat/primitives/asymmetric/x25519.py -> build/lib.linux-armv8l-cpython-310/cryptography/hazmat/primitives/asymmetric copying src/cryptography/hazmat/primitives/asymmetric/x448.py -> build/lib.linux-armv8l-cpython-310/cryptography/hazmat/primitives/asymmetric creating build/lib.linux-armv8l-cpython-310/cryptography/hazmat/primitives/ciphers copying src/cryptography/hazmat/primitives/ciphers/__init__.py -> build/lib.linux-armv8l-cpython-310/cryptography/hazmat/primitives/ciphers copying src/cryptography/hazmat/primitives/ciphers/aead.py -> build/lib.linux-armv8l-cpython-310/cryptography/hazmat/primitives/ciphers copying src/cryptography/hazmat/primitives/ciphers/algorithms.py -> build/lib.linux-armv8l-cpython-310/cryptography/hazmat/primitives/ciphers copying src/cryptography/hazmat/primitives/ciphers/base.py -> build/lib.linux-armv8l-cpython-310/cryptography/hazmat/primitives/ciphers copying src/cryptography/hazmat/primitives/ciphers/modes.py -> build/lib.linux-armv8l-cpython-310/cryptography/hazmat/primitives/ciphers creating build/lib.linux-armv8l-cpython-310/cryptography/hazmat/primitives/kdf copying src/cryptography/hazmat/primitives/kdf/__init__.py -> build/lib.linux-armv8l-cpython-310/cryptography/hazmat/primitives/kdf copying src/cryptography/hazmat/primitives/kdf/concatkdf.py -> build/lib.linux-armv8l-cpython-310/cryptography/hazmat/primitives/kdf copying src/cryptography/hazmat/primitives/kdf/hkdf.py -> build/lib.linux-armv8l-cpython-310/cryptography/hazmat/primitives/kdf copying src/cryptography/hazmat/primitives/kdf/kbkdf.py -> build/lib.linux-armv8l-cpython-310/cryptography/hazmat/primitives/kdf copying src/cryptography/hazmat/primitives/kdf/pbkdf2.py -> build/lib.linux-armv8l-cpython-310/cryptography/hazmat/primitives/kdf copying src/cryptography/hazmat/primitives/kdf/scrypt.py -> build/lib.linux-armv8l-cpython-310/cryptography/hazmat/primitives/kdf copying src/cryptography/hazmat/primitives/kdf/x963kdf.py -> build/lib.linux-armv8l-cpython-310/cryptography/hazmat/primitives/kdf creating build/lib.linux-armv8l-cpython-310/cryptography/hazmat/primitives/serialization copying src/cryptography/hazmat/primitives/serialization/__init__.py -> build/lib.linux-armv8l-cpython-310/cryptography/hazmat/primitives/serialization copying src/cryptography/hazmat/primitives/serialization/base.py -> build/lib.linux-armv8l-cpython-310/cryptography/hazmat/primitives/serialization copying src/cryptography/hazmat/primitives/serialization/pkcs12.py -> build/lib.linux-armv8l-cpython-310/cryptography/hazmat/primitives/serialization copying src/cryptography/hazmat/primitives/serialization/pkcs7.py -> build/lib.linux-armv8l-cpython-310/cryptography/hazmat/primitives/serialization copying src/cryptography/hazmat/primitives/serialization/ssh.py -> build/lib.linux-armv8l-cpython-310/cryptography/hazmat/primitives/serialization creating build/lib.linux-armv8l-cpython-310/cryptography/hazmat/primitives/twofactor copying src/cryptography/hazmat/primitives/twofactor/__init__.py -> build/lib.linux-armv8l-cpython-310/cryptography/hazmat/primitives/twofactor copying src/cryptography/hazmat/primitives/twofactor/hotp.py -> build/lib.linux-armv8l-cpython-310/cryptography/hazmat/primitives/twofactor copying src/cryptography/hazmat/primitives/twofactor/totp.py -> build/lib.linux-armv8l-cpython-310/cryptography/hazmat/primitives/twofactor 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 '.circleci' adding license file 'LICENSE' adding license file 'LICENSE.APACHE' adding license file 'LICENSE.BSD' adding license file 'LICENSE.PSF' writing manifest file 'src/cryptography.egg-info/SOURCES.txt' /data/data/com.termux/files/usr/tmp/pip-build-env-8atgggiz/overlay/lib/python3.10/site-packages/setuptools/command/build_py.py:202: SetuptoolsDeprecationWarning: Installing 'cryptography.hazmat.bindings._rust' as data is deprecated, please list it in `packages`. !! ############################ # Package would be ignored # ############################ Python recognizes 'cryptography.hazmat.bindings._rust' as an importable package, but it is not listed in the `packages` configuration of setuptools. 'cryptography.hazmat.bindings._rust' has been automatically added to the distribution only because it may contain data files, but this behavior is likely to change in future versions of setuptools (and therefore is considered deprecated). Please make sure that 'cryptography.hazmat.bindings._rust' is included as a package by using the `packages` configuration field or the proper discovery methods (for example by using `find_namespace_packages(...)`/`find_namespace:` instead of `find_packages(...)`/`find:`). You can read more about "package discovery" and "data files" on setuptools documentation page. !! check.warn(importable) copying src/cryptography/py.typed -> build/lib.linux-armv8l-cpython-310/cryptography creating build/lib.linux-armv8l-cpython-310/cryptography/hazmat/bindings/_rust copying src/cryptography/hazmat/bindings/_rust/__init__.pyi -> build/lib.linux-armv8l-cpython-310/cryptography/hazmat/bindings/_rust copying src/cryptography/hazmat/bindings/_rust/asn1.pyi -> build/lib.linux-armv8l-cpython-310/cryptography/hazmat/bindings/_rust copying src/cryptography/hazmat/bindings/_rust/ocsp.pyi -> build/lib.linux-armv8l-cpython-310/cryptography/hazmat/bindings/_rust copying src/cryptography/hazmat/bindings/_rust/x509.pyi -> build/lib.linux-armv8l-cpython-310/cryptography/hazmat/bindings/_rust running build_ext generating cffi module 'build/temp.linux-armv8l-cpython-310/_openssl.c' creating build/temp.linux-armv8l-cpython-310 running build_rust cargo rustc --lib --message-format=json-render-diagnostics --manifest-path src/rust/Cargo.toml --release -v --features pyo3/extension-module pyo3/abi3-py36 -- --crate-type cdylib Compiling proc-macro2 v1.0.37 Compiling unicode-xid v0.2.2 Compiling autocfg v1.1.0 Compiling syn v1.0.91 Compiling version_check v0.9.4 Compiling proc-macro-hack v0.5.19 Compiling pyo3-build-config v0.15.2 Compiling libc v0.2.124 Running `rustc --crate-name build_script_build --edition=2018 /data/data/com.termux/files/home/.cargo/registry/src/github.com-1285ae84e5963aae/proc-macro2-1.0.37/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off -C overflow-checks=on --cfg 'feature="default"' --cfg 'feature="proc-macro"' -C metadata=b600266c594e1028 -C extra-filename=-b600266c594e1028 --out-dir /data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/build/proc-macro2-b600266c594e1028 -L dependency=/data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/deps --cap-lints allow` Running `rustc --crate-name unicode_xid /data/data/com.termux/files/home/.cargo/registry/src/github.com-1285ae84e5963aae/unicode-xid-0.2.2/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off -C overflow-checks=on --cfg 'feature="default"' -C metadata=fd25a15622bb1de4 -C extra-filename=-fd25a15622bb1de4 --out-dir /data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/deps -L dependency=/data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/deps --cap-lints allow` Running `rustc --crate-name autocfg /data/data/com.termux/files/home/.cargo/registry/src/github.com-1285ae84e5963aae/autocfg-1.1.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off -C overflow-checks=on -C metadata=3aa18070466def1b -C extra-filename=-3aa18070466def1b --out-dir /data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/deps -L dependency=/data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/deps --cap-lints allow` Running `rustc --crate-name build_script_build --edition=2018 /data/data/com.termux/files/home/.cargo/registry/src/github.com-1285ae84e5963aae/syn-1.0.91/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off -C overflow-checks=on --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=ad5de20c8962e78f -C extra-filename=-ad5de20c8962e78f --out-dir /data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/build/syn-ad5de20c8962e78f -L dependency=/data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/deps --cap-lints allow` Running `rustc --crate-name version_check /data/data/com.termux/files/home/.cargo/registry/src/github.com-1285ae84e5963aae/version_check-0.9.4/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off -C overflow-checks=on -C metadata=1e33ae206a30757b -C extra-filename=-1e33ae206a30757b --out-dir /data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/deps -L dependency=/data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/deps --cap-lints allow` Running `rustc --crate-name build_script_build --edition=2018 /data/data/com.termux/files/home/.cargo/registry/src/github.com-1285ae84e5963aae/pyo3-build-config-0.15.2/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off -C overflow-checks=on --cfg 'feature="abi3"' --cfg 'feature="abi3-py310"' --cfg 'feature="abi3-py36"' --cfg 'feature="abi3-py37"' --cfg 'feature="abi3-py38"' --cfg 'feature="abi3-py39"' --cfg 'feature="default"' --cfg 'feature="resolve-config"' -C metadata=99cb712d488a5b3f -C extra-filename=-99cb712d488a5b3f --out-dir /data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/build/pyo3-build-config-99cb712d488a5b3f -L dependency=/data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/deps --cap-lints allow` Running `rustc --crate-name build_script_build /data/data/com.termux/files/home/.cargo/registry/src/github.com-1285ae84e5963aae/libc-0.2.124/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off -C overflow-checks=on --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=e41376337f88a1e2 -C extra-filename=-e41376337f88a1e2 --out-dir /data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/build/libc-e41376337f88a1e2 -L dependency=/data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/deps --cap-lints allow` Running `rustc --crate-name build_script_build --edition=2018 /data/data/com.termux/files/home/.cargo/registry/src/github.com-1285ae84e5963aae/proc-macro-hack-0.5.19/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off -C overflow-checks=on -C metadata=5abc82e70d6a1c06 -C extra-filename=-5abc82e70d6a1c06 --out-dir /data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/build/proc-macro-hack-5abc82e70d6a1c06 -L dependency=/data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/deps --cap-lints allow` Compiling once_cell v1.10.0 Running `rustc --crate-name once_cell --edition=2018 /data/data/com.termux/files/home/.cargo/registry/src/github.com-1285ae84e5963aae/once_cell-1.10.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off -C overflow-checks=on --cfg 'feature="alloc"' --cfg 'feature="default"' --cfg 'feature="race"' --cfg 'feature="std"' -C metadata=af830215f84167c8 -C extra-filename=-af830215f84167c8 --out-dir /data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/deps -L dependency=/data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/deps --cap-lints allow` Compiling parking_lot_core v0.8.5 Running `rustc --crate-name build_script_build --edition=2018 /data/data/com.termux/files/home/.cargo/registry/src/github.com-1285ae84e5963aae/parking_lot_core-0.8.5/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off -C overflow-checks=on -C metadata=b8a0d26a8b22a139 -C extra-filename=-b8a0d26a8b22a139 --out-dir /data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/build/parking_lot_core-b8a0d26a8b22a139 -L dependency=/data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/deps --cap-lints allow` Compiling cfg-if v1.0.0 Running `rustc --crate-name cfg_if --edition=2018 /data/data/com.termux/files/home/.cargo/registry/src/github.com-1285ae84e5963aae/cfg-if-1.0.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C linker-plugin-lto -C overflow-checks=on -C metadata=2fd22da7f653cf44 -C extra-filename=-2fd22da7f653cf44 --out-dir /data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/deps -L dependency=/data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/deps --cap-lints allow` Compiling unindent v0.1.8 Running `rustc --crate-name unindent --edition=2018 /data/data/com.termux/files/home/.cargo/registry/src/github.com-1285ae84e5963aae/unindent-0.1.8/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off -C overflow-checks=on -C metadata=e350a980803d7e9b -C extra-filename=-e350a980803d7e9b --out-dir /data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/deps -L dependency=/data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/deps --cap-lints allow` Compiling smallvec v1.8.0 Running `rustc --crate-name smallvec --edition=2018 /data/data/com.termux/files/home/.cargo/registry/src/github.com-1285ae84e5963aae/smallvec-1.8.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C linker-plugin-lto -C overflow-checks=on -C metadata=e978aeb85e2bc2ec -C extra-filename=-e978aeb85e2bc2ec --out-dir /data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/deps -L dependency=/data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/deps --cap-lints allow` Compiling scopeguard v1.1.0 Running `rustc --crate-name scopeguard /data/data/com.termux/files/home/.cargo/registry/src/github.com-1285ae84e5963aae/scopeguard-1.1.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C linker-plugin-lto -C overflow-checks=on -C metadata=68ad2c4603625b17 -C extra-filename=-68ad2c4603625b17 --out-dir /data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/deps -L dependency=/data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/deps --cap-lints allow` Compiling Inflector v0.11.4 Running `rustc --crate-name inflector /data/data/com.termux/files/home/.cargo/registry/src/github.com-1285ae84e5963aae/Inflector-0.11.4/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off -C overflow-checks=on -C metadata=09cfadd05d4fa1a3 -C extra-filename=-09cfadd05d4fa1a3 --out-dir /data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/deps -L dependency=/data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/deps --cap-lints allow` Running `rustc --crate-name unindent --edition=2018 /data/data/com.termux/files/home/.cargo/registry/src/github.com-1285ae84e5963aae/unindent-0.1.8/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C linker-plugin-lto -C overflow-checks=on -C metadata=bee3ada0c86ac31a -C extra-filename=-bee3ada0c86ac31a --out-dir /data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/deps -L dependency=/data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/deps --cap-lints allow` Compiling base64 v0.13.0 Running `rustc --crate-name base64 --edition=2018 /data/data/com.termux/files/home/.cargo/registry/src/github.com-1285ae84e5963aae/base64-0.13.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C linker-plugin-lto -C overflow-checks=on --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=c8dfaeb72615fbc9 -C extra-filename=-c8dfaeb72615fbc9 --out-dir /data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/deps -L dependency=/data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/deps --cap-lints allow` Compiling stable_deref_trait v1.2.0 Running `rustc --crate-name stable_deref_trait /data/data/com.termux/files/home/.cargo/registry/src/github.com-1285ae84e5963aae/stable_deref_trait-1.2.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C linker-plugin-lto -C overflow-checks=on --cfg 'feature="alloc"' --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=79ffbc9fc954a6a8 -C extra-filename=-79ffbc9fc954a6a8 --out-dir /data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/deps -L dependency=/data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/deps --cap-lints allow` Compiling aliasable v0.1.3 Running `rustc --crate-name aliasable --edition=2018 /data/data/com.termux/files/home/.cargo/registry/src/github.com-1285ae84e5963aae/aliasable-0.1.3/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C linker-plugin-lto -C overflow-checks=on --cfg 'feature="alloc"' --cfg 'feature="default"' -C metadata=2fb27f3a8b9a2581 -C extra-filename=-2fb27f3a8b9a2581 --out-dir /data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/deps -L dependency=/data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/deps --cap-lints allow` Compiling lazy_static v1.4.0 Running `rustc --crate-name lazy_static /data/data/com.termux/files/home/.cargo/registry/src/github.com-1285ae84e5963aae/lazy_static-1.4.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C linker-plugin-lto -C overflow-checks=on -C metadata=9becad162ad698fe -C extra-filename=-9becad162ad698fe --out-dir /data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/deps -L dependency=/data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/deps --cap-lints allow` Running `/data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/build/proc-macro-hack-5abc82e70d6a1c06/build-script-build` Compiling instant v0.1.12 Running `rustc --crate-name instant --edition=2018 /data/data/com.termux/files/home/.cargo/registry/src/github.com-1285ae84e5963aae/instant-0.1.12/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C linker-plugin-lto -C overflow-checks=on -C metadata=89b3b629557bcd13 -C extra-filename=-89b3b629557bcd13 --out-dir /data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/deps -L dependency=/data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/deps --extern cfg_if=/data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/deps/libcfg_if-2fd22da7f653cf44.rmeta --cap-lints allow` Running `/data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/build/syn-ad5de20c8962e78f/build-script-build` Running `/data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/build/libc-e41376337f88a1e2/build-script-build` Running `/data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/build/proc-macro2-b600266c594e1028/build-script-build` Running `/data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/build/parking_lot_core-b8a0d26a8b22a139/build-script-build` Compiling proc-macro-error-attr v1.0.4 Running `rustc --crate-name build_script_build --edition=2018 /data/data/com.termux/files/home/.cargo/registry/src/github.com-1285ae84e5963aae/proc-macro-error-attr-1.0.4/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off -C overflow-checks=on -C metadata=26748ed900c6d8c2 -C extra-filename=-26748ed900c6d8c2 --out-dir /data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/build/proc-macro-error-attr-26748ed900c6d8c2 -L dependency=/data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/deps --extern version_check=/data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/deps/libversion_check-1e33ae206a30757b.rlib --cap-lints allow` Compiling proc-macro-error v1.0.4 Running `rustc --crate-name build_script_build --edition=2018 /data/data/com.termux/files/home/.cargo/registry/src/github.com-1285ae84e5963aae/proc-macro-error-1.0.4/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off -C overflow-checks=on --cfg 'feature="default"' --cfg 'feature="syn"' --cfg 'feature="syn-error"' -C metadata=7385eeef574b7b7d -C extra-filename=-7385eeef574b7b7d --out-dir /data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/build/proc-macro-error-7385eeef574b7b7d -L dependency=/data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/deps --extern version_check=/data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/deps/libversion_check-1e33ae206a30757b.rlib --cap-lints allow` Compiling num-traits v0.2.14 Running `rustc --crate-name build_script_build /data/data/com.termux/files/home/.cargo/registry/src/github.com-1285ae84e5963aae/num-traits-0.2.14/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off -C overflow-checks=on -C metadata=aeb4b12d6db58362 -C extra-filename=-aeb4b12d6db58362 --out-dir /data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/build/num-traits-aeb4b12d6db58362 -L dependency=/data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/deps --extern autocfg=/data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/deps/libautocfg-3aa18070466def1b.rlib --cap-lints allow` Compiling num-integer v0.1.44 Running `rustc --crate-name build_script_build /data/data/com.termux/files/home/.cargo/registry/src/github.com-1285ae84e5963aae/num-integer-0.1.44/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off -C overflow-checks=on -C metadata=23c96f506c773600 -C extra-filename=-23c96f506c773600 --out-dir /data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/build/num-integer-23c96f506c773600 -L dependency=/data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/deps --extern autocfg=/data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/deps/libautocfg-3aa18070466def1b.rlib --cap-lints allow` Compiling lock_api v0.4.7 Running `rustc --crate-name build_script_build --edition=2018 /data/data/com.termux/files/home/.cargo/registry/src/github.com-1285ae84e5963aae/lock_api-0.4.7/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off -C overflow-checks=on -C metadata=0a6d8db09a836fd4 -C extra-filename=-0a6d8db09a836fd4 --out-dir /data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/build/lock_api-0a6d8db09a836fd4 -L dependency=/data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/deps --extern autocfg=/data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/deps/libautocfg-3aa18070466def1b.rlib --cap-lints allow` Running `rustc --crate-name proc_macro_hack --edition=2018 /data/data/com.termux/files/home/.cargo/registry/src/github.com-1285ae84e5963aae/proc-macro-hack-0.5.19/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type proc-macro --emit=dep-info,link -C prefer-dynamic -C embed-bitcode=no -C debug-assertions=off -C overflow-checks=on -C metadata=3c9797f3573d8127 -C extra-filename=-3c9797f3573d8127 --out-dir /data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/deps -L dependency=/data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/deps --extern proc_macro --cap-lints allow` Running `rustc --crate-name libc /data/data/com.termux/files/home/.cargo/registry/src/github.com-1285ae84e5963aae/libc-0.2.124/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C linker-plugin-lto -C overflow-checks=on --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=93571d9611f8bfcc -C extra-filename=-93571d9611f8bfcc --out-dir /data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/deps -L dependency=/data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/deps --cap-lints allow --cfg freebsd11 --cfg libc_priv_mod_use --cfg libc_union --cfg libc_const_size_of --cfg libc_align --cfg libc_int128 --cfg libc_core_cvoid --cfg libc_packedN --cfg libc_cfg_target_vendor --cfg libc_non_exhaustive --cfg libc_ptr_addr_of --cfg libc_underscore_const_names` Running `rustc --crate-name proc_macro2 --edition=2018 /data/data/com.termux/files/home/.cargo/registry/src/github.com-1285ae84e5963aae/proc-macro2-1.0.37/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off -C overflow-checks=on --cfg 'feature="default"' --cfg 'feature="proc-macro"' -C metadata=12ac7309cdfa7451 -C extra-filename=-12ac7309cdfa7451 --out-dir /data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/deps -L dependency=/data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/deps --extern unicode_xid=/data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/deps/libunicode_xid-fd25a15622bb1de4.rmeta --cap-lints allow --cfg use_proc_macro --cfg wrap_proc_macro` Compiling pem v1.0.2 Running `rustc --crate-name pem --edition=2018 /data/data/com.termux/files/home/.cargo/registry/src/github.com-1285ae84e5963aae/pem-1.0.2/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C linker-plugin-lto -C overflow-checks=on -C metadata=134ca9dee118c47a -C extra-filename=-134ca9dee118c47a --out-dir /data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/deps -L dependency=/data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/deps --extern base64=/data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/deps/libbase64-c8dfaeb72615fbc9.rmeta --cap-lints allow` Running `/data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/build/proc-macro-error-7385eeef574b7b7d/build-script-build` Running `/data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/build/proc-macro-error-attr-26748ed900c6d8c2/build-script-build` Running `/data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/build/num-traits-aeb4b12d6db58362/build-script-build` Running `/data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/build/num-integer-23c96f506c773600/build-script-build` Running `/data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/build/lock_api-0a6d8db09a836fd4/build-script-build` Running `rustc --crate-name num_traits /data/data/com.termux/files/home/.cargo/registry/src/github.com-1285ae84e5963aae/num-traits-0.2.14/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C linker-plugin-lto -C overflow-checks=on -C metadata=c64c4c21eb46db48 -C extra-filename=-c64c4c21eb46db48 --out-dir /data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/deps -L dependency=/data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/deps --cap-lints allow --cfg has_i128 --cfg has_to_int_unchecked` Running `rustc --crate-name lock_api --edition=2018 /data/data/com.termux/files/home/.cargo/registry/src/github.com-1285ae84e5963aae/lock_api-0.4.7/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C linker-plugin-lto -C overflow-checks=on -C metadata=02f151192e85c20f -C extra-filename=-02f151192e85c20f --out-dir /data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/deps -L dependency=/data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/deps --extern scopeguard=/data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/deps/libscopeguard-68ad2c4603625b17.rmeta --cap-lints allow --cfg has_const_fn_trait_bound` Compiling quote v1.0.18 Running `rustc --crate-name quote --edition=2018 /data/data/com.termux/files/home/.cargo/registry/src/github.com-1285ae84e5963aae/quote-1.0.18/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off -C overflow-checks=on --cfg 'feature="default"' --cfg 'feature="proc-macro"' -C metadata=90887bd5a5e93d8f -C extra-filename=-90887bd5a5e93d8f --out-dir /data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/deps -L dependency=/data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/deps --extern proc_macro2=/data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/deps/libproc_macro2-12ac7309cdfa7451.rmeta --cap-lints allow` Running `/data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/build/pyo3-build-config-99cb712d488a5b3f/build-script-build` Running `rustc --crate-name parking_lot_core --edition=2018 /data/data/com.termux/files/home/.cargo/registry/src/github.com-1285ae84e5963aae/parking_lot_core-0.8.5/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C linker-plugin-lto -C overflow-checks=on -C metadata=7821ac3fb613c0eb -C extra-filename=-7821ac3fb613c0eb --out-dir /data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/deps -L dependency=/data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/deps --extern cfg_if=/data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/deps/libcfg_if-2fd22da7f653cf44.rmeta --extern instant=/data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/deps/libinstant-89b3b629557bcd13.rmeta --extern libc=/data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/deps/liblibc-93571d9611f8bfcc.rmeta --extern smallvec=/data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/deps/libsmallvec-e978aeb85e2bc2ec.rmeta --cap-lints allow` Running `rustc --crate-name pyo3_build_config --edition=2018 /data/data/com.termux/files/home/.cargo/registry/src/github.com-1285ae84e5963aae/pyo3-build-config-0.15.2/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off -C overflow-checks=on --cfg 'feature="abi3"' --cfg 'feature="abi3-py310"' --cfg 'feature="abi3-py36"' --cfg 'feature="abi3-py37"' --cfg 'feature="abi3-py38"' --cfg 'feature="abi3-py39"' --cfg 'feature="default"' --cfg 'feature="resolve-config"' -C metadata=f9c288077afec6c5 -C extra-filename=-f9c288077afec6c5 --out-dir /data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/deps -L dependency=/data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/deps --extern once_cell=/data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/deps/libonce_cell-af830215f84167c8.rmeta --cap-lints allow` Running `rustc --crate-name syn --edition=2018 /data/data/com.termux/files/home/.cargo/registry/src/github.com-1285ae84e5963aae/syn-1.0.91/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off -C overflow-checks=on --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=ce58d20750f55477 -C extra-filename=-ce58d20750f55477 --out-dir /data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/deps -L dependency=/data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/deps --extern proc_macro2=/data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/deps/libproc_macro2-12ac7309cdfa7451.rmeta --extern quote=/data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/deps/libquote-90887bd5a5e93d8f.rmeta --extern unicode_xid=/data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/deps/libunicode_xid-fd25a15622bb1de4.rmeta --cap-lints allow --cfg syn_disable_nightly_tests` Compiling parking_lot v0.11.2 Running `rustc --crate-name parking_lot --edition=2018 /data/data/com.termux/files/home/.cargo/registry/src/github.com-1285ae84e5963aae/parking_lot-0.11.2/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C linker-plugin-lto -C overflow-checks=on --cfg 'feature="default"' -C metadata=795201d7e6cb0e17 -C extra-filename=-795201d7e6cb0e17 --out-dir /data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/deps -L dependency=/data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/deps --extern instant=/data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/deps/libinstant-89b3b629557bcd13.rmeta --extern lock_api=/data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/deps/liblock_api-02f151192e85c20f.rmeta --extern parking_lot_core=/data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/deps/libparking_lot_core-7821ac3fb613c0eb.rmeta --cap-lints allow` Compiling paste-impl v0.1.18 Running `rustc --crate-name paste_impl --edition=2018 /data/data/com.termux/files/home/.cargo/registry/src/github.com-1285ae84e5963aae/paste-impl-0.1.18/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type proc-macro --emit=dep-info,link -C prefer-dynamic -C embed-bitcode=no -C debug-assertions=off -C overflow-checks=on -C metadata=c440c7cd880cfe5f -C extra-filename=-c440c7cd880cfe5f --out-dir /data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/deps -L dependency=/data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/deps --extern proc_macro_hack=/data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/deps/libproc_macro_hack-3c9797f3573d8127.so --extern proc_macro --cap-lints allow` Running `rustc --crate-name proc_macro_error_attr --edition=2018 /data/data/com.termux/files/home/.cargo/registry/src/github.com-1285ae84e5963aae/proc-macro-error-attr-1.0.4/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type proc-macro --emit=dep-info,link -C prefer-dynamic -C embed-bitcode=no -C debug-assertions=off -C overflow-checks=on -C metadata=3f4de2a2361044e8 -C extra-filename=-3f4de2a2361044e8 --out-dir /data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/deps -L dependency=/data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/deps --extern proc_macro2=/data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/deps/libproc_macro2-12ac7309cdfa7451.rlib --extern quote=/data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/deps/libquote-90887bd5a5e93d8f.rlib --extern proc_macro --cap-lints allow` Running `rustc --crate-name num_integer /data/data/com.termux/files/home/.cargo/registry/src/github.com-1285ae84e5963aae/num-integer-0.1.44/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C linker-plugin-lto -C overflow-checks=on -C metadata=647c83bce00a82d5 -C extra-filename=-647c83bce00a82d5 --out-dir /data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/deps -L dependency=/data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/deps --extern num_traits=/data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/deps/libnum_traits-c64c4c21eb46db48.rmeta --cap-lints allow --cfg has_i128` Compiling chrono v0.4.19 Running `rustc --crate-name chrono /data/data/com.termux/files/home/.cargo/registry/src/github.com-1285ae84e5963aae/chrono-0.4.19/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C linker-plugin-lto -C overflow-checks=on --cfg 'feature="alloc"' --cfg 'feature="clock"' --cfg 'feature="libc"' --cfg 'feature="std"' --cfg 'feature="winapi"' -C metadata=ac17a3086162c6f9 -C extra-filename=-ac17a3086162c6f9 --out-dir /data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/deps -L dependency=/data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/deps --extern libc=/data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/deps/liblibc-93571d9611f8bfcc.rmeta --extern num_integer=/data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/deps/libnum_integer-647c83bce00a82d5.rmeta --extern num_traits=/data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/deps/libnum_traits-c64c4c21eb46db48.rmeta --cap-lints allow` Compiling pyo3 v0.15.2 Running `rustc --crate-name build_script_build --edition=2018 /data/data/com.termux/files/home/.cargo/registry/src/github.com-1285ae84e5963aae/pyo3-0.15.2/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off -C overflow-checks=on --cfg 'feature="abi3"' --cfg 'feature="abi3-py310"' --cfg 'feature="abi3-py36"' --cfg 'feature="abi3-py37"' --cfg 'feature="abi3-py38"' --cfg 'feature="abi3-py39"' --cfg 'feature="default"' --cfg 'feature="extension-module"' --cfg 'feature="indoc"' --cfg 'feature="macros"' --cfg 'feature="paste"' --cfg 'feature="pyo3-macros"' --cfg 'feature="unindent"' -C metadata=24d961a098038d88 -C extra-filename=-24d961a098038d88 --out-dir /data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/build/pyo3-24d961a098038d88 -L dependency=/data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/deps --extern pyo3_build_config=/data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/deps/libpyo3_build_config-f9c288077afec6c5.rlib --cap-lints allow` Compiling paste v0.1.18 Running `rustc --crate-name paste --edition=2018 /data/data/com.termux/files/home/.cargo/registry/src/github.com-1285ae84e5963aae/paste-0.1.18/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C linker-plugin-lto -C overflow-checks=on -C metadata=b460ca4e935fe837 -C extra-filename=-b460ca4e935fe837 --out-dir /data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/deps -L dependency=/data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/deps --extern paste_impl=/data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/deps/libpaste_impl-c440c7cd880cfe5f.so --extern proc_macro_hack=/data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/deps/libproc_macro_hack-3c9797f3573d8127.so --cap-lints allow` Running `/data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/build/pyo3-24d961a098038d88/build-script-build` Compiling pyo3-macros-backend v0.15.2 Running `rustc --crate-name proc_macro_error --edition=2018 /data/data/com.termux/files/home/.cargo/registry/src/github.com-1285ae84e5963aae/proc-macro-error-1.0.4/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off -C overflow-checks=on --cfg 'feature="default"' --cfg 'feature="syn"' --cfg 'feature="syn-error"' -C metadata=bd2818cc29936f7c -C extra-filename=-bd2818cc29936f7c --out-dir /data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/deps -L dependency=/data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/deps --extern proc_macro_error_attr=/data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/deps/libproc_macro_error_attr-3f4de2a2361044e8.so --extern proc_macro2=/data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/deps/libproc_macro2-12ac7309cdfa7451.rmeta --extern quote=/data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/deps/libquote-90887bd5a5e93d8f.rmeta --extern syn=/data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/deps/libsyn-ce58d20750f55477.rmeta --cap-lints allow --cfg use_fallback` Running `rustc --crate-name pyo3_macros_backend --edition=2018 /data/data/com.termux/files/home/.cargo/registry/src/github.com-1285ae84e5963aae/pyo3-macros-backend-0.15.2/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off -C overflow-checks=on -C metadata=72048c6c35d2842c -C extra-filename=-72048c6c35d2842c --out-dir /data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/deps -L dependency=/data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/deps --extern proc_macro2=/data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/deps/libproc_macro2-12ac7309cdfa7451.rmeta --extern pyo3_build_config=/data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/deps/libpyo3_build_config-f9c288077afec6c5.rmeta --extern quote=/data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/deps/libquote-90887bd5a5e93d8f.rmeta --extern syn=/data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/deps/libsyn-ce58d20750f55477.rmeta --cap-lints allow` Compiling indoc-impl v0.3.6 Compiling ouroboros_macro v0.15.0 Compiling asn1_derive v0.8.7 Running `rustc --crate-name indoc_impl --edition=2018 /data/data/com.termux/files/home/.cargo/registry/src/github.com-1285ae84e5963aae/indoc-impl-0.3.6/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type proc-macro --emit=dep-info,link -C prefer-dynamic -C embed-bitcode=no -C debug-assertions=off -C overflow-checks=on -C metadata=69d37cb66b62824a -C extra-filename=-69d37cb66b62824a --out-dir /data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/deps -L dependency=/data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/deps --extern proc_macro_hack=/data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/deps/libproc_macro_hack-3c9797f3573d8127.so --extern proc_macro2=/data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/deps/libproc_macro2-12ac7309cdfa7451.rlib --extern quote=/data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/deps/libquote-90887bd5a5e93d8f.rlib --extern syn=/data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/deps/libsyn-ce58d20750f55477.rlib --extern unindent=/data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/deps/libunindent-e350a980803d7e9b.rlib --extern proc_macro --cap-lints allow` Running `rustc --crate-name ouroboros_macro --edition=2018 /data/data/com.termux/files/home/.cargo/registry/src/github.com-1285ae84e5963aae/ouroboros_macro-0.15.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type proc-macro --emit=dep-info,link -C prefer-dynamic -C embed-bitcode=no -C debug-assertions=off -C overflow-checks=on -C metadata=9224c95e4180e51f -C extra-filename=-9224c95e4180e51f --out-dir /data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/deps -L dependency=/data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/deps --extern inflector=/data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/deps/libinflector-09cfadd05d4fa1a3.rlib --extern proc_macro_error=/data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/deps/libproc_macro_error-bd2818cc29936f7c.rlib --extern proc_macro2=/data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/deps/libproc_macro2-12ac7309cdfa7451.rlib --extern quote=/data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/deps/libquote-90887bd5a5e93d8f.rlib --extern syn=/data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/deps/libsyn-ce58d20750f55477.rlib --extern proc_macro --cap-lints allow` Running `rustc --crate-name asn1_derive --edition=2018 /data/data/com.termux/files/home/.cargo/registry/src/github.com-1285ae84e5963aae/asn1_derive-0.8.7/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type proc-macro --emit=dep-info,link -C prefer-dynamic -C embed-bitcode=no -C debug-assertions=off -C overflow-checks=on -C metadata=4f9294808de7f370 -C extra-filename=-4f9294808de7f370 --out-dir /data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/deps -L dependency=/data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/deps --extern proc_macro2=/data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/deps/libproc_macro2-12ac7309cdfa7451.rlib --extern quote=/data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/deps/libquote-90887bd5a5e93d8f.rlib --extern syn=/data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/deps/libsyn-ce58d20750f55477.rlib --extern proc_macro --cap-lints allow` Compiling indoc v0.3.6 Running `rustc --crate-name indoc --edition=2018 /data/data/com.termux/files/home/.cargo/registry/src/github.com-1285ae84e5963aae/indoc-0.3.6/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C linker-plugin-lto -C overflow-checks=on -C metadata=54736d4471a3ebb8 -C extra-filename=-54736d4471a3ebb8 --out-dir /data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/deps -L dependency=/data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/deps --extern indoc_impl=/data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/deps/libindoc_impl-69d37cb66b62824a.so --extern proc_macro_hack=/data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/deps/libproc_macro_hack-3c9797f3573d8127.so --cap-lints allow` Compiling asn1 v0.8.7 Running `rustc --crate-name asn1 --edition=2018 /data/data/com.termux/files/home/.cargo/registry/src/github.com-1285ae84e5963aae/asn1-0.8.7/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C linker-plugin-lto -C overflow-checks=on --cfg 'feature="asn1_derive"' --cfg 'feature="derive"' -C metadata=09c8350f1d34cb02 -C extra-filename=-09c8350f1d34cb02 --out-dir /data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/deps -L dependency=/data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/deps --extern asn1_derive=/data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/deps/libasn1_derive-4f9294808de7f370.so --extern chrono=/data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/deps/libchrono-ac17a3086162c6f9.rmeta --cap-lints allow` Compiling pyo3-macros v0.15.2 Running `rustc --crate-name pyo3_macros --edition=2018 /data/data/com.termux/files/home/.cargo/registry/src/github.com-1285ae84e5963aae/pyo3-macros-0.15.2/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type proc-macro --emit=dep-info,link -C prefer-dynamic -C embed-bitcode=no -C debug-assertions=off -C overflow-checks=on -C metadata=3dd08b0480aaf54c -C extra-filename=-3dd08b0480aaf54c --out-dir /data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/deps -L dependency=/data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/deps --extern pyo3_macros_backend=/data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/deps/libpyo3_macros_backend-72048c6c35d2842c.rlib --extern quote=/data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/deps/libquote-90887bd5a5e93d8f.rlib --extern syn=/data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/deps/libsyn-ce58d20750f55477.rlib --extern proc_macro --cap-lints allow` Compiling ouroboros v0.15.0 Running `rustc --crate-name ouroboros --edition=2018 /data/data/com.termux/files/home/.cargo/registry/src/github.com-1285ae84e5963aae/ouroboros-0.15.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C linker-plugin-lto -C overflow-checks=on -C metadata=d14ed02783cef490 -C extra-filename=-d14ed02783cef490 --out-dir /data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/deps -L dependency=/data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/deps --extern aliasable=/data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/deps/libaliasable-2fb27f3a8b9a2581.rmeta --extern ouroboros_macro=/data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/deps/libouroboros_macro-9224c95e4180e51f.so --extern stable_deref_trait=/data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/deps/libstable_deref_trait-79ffbc9fc954a6a8.rmeta --cap-lints allow` Running `rustc --crate-name pyo3 --edition=2018 /data/data/com.termux/files/home/.cargo/registry/src/github.com-1285ae84e5963aae/pyo3-0.15.2/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C linker-plugin-lto -C overflow-checks=on --cfg 'feature="abi3"' --cfg 'feature="abi3-py310"' --cfg 'feature="abi3-py36"' --cfg 'feature="abi3-py37"' --cfg 'feature="abi3-py38"' --cfg 'feature="abi3-py39"' --cfg 'feature="default"' --cfg 'feature="extension-module"' --cfg 'feature="indoc"' --cfg 'feature="macros"' --cfg 'feature="paste"' --cfg 'feature="pyo3-macros"' --cfg 'feature="unindent"' -C metadata=37245e87132f954c -C extra-filename=-37245e87132f954c --out-dir /data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/deps -L dependency=/data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/deps --extern cfg_if=/data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/deps/libcfg_if-2fd22da7f653cf44.rmeta --extern indoc=/data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/deps/libindoc-54736d4471a3ebb8.rmeta --extern libc=/data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/deps/liblibc-93571d9611f8bfcc.rmeta --extern parking_lot=/data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/deps/libparking_lot-795201d7e6cb0e17.rmeta --extern paste=/data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/deps/libpaste-b460ca4e935fe837.rmeta --extern pyo3_macros=/data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/deps/libpyo3_macros-3dd08b0480aaf54c.so --extern unindent=/data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/deps/libunindent-bee3ada0c86ac31a.rmeta --cap-lints allow -L native=/data/data/com.termux/files/usr/lib -l python3.10 --cfg Py_3_6 --cfg Py_LIMITED_API --cfg 'py_sys_config="WITH_THREAD"' --cfg track_caller --cfg min_const_generics --cfg addr_of` Compiling cryptography-rust v0.1.0 (/data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust) Running `rustc --crate-name cryptography_rust --edition=2018 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type cdylib --emit=dep-info,link -C opt-level=3 -C lto=thin --crate-type cdylib -C overflow-checks=on --cfg 'feature="default"' --cfg 'feature="extension-module"' -C metadata=be5c33606c4741d9 --out-dir /data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/deps -L dependency=/data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/deps --extern asn1=/data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/deps/libasn1-09c8350f1d34cb02.rlib --extern chrono=/data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/deps/libchrono-ac17a3086162c6f9.rlib --extern lazy_static=/data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/deps/liblazy_static-9becad162ad698fe.rlib --extern ouroboros=/data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/deps/libouroboros-d14ed02783cef490.rlib --extern pem=/data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/deps/libpem-134ca9dee118c47a.rlib --extern pyo3=/data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/deps/libpyo3-37245e87132f954c.rlib -L native=/data/data/com.termux/files/usr/lib` error: failed to prepare thin LTO module: Opaque pointers are only supported in -opaque-pointers mode (Producer: 'LLVM15.0.2' Reader: 'LLVM 15.0.2') error: could not compile `cryptography-rust` due to previous error Caused by: process didn't exit successfully: `rustc --crate-name cryptography_rust --edition=2018 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type cdylib --emit=dep-info,link -C opt-level=3 -C lto=thin --crate-type cdylib -C overflow-checks=on --cfg 'feature="default"' --cfg 'feature="extension-module"' -C metadata=be5c33606c4741d9 --out-dir /data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/deps -L dependency=/data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/deps --extern asn1=/data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/deps/libasn1-09c8350f1d34cb02.rlib --extern chrono=/data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/deps/libchrono-ac17a3086162c6f9.rlib --extern lazy_static=/data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/deps/liblazy_static-9becad162ad698fe.rlib --extern ouroboros=/data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/deps/libouroboros-d14ed02783cef490.rlib --extern pem=/data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/deps/libpem-134ca9dee118c47a.rlib --extern pyo3=/data/data/com.termux/files/usr/tmp/pip-install-4uc42aft/cryptography_943316d5f2e3467188d2ee51794fb64e/src/rust/target/release/deps/libpyo3-37245e87132f954c.rlib -L native=/data/data/com.termux/files/usr/lib` (exit status: 1) =============================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/ for specific instructions for your platform. 3) Check our frequently asked questions for more information: https://cryptography.io/en/latest/faq/ 4) Ensure you have a recent Rust toolchain installed: https://cryptography.io/en/latest/installation/#rust Python: 3.10.8 platform: Linux-4.19.127-perf-g1bce4b163e25-armv8l-with-libc pip: n/a setuptools: 65.5.0 setuptools_rust: 1.5.2 =============================DEBUG ASSISTANCE============================= error: `cargo rustc --lib --message-format=json-render-diagnostics --manifest-path src/rust/Cargo.toml --release -v --features 'pyo3/extension-module pyo3/abi3-py36' -- --crate-type cdylib` failed with code 101 [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for cryptography ERROR: Could not build wheels for cryptography, which is required to install pyproject.toml-based projects ```

UPDATE:

I have found the solution. According to the post, disabling LTO could fix it.

export RUSTFLAGS="-C lto=n"
hughsheehy commented 1 year ago

suffering what looks like similar issues on a beagle bone black.

I previously got Cryptography running on a Pi...and think I've done again all the things that worked there. (setup tools, etc). Right now the running of the wheel just runs and runs.

It stops at '"Building wheel for cryptography (pyproject.toml)"

Or maybe it's just taking a day (?) to run? I haven't let it run more than an hour. Now a beagle bone is slow, but is it that slow?

H

grepwood commented 1 year ago

@hughsheehy have you tried running it through strace?

hughsheehy commented 1 year ago

It did eventually install on a Beagle Bone Black. Install takes something like 90 mins. Seriously!

Uj947nXmRqV2nRaWshKtHzTvckUUpD commented 1 year ago

I got a different error when compile cryptography with rust in termux.

error: failed to prepare thin LTO module: Opaque pointers are only supported in -opaque-pointers mode (Producer: 'LLVM15.0.2' Reader: 'LLVM 15.0.2')

Full LOG UPDATE:

I have found the solution. According to the post, disabling LTO could fix it.

export RUSTFLAGS="-C lto=n"

this fixed it for me. thank you

$ rustc --version rustc 1.66.1 (90743e729 2023-01-10) (built from a source tarball) $ python --version Python 3.11.1 $ gcc --version clang version 15.0.7 Target: aarch64-unknown-linux-android24 Thread model: posix InstalledDir: /data/data/com.termux/files/usr/bin

..... Successfully installed cffi-1.15.1 cryptography-39.0.0 pycparser-2.21

badger200 commented 1 year ago

I got a different error when compile cryptography with rust in termux.

error: failed to prepare thin LTO module: Opaque pointers are only supported in -opaque-pointers mode (Producer: 'LLVM15.0.2' Reader: 'LLVM 15.0.2')

Full LOG UPDATE:

I have found the solution. According to the post, disabling LTO could fix it.

export RUSTFLAGS="-C lto=n"

@clacknya If you want to keep using ThinLTO, you can fix this bug introduced in clang-15 by adding this to your clang-15 final linking command line: -Wl,-mllvm,--opaque-pointers This allows clang to tell the ThinLTO module to allow the opaque pointers that it previously was erroring on at link time.

alex commented 1 year ago

At this point piwheels now has up to date wheels, which hopefully should resolve this issue for everyone. I'm going to tentatively close this, and say new issues should be filed if other issues are discovered.

leonflint commented 1 year ago

OrangePI PC1 owner here.

(venv) leon@orangepipc:~$ pip list
Package    Version
---------- -------
pip        23.1
setuptools 59.6.0
(venv) leon@orangepipc:~$ pip install paramiko
Collecting paramiko
  Using cached paramiko-3.1.0-py3-none-any.whl (211 kB)
Collecting bcrypt>=3.2 (from paramiko)
  Using cached bcrypt-4.0.1-cp310-cp310-linux_armv7l.whl
Collecting cryptography>=3.3 (from paramiko)
  Using cached cryptography-40.0.2.tar.gz (625 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Collecting pynacl>=1.5 (from paramiko)
  Using cached PyNaCl-1.5.0-cp310-cp310-linux_armv7l.whl
Collecting cffi>=1.12 (from cryptography>=3.3->paramiko)
  Using cached cffi-1.15.1-cp310-cp310-linux_armv7l.whl
Collecting pycparser (from cffi>=1.12->cryptography>=3.3->paramiko)
  Using cached pycparser-2.21-py2.py3-none-any.whl (118 kB)
Building wheels for collected packages: cryptography
  Building wheel for cryptography (pyproject.toml) ... error
  error: subprocess-exited-with-error

  × Building wheel for cryptography (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [333 lines of output]
      running bdist_wheel
      running build
      running build_py
      creating build
      creating build/lib.linux-armv7l-cpython-310
      creating build/lib.linux-armv7l-cpython-310/cryptography
      copying src/cryptography/utils.py -> build/lib.linux-armv7l-cpython-310/cryptography
      copying src/cryptography/fernet.py -> build/lib.linux-armv7l-cpython-310/cryptography
      copying src/cryptography/exceptions.py -> build/lib.linux-armv7l-cpython-310/cryptography
      copying src/cryptography/__init__.py -> build/lib.linux-armv7l-cpython-310/cryptography
      copying src/cryptography/__about__.py -> build/lib.linux-armv7l-cpython-310/cryptography
      creating build/lib.linux-armv7l-cpython-310/cryptography/x509
      copying src/cryptography/x509/oid.py -> build/lib.linux-armv7l-cpython-310/cryptography/x509
      copying src/cryptography/x509/ocsp.py -> build/lib.linux-armv7l-cpython-310/cryptography/x509
      copying src/cryptography/x509/name.py -> build/lib.linux-armv7l-cpython-310/cryptography/x509
      copying src/cryptography/x509/general_name.py -> build/lib.linux-armv7l-cpython-310/cryptography/x509
      copying src/cryptography/x509/extensions.py -> build/lib.linux-armv7l-cpython-310/cryptography/x509
      copying src/cryptography/x509/certificate_transparency.py -> build/lib.linux-armv7l-cpython-310/cryptography/x509
      copying src/cryptography/x509/base.py -> build/lib.linux-armv7l-cpython-310/cryptography/x509
      copying src/cryptography/x509/__init__.py -> build/lib.linux-armv7l-cpython-310/cryptography/x509
      creating build/lib.linux-armv7l-cpython-310/cryptography/hazmat
      copying src/cryptography/hazmat/_oid.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat
      copying src/cryptography/hazmat/__init__.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat
      creating build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives
      copying src/cryptography/hazmat/primitives/poly1305.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives
      copying src/cryptography/hazmat/primitives/padding.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives
      copying src/cryptography/hazmat/primitives/keywrap.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives
      copying src/cryptography/hazmat/primitives/hmac.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives
      copying src/cryptography/hazmat/primitives/hashes.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives
      copying src/cryptography/hazmat/primitives/constant_time.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives
      copying src/cryptography/hazmat/primitives/cmac.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives
      copying src/cryptography/hazmat/primitives/_serialization.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives
      copying src/cryptography/hazmat/primitives/_cipheralgorithm.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives
      copying src/cryptography/hazmat/primitives/_asymmetric.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives
      copying src/cryptography/hazmat/primitives/__init__.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives
      creating build/lib.linux-armv7l-cpython-310/cryptography/hazmat/bindings
      copying src/cryptography/hazmat/bindings/__init__.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/bindings
      creating build/lib.linux-armv7l-cpython-310/cryptography/hazmat/backends
      copying src/cryptography/hazmat/backends/__init__.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/backends
      creating build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/twofactor
      copying src/cryptography/hazmat/primitives/twofactor/totp.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/twofactor
      copying src/cryptography/hazmat/primitives/twofactor/hotp.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/twofactor
      copying src/cryptography/hazmat/primitives/twofactor/__init__.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/twofactor
      creating build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/serialization
      copying src/cryptography/hazmat/primitives/serialization/ssh.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/serialization
      copying src/cryptography/hazmat/primitives/serialization/pkcs7.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/serialization
      copying src/cryptography/hazmat/primitives/serialization/pkcs12.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/serialization
      copying src/cryptography/hazmat/primitives/serialization/base.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/serialization
      copying src/cryptography/hazmat/primitives/serialization/__init__.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/serialization
      creating build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/kdf
      copying src/cryptography/hazmat/primitives/kdf/x963kdf.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/kdf
      copying src/cryptography/hazmat/primitives/kdf/scrypt.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/kdf
      copying src/cryptography/hazmat/primitives/kdf/pbkdf2.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/kdf
      copying src/cryptography/hazmat/primitives/kdf/kbkdf.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/kdf
      copying src/cryptography/hazmat/primitives/kdf/hkdf.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/kdf
      copying src/cryptography/hazmat/primitives/kdf/concatkdf.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/kdf
      copying src/cryptography/hazmat/primitives/kdf/__init__.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/kdf
      creating build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/ciphers
      copying src/cryptography/hazmat/primitives/ciphers/modes.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/ciphers
      copying src/cryptography/hazmat/primitives/ciphers/base.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/ciphers
      copying src/cryptography/hazmat/primitives/ciphers/algorithms.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/ciphers
      copying src/cryptography/hazmat/primitives/ciphers/aead.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/ciphers
      copying src/cryptography/hazmat/primitives/ciphers/__init__.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/ciphers
      creating build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/asymmetric
      copying src/cryptography/hazmat/primitives/asymmetric/x448.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/asymmetric
      copying src/cryptography/hazmat/primitives/asymmetric/x25519.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/asymmetric
      copying src/cryptography/hazmat/primitives/asymmetric/utils.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/asymmetric
      copying src/cryptography/hazmat/primitives/asymmetric/types.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/asymmetric
      copying src/cryptography/hazmat/primitives/asymmetric/rsa.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/asymmetric
      copying src/cryptography/hazmat/primitives/asymmetric/padding.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/asymmetric
      copying src/cryptography/hazmat/primitives/asymmetric/ed448.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/asymmetric
      copying src/cryptography/hazmat/primitives/asymmetric/ed25519.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/asymmetric
      copying src/cryptography/hazmat/primitives/asymmetric/ec.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/asymmetric
      copying src/cryptography/hazmat/primitives/asymmetric/dsa.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/asymmetric
      copying src/cryptography/hazmat/primitives/asymmetric/dh.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/asymmetric
      copying src/cryptography/hazmat/primitives/asymmetric/__init__.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/primitives/asymmetric
      creating build/lib.linux-armv7l-cpython-310/cryptography/hazmat/bindings/openssl
      copying src/cryptography/hazmat/bindings/openssl/binding.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/bindings/openssl
      copying src/cryptography/hazmat/bindings/openssl/_conditional.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/bindings/openssl
      copying src/cryptography/hazmat/bindings/openssl/__init__.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/bindings/openssl
      creating build/lib.linux-armv7l-cpython-310/cryptography/hazmat/backends/openssl
      copying src/cryptography/hazmat/backends/openssl/x448.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/backends/openssl
      copying src/cryptography/hazmat/backends/openssl/utils.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/backends/openssl
      copying src/cryptography/hazmat/backends/openssl/rsa.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/backends/openssl
      copying src/cryptography/hazmat/backends/openssl/poly1305.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/backends/openssl
      copying src/cryptography/hazmat/backends/openssl/hmac.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/backends/openssl
      copying src/cryptography/hazmat/backends/openssl/hashes.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/backends/openssl
      copying src/cryptography/hazmat/backends/openssl/ed448.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/backends/openssl
      copying src/cryptography/hazmat/backends/openssl/ed25519.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/backends/openssl
      copying src/cryptography/hazmat/backends/openssl/ec.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/backends/openssl
      copying src/cryptography/hazmat/backends/openssl/dsa.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/backends/openssl
      copying src/cryptography/hazmat/backends/openssl/dh.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/backends/openssl
      copying src/cryptography/hazmat/backends/openssl/decode_asn1.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/backends/openssl
      copying src/cryptography/hazmat/backends/openssl/cmac.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/backends/openssl
      copying src/cryptography/hazmat/backends/openssl/ciphers.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/backends/openssl
      copying src/cryptography/hazmat/backends/openssl/backend.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/backends/openssl
      copying src/cryptography/hazmat/backends/openssl/aead.py -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/backends/openssl
      copying src/cryptography/hazmat/backends/openssl/__init__.py -> build/lib.linux-armv7l-cpython-310/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 '.readthedocs.yml'
      warning: no previously-included files found matching 'ci-constraints-requirements.txt'
      warning: no previously-included files found matching 'mypy.ini'
      adding license file 'LICENSE'
      adding license file 'LICENSE.APACHE'
      adding license file 'LICENSE.BSD'
      adding license file 'LICENSE.PSF'
      writing manifest file 'src/cryptography.egg-info/SOURCES.txt'
      /tmp/pip-build-env-debfvisi/overlay/lib/python3.10/site-packages/setuptools/command/build_py.py:202: SetuptoolsDeprecationWarning:     Installing 'cryptography.hazmat.bindings._rust' as data is deprecated, please list it in `packages`.
          !!

          ############################
          # Package would be ignored #
          ############################
          Python recognizes 'cryptography.hazmat.bindings._rust' as an importable package,
          but it is not listed in the `packages` configuration of setuptools.

          'cryptography.hazmat.bindings._rust' has been automatically added to the distribution only
          because it may contain data files, but this behavior is likely to change
          in future versions of setuptools (and therefore is considered deprecated).

          Please make sure that 'cryptography.hazmat.bindings._rust' is included as a package by using
          the `packages` configuration field or the proper discovery methods
          (for example by using `find_namespace_packages(...)`/`find_namespace:`
          instead of `find_packages(...)`/`find:`).

          You can read more about "package discovery" and "data files" on setuptools
          documentation page.

      !!

        check.warn(importable)
      /tmp/pip-build-env-debfvisi/overlay/lib/python3.10/site-packages/setuptools/command/build_py.py:202: SetuptoolsDeprecationWarning:     Installing 'cryptography.hazmat.bindings._rust.openssl' as data is deprecated, please list it in `packages`.
          !!

          ############################
          # Package would be ignored #
          ############################
          Python recognizes 'cryptography.hazmat.bindings._rust.openssl' as an importable package,
          but it is not listed in the `packages` configuration of setuptools.

          'cryptography.hazmat.bindings._rust.openssl' has been automatically added to the distribution only
          because it may contain data files, but this behavior is likely to change
          in future versions of setuptools (and therefore is considered deprecated).

          Please make sure that 'cryptography.hazmat.bindings._rust.openssl' is included as a package by using
          the `packages` configuration field or the proper discovery methods
          (for example by using `find_namespace_packages(...)`/`find_namespace:`
          instead of `find_packages(...)`/`find:`).

          You can read more about "package discovery" and "data files" on setuptools
          documentation page.

      !!

        check.warn(importable)
      copying src/cryptography/py.typed -> build/lib.linux-armv7l-cpython-310/cryptography
      creating build/lib.linux-armv7l-cpython-310/cryptography/hazmat/bindings/_rust
      copying src/cryptography/hazmat/bindings/_rust/__init__.pyi -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/bindings/_rust
      copying src/cryptography/hazmat/bindings/_rust/_openssl.pyi -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/bindings/_rust
      copying src/cryptography/hazmat/bindings/_rust/asn1.pyi -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/bindings/_rust
      copying src/cryptography/hazmat/bindings/_rust/ocsp.pyi -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/bindings/_rust
      copying src/cryptography/hazmat/bindings/_rust/pkcs7.pyi -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/bindings/_rust
      copying src/cryptography/hazmat/bindings/_rust/x509.pyi -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/bindings/_rust
      creating build/lib.linux-armv7l-cpython-310/cryptography/hazmat/bindings/_rust/openssl
      copying src/cryptography/hazmat/bindings/_rust/openssl/__init__.pyi -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/bindings/_rust/openssl
      copying src/cryptography/hazmat/bindings/_rust/openssl/x25519.pyi -> build/lib.linux-armv7l-cpython-310/cryptography/hazmat/bindings/_rust/openssl
      running build_ext
      running build_rust
      cargo rustc --lib --message-format=json-render-diagnostics --manifest-path src/rust/Cargo.toml --release -v --features pyo3/abi3-py36 pyo3/extension-module -- --crate-type cdylib
         Compiling proc-macro2 v1.0.53
         Compiling quote v1.0.26
         Compiling unicode-ident v1.0.8
         Compiling syn v1.0.109
           Running `rustc --crate-name build_script_build --edition=2018 /home/leon/.cargo/registry/src/github.com-1285ae84e5963aae/proc-macro2-1.0.53/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off -C overflow-checks=on --cfg 'feature="default"' --cfg 'feature="proc-macro"' --cfg 'feature="span-locations"' -C metadata=9299a0e6feb88da9 -C extra-filename=-9299a0e6feb88da9 --out-dir /tmp/pip-install-l9oeptt1/cryptography_cc9a17e4344244d6884dc0b1488d5ff6/src/rust/target/release/build/proc-macro2-9299a0e6feb88da9 -L dependency=/tmp/pip-install-l9oeptt1/cryptography_cc9a17e4344244d6884dc0b1488d5ff6/src/rust/target/release/deps --cap-lints allow`
           Running `rustc --crate-name build_script_build --edition=2018 /home/leon/.cargo/registry/src/github.com-1285ae84e5963aae/quote-1.0.26/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off -C overflow-checks=on --cfg 'feature="default"' --cfg 'feature="proc-macro"' -C metadata=4bec78b007aca6a9 -C extra-filename=-4bec78b007aca6a9 --out-dir /tmp/pip-install-l9oeptt1/cryptography_cc9a17e4344244d6884dc0b1488d5ff6/src/rust/target/release/build/quote-4bec78b007aca6a9 -L dependency=/tmp/pip-install-l9oeptt1/cryptography_cc9a17e4344244d6884dc0b1488d5ff6/src/rust/target/release/deps --cap-lints allow`
           Running `rustc --crate-name unicode_ident --edition=2018 /home/leon/.cargo/registry/src/github.com-1285ae84e5963aae/unicode-ident-1.0.8/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off -C overflow-checks=on -C metadata=93039ca76541989c -C extra-filename=-93039ca76541989c --out-dir /tmp/pip-install-l9oeptt1/cryptography_cc9a17e4344244d6884dc0b1488d5ff6/src/rust/target/release/deps -L dependency=/tmp/pip-install-l9oeptt1/cryptography_cc9a17e4344244d6884dc0b1488d5ff6/src/rust/target/release/deps --cap-lints allow`
           Running `rustc --crate-name build_script_build --edition=2018 /home/leon/.cargo/registry/src/github.com-1285ae84e5963aae/syn-1.0.109/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off -C overflow-checks=on --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"' --cfg 'feature="visit"' -C metadata=7ef9d93dd6bd1c49 -C extra-filename=-7ef9d93dd6bd1c49 --out-dir /tmp/pip-install-l9oeptt1/cryptography_cc9a17e4344244d6884dc0b1488d5ff6/src/rust/target/release/build/syn-7ef9d93dd6bd1c49 -L dependency=/tmp/pip-install-l9oeptt1/cryptography_cc9a17e4344244d6884dc0b1488d5ff6/src/rust/target/release/deps --cap-lints allow`
         Compiling autocfg v1.1.0
           Running `rustc --crate-name autocfg /home/leon/.cargo/registry/src/github.com-1285ae84e5963aae/autocfg-1.1.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off -C overflow-checks=on -C metadata=6a02d148c4389281 -C extra-filename=-6a02d148c4389281 --out-dir /tmp/pip-install-l9oeptt1/cryptography_cc9a17e4344244d6884dc0b1488d5ff6/src/rust/target/release/deps -L dependency=/tmp/pip-install-l9oeptt1/cryptography_cc9a17e4344244d6884dc0b1488d5ff6/src/rust/target/release/deps --cap-lints allow`
         Compiling pyo3-build-config v0.15.2
           Running `rustc --crate-name build_script_build --edition=2018 /home/leon/.cargo/registry/src/github.com-1285ae84e5963aae/pyo3-build-config-0.15.2/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off -C overflow-checks=on --cfg 'feature="abi3"' --cfg 'feature="abi3-py310"' --cfg 'feature="abi3-py36"' --cfg 'feature="abi3-py37"' --cfg 'feature="abi3-py38"' --cfg 'feature="abi3-py39"' --cfg 'feature="default"' --cfg 'feature="resolve-config"' -C metadata=49636dded883403d -C extra-filename=-49636dded883403d --out-dir /tmp/pip-install-l9oeptt1/cryptography_cc9a17e4344244d6884dc0b1488d5ff6/src/rust/target/release/build/pyo3-build-config-49636dded883403d -L dependency=/tmp/pip-install-l9oeptt1/cryptography_cc9a17e4344244d6884dc0b1488d5ff6/src/rust/target/release/deps --cap-lints allow`
           Running `/tmp/pip-install-l9oeptt1/cryptography_cc9a17e4344244d6884dc0b1488d5ff6/src/rust/target/release/build/syn-7ef9d93dd6bd1c49/build-script-build`
           Running `/tmp/pip-install-l9oeptt1/cryptography_cc9a17e4344244d6884dc0b1488d5ff6/src/rust/target/release/build/quote-4bec78b007aca6a9/build-script-build`
           Running `/tmp/pip-install-l9oeptt1/cryptography_cc9a17e4344244d6884dc0b1488d5ff6/src/rust/target/release/build/proc-macro2-9299a0e6feb88da9/build-script-build`
         Compiling version_check v0.9.4
           Running `rustc --crate-name version_check /home/leon/.cargo/registry/src/github.com-1285ae84e5963aae/version_check-0.9.4/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off -C overflow-checks=on -C metadata=f1352e6b217e0549 -C extra-filename=-f1352e6b217e0549 --out-dir /tmp/pip-install-l9oeptt1/cryptography_cc9a17e4344244d6884dc0b1488d5ff6/src/rust/target/release/deps -L dependency=/tmp/pip-install-l9oeptt1/cryptography_cc9a17e4344244d6884dc0b1488d5ff6/src/rust/target/release/deps --cap-lints allow`
         Compiling cc v1.0.79
           Running `rustc --crate-name cc --edition=2018 /home/leon/.cargo/registry/src/github.com-1285ae84e5963aae/cc-1.0.79/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off -C overflow-checks=on -C metadata=74e287432e0da2d6 -C extra-filename=-74e287432e0da2d6 --out-dir /tmp/pip-install-l9oeptt1/cryptography_cc9a17e4344244d6884dc0b1488d5ff6/src/rust/target/release/deps -L dependency=/tmp/pip-install-l9oeptt1/cryptography_cc9a17e4344244d6884dc0b1488d5ff6/src/rust/target/release/deps --cap-lints allow`
           Running `rustc --crate-name proc_macro2 --edition=2018 /home/leon/.cargo/registry/src/github.com-1285ae84e5963aae/proc-macro2-1.0.53/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off -C overflow-checks=on --cfg 'feature="default"' --cfg 'feature="proc-macro"' --cfg 'feature="span-locations"' -C metadata=819fa027b7524a17 -C extra-filename=-819fa027b7524a17 --out-dir /tmp/pip-install-l9oeptt1/cryptography_cc9a17e4344244d6884dc0b1488d5ff6/src/rust/target/release/deps -L dependency=/tmp/pip-install-l9oeptt1/cryptography_cc9a17e4344244d6884dc0b1488d5ff6/src/rust/target/release/deps --extern unicode_ident=/tmp/pip-install-l9oeptt1/cryptography_cc9a17e4344244d6884dc0b1488d5ff6/src/rust/target/release/deps/libunicode_ident-93039ca76541989c.rmeta --cap-lints allow --cfg span_locations --cfg no_source_text --cfg use_proc_macro --cfg wrap_proc_macro`
         Compiling libc v0.2.140
           Running `rustc --crate-name build_script_build /home/leon/.cargo/registry/src/github.com-1285ae84e5963aae/libc-0.2.140/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off -C overflow-checks=on --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=6460473d2ba85392 -C extra-filename=-6460473d2ba85392 --out-dir /tmp/pip-install-l9oeptt1/cryptography_cc9a17e4344244d6884dc0b1488d5ff6/src/rust/target/release/build/libc-6460473d2ba85392 -L dependency=/tmp/pip-install-l9oeptt1/cryptography_cc9a17e4344244d6884dc0b1488d5ff6/src/rust/target/release/deps --cap-lints allow`
           Running `rustc --crate-name quote --edition=2018 /home/leon/.cargo/registry/src/github.com-1285ae84e5963aae/quote-1.0.26/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off -C overflow-checks=on --cfg 'feature="default"' --cfg 'feature="proc-macro"' -C metadata=6dc019fd41e18a5c -C extra-filename=-6dc019fd41e18a5c --out-dir /tmp/pip-install-l9oeptt1/cryptography_cc9a17e4344244d6884dc0b1488d5ff6/src/rust/target/release/deps -L dependency=/tmp/pip-install-l9oeptt1/cryptography_cc9a17e4344244d6884dc0b1488d5ff6/src/rust/target/release/deps --extern proc_macro2=/tmp/pip-install-l9oeptt1/cryptography_cc9a17e4344244d6884dc0b1488d5ff6/src/rust/target/release/deps/libproc_macro2-819fa027b7524a17.rmeta --cap-lints allow`
           Running `rustc --crate-name syn --edition=2018 /home/leon/.cargo/registry/src/github.com-1285ae84e5963aae/syn-1.0.109/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off -C overflow-checks=on --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"' --cfg 'feature="visit"' -C metadata=b6d988e08bc08469 -C extra-filename=-b6d988e08bc08469 --out-dir /tmp/pip-install-l9oeptt1/cryptography_cc9a17e4344244d6884dc0b1488d5ff6/src/rust/target/release/deps -L dependency=/tmp/pip-install-l9oeptt1/cryptography_cc9a17e4344244d6884dc0b1488d5ff6/src/rust/target/release/deps --extern proc_macro2=/tmp/pip-install-l9oeptt1/cryptography_cc9a17e4344244d6884dc0b1488d5ff6/src/rust/target/release/deps/libproc_macro2-819fa027b7524a17.rmeta --extern quote=/tmp/pip-install-l9oeptt1/cryptography_cc9a17e4344244d6884dc0b1488d5ff6/src/rust/target/release/deps/libquote-6dc019fd41e18a5c.rmeta --extern unicode_ident=/tmp/pip-install-l9oeptt1/cryptography_cc9a17e4344244d6884dc0b1488d5ff6/src/rust/target/release/deps/libunicode_ident-93039ca76541989c.rmeta --cap-lints allow --cfg syn_disable_nightly_tests`
           Running `/tmp/pip-install-l9oeptt1/cryptography_cc9a17e4344244d6884dc0b1488d5ff6/src/rust/target/release/build/pyo3-build-config-49636dded883403d/build-script-build`
         Compiling once_cell v1.14.0
           Running `rustc --crate-name once_cell --edition=2018 /home/leon/.cargo/registry/src/github.com-1285ae84e5963aae/once_cell-1.14.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off -C overflow-checks=on --cfg 'feature="alloc"' --cfg 'feature="default"' --cfg 'feature="race"' --cfg 'feature="std"' -C metadata=085028acd7d7e63d -C extra-filename=-085028acd7d7e63d --out-dir /tmp/pip-install-l9oeptt1/cryptography_cc9a17e4344244d6884dc0b1488d5ff6/src/rust/target/release/deps -L dependency=/tmp/pip-install-l9oeptt1/cryptography_cc9a17e4344244d6884dc0b1488d5ff6/src/rust/target/release/deps --cap-lints allow`
         Compiling proc-macro-hack v0.5.20+deprecated
           Running `rustc --crate-name build_script_build --edition=2018 /home/leon/.cargo/registry/src/github.com-1285ae84e5963aae/proc-macro-hack-0.5.20+deprecated/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off -C overflow-checks=on -C metadata=dcdfa93df82c515e -C extra-filename=-dcdfa93df82c515e --out-dir /tmp/pip-install-l9oeptt1/cryptography_cc9a17e4344244d6884dc0b1488d5ff6/src/rust/target/release/build/proc-macro-hack-dcdfa93df82c515e -L dependency=/tmp/pip-install-l9oeptt1/cryptography_cc9a17e4344244d6884dc0b1488d5ff6/src/rust/target/release/deps --cap-lints allow`
           Running `rustc --crate-name pyo3_build_config --edition=2018 /home/leon/.cargo/registry/src/github.com-1285ae84e5963aae/pyo3-build-config-0.15.2/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off -C overflow-checks=on --cfg 'feature="abi3"' --cfg 'feature="abi3-py310"' --cfg 'feature="abi3-py36"' --cfg 'feature="abi3-py37"' --cfg 'feature="abi3-py38"' --cfg 'feature="abi3-py39"' --cfg 'feature="default"' --cfg 'feature="resolve-config"' -C metadata=d0a28bc12cc91866 -C extra-filename=-d0a28bc12cc91866 --out-dir /tmp/pip-install-l9oeptt1/cryptography_cc9a17e4344244d6884dc0b1488d5ff6/src/rust/target/release/deps -L dependency=/tmp/pip-install-l9oeptt1/cryptography_cc9a17e4344244d6884dc0b1488d5ff6/src/rust/target/release/deps --extern once_cell=/tmp/pip-install-l9oeptt1/cryptography_cc9a17e4344244d6884dc0b1488d5ff6/src/rust/target/release/deps/libonce_cell-085028acd7d7e63d.rmeta --cap-lints allow`
           Running `/tmp/pip-install-l9oeptt1/cryptography_cc9a17e4344244d6884dc0b1488d5ff6/src/rust/target/release/build/proc-macro-hack-dcdfa93df82c515e/build-script-build`
           Running `/tmp/pip-install-l9oeptt1/cryptography_cc9a17e4344244d6884dc0b1488d5ff6/src/rust/target/release/build/libc-6460473d2ba85392/build-script-build`
         Compiling pkg-config v0.3.26
           Running `rustc --crate-name pkg_config /home/leon/.cargo/registry/src/github.com-1285ae84e5963aae/pkg-config-0.3.26/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off -C overflow-checks=on -C metadata=02baa2f140967059 -C extra-filename=-02baa2f140967059 --out-dir /tmp/pip-install-l9oeptt1/cryptography_cc9a17e4344244d6884dc0b1488d5ff6/src/rust/target/release/deps -L dependency=/tmp/pip-install-l9oeptt1/cryptography_cc9a17e4344244d6884dc0b1488d5ff6/src/rust/target/release/deps --cap-lints allow`
           Running `rustc --crate-name libc /home/leon/.cargo/registry/src/github.com-1285ae84e5963aae/libc-0.2.140/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C linker-plugin-lto -C overflow-checks=on --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=29fa4673541eb247 -C extra-filename=-29fa4673541eb247 --out-dir /tmp/pip-install-l9oeptt1/cryptography_cc9a17e4344244d6884dc0b1488d5ff6/src/rust/target/release/deps -L dependency=/tmp/pip-install-l9oeptt1/cryptography_cc9a17e4344244d6884dc0b1488d5ff6/src/rust/target/release/deps --cap-lints allow --cfg freebsd11 --cfg libc_priv_mod_use --cfg libc_union --cfg libc_const_size_of --cfg libc_align --cfg libc_int128 --cfg libc_core_cvoid --cfg libc_packedN --cfg libc_cfg_target_vendor --cfg libc_non_exhaustive --cfg libc_long_array --cfg libc_ptr_addr_of --cfg libc_underscore_const_names --cfg libc_const_extern_fn`
         Compiling openssl-sys v0.9.85
           Running `rustc --crate-name build_script_main --edition=2018 /home/leon/.cargo/registry/src/github.com-1285ae84e5963aae/openssl-sys-0.9.85/build/main.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off -C overflow-checks=on -C metadata=2c27b0b51de3a7d4 -C extra-filename=-2c27b0b51de3a7d4 --out-dir /tmp/pip-install-l9oeptt1/cryptography_cc9a17e4344244d6884dc0b1488d5ff6/src/rust/target/release/build/openssl-sys-2c27b0b51de3a7d4 -L dependency=/tmp/pip-install-l9oeptt1/cryptography_cc9a17e4344244d6884dc0b1488d5ff6/src/rust/target/release/deps --extern cc=/tmp/pip-install-l9oeptt1/cryptography_cc9a17e4344244d6884dc0b1488d5ff6/src/rust/target/release/deps/libcc-74e287432e0da2d6.rlib --extern pkg_config=/tmp/pip-install-l9oeptt1/cryptography_cc9a17e4344244d6884dc0b1488d5ff6/src/rust/target/release/deps/libpkg_config-02baa2f140967059.rlib --cap-lints allow`
           Running `rustc --crate-name proc_macro_hack --edition=2018 /home/leon/.cargo/registry/src/github.com-1285ae84e5963aae/proc-macro-hack-0.5.20+deprecated/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type proc-macro --emit=dep-info,link -C prefer-dynamic -C embed-bitcode=no -C debug-assertions=off -C overflow-checks=on -C metadata=f5c9f938bc85b70f -C extra-filename=-f5c9f938bc85b70f --out-dir /tmp/pip-install-l9oeptt1/cryptography_cc9a17e4344244d6884dc0b1488d5ff6/src/rust/target/release/deps -L dependency=/tmp/pip-install-l9oeptt1/cryptography_cc9a17e4344244d6884dc0b1488d5ff6/src/rust/target/release/deps --extern proc_macro --cap-lints allow`
         Compiling proc-macro-error-attr v1.0.4
           Running `rustc --crate-name build_script_build --edition=2018 /home/leon/.cargo/registry/src/github.com-1285ae84e5963aae/proc-macro-error-attr-1.0.4/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off -C overflow-checks=on -C metadata=94fadbcbca0551a1 -C extra-filename=-94fadbcbca0551a1 --out-dir /tmp/pip-install-l9oeptt1/cryptography_cc9a17e4344244d6884dc0b1488d5ff6/src/rust/target/release/build/proc-macro-error-attr-94fadbcbca0551a1 -L dependency=/tmp/pip-install-l9oeptt1/cryptography_cc9a17e4344244d6884dc0b1488d5ff6/src/rust/target/release/deps --extern version_check=/tmp/pip-install-l9oeptt1/cryptography_cc9a17e4344244d6884dc0b1488d5ff6/src/rust/target/release/deps/libversion_check-f1352e6b217e0549.rlib --cap-lints allow`
         Compiling num-traits v0.2.15
           Running `rustc --crate-name build_script_build /home/leon/.cargo/registry/src/github.com-1285ae84e5963aae/num-traits-0.2.15/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off -C overflow-checks=on -C metadata=8e8e72708da3bc95 -C extra-filename=-8e8e72708da3bc95 --out-dir /tmp/pip-install-l9oeptt1/cryptography_cc9a17e4344244d6884dc0b1488d5ff6/src/rust/target/release/build/num-traits-8e8e72708da3bc95 -L dependency=/tmp/pip-install-l9oeptt1/cryptography_cc9a17e4344244d6884dc0b1488d5ff6/src/rust/target/release/deps --extern autocfg=/tmp/pip-install-l9oeptt1/cryptography_cc9a17e4344244d6884dc0b1488d5ff6/src/rust/target/release/deps/libautocfg-6a02d148c4389281.rlib --cap-lints allow`
         Compiling cfg-if v1.0.0
           Running `rustc --crate-name cfg_if --edition=2018 /home/leon/.cargo/registry/src/github.com-1285ae84e5963aae/cfg-if-1.0.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C linker-plugin-lto -C overflow-checks=on -C metadata=627a89f4b3f89056 -C extra-filename=-627a89f4b3f89056 --out-dir /tmp/pip-install-l9oeptt1/cryptography_cc9a17e4344244d6884dc0b1488d5ff6/src/rust/target/release/deps -L dependency=/tmp/pip-install-l9oeptt1/cryptography_cc9a17e4344244d6884dc0b1488d5ff6/src/rust/target/release/deps --cap-lints allow`
           Running `/tmp/pip-install-l9oeptt1/cryptography_cc9a17e4344244d6884dc0b1488d5ff6/src/rust/target/release/build/proc-macro-error-attr-94fadbcbca0551a1/build-script-build`
           Running `/tmp/pip-install-l9oeptt1/cryptography_cc9a17e4344244d6884dc0b1488d5ff6/src/rust/target/release/build/openssl-sys-2c27b0b51de3a7d4/build-script-main`
      error: failed to run custom build command for `openssl-sys v0.9.85`

      Caused by:
        process didn't exit successfully: `/tmp/pip-install-l9oeptt1/cryptography_cc9a17e4344244d6884dc0b1488d5ff6/src/rust/target/release/build/openssl-sys-2c27b0b51de3a7d4/build-script-main` (exit status: 101)
        --- stdout
        cargo:rerun-if-env-changed=ARMV7_UNKNOWN_LINUX_GNUEABIHF_OPENSSL_LIB_DIR
        ARMV7_UNKNOWN_LINUX_GNUEABIHF_OPENSSL_LIB_DIR unset
        cargo:rerun-if-env-changed=OPENSSL_LIB_DIR
        OPENSSL_LIB_DIR unset
        cargo:rerun-if-env-changed=ARMV7_UNKNOWN_LINUX_GNUEABIHF_OPENSSL_INCLUDE_DIR
        ARMV7_UNKNOWN_LINUX_GNUEABIHF_OPENSSL_INCLUDE_DIR unset
        cargo:rerun-if-env-changed=OPENSSL_INCLUDE_DIR
        OPENSSL_INCLUDE_DIR unset
        cargo:rerun-if-env-changed=ARMV7_UNKNOWN_LINUX_GNUEABIHF_OPENSSL_DIR
        ARMV7_UNKNOWN_LINUX_GNUEABIHF_OPENSSL_DIR unset
        cargo:rerun-if-env-changed=OPENSSL_DIR
        OPENSSL_DIR unset
        cargo:rerun-if-env-changed=OPENSSL_NO_PKG_CONFIG
        cargo:rerun-if-env-changed=PKG_CONFIG_armv7-unknown-linux-gnueabihf
        cargo:rerun-if-env-changed=PKG_CONFIG_armv7_unknown_linux_gnueabihf
        cargo:rerun-if-env-changed=HOST_PKG_CONFIG
        cargo:rerun-if-env-changed=PKG_CONFIG
        cargo:rerun-if-env-changed=OPENSSL_STATIC
        cargo:rerun-if-env-changed=OPENSSL_DYNAMIC
        cargo:rerun-if-env-changed=PKG_CONFIG_ALL_STATIC
        cargo:rerun-if-env-changed=PKG_CONFIG_ALL_DYNAMIC
        cargo:rerun-if-env-changed=PKG_CONFIG_PATH_armv7-unknown-linux-gnueabihf
        cargo:rerun-if-env-changed=PKG_CONFIG_PATH_armv7_unknown_linux_gnueabihf
        cargo:rerun-if-env-changed=HOST_PKG_CONFIG_PATH
        cargo:rerun-if-env-changed=PKG_CONFIG_PATH
        cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_armv7-unknown-linux-gnueabihf
        cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_armv7_unknown_linux_gnueabihf
        cargo:rerun-if-env-changed=HOST_PKG_CONFIG_LIBDIR
        cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR
        cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_armv7-unknown-linux-gnueabihf
        cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_armv7_unknown_linux_gnueabihf
        cargo:rerun-if-env-changed=HOST_PKG_CONFIG_SYSROOT_DIR
        cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR
        run pkg_config fail: Could not run `"pkg-config" "--libs" "--cflags" "openssl"`
        The pkg-config command could not be found.

        Most likely, you need to install a pkg-config package for your OS.
        Try `apt install pkg-config`, or `yum install pkg-config`,
        or `pkg install pkg-config`, or `apk add pkgconfig` depending on your distribution.

        If you've already installed it, ensure the pkg-config command is one of the
        directories in the PATH environment variable.

        If you did not expect this build to link to a pre-installed system library,
        then check documentation of the openssl-sys crate for an option to
        build the library from source, or disable features or dependencies
        that require pkg-config.

        --- stderr
        thread 'main' panicked at '

        Could not find directory of OpenSSL installation, and this `-sys` crate cannot
        proceed without this knowledge. If OpenSSL is installed and this crate had
        trouble finding it,  you can set the `OPENSSL_DIR` environment variable for the
        compilation process.

        Make sure you also have the development packages of openssl installed.
        For example, `libssl-dev` on Ubuntu or `openssl-devel` on Fedora.

        If you're in a situation where you think the directory *should* be found
        automatically, please open a bug at https://github.com/sfackler/rust-openssl
        and include information about your system as well as this message.

        $HOST = armv7-unknown-linux-gnueabihf
        $TARGET = armv7-unknown-linux-gnueabihf
        openssl-sys = 0.9.85

        It looks like you're compiling on Linux and also targeting Linux. Currently this
        requires the `pkg-config` utility to find OpenSSL but unfortunately `pkg-config`
        could not be found. If you have OpenSSL installed you can likely fix this by
        installing `pkg-config`.

        ', /home/leon/.cargo/registry/src/github.com-1285ae84e5963aae/openssl-sys-0.9.85/build/find_normal.rs:190:5
        note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
      warning: build failed, waiting for other jobs to finish...

          =============================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/ for specific
             instructions for your platform.
          3) Check our frequently asked questions for more information:
             https://cryptography.io/en/latest/faq/
          4) Ensure you have a recent Rust toolchain installed:
             https://cryptography.io/en/latest/installation/#rust

          Python: 3.10.6
          platform: Linux-5.15.93-sunxi-armv7l-with-glibc2.35
          pip: n/a
          setuptools: 67.6.1
          setuptools_rust: 1.5.2
          rustc: 1.65.0
          =============================DEBUG ASSISTANCE=============================

      error: `cargo rustc --lib --message-format=json-render-diagnostics --manifest-path src/rust/Cargo.toml --release -v --features 'pyo3/abi3-py36 pyo3/extension-module' -- --crate-type cdylib` failed with code 101
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for cryptography
Failed to build cryptography
ERROR: Could not build wheels for cryptography, which is required to install pyproject.toml-based projects

I then installed pkg-config but it takes ages and often crashes the board.

I have rustc (1.65.0+dfsg0ubuntu1-0ubuntu0.22.04.1) and wonder if I might do better with the script to install the very latest.

leonflint commented 1 year ago

When it is taking ages I run top and see this:

Tasks: 123 total,   1 running, 122 sleeping,   0 stopped,   0 zombie
%Cpu(s):  1.4 us,  2.8 sy,  0.0 ni, 70.8 id, 25.0 wa,  0.0 hi,  0.0 si,  0.0 st
MiB Mem :    999.0 total,     59.3 free,    210.7 used,    729.0 buff/cache
MiB Swap:    499.5 total,    294.5 free,    205.0 used.    488.8 avail Mem

  PID USER      PR  NI    VIRT    RES    SHR S  %CPU  %MEM     TIME+ COMMAND
 4164 leon      20   0   10012   2664   2160 R   5.9   0.3   0:00.03 top
    1 root      20   0   31736   5504   3868 S   0.0   0.5   0:04.77 systemd
    2 root      20   0       0      0      0 S   0.0   0.0   0:00.01 kthreadd

The original windows sticks around here:

(venv) leon@orangepipc:~$ pip install paramiko
Collecting paramiko
  Using cached paramiko-3.1.0-py3-none-any.whl (211 kB)
Collecting bcrypt>=3.2 (from paramiko)
  Using cached bcrypt-4.0.1-cp310-cp310-linux_armv7l.whl
Collecting cryptography>=3.3 (from paramiko)
  Using cached cryptography-40.0.2.tar.gz (625 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Collecting pynacl>=1.5 (from paramiko)
  Using cached PyNaCl-1.5.0-cp310-cp310-linux_armv7l.whl
Collecting cffi>=1.12 (from cryptography>=3.3->paramiko)
  Using cached cffi-1.15.1-cp310-cp310-linux_armv7l.whl
Collecting pycparser (from cffi>=1.12->cryptography>=3.3->paramiko)
  Using cached pycparser-2.21-py2.py3-none-any.whl (118 kB)
Building wheels for collected packages: cryptography
  Building wheel for cryptography (pyproject.toml) ... |
^C

Assuming it doesn't produce a huge stack trace until the execption is raised.

leonflint commented 1 year ago

Took about an hour, but it built, thanks for the heads up. I see (and saw again) memory was pretty tight, though buffers/cache are there for the taking.

I don't anticipate repeating this for a while, and will share any of the output if requested.