Skip to content

Cannot build hf-xet #512

@clin1234

Description

@clin1234
  
  × Building wheel for hf-xet (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [252 lines of output]
      Running `maturin pep517 build-wheel -i /home/cc/venv/bin/python3.14t --compatibility off`
      ⚠️ Warning: You specified the python source as /tmp/pip-install-uevczvln/hf-xet_6992d4bac2c84b74931dd4984b2882bc/hf_xet/python, but the python module at /tmp/pip-install-uevczvln/hf-xet_6992d4bac2c84b74931dd4984b2882bc/hf_xet/python/hf_xet is missing. No python module will be included.
      🔗 Found pyo3 bindings with abi3 support
      🐍 Not using a specific python interpreter
      📡 Using build options features from pyproject.toml
      ⚠️ Warning: CPython 3.14t at /home/cc/venv/bin/python3.14t does not yet support abi3 so the build artifacts will be version-specific.
         Compiling proc-macro2 v1.0.101
         Compiling unicode-ident v1.0.18
         Compiling libc v0.2.175
         Compiling cfg-if v1.0.1
         Compiling shlex v1.3.0
         Compiling memchr v2.7.5
         Compiling once_cell v1.21.3
         Compiling itoa v1.0.15
         Compiling pin-project-lite v0.2.16
         Compiling serde v1.0.219
         Compiling futures-core v0.3.31
         Compiling bytes v1.10.1
         Compiling zerocopy v0.8.26
         Compiling ryu v1.0.20
         Compiling futures-sink v0.3.31
         Compiling serde_json v1.0.142
         Compiling futures-io v0.3.31
         Compiling pin-utils v0.1.0
         Compiling getrandom v0.3.3
         Compiling futures-task v0.3.31
         Compiling stable_deref_trait v1.2.0
         Compiling slab v0.4.11
         Compiling smallvec v1.15.1
         Compiling base64 v0.22.1
         Compiling crossbeam-utils v0.8.21
         Compiling autocfg v1.5.0
         Compiling pkg-config v0.3.32
         Compiling lazy_static v1.5.0
         Compiling thiserror v2.0.15
         Compiling fnv v1.0.7
         Compiling futures-channel v0.3.31
         Compiling tracing-core v0.1.34
         Compiling option-ext v0.2.0
         Compiling target-lexicon v0.12.16
         Compiling cc v1.2.33
         Compiling heed-traits v0.8.0
         Compiling litemap v0.8.0
         Compiling writeable v0.6.1
         Compiling byteorder v1.5.0
         Compiling bytemuck v1.23.2
         Compiling zeroize v1.8.1
         Compiling mio v1.0.4
         Compiling socket2 v0.6.0
         Compiling ppv-lite86 v0.2.21
         Compiling getrandom v0.2.16
         Compiling http v1.3.1
         Compiling page_size v0.4.2
         Compiling arrayvec v0.7.6
         Compiling icu_properties_data v2.0.1
         Compiling icu_normalizer_data v2.0.0
         Compiling constant_time_eq v0.3.1
         Compiling arrayref v0.3.9
         Compiling untrusted v0.9.0
         Compiling syn v1.0.109
         Compiling crossbeam-queue v0.3.12
         Compiling bitflags v2.9.2
         Compiling quote v1.0.40
         Compiling dirs-sys v0.5.0
         Compiling percent-encoding v2.3.1
         Compiling anstyle v1.0.11
         Compiling rustls-pki-types v1.12.0
         Compiling lmdb-rkv-sys v0.11.2
         Compiling ring v0.17.14
         Compiling blake3 v1.8.2
         Compiling safe-transmute v0.11.3
         Compiling httparse v1.10.1
         Compiling dtor-proc-macro v0.0.5
         Compiling dtor v0.0.6
         Compiling rand_core v0.9.3
         Compiling tower-service v0.3.3
         Compiling thiserror v1.0.69
         Compiling pyo3-build-config v0.23.5
         Compiling http-body v1.0.1
         Compiling ctor-proc-macro v0.0.6
         Compiling syn v2.0.106
         Compiling synchronoise v1.0.1
         Compiling rustls v0.23.31
         Compiling dirs v6.0.0
         Compiling heck v0.5.0
         Compiling try-lock v0.2.5
         Compiling aho-corasick v1.1.3
         Compiling atomic-waker v1.1.2
         Compiling ctor v0.4.3
         Compiling log v0.4.27
         Compiling anyhow v1.0.99
         Compiling regex-syntax v0.8.5
         Compiling rand_chacha v0.9.0
         Compiling utf8parse v0.2.2
         Compiling subtle v2.6.1
         Compiling form_urlencoded v1.2.1
         Compiling shellexpand v3.1.1
         Compiling want v0.3.1
         Compiling sync_wrapper v1.0.2
         Compiling colorchoice v1.0.4
         Compiling ipnet v2.11.0
         Compiling rustls-webpki v0.103.4
         Compiling derivative v2.2.0
         Compiling utf8_iter v1.0.4
         Compiling serde_derive v1.0.219
         Compiling synstructure v0.13.2
         Compiling tokio-macros v2.5.0
         Compiling tracing-attributes v0.1.30
         Compiling tokio v1.47.1
         Compiling futures-macro v0.3.31
         Compiling futures-util v0.3.31
         Compiling tracing v0.1.41
         Compiling zerovec-derive v0.11.1
         Compiling displaydoc v0.2.5
         Compiling thiserror-impl v2.0.15
         Compiling rand v0.9.2
         Compiling async-trait v0.1.89
         Compiling pin-project-internal v1.1.10
         Compiling thiserror-impl v1.0.69
         Compiling anstyle-parse v0.2.7
         Compiling tower-layer v0.3.3
         Compiling is_terminal_polyfill v1.70.1
         Compiling anstyle-query v1.1.4
         Compiling openssl-probe v0.1.6
         Compiling regex-automata v0.4.9
         Compiling rustix v1.0.8
         Compiling pin-project v1.1.10
         Compiling webpki-roots v1.0.2
         Compiling rand_core v0.6.4
         Compiling num-traits v0.2.19
         Compiling clap_lex v0.7.5
         Compiling zerofrom-derive v0.1.6
         Compiling yoke-derive v0.8.0
         Compiling zerofrom v0.1.6
         Compiling error_printer v0.14.5 (/tmp/pip-install-uevczvln/hf-xet_6992d4bac2c84b74931dd4984b2882bc/error_printer)
         Compiling linux-raw-sys v0.9.4
         Compiling strsim v0.11.1
         Compiling version_check v0.9.5
         Compiling anstream v0.6.20
         Compiling rustls-native-certs v0.8.1
         Compiling typenum v1.18.0
         Compiling iri-string v0.7.8
         Compiling clap_derive v4.5.45
         Compiling http-body-util v0.1.3
         Compiling predicates-core v1.0.9
         Compiling mockall_derive v0.13.1
         Compiling fastrand v2.3.0
         Compiling either v1.15.0
         Compiling bincode v1.3.3
         Compiling rand_chacha v0.3.1
         Compiling futures-executor v0.3.31
         Compiling serde_urlencoded v0.7.1
         Compiling hyper v1.7.0
         Compiling regex v1.11.1
         Compiling yoke v0.8.0
         Compiling tokio-util v0.7.16
         Compiling tower v0.5.2
         Compiling generic-array v0.14.7
         Compiling clap_builder v4.5.44
         Compiling uuid v1.18.0
         Compiling more-asserts v0.3.1
         Compiling termtree v0.5.1
         Compiling heapify v0.2.0
         Compiling itertools v0.14.0
         Compiling num-conv v0.1.0
         Compiling rand v0.8.5
         Compiling heed-types v0.8.0
         Compiling futures v0.3.31
         Compiling tokio-rustls v0.26.2
         Compiling time-core v0.1.4
         Compiling zerovec v0.11.4
         Compiling zerotrie v0.2.2
         Compiling tower-http v0.6.6
         Compiling powerfmt v0.2.0
         Compiling static_assertions v1.1.0
         Compiling cfg-if v0.1.10
         Compiling crc32fast v1.5.0
         Compiling predicates-tree v1.0.12
         Compiling predicates v3.1.3
         Compiling serde_repr v0.1.20
         Compiling lock_api v0.4.13
         Compiling colored v2.2.0
         Compiling csv-core v0.1.12
         Compiling heed v0.11.0
         Compiling hyper-util v0.1.16
         Compiling parking_lot_core v0.9.11
         Compiling twox-hash v2.1.1
         Compiling fragile v2.0.1
         Compiling tempfile v3.20.0
         Compiling time-macros v0.2.22
         Compiling whoami v1.6.1
         Compiling gearhash v0.1.3
         Compiling downcast v0.11.0
         Compiling deranged v0.4.0
         Compiling retry-policies v0.4.0
         Compiling tinystr v0.8.1
         Compiling potential_utf v0.1.2
         Compiling csv v1.3.1
         Compiling num-integer v0.1.46
         Compiling pyo3-macros-backend v0.23.5
         Compiling pyo3-ffi v0.23.5
         Compiling clap v4.5.45
         Compiling sha2-asm v0.6.4
         Compiling lz4_flex v0.11.5
         Compiling countio v0.2.19
         Compiling half v2.6.0
         Compiling scopeguard v1.2.0
         Compiling merklehash v0.14.5 (/tmp/pip-install-uevczvln/hf-xet_6992d4bac2c84b74931dd4984b2882bc/merklehash)
         Compiling regex-syntax v0.6.29
         Compiling protobuf v3.7.2
         Compiling oneshot v0.1.11
         Compiling hyper-rustls v0.27.7
         Compiling file_utils v0.14.2 (/tmp/pip-install-uevczvln/hf-xet_6992d4bac2c84b74931dd4984b2882bc/file_utils)
      error: failed to run custom build command for `pyo3-ffi v0.23.5`
      
      Caused by:
        process didn't exit successfully: `/tmp/pip-install-uevczvln/hf-xet_6992d4bac2c84b74931dd4984b2882bc/hf_xet/target/release/build/pyo3-ffi-97e3b7617f17d72b/build-script-build` (exit status: 1)
        --- stdout
        cargo:rustc-check-cfg=cfg(Py_LIMITED_API)
        cargo:rustc-check-cfg=cfg(Py_GIL_DISABLED)
        cargo:rustc-check-cfg=cfg(PyPy)
        cargo:rustc-check-cfg=cfg(GraalPy)
        cargo:rustc-check-cfg=cfg(py_sys_config, values("Py_DEBUG", "Py_REF_DEBUG", "Py_TRACE_REFS", "COUNT_ALLOCS"))
        cargo:rustc-check-cfg=cfg(invalid_from_utf8_lint)
        cargo:rustc-check-cfg=cfg(pyo3_disable_reference_pool)
        cargo:rustc-check-cfg=cfg(pyo3_leak_on_drop_without_reference_pool)
        cargo:rustc-check-cfg=cfg(diagnostic_namespace)
        cargo:rustc-check-cfg=cfg(c_str_lit)
        cargo:rustc-check-cfg=cfg(rustc_has_once_lock)
        cargo:rustc-check-cfg=cfg(fn_ptr_eq)
        cargo:rustc-check-cfg=cfg(Py_3_7)
        cargo:rustc-check-cfg=cfg(Py_3_8)
        cargo:rustc-check-cfg=cfg(Py_3_9)
        cargo:rustc-check-cfg=cfg(Py_3_10)
        cargo:rustc-check-cfg=cfg(Py_3_11)
        cargo:rustc-check-cfg=cfg(Py_3_12)
        cargo:rustc-check-cfg=cfg(Py_3_13)
        cargo:rerun-if-env-changed=PYO3_CROSS
        cargo:rerun-if-env-changed=PYO3_CROSS_LIB_DIR
        cargo:rerun-if-env-changed=PYO3_CROSS_PYTHON_VERSION
        cargo:rerun-if-env-changed=PYO3_CROSS_PYTHON_IMPLEMENTATION
        cargo:rerun-if-env-changed=PYO3_PRINT_CONFIG
      
        --- stderr
        error: The configured Python interpreter version (3.14) is newer than PyO3's maximum supported version (3.13)
        = help: please check if an updated version of PyO3 is available. Current version: 0.23.5
        = help: The free-threaded build of CPython does not support the limited API so this check cannot be suppressed.
      warning: build failed, waiting for other jobs to finish...
      💥 maturin failed
        Caused by: Failed to build a native library through cargo
        Caused by: Cargo build finished with "exit status: 101": `env -u CARGO PYO3_BUILD_EXTENSION_MODULE="1" PYO3_ENVIRONMENT_SIGNATURE="cpython-3.14-64bit" PYO3_PYTHON="/home/cc/venv/bin/python3.14t" PYTHON_SYS_EXECUTABLE="/home/cc/venv/bin/python3.14t" "cargo" "rustc" "--features" "pyo3/extension-module" "--message-format" "json-render-diagnostics" "--manifest-path" "/tmp/pip-install-uevczvln/hf-xet_6992d4bac2c84b74931dd4984b2882bc/hf_xet/Cargo.toml" "--release" "--lib"`
      Error: command ['maturin', 'pep517', 'build-wheel', '-i', '/home/cc/venv/bin/python3.14t', '--compatibility', 'off'] returned non-zero exit status 1
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for hf-xet

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions