;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
aiohttp/_websocket/mask.c:5583:16: warning: returning ‘int’ from a function with return type ‘PyObject *’ {aka ‘struct _object *’} makes pointer from integer without a cast [-Wint-conversion]
5583 | return __Pyx_PyVectorcall_FastCallDict(func, vc, &PyTuple_GET_ITEM(args, 0), (size_t)PyTuple_GET_SIZE(args), kw);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
error: command '/usr/bin/cc' 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
error: subprocess-exited-with-error
× Building wheel for orjson (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [14 lines of output]
Running `maturin pep517 build-wheel -i /tmp/tmp_drbxx9p/venv/bin/python --compatibility off`
📦 Including license file "/tmp/pip-install-kslrlet9/orjson_032bd6c6d9e64e2ba1cb1efcf2759b56/LICENSE-APACHE"
📦 Including license file "/tmp/pip-install-kslrlet9/orjson_032bd6c6d9e64e2ba1cb1efcf2759b56/LICENSE-MIT"
🍹 Building a mixed python/rust project
🔗 Found pyo3-ffi bindings
🐍 Found CPython 3.13t at /tmp/tmp_drbxx9p/venv/bin/python
error: package `half v2.6.0` cannot be built because it requires rustc 1.81 or newer, while the currently active rustc version is 1.63.0
Either upgrade to rustc 1.81 or newer, or use
cargo update -p half@2.6.0 --precise ver
where `ver` is the latest version of `half` supporting rustc 1.63.0
💥 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_ENVIRONMENT_SIGNATURE="cpython-3.13-64bit" PYO3_PYTHON="/tmp/tmp_drbxx9p/venv/bin/python" PYTHON_SYS_EXECUTABLE="/tmp/tmp_drbxx9p/venv/bin/python" "cargo" "rustc" "--message-format" "json-render-diagnostics" "--manifest-path" "/tmp/pip-install-kslrlet9/orjson_032bd6c6d9e64e2ba1cb1efcf2759b56/Cargo.toml" "--release" "--lib"`
Error: command ['maturin', 'pep517', 'build-wheel', '-i', '/tmp/tmp_drbxx9p/venv/bin/python', '--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 orjson
error: subprocess-exited-with-error
× Building wheel for zstandard (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [25 lines of output]
<string>:41: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
<string>:42: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
<frozen importlib._bootstrap>:488: RuntimeWarning: The global interpreter lock (GIL) has been enabled to load module '_cffi_backend', which has not declared that it can run safely without the GIL. To override this behavior and keep the GIL disabled (at your own risk), run with PYTHON_GIL=0 or -Xgil=0.
generating build/zstandard/_cffi.c
(already up-to-date)
not modified: 'build/zstandard/_cffi.c'
running bdist_wheel
running build
running build_py
creating build/lib.linux-x86_64-cpython-313
creating build/lib.linux-x86_64-cpython-313/zstandard
copying zstandard/__init__.py -> build/lib.linux-x86_64-cpython-313/zstandard
copying zstandard/backend_cffi.py -> build/lib.linux-x86_64-cpython-313/zstandard
copying zstandard/__init__.pyi -> build/lib.linux-x86_64-cpython-313/zstandard
copying zstandard/py.typed -> build/lib.linux-x86_64-cpython-313/zstandard
running build_ext
building 'zstandard.backend_c' extension
creating build/temp.linux-x86_64-cpython-313
creating build/temp.linux-x86_64-cpython-313/c-ext
cc -pthread -fno-strict-overflow -Wsign-compare -Wunreachable-code -DNDEBUG -g -O3 -Wall -fPIC -fPIC -Ic-ext -Izstd -I/tmp/tmp_drbxx9p/venv/include -I/root/.local/share/uv/python/cpython-3.13.3+freethreaded-linux-x86_64-gnu/include/python3.13t -c c-ext/backend_c.c -o build/temp.linux-x86_64-cpython-313/c-ext/backend_c.o -DZSTD_SINGLE_FILE -DZSTDLIB_VISIBLE= -DZDICTLIB_VISIBLE= -DZSTDERRORLIB_VISIBLE= -fvisibility=hidden
c-ext/backend_c.c: In function ‘safe_pybytes_resize’:
c-ext/backend_c.c:316:15: error: ‘PyObject’ {aka ‘struct _object’} has no member named ‘ob_refcnt’
316 | if ((*obj)->ob_refcnt == 1) {
| ^~
error: command '/usr/bin/cc' 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 zstandard
ERROR: Failed to build installable wheels for some pyproject.toml based projects (aiohttp, orjson, zstandard)
error: subprocess-exited-with-error
× Building wheel for tiktoken (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [73 lines of output]
/tmp/pip-build-env-eakt0um4/overlay/lib/python3.13t/site-packages/setuptools/config/_apply_pyprojecttoml.py:82: SetuptoolsDeprecationWarning: `project.license` as a TOML table is deprecated
!!
********************************************************************************
Please use a simple string containing a SPDX expression for `project.license`. You can also use `project.license-files`. (Both options available on setuptools>=77.0.0).
By 2026-Feb-18, you need to update your project and remove deprecated calls
or your builds will no longer be supported.
See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
********************************************************************************
!!
corresp(dist, value, root_dir)
running bdist_wheel
running build
running build_py
creating build/lib.linux-x86_64-cpython-313t/tiktoken
copying tiktoken/__init__.py -> build/lib.linux-x86_64-cpython-313t/tiktoken
copying tiktoken/_educational.py -> build/lib.linux-x86_64-cpython-313t/tiktoken
copying tiktoken/core.py -> build/lib.linux-x86_64-cpython-313t/tiktoken
copying tiktoken/load.py -> build/lib.linux-x86_64-cpython-313t/tiktoken
copying tiktoken/model.py -> build/lib.linux-x86_64-cpython-313t/tiktoken
copying tiktoken/registry.py -> build/lib.linux-x86_64-cpython-313t/tiktoken
creating build/lib.linux-x86_64-cpython-313t/tiktoken_ext
copying tiktoken_ext/openai_public.py -> build/lib.linux-x86_64-cpython-313t/tiktoken_ext
running egg_info
writing tiktoken.egg-info/PKG-INFO
writing dependency_links to tiktoken.egg-info/dependency_links.txt
writing requirements to tiktoken.egg-info/requires.txt
writing top-level names to tiktoken.egg-info/top_level.txt
reading manifest file 'tiktoken.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching 'Makefile'
adding license file 'LICENSE'
writing manifest file 'tiktoken.egg-info/SOURCES.txt'
copying tiktoken/py.typed -> build/lib.linux-x86_64-cpython-313t/tiktoken
running build_ext
running build_rust
Updating crates.io index
Downloading crates ...
Downloaded bit-set v0.5.3
Downloaded bit-vec v0.6.3
Downloaded rustc-hash v1.1.0
Downloaded quote v1.0.40
Downloaded proc-macro2 v1.0.95
Downloaded fancy-regex v0.13.0
Downloaded unicode-ident v1.0.18
Downloaded serde_derive v1.0.219
Downloaded serde v1.0.219
Downloaded memchr v2.7.4
Downloaded aho-corasick v1.1.3
Downloaded regex v1.11.1
Downloaded syn v2.0.101
Downloaded regex-syntax v0.8.5
Downloaded bstr v1.12.0
Downloaded regex-automata v0.4.9
cargo rustc --lib --message-format=json-render-diagnostics --manifest-path Cargo.toml --release -v --features pyo3/extension-module python -- --crate-type cdylib
Downloading crates ...
Downloaded unindent v0.2.4
Downloaded pyo3-macros v0.22.6
Downloaded indoc v2.0.6
Downloaded once_cell v1.21.3
Downloaded pyo3-build-config v0.22.6
Downloaded pyo3-macros-backend v0.22.6
Downloaded pyo3-ffi v0.22.6
Downloaded pyo3 v0.22.6
Downloaded libc v0.2.172
error: package `once_cell v1.21.3` cannot be built because it requires rustc 1.65 or newer, while the currently active rustc version is 1.63.0
Either upgrade to rustc 1.65 or newer, or use
cargo update -p once_cell@1.21.3 --precise ver
where `ver` is the latest version of `once_cell` supporting rustc 1.63.0
error: `cargo rustc --lib --message-format=json-render-diagnostics --manifest-path Cargo.toml --release -v --features 'pyo3/extension-module python' -- --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 tiktoken
ERROR: Failed to build installable wheels for some pyproject.toml based projects (tiktoken)
xx9f8gu1/overlay/lib/python3.13t/site-packages/setuptools/_distutils/spawn.py", line 93, in spawn
raise DistutilsExecError(
f"command {_debug(cmd)!r} failed with exit code {err.returncode}"
) from err
distutils.errors.DistutilsExecError: command '/usr/bin/c++' failed with exit code 1
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/tmp/pip-install-u0a3upst/grpcio_93a5a5d852fd4b9b8b9cd20e23f0530a/src/python/grpcio/commands.py", line 282, in build_extensions
build_ext.build_ext.build_extensions(self)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^
File "/tmp/pip-build-env-xx9f8gu1/overlay/lib/python3.13t/site-packages/setuptools/_distutils/command/build_ext.py", line 484, in build_extensions
self._build_extensions_serial()
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/tmp/pip-build-env-xx9f8gu1/overlay/lib/python3.13t/site-packages/setuptools/_distutils/command/build_ext.py", line 510, in _build_extensions_serial
self.build_extension(ext)
~~~~~~~~~~~~~~~~~~~~^^^^^
File "/tmp/pip-build-env-xx9f8gu1/overlay/lib/python3.13t/site-packages/setuptools/command/build_ext.py", line 264, in build_extension
_build_ext.build_extension(self, ext)
~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^
File "/tmp/pip-build-env-xx9f8gu1/overlay/lib/python3.13t/site-packages/setuptools/_distutils/command/build_ext.py", line 565, in build_extension
objects = self.compiler.compile(
sources,
...<5 lines>...
depends=ext.depends,
)
File "/tmp/pip-install-u0a3upst/grpcio_93a5a5d852fd4b9b8b9cd20e23f0530a/src/python/grpcio/_parallel_compile_patch.py", line 70, in _parallel_compile
multiprocessing.pool.ThreadPool(BUILD_EXT_COMPILER_JOBS).map(
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
_compile_single_file, objects
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/root/.local/share/uv/python/cpython-3.13.3+freethreaded-linux-x86_64-gnu/lib/python3.13t/multiprocessing/pool.py", line 367, in map
return self._map_async(func, iterable, mapstar, chunksize).get()
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/root/.local/share/uv/python/cpython-3.13.3+freethreaded-linux-x86_64-gnu/lib/python3.13t/multiprocessing/pool.py", line 774, in get
raise self._value
File "/root/.local/share/uv/python/cpython-3.13.3+freethreaded-linux-x86_64-gnu/lib/python3.13t/multiprocessing/pool.py", line 125, in worker
result = (True, func(*args, **kwds))
~~~~^^^^^^^^^^^^^^^
File "/root/.local/share/uv/python/cpython-3.13.3+freethreaded-linux-x86_64-gnu/lib/python3.13t/multiprocessing/pool.py", line 48, in mapstar
return list(map(*args))
File "/tmp/pip-install-u0a3upst/grpcio_93a5a5d852fd4b9b8b9cd20e23f0530a/src/python/grpcio/_parallel_compile_patch.py", line 65, in _compile_single_file
self._compile(obj, src, ext, cc_args, extra_postargs, pp_opts)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/tmp/pip-install-u0a3upst/grpcio_93a5a5d852fd4b9b8b9cd20e23f0530a/src/python/grpcio/commands.py", line 264, in new_compile
return old_compile(obj, src, ext, cc_args, extra_postargs, pp_opts)
File "/tmp/pip-build-env-xx9f8gu1/overlay/lib/python3.13t/site-packages/setuptools/_distutils/compilers/C/unix.py", line 223, in _compile
raise CompileError(msg)
distutils.compilers.C.errors.CompileError: command '/usr/bin/c++' failed with exit code 1
Exception ignored in: <function Pool.__del__ at 0x4ed860ad980>
Traceback (most recent call last):
File "/root/.local/share/uv/python/cpython-3.13.3+freethreaded-linux-x86_64-gnu/lib/python3.13t/multiprocessing/pool.py", line 271, in __del__
File "/root/.local/share/uv/python/cpython-3.13.3+freethreaded-linux-x86_64-gnu/lib/python3.13t/multiprocessing/queues.py", line 397, in put
File "/root/.local/share/uv/python/cpython-3.13.3+freethreaded-linux-x86_64-gnu/lib/python3.13t/multiprocessing/connection.py", line 200, in send_bytes
File "/root/.local/share/uv/python/cpython-3.13.3+freethreaded-linux-x86_64-gnu/lib/python3.13t/multiprocessing/connection.py", line 427, in _send_bytes
File "/root/.local/share/uv/python/cpython-3.13.3+freethreaded-linux-x86_64-gnu/lib/python3.13t/multiprocessing/connection.py", line 384, in _send
BrokenPipeError: [Errno 32] Broken pipe
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for grpcio
ERROR: Failed to build installable wheels for some pyproject.toml based projects (grpcio)
qypay4of/overlay/lib/python3.13t/site-packages/setuptools/_distutils/spawn.py", line 93, in spawn
raise DistutilsExecError(
f"command {_debug(cmd)!r} failed with exit code {err.returncode}"
) from err
distutils.errors.DistutilsExecError: command '/usr/bin/c++' failed with exit code 1
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/tmp/pip-install-g_kwjh5v/grpcio_1fc63c87c0b94ab5bced65d75ec8906b/src/python/grpcio/commands.py", line 282, in build_extensions
build_ext.build_ext.build_extensions(self)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^
File "/tmp/pip-build-env-qypay4of/overlay/lib/python3.13t/site-packages/setuptools/_distutils/command/build_ext.py", line 484, in build_extensions
self._build_extensions_serial()
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/tmp/pip-build-env-qypay4of/overlay/lib/python3.13t/site-packages/setuptools/_distutils/command/build_ext.py", line 510, in _build_extensions_serial
self.build_extension(ext)
~~~~~~~~~~~~~~~~~~~~^^^^^
File "/tmp/pip-build-env-qypay4of/overlay/lib/python3.13t/site-packages/setuptools/command/build_ext.py", line 264, in build_extension
_build_ext.build_extension(self, ext)
~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^
File "/tmp/pip-build-env-qypay4of/overlay/lib/python3.13t/site-packages/setuptools/_distutils/command/build_ext.py", line 565, in build_extension
objects = self.compiler.compile(
sources,
...<5 lines>...
depends=ext.depends,
)
File "/tmp/pip-install-g_kwjh5v/grpcio_1fc63c87c0b94ab5bced65d75ec8906b/src/python/grpcio/_parallel_compile_patch.py", line 70, in _parallel_compile
multiprocessing.pool.ThreadPool(BUILD_EXT_COMPILER_JOBS).map(
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
_compile_single_file, objects
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/root/.local/share/uv/python/cpython-3.13.3+freethreaded-linux-x86_64-gnu/lib/python3.13t/multiprocessing/pool.py", line 367, in map
return self._map_async(func, iterable, mapstar, chunksize).get()
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/root/.local/share/uv/python/cpython-3.13.3+freethreaded-linux-x86_64-gnu/lib/python3.13t/multiprocessing/pool.py", line 774, in get
raise self._value
File "/root/.local/share/uv/python/cpython-3.13.3+freethreaded-linux-x86_64-gnu/lib/python3.13t/multiprocessing/pool.py", line 125, in worker
result = (True, func(*args, **kwds))
~~~~^^^^^^^^^^^^^^^
File "/root/.local/share/uv/python/cpython-3.13.3+freethreaded-linux-x86_64-gnu/lib/python3.13t/multiprocessing/pool.py", line 48, in mapstar
return list(map(*args))
File "/tmp/pip-install-g_kwjh5v/grpcio_1fc63c87c0b94ab5bced65d75ec8906b/src/python/grpcio/_parallel_compile_patch.py", line 65, in _compile_single_file
self._compile(obj, src, ext, cc_args, extra_postargs, pp_opts)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/tmp/pip-install-g_kwjh5v/grpcio_1fc63c87c0b94ab5bced65d75ec8906b/src/python/grpcio/commands.py", line 264, in new_compile
return old_compile(obj, src, ext, cc_args, extra_postargs, pp_opts)
File "/tmp/pip-build-env-qypay4of/overlay/lib/python3.13t/site-packages/setuptools/_distutils/compilers/C/unix.py", line 223, in _compile
raise CompileError(msg)
distutils.compilers.C.errors.CompileError: command '/usr/bin/c++' failed with exit code 1
Exception ignored in: <function Pool.__del__ at 0x578740ad980>
Traceback (most recent call last):
File "/root/.local/share/uv/python/cpython-3.13.3+freethreaded-linux-x86_64-gnu/lib/python3.13t/multiprocessing/pool.py", line 271, in __del__
File "/root/.local/share/uv/python/cpython-3.13.3+freethreaded-linux-x86_64-gnu/lib/python3.13t/multiprocessing/queues.py", line 397, in put
File "/root/.local/share/uv/python/cpython-3.13.3+freethreaded-linux-x86_64-gnu/lib/python3.13t/multiprocessing/connection.py", line 200, in send_bytes
File "/root/.local/share/uv/python/cpython-3.13.3+freethreaded-linux-x86_64-gnu/lib/python3.13t/multiprocessing/connection.py", line 427, in _send_bytes
File "/root/.local/share/uv/python/cpython-3.13.3+freethreaded-linux-x86_64-gnu/lib/python3.13t/multiprocessing/connection.py", line 384, in _send
BrokenPipeError: [Errno 32] Broken pipe
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for grpcio
ERROR: Failed to build installable wheels for some pyproject.toml based projects (grpcio)
andom__mt19937.pyx.c.o -MF numpy/random/_mt19937.cpython-314t-x86_64-linux-gnu.so.p/meson-generated_numpy_random__mt19937.pyx.c.o.d -o numpy/random/_mt19937.cpython-314t-x86_64-linux-gnu.so.p/meson-generated_numpy_random__mt19937.pyx.c.o -c numpy/random/_mt19937.cpython-314t-x86_64-linux-gnu.so.p/numpy/random/_mt19937.pyx.c
numpy/random/_mt19937.cpython-314t-x86_64-linux-gnu.so.p/numpy/random/_mt19937.pyx.c:2358:80: error: unknown type name ‘__pyx_vectorcallfunc’; did you mean ‘vectorcallfunc’?
2358 | static CYTHON_INLINE PyObject *__Pyx_PyVectorcall_FastCallDict(PyObject *func, __pyx_vectorcallfunc vc, PyObject *const *args, size_t nargs, PyObject *kw);
| ^~~~~~~~~~~~~~~~~~~~
| vectorcallfunc
numpy/random/_mt19937.cpython-314t-x86_64-linux-gnu.so.p/numpy/random/_mt19937.pyx.c:11219:69: error: unknown type name ‘__pyx_vectorcallfunc’; did you mean ‘vectorcallfunc’?
11219 | static PyObject *__Pyx_PyVectorcall_FastCallDict_kw(PyObject *func, __pyx_vectorcallfunc vc, PyObject *const *args, size_t nargs, PyObject *kw)
| ^~~~~~~~~~~~~~~~~~~~
| vectorcallfunc
numpy/random/_mt19937.cpython-314t-x86_64-linux-gnu.so.p/numpy/random/_mt19937.pyx.c:11264:80: error: unknown type name ‘__pyx_vectorcallfunc’; did you mean ‘vectorcallfunc’?
11264 | static CYTHON_INLINE PyObject *__Pyx_PyVectorcall_FastCallDict(PyObject *func, __pyx_vectorcallfunc vc, PyObject *const *args, size_t nargs, PyObject *kw)
| ^~~~~~~~~~~~~~~~~~~~
| vectorcallfunc
numpy/random/_mt19937.cpython-314t-x86_64-linux-gnu.so.p/numpy/random/_mt19937.pyx.c: In function ‘__Pyx_CyFunction_CallAsMethod’:
numpy/random/_mt19937.cpython-314t-x86_64-linux-gnu.so.p/numpy/random/_mt19937.pyx.c:11953:6: error: unknown type name ‘__pyx_vectorcallfunc’; did you mean ‘vectorcallfunc’?
11953 | __pyx_vectorcallfunc vc = __Pyx_CyFunction_func_vectorcall(cyfunc);
| ^~~~~~~~~~~~~~~~~~~~
| vectorcallfunc
numpy/random/_mt19937.cpython-314t-x86_64-linux-gnu.so.p/numpy/random/_mt19937.pyx.c:2448:45: warning: initialization of ‘int’ from ‘vectorcallfunc’ {aka ‘struct _object * (*)(struct _object *, struct _object * const*, long unsigned int, struct _object *)’} makes integer from pointer without a cast [-Wint-conversion]
2448 | #define __Pyx_CyFunction_func_vectorcall(f) (((PyCFunctionObject*)f)->vectorcall)
| ^
numpy/random/_mt19937.cpython-314t-x86_64-linux-gnu.so.p/numpy/random/_mt19937.pyx.c:11953:32: note: in expansion of macro ‘__Pyx_CyFunction_func_vectorcall’
11953 | __pyx_vectorcallfunc vc = __Pyx_CyFunction_func_vectorcall(cyfunc);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
numpy/random/_mt19937.cpython-314t-x86_64-linux-gnu.so.p/numpy/random/_mt19937.pyx.c:11956:16: warning: implicit declaration of function ‘__Pyx_PyVectorcall_FastCallDict’; did you mean ‘__Pyx_PyObject_FastCallDict’? [-Wimplicit-function-declaration]
11956 | return __Pyx_PyVectorcall_FastCallDict(func, vc, &PyTuple_GET_ITEM(args, 0), (size_t)PyTuple_GET_SIZE(args), kw);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| __Pyx_PyObject_FastCallDict
numpy/random/_mt19937.cpython-314t-x86_64-linux-gnu.so.p/numpy/random/_mt19937.pyx.c:11956:16: warning: returning ‘int’ from a function with return type ‘PyObject *’ {aka ‘struct _object *’} makes pointer from integer without a cast [-Wint-conversion]
11956 | return __Pyx_PyVectorcall_FastCallDict(func, vc, &PyTuple_GET_ITEM(args, 0), (size_t)PyTuple_GET_SIZE(args), kw);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[501/530] Compiling C object numpy/random/_bounded_integers.cpython-314t-x86_64-linux-gnu.so.p/meson-generated_numpy_random__bounded_integers.pyx.c.o
[502/530] Compiling C object numpy/random/_common.cpython-314t-x86_64-linux-gnu.so.p/meson-generated_numpy_random__common.pyx.c.o
ninja: build stopped: subcommand failed.
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
error: subprocess-exited-with-error
× Preparing metadata (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [10 lines of output]
Checking for Rust toolchain....
Running `maturin pep517 write-dist-info --metadata-directory /tmp/pip-modern-metadata-vi62advo --interpreter /tmp/tmpcwnjt6ol/venv/bin/python`
error: failed to parse lock file at: /tmp/pip-install-mhfpn55w/rpds-py_8562e74feb4649828a3611c202ac7e8b/Cargo.lock
Caused by:
lock file version `4` was found, but this version of Cargo does not understand this lock file, perhaps Cargo needs to be updated?
💥 maturin failed
Caused by: Cargo metadata failed. Does your crate compile with `cargo build`?
Caused by: `cargo metadata` exited with an error:
Error running maturin: Command '['maturin', 'pep517', 'write-dist-info', '--metadata-directory', '/tmp/pip-modern-metadata-vi62advo', '--interpreter', '/tmp/tmpcwnjt6ol/venv/bin/python']' 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: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
andom__mt19937.pyx.c.o -MF numpy/random/_mt19937.cpython-314t-x86_64-linux-gnu.so.p/meson-generated_numpy_random__mt19937.pyx.c.o.d -o numpy/random/_mt19937.cpython-314t-x86_64-linux-gnu.so.p/meson-generated_numpy_random__mt19937.pyx.c.o -c numpy/random/_mt19937.cpython-314t-x86_64-linux-gnu.so.p/numpy/random/_mt19937.pyx.c
numpy/random/_mt19937.cpython-314t-x86_64-linux-gnu.so.p/numpy/random/_mt19937.pyx.c:2358:80: error: unknown type name ‘__pyx_vectorcallfunc’; did you mean ‘vectorcallfunc’?
2358 | static CYTHON_INLINE PyObject *__Pyx_PyVectorcall_FastCallDict(PyObject *func, __pyx_vectorcallfunc vc, PyObject *const *args, size_t nargs, PyObject *kw);
| ^~~~~~~~~~~~~~~~~~~~
| vectorcallfunc
numpy/random/_mt19937.cpython-314t-x86_64-linux-gnu.so.p/numpy/random/_mt19937.pyx.c:11219:69: error: unknown type name ‘__pyx_vectorcallfunc’; did you mean ‘vectorcallfunc’?
11219 | static PyObject *__Pyx_PyVectorcall_FastCallDict_kw(PyObject *func, __pyx_vectorcallfunc vc, PyObject *const *args, size_t nargs, PyObject *kw)
| ^~~~~~~~~~~~~~~~~~~~
| vectorcallfunc
numpy/random/_mt19937.cpython-314t-x86_64-linux-gnu.so.p/numpy/random/_mt19937.pyx.c:11264:80: error: unknown type name ‘__pyx_vectorcallfunc’; did you mean ‘vectorcallfunc’?
11264 | static CYTHON_INLINE PyObject *__Pyx_PyVectorcall_FastCallDict(PyObject *func, __pyx_vectorcallfunc vc, PyObject *const *args, size_t nargs, PyObject *kw)
| ^~~~~~~~~~~~~~~~~~~~
| vectorcallfunc
numpy/random/_mt19937.cpython-314t-x86_64-linux-gnu.so.p/numpy/random/_mt19937.pyx.c: In function ‘__Pyx_CyFunction_CallAsMethod’:
numpy/random/_mt19937.cpython-314t-x86_64-linux-gnu.so.p/numpy/random/_mt19937.pyx.c:11953:6: error: unknown type name ‘__pyx_vectorcallfunc’; did you mean ‘vectorcallfunc’?
11953 | __pyx_vectorcallfunc vc = __Pyx_CyFunction_func_vectorcall(cyfunc);
| ^~~~~~~~~~~~~~~~~~~~
| vectorcallfunc
numpy/random/_mt19937.cpython-314t-x86_64-linux-gnu.so.p/numpy/random/_mt19937.pyx.c:2448:45: warning: initialization of ‘int’ from ‘vectorcallfunc’ {aka ‘struct _object * (*)(struct _object *, struct _object * const*, long unsigned int, struct _object *)’} makes integer from pointer without a cast [-Wint-conversion]
2448 | #define __Pyx_CyFunction_func_vectorcall(f) (((PyCFunctionObject*)f)->vectorcall)
| ^
numpy/random/_mt19937.cpython-314t-x86_64-linux-gnu.so.p/numpy/random/_mt19937.pyx.c:11953:32: note: in expansion of macro ‘__Pyx_CyFunction_func_vectorcall’
11953 | __pyx_vectorcallfunc vc = __Pyx_CyFunction_func_vectorcall(cyfunc);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
numpy/random/_mt19937.cpython-314t-x86_64-linux-gnu.so.p/numpy/random/_mt19937.pyx.c:11956:16: warning: implicit declaration of function ‘__Pyx_PyVectorcall_FastCallDict’; did you mean ‘__Pyx_PyObject_FastCallDict’? [-Wimplicit-function-declaration]
11956 | return __Pyx_PyVectorcall_FastCallDict(func, vc, &PyTuple_GET_ITEM(args, 0), (size_t)PyTuple_GET_SIZE(args), kw);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| __Pyx_PyObject_FastCallDict
numpy/random/_mt19937.cpython-314t-x86_64-linux-gnu.so.p/numpy/random/_mt19937.pyx.c:11956:16: warning: returning ‘int’ from a function with return type ‘PyObject *’ {aka ‘struct _object *’} makes pointer from integer without a cast [-Wint-conversion]
11956 | return __Pyx_PyVectorcall_FastCallDict(func, vc, &PyTuple_GET_ITEM(args, 0), (size_t)PyTuple_GET_SIZE(args), kw);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[501/530] Compiling C object numpy/random/_common.cpython-314t-x86_64-linux-gnu.so.p/meson-generated_numpy_random__common.pyx.c.o
[502/530] Compiling C object numpy/random/_bounded_integers.cpython-314t-x86_64-linux-gnu.so.p/meson-generated_numpy_random__bounded_integers.pyx.c.o
ninja: build stopped: subcommand failed.
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
error: subprocess-exited-with-error
× Building wheel for tiktoken (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [69 lines of output]
/tmp/pip-build-env-9uo4i8yq/overlay/lib/python3.14t/site-packages/setuptools/config/_apply_pyprojecttoml.py:82: SetuptoolsDeprecationWarning: `project.license` as a TOML table is deprecated
!!
********************************************************************************
Please use a simple string containing a SPDX expression for `project.license`. You can also use `project.license-files`. (Both options available on setuptools>=77.0.0).
By 2026-Feb-18, you need to update your project and remove deprecated calls
or your builds will no longer be supported.
See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
********************************************************************************
!!
corresp(dist, value, root_dir)
running bdist_wheel
running build
running build_py
creating build/lib.linux-x86_64-cpython-314t/tiktoken
copying tiktoken/__init__.py -> build/lib.linux-x86_64-cpython-314t/tiktoken
copying tiktoken/_educational.py -> build/lib.linux-x86_64-cpython-314t/tiktoken
copying tiktoken/core.py -> build/lib.linux-x86_64-cpython-314t/tiktoken
copying tiktoken/load.py -> build/lib.linux-x86_64-cpython-314t/tiktoken
copying tiktoken/model.py -> build/lib.linux-x86_64-cpython-314t/tiktoken
copying tiktoken/registry.py -> build/lib.linux-x86_64-cpython-314t/tiktoken
creating build/lib.linux-x86_64-cpython-314t/tiktoken_ext
copying tiktoken_ext/openai_public.py -> build/lib.linux-x86_64-cpython-314t/tiktoken_ext
running egg_info
writing tiktoken.egg-info/PKG-INFO
writing dependency_links to tiktoken.egg-info/dependency_links.txt
writing requirements to tiktoken.egg-info/requires.txt
writing top-level names to tiktoken.egg-info/top_level.txt
reading manifest file 'tiktoken.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching 'Makefile'
adding license file 'LICENSE'
writing manifest file 'tiktoken.egg-info/SOURCES.txt'
copying tiktoken/py.typed -> build/lib.linux-x86_64-cpython-314t/tiktoken
running build_ext
running build_rust
Updating crates.io index
Downloading crates ...
Downloaded bit-set v0.5.3
Downloaded bit-vec v0.6.3
Downloaded rustc-hash v1.1.0
Downloaded unicode-ident v1.0.18
Downloaded serde_derive v1.0.219
Downloaded serde v1.0.219
Downloaded fancy-regex v0.13.0
Downloaded proc-macro2 v1.0.95
Downloaded quote v1.0.40
Downloaded syn v2.0.101
Downloaded regex-automata v0.4.9
Downloaded bstr v1.12.0
cargo rustc --lib --message-format=json-render-diagnostics --manifest-path Cargo.toml --release -v --features python pyo3/extension-module -- --crate-type cdylib
Downloading crates ...
Downloaded unindent v0.2.4
Downloaded pyo3-macros v0.22.6
Downloaded pyo3-build-config v0.22.6
Downloaded indoc v2.0.6
Downloaded once_cell v1.21.3
Downloaded pyo3-ffi v0.22.6
Downloaded pyo3-macros-backend v0.22.6
Downloaded pyo3 v0.22.6
Downloaded libc v0.2.172
error: package `regex-automata v0.4.9` cannot be built because it requires rustc 1.65 or newer, while the currently active rustc version is 1.63.0
Either upgrade to rustc 1.65 or newer, or use
cargo update -p regex-automata@0.4.9 --precise ver
where `ver` is the latest version of `regex-automata` supporting rustc 1.63.0
error: `cargo rustc --lib --message-format=json-render-diagnostics --manifest-path Cargo.toml --release -v --features 'python 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 tiktoken
ERROR: Failed to build installable wheels for some pyproject.toml based projects (tiktoken)
ck (most recent call last):
File "/tmp/pip-build-env-lyks6tbi/overlay/lib/python3.14t/site-packages/setuptools/_distutils/compilers/C/unix.py", line 217, in _compile
self.spawn(
~~~~~~~~~~^
compiler_so_cxx + cc_args + [src, '-o', obj] + extra_postargs
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/tmp/pip-install-62uzm4sh/grpcio_912ea332c2ef44078c67266c1f7a7a39/src/python/grpcio/_spawn_patch.py", line 66, in _commandfile_spawn
_classic_spawn(self, command, **kwargs)
~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^
File "/tmp/pip-build-env-lyks6tbi/overlay/lib/python3.14t/site-packages/setuptools/_distutils/compilers/C/base.py", line 1158, in spawn
spawn(cmd, dry_run=self.dry_run, **kwargs)
~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/tmp/pip-build-env-lyks6tbi/overlay/lib/python3.14t/site-packages/setuptools/_distutils/spawn.py", line 93, in spawn
raise DistutilsExecError(
f"command {_debug(cmd)!r} failed with exit code {err.returncode}"
) from err
distutils.errors.DistutilsExecError: command '/usr/bin/c++' failed with exit code 1
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/tmp/pip-install-62uzm4sh/grpcio_912ea332c2ef44078c67266c1f7a7a39/src/python/grpcio/commands.py", line 282, in build_extensions
build_ext.build_ext.build_extensions(self)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^
File "/tmp/pip-build-env-lyks6tbi/overlay/lib/python3.14t/site-packages/setuptools/_distutils/command/build_ext.py", line 484, in build_extensions
self._build_extensions_serial()
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/tmp/pip-build-env-lyks6tbi/overlay/lib/python3.14t/site-packages/setuptools/_distutils/command/build_ext.py", line 510, in _build_extensions_serial
self.build_extension(ext)
~~~~~~~~~~~~~~~~~~~~^^^^^
File "/tmp/pip-build-env-lyks6tbi/overlay/lib/python3.14t/site-packages/setuptools/command/build_ext.py", line 264, in build_extension
_build_ext.build_extension(self, ext)
~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^
File "/tmp/pip-build-env-lyks6tbi/overlay/lib/python3.14t/site-packages/setuptools/_distutils/command/build_ext.py", line 565, in build_extension
objects = self.compiler.compile(
sources,
...<5 lines>...
depends=ext.depends,
)
File "/tmp/pip-install-62uzm4sh/grpcio_912ea332c2ef44078c67266c1f7a7a39/src/python/grpcio/_parallel_compile_patch.py", line 70, in _parallel_compile
multiprocessing.pool.ThreadPool(BUILD_EXT_COMPILER_JOBS).map(
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
_compile_single_file, objects
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/root/.local/share/uv/python/cpython-3.14.0a6+freethreaded-linux-x86_64-gnu/lib/python3.14t/multiprocessing/pool.py", line 367, in map
return self._map_async(func, iterable, mapstar, chunksize).get()
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/root/.local/share/uv/python/cpython-3.14.0a6+freethreaded-linux-x86_64-gnu/lib/python3.14t/multiprocessing/pool.py", line 774, in get
raise self._value
File "/root/.local/share/uv/python/cpython-3.14.0a6+freethreaded-linux-x86_64-gnu/lib/python3.14t/multiprocessing/pool.py", line 125, in worker
result = (True, func(*args, **kwds))
~~~~^^^^^^^^^^^^^^^
File "/root/.local/share/uv/python/cpython-3.14.0a6+freethreaded-linux-x86_64-gnu/lib/python3.14t/multiprocessing/pool.py", line 48, in mapstar
return list(map(*args))
File "/tmp/pip-install-62uzm4sh/grpcio_912ea332c2ef44078c67266c1f7a7a39/src/python/grpcio/_parallel_compile_patch.py", line 65, in _compile_single_file
self._compile(obj, src, ext, cc_args, extra_postargs, pp_opts)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/tmp/pip-install-62uzm4sh/grpcio_912ea332c2ef44078c67266c1f7a7a39/src/python/grpcio/commands.py", line 264, in new_compile
return old_compile(obj, src, ext, cc_args, extra_postargs, pp_opts)
File "/tmp/pip-build-env-lyks6tbi/overlay/lib/python3.14t/site-packages/setuptools/_distutils/compilers/C/unix.py", line 223, in _compile
raise CompileError(msg)
distutils.compilers.C.errors.CompileError: command '/usr/bin/c++' 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 grpcio
ERROR: Failed to build installable wheels for some pyproject.toml based projects (grpcio)
ck (most recent call last):
File "/tmp/pip-build-env-0nd5vm9j/overlay/lib/python3.14t/site-packages/setuptools/_distutils/compilers/C/unix.py", line 217, in _compile
self.spawn(
~~~~~~~~~~^
compiler_so_cxx + cc_args + [src, '-o', obj] + extra_postargs
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/tmp/pip-install-3ld1rk9c/grpcio_00ca4b066cb342378f27ec8ef783643e/src/python/grpcio/_spawn_patch.py", line 66, in _commandfile_spawn
_classic_spawn(self, command, **kwargs)
~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^
File "/tmp/pip-build-env-0nd5vm9j/overlay/lib/python3.14t/site-packages/setuptools/_distutils/compilers/C/base.py", line 1158, in spawn
spawn(cmd, dry_run=self.dry_run, **kwargs)
~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/tmp/pip-build-env-0nd5vm9j/overlay/lib/python3.14t/site-packages/setuptools/_distutils/spawn.py", line 93, in spawn
raise DistutilsExecError(
f"command {_debug(cmd)!r} failed with exit code {err.returncode}"
) from err
distutils.errors.DistutilsExecError: command '/usr/bin/c++' failed with exit code 1
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/tmp/pip-install-3ld1rk9c/grpcio_00ca4b066cb342378f27ec8ef783643e/src/python/grpcio/commands.py", line 282, in build_extensions
build_ext.build_ext.build_extensions(self)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^
File "/tmp/pip-build-env-0nd5vm9j/overlay/lib/python3.14t/site-packages/setuptools/_distutils/command/build_ext.py", line 484, in build_extensions
self._build_extensions_serial()
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/tmp/pip-build-env-0nd5vm9j/overlay/lib/python3.14t/site-packages/setuptools/_distutils/command/build_ext.py", line 510, in _build_extensions_serial
self.build_extension(ext)
~~~~~~~~~~~~~~~~~~~~^^^^^
File "/tmp/pip-build-env-0nd5vm9j/overlay/lib/python3.14t/site-packages/setuptools/command/build_ext.py", line 264, in build_extension
_build_ext.build_extension(self, ext)
~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^
File "/tmp/pip-build-env-0nd5vm9j/overlay/lib/python3.14t/site-packages/setuptools/_distutils/command/build_ext.py", line 565, in build_extension
objects = self.compiler.compile(
sources,
...<5 lines>...
depends=ext.depends,
)
File "/tmp/pip-install-3ld1rk9c/grpcio_00ca4b066cb342378f27ec8ef783643e/src/python/grpcio/_parallel_compile_patch.py", line 70, in _parallel_compile
multiprocessing.pool.ThreadPool(BUILD_EXT_COMPILER_JOBS).map(
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
_compile_single_file, objects
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/root/.local/share/uv/python/cpython-3.14.0a6+freethreaded-linux-x86_64-gnu/lib/python3.14t/multiprocessing/pool.py", line 367, in map
return self._map_async(func, iterable, mapstar, chunksize).get()
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/root/.local/share/uv/python/cpython-3.14.0a6+freethreaded-linux-x86_64-gnu/lib/python3.14t/multiprocessing/pool.py", line 774, in get
raise self._value
File "/root/.local/share/uv/python/cpython-3.14.0a6+freethreaded-linux-x86_64-gnu/lib/python3.14t/multiprocessing/pool.py", line 125, in worker
result = (True, func(*args, **kwds))
~~~~^^^^^^^^^^^^^^^
File "/root/.local/share/uv/python/cpython-3.14.0a6+freethreaded-linux-x86_64-gnu/lib/python3.14t/multiprocessing/pool.py", line 48, in mapstar
return list(map(*args))
File "/tmp/pip-install-3ld1rk9c/grpcio_00ca4b066cb342378f27ec8ef783643e/src/python/grpcio/_parallel_compile_patch.py", line 65, in _compile_single_file
self._compile(obj, src, ext, cc_args, extra_postargs, pp_opts)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/tmp/pip-install-3ld1rk9c/grpcio_00ca4b066cb342378f27ec8ef783643e/src/python/grpcio/commands.py", line 264, in new_compile
return old_compile(obj, src, ext, cc_args, extra_postargs, pp_opts)
File "/tmp/pip-build-env-0nd5vm9j/overlay/lib/python3.14t/site-packages/setuptools/_distutils/compilers/C/unix.py", line 223, in _compile
raise CompileError(msg)
distutils.compilers.C.errors.CompileError: command '/usr/bin/c++' 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 grpcio
ERROR: Failed to build installable wheels for some pyproject.toml based projects (grpcio)