Sourcing python-remove-tests-dir-hook Sourcing python-catch-conflicts-hook.sh Sourcing python-remove-bin-bytecode-hook.sh Sourcing pypa-build-hook Using pypaBuildPhase Sourcing python-runtime-deps-check-hook Using pythonRuntimeDepsCheckHook Sourcing pypa-install-hook Using pypaInstallPhase Sourcing python-imports-check-hook.sh Using pythonImportsCheckPhase Sourcing python-namespaces-hook Sourcing python-catch-conflicts-hook.sh Sourcing pytest-check-hook Using pytestCheckPhase Running phase: unpackPhase unpacking source archive /nix/store/pw0vsgyvq5p68qmkbhsdhpbv0smm0n28-source source root is source setting SOURCE_DATE_EPOCH to timestamp 315619200 of file "source/tools/version.py" Running phase: patchPhase Running phase: updateAutotoolsGnuConfigScriptsPhase Running phase: configurePhase no configure script, doing nothing Running phase: buildPhase Executing pypaBuildPhase Creating a wheel... pypa build flags: --no-isolation --outdir dist/ --wheel * Getting build dependencies for wheel... running egg_info creating src/cffi.egg-info writing src/cffi.egg-info/PKG-INFO writing dependency_links to src/cffi.egg-info/dependency_links.txt writing entry points to src/cffi.egg-info/entry_points.txt writing requirements to src/cffi.egg-info/requires.txt writing top-level names to src/cffi.egg-info/top_level.txt writing manifest file 'src/cffi.egg-info/SOURCES.txt' reading manifest file 'src/cffi.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' adding license file 'AUTHORS' writing manifest file 'src/cffi.egg-info/SOURCES.txt' * Building wheel... running bdist_wheel running build running build_py creating build/lib.linux-x86_64-cpython-313/cffi copying src/cffi/recompiler.py -> build/lib.linux-x86_64-cpython-313/cffi copying src/cffi/__init__.py -> build/lib.linux-x86_64-cpython-313/cffi copying src/cffi/_shimmed_dist_utils.py -> build/lib.linux-x86_64-cpython-313/cffi copying src/cffi/api.py -> build/lib.linux-x86_64-cpython-313/cffi copying src/cffi/setuptools_ext.py -> build/lib.linux-x86_64-cpython-313/cffi copying src/cffi/ffiplatform.py -> build/lib.linux-x86_64-cpython-313/cffi copying src/cffi/vengine_cpy.py -> build/lib.linux-x86_64-cpython-313/cffi copying src/cffi/_imp_emulation.py -> build/lib.linux-x86_64-cpython-313/cffi copying src/cffi/commontypes.py -> build/lib.linux-x86_64-cpython-313/cffi copying src/cffi/vengine_gen.py -> build/lib.linux-x86_64-cpython-313/cffi copying src/cffi/model.py -> build/lib.linux-x86_64-cpython-313/cffi copying src/cffi/cffi_opcode.py -> build/lib.linux-x86_64-cpython-313/cffi copying src/cffi/lock.py -> build/lib.linux-x86_64-cpython-313/cffi copying src/cffi/pkgconfig.py -> build/lib.linux-x86_64-cpython-313/cffi copying src/cffi/cparser.py -> build/lib.linux-x86_64-cpython-313/cffi copying src/cffi/backend_ctypes.py -> build/lib.linux-x86_64-cpython-313/cffi copying src/cffi/verifier.py -> build/lib.linux-x86_64-cpython-313/cffi copying src/cffi/error.py -> build/lib.linux-x86_64-cpython-313/cffi running egg_info writing src/cffi.egg-info/PKG-INFO writing dependency_links to src/cffi.egg-info/dependency_links.txt writing entry points to src/cffi.egg-info/entry_points.txt writing requirements to src/cffi.egg-info/requires.txt writing top-level names to src/cffi.egg-info/top_level.txt reading manifest file 'src/cffi.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' adding license file 'AUTHORS' writing manifest file 'src/cffi.egg-info/SOURCES.txt' copying src/cffi/_cffi_errors.h -> build/lib.linux-x86_64-cpython-313/cffi copying src/cffi/_cffi_include.h -> build/lib.linux-x86_64-cpython-313/cffi copying src/cffi/_embedding.h -> build/lib.linux-x86_64-cpython-313/cffi copying src/cffi/parse_c_type.h -> build/lib.linux-x86_64-cpython-313/cffi running build_ext building '_cffi_backend' extension creating build/temp.linux-x86_64-cpython-313/src/c gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O3 -Wall -fPIC -DFFI_BUILDING=1 -DUSE__THREAD -DHAVE_SYNC_SYNCHRONIZE -I/nix/store/zzhz6gidzy0z13v2dnwf6arxdr64jvnz-libffi-3.5.2-dev/include -I/nix/store/hbx47g0ga6z3vw7nin4ghd6v741zbafa-python3-3.13.11/include/python3.13 -c src/c/_cffi_backend.c -o build/temp.linux-x86_64-cpython-313/src/c/_cffi_backend.o src/c/_cffi_backend.c: In function ‘b_do_dlopen’: src/c/_cffi_backend.c:4658:22: warning: ‘Py_FileSystemDefaultEncoding’ is deprecated [-Wdeprecated-declarations] 4658 | Py_FileSystemDefaultEncoding, &filename_or_null, &flags)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /nix/store/hbx47g0ga6z3vw7nin4ghd6v741zbafa-python3-3.13.11/include/python3.13/Python.h:100, from src/c/_cffi_backend.c:2: /nix/store/hbx47g0ga6z3vw7nin4ghd6v741zbafa-python3-3.13.11/include/python3.13/fileobject.h:22:46: note: declared here 22 | Py_DEPRECATED(3.12) PyAPI_DATA(const char *) Py_FileSystemDefaultEncoding; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/c/cffi1_module.c:3, from src/c/_cffi_backend.c:8173: src/c/realize_c_type.c: In function ‘init_global_types_dict’: src/c/realize_c_type.c:32:16: warning: unused variable ‘i’ [-Wunused-variable] 32 | Py_ssize_t i; | ^ In file included from /nix/store/hbx47g0ga6z3vw7nin4ghd6v741zbafa-python3-3.13.11/include/python3.13/Python.h:73: In function ‘Py_XDECREF’, inlined from ‘b_complete_struct_or_union_lock_held’ at src/c/_cffi_backend.c:5662:9: /nix/store/hbx47g0ga6z3vw7nin4ghd6v741zbafa-python3-3.13.11/include/python3.13/object.h:1041:8: warning: ‘interned_fields’ may be used uninitialized [-Wmaybe-uninitialized] 1041 | if (op != _Py_NULL) { | ^ src/c/_cffi_backend.c: In function ‘b_complete_struct_or_union_lock_held’: src/c/_cffi_backend.c:5307:15: note: ‘interned_fields’ was declared here 5307 | PyObject *interned_fields; | ^~~~~~~~~~~~~~~ gcc -shared -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-bzip2-1.0.8/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-libffi-3.5.2/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-util-linux-minimal-2.41.2-lib/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-ncurses-6.5/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-xz-5.8.1/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-zlib-1.3.1/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-openssl-3.6.0/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-sqlite-3.51.1/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-mpdecimal-4.0.1/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-expat-2.7.3/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-bluez-headers-5.84/lib -L/nix/store/bax6v5r5yb1yxpnh56i298vi80klzi1x-tzdata-2026f/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-gdbm-1.26-lib/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-readline-8.3p1/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-bzip2-1.0.8/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-libffi-3.5.2/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-util-linux-minimal-2.41.2-lib/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-ncurses-6.5/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-xz-5.8.1/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-zlib-1.3.1/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-openssl-3.6.0/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-sqlite-3.51.1/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-mpdecimal-4.0.1/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-expat-2.7.3/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-bluez-headers-5.84/lib -L/nix/store/bax6v5r5yb1yxpnh56i298vi80klzi1x-tzdata-2026f/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-gdbm-1.26-lib/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-readline-8.3p1/lib build/temp.linux-x86_64-cpython-313/src/c/_cffi_backend.o -L/nix/store/1dbmy70xgzs19kafsdcgliwxdpvq46a8-libffi-3.5.2/lib/../lib64 -L/nix/store/hbx47g0ga6z3vw7nin4ghd6v741zbafa-python3-3.13.11/lib -lffi -o build/lib.linux-x86_64-cpython-313/_cffi_backend.cpython-313-x86_64-linux-gnu.so installing to build/bdist.linux-x86_64/wheel running install running install_lib creating build/bdist.linux-x86_64/wheel creating build/bdist.linux-x86_64/wheel/cffi copying build/lib.linux-x86_64-cpython-313/cffi/recompiler.py -> build/bdist.linux-x86_64/wheel/./cffi copying build/lib.linux-x86_64-cpython-313/cffi/__init__.py -> build/bdist.linux-x86_64/wheel/./cffi copying build/lib.linux-x86_64-cpython-313/cffi/_shimmed_dist_utils.py -> build/bdist.linux-x86_64/wheel/./cffi copying build/lib.linux-x86_64-cpython-313/cffi/api.py -> build/bdist.linux-x86_64/wheel/./cffi copying build/lib.linux-x86_64-cpython-313/cffi/setuptools_ext.py -> build/bdist.linux-x86_64/wheel/./cffi copying build/lib.linux-x86_64-cpython-313/cffi/ffiplatform.py -> build/bdist.linux-x86_64/wheel/./cffi copying build/lib.linux-x86_64-cpython-313/cffi/vengine_cpy.py -> build/bdist.linux-x86_64/wheel/./cffi copying build/lib.linux-x86_64-cpython-313/cffi/_imp_emulation.py -> build/bdist.linux-x86_64/wheel/./cffi copying build/lib.linux-x86_64-cpython-313/cffi/commontypes.py -> build/bdist.linux-x86_64/wheel/./cffi copying build/lib.linux-x86_64-cpython-313/cffi/vengine_gen.py -> build/bdist.linux-x86_64/wheel/./cffi copying build/lib.linux-x86_64-cpython-313/cffi/model.py -> build/bdist.linux-x86_64/wheel/./cffi copying build/lib.linux-x86_64-cpython-313/cffi/cffi_opcode.py -> build/bdist.linux-x86_64/wheel/./cffi copying build/lib.linux-x86_64-cpython-313/cffi/lock.py -> build/bdist.linux-x86_64/wheel/./cffi copying build/lib.linux-x86_64-cpython-313/cffi/pkgconfig.py -> build/bdist.linux-x86_64/wheel/./cffi copying build/lib.linux-x86_64-cpython-313/cffi/cparser.py -> build/bdist.linux-x86_64/wheel/./cffi copying build/lib.linux-x86_64-cpython-313/cffi/backend_ctypes.py -> build/bdist.linux-x86_64/wheel/./cffi copying build/lib.linux-x86_64-cpython-313/cffi/parse_c_type.h -> build/bdist.linux-x86_64/wheel/./cffi copying build/lib.linux-x86_64-cpython-313/cffi/_embedding.h -> build/bdist.linux-x86_64/wheel/./cffi copying build/lib.linux-x86_64-cpython-313/cffi/_cffi_errors.h -> build/bdist.linux-x86_64/wheel/./cffi copying build/lib.linux-x86_64-cpython-313/cffi/_cffi_include.h -> build/bdist.linux-x86_64/wheel/./cffi copying build/lib.linux-x86_64-cpython-313/cffi/verifier.py -> build/bdist.linux-x86_64/wheel/./cffi copying build/lib.linux-x86_64-cpython-313/cffi/error.py -> build/bdist.linux-x86_64/wheel/./cffi copying build/lib.linux-x86_64-cpython-313/_cffi_backend.cpython-313-x86_64-linux-gnu.so -> build/bdist.linux-x86_64/wheel/. running install_egg_info Copying src/cffi.egg-info to build/bdist.linux-x86_64/wheel/./cffi-2.0.0-py3.13.egg-info running install_scripts creating build/bdist.linux-x86_64/wheel/cffi-2.0.0.dist-info/WHEEL creating '/build/source/dist/.tmp-dzhms8q9/cffi-2.0.0-cp313-cp313-linux_x86_64.whl' and adding 'build/bdist.linux-x86_64/wheel' to it adding '_cffi_backend.cpython-313-x86_64-linux-gnu.so' adding 'cffi/__init__.py' adding 'cffi/_cffi_errors.h' adding 'cffi/_cffi_include.h' adding 'cffi/_embedding.h' adding 'cffi/_imp_emulation.py' adding 'cffi/_shimmed_dist_utils.py' adding 'cffi/api.py' adding 'cffi/backend_ctypes.py' adding 'cffi/cffi_opcode.py' adding 'cffi/commontypes.py' adding 'cffi/cparser.py' adding 'cffi/error.py' adding 'cffi/ffiplatform.py' adding 'cffi/lock.py' adding 'cffi/model.py' adding 'cffi/parse_c_type.h' adding 'cffi/pkgconfig.py' adding 'cffi/recompiler.py' adding 'cffi/setuptools_ext.py' adding 'cffi/vengine_cpy.py' adding 'cffi/vengine_gen.py' adding 'cffi/verifier.py' adding 'cffi-2.0.0.dist-info/licenses/AUTHORS' adding 'cffi-2.0.0.dist-info/licenses/LICENSE' adding 'cffi-2.0.0.dist-info/METADATA' adding 'cffi-2.0.0.dist-info/WHEEL' adding 'cffi-2.0.0.dist-info/entry_points.txt' adding 'cffi-2.0.0.dist-info/top_level.txt' adding 'cffi-2.0.0.dist-info/RECORD' removing build/bdist.linux-x86_64/wheel Successfully built cffi-2.0.0-cp313-cp313-linux_x86_64.whl Finished creating a wheel... Finished executing pypaBuildPhase Running phase: pythonRuntimeDepsCheckHook Executing pythonRuntimeDepsCheck Checking runtime dependencies for cffi-2.0.0-cp313-cp313-linux_x86_64.whl Finished executing pythonRuntimeDepsCheck Running phase: installPhase Executing pypaInstallPhase Successfully installed cffi-2.0.0-cp313-cp313-linux_x86_64.whl Finished executing pypaInstallPhase Running phase: pythonOutputDistPhase Executing pythonOutputDistPhase Finished executing pythonOutputDistPhase Running phase: fixupPhase shrinking RPATHs of ELF executables and libraries in /nix/store/6s6hvl4vgzals2dydbc8rgwmjf73g004-python3.13-cffi-2.0.0 shrinking /nix/store/6s6hvl4vgzals2dydbc8rgwmjf73g004-python3.13-cffi-2.0.0/lib/python3.13/site-packages/_cffi_backend.cpython-313-x86_64-linux-gnu.so checking for references to /build/ in /nix/store/6s6hvl4vgzals2dydbc8rgwmjf73g004-python3.13-cffi-2.0.0... patching script interpreter paths in /nix/store/6s6hvl4vgzals2dydbc8rgwmjf73g004-python3.13-cffi-2.0.0 stripping (with command strip and flags -S -p) in /nix/store/6s6hvl4vgzals2dydbc8rgwmjf73g004-python3.13-cffi-2.0.0/lib shrinking RPATHs of ELF executables and libraries in /nix/store/0471zs1hvrrcq5h2plrsqacnhizr6k2i-python3.13-cffi-2.0.0-dist checking for references to /build/ in /nix/store/0471zs1hvrrcq5h2plrsqacnhizr6k2i-python3.13-cffi-2.0.0-dist... patching script interpreter paths in /nix/store/0471zs1hvrrcq5h2plrsqacnhizr6k2i-python3.13-cffi-2.0.0-dist Executing pythonRemoveTestsDir Finished executing pythonRemoveTestsDir Running phase: installCheckPhase no Makefile or custom installCheckPhase, doing nothing Running phase: pythonCatchConflictsPhase Running phase: pythonRemoveBinBytecodePhase Running phase: pythonImportsCheckPhase Executing pythonImportsCheckPhase Running phase: pytestCheckPhase Executing pytestCheckPhase pytest flags: -m pytest ============================= test session starts ============================== platform linux -- Python 3.13.11, pytest-8.4.2, pluggy-1.6.0 rootdir: /build/source configfile: pyproject.toml collected 2057 items src/c/test_c.py ........................................................ [ 2%] ........................................................................ [ 6%] ...............s.......................s................................ [ 9%] ............................. [ 11%] testing/cffi0/test_cdata.py . [ 11%] testing/cffi0/test_ctypes.py ..................s...............s.s.s.... [ 13%] ...s.........................sssssss..s..s.............................. [ 16%] ...............ssssssssss [ 17%] testing/cffi0/test_ffi_backend.py ..................s................... [ 19%] ..ss.................................................................... [ 23%] ....................s...s............................................... [ 26%] ..................s.s...s................... [ 28%] testing/cffi0/test_function.py ......s.......s.....s..ss..sss..ss [ 30%] testing/cffi0/test_model.py ............. [ 31%] testing/cffi0/test_ownlib.py ..ss...sssss [ 31%] testing/cffi0/test_parsing.py .........................s........... [ 33%] testing/cffi0/test_platform.py .... [ 33%] testing/cffi0/test_unicode_literals.py ............ [ 34%] testing/cffi0/test_verify.py ...................s......s.....s.......... [ 36%] ........................................................................ [ 40%] ...............................s...s.............ss.. [ 42%] testing/cffi0/test_verify2.py ...................s......s.....s......... [ 44%] ........................................................................ [ 48%] ................................s...s.............ss.. [ 50%] testing/cffi0/test_version.py ..... [ 50%] testing/cffi0/test_vgen.py ...................s......s.....s............ [ 53%] ........................................................................ [ 56%] .............................s...s.............ss.. [ 59%] testing/cffi0/test_vgen2.py ...................s......s.....s........... [ 61%] ........................................................................ [ 64%] ..............................s...s.............ss.. [ 67%] testing/cffi0/test_zdistutils.py ...................................... [ 69%] testing/cffi0/test_zintegration.py sssssss. [ 69%] testing/cffi1/test_cffi_binary.py . [ 69%] testing/cffi1/test_commontypes.py ... [ 69%] testing/cffi1/test_dlopen.py ............... [ 70%] testing/cffi1/test_dlopen_unicode_literals.py ............... [ 71%] testing/cffi1/test_ffi_obj.py .............................s............ [ 73%] . [ 73%] testing/cffi1/test_function_args.py s [ 73%] testing/cffi1/test_new_ffi_1.py ........................................ [ 75%] .........................................s...s.......................... [ 78%] ............ [ 79%] testing/cffi1/test_parse_c_type.py .................. [ 80%] testing/cffi1/test_pkgconfig.py ... [ 80%] testing/cffi1/test_re_python.py ....................... [ 81%] testing/cffi1/test_realize_c_type.py ......... [ 81%] testing/cffi1/test_recompiler.py ....................................... [ 83%] ..........................s............................................. [ 87%] .......................s.....s.......................... [ 90%] testing/cffi1/test_unicode_literals.py ....... [ 90%] testing/cffi1/test_verify1.py ..............................s........... [ 92%] ...............................................................s.....xxx [ 95%] ....x......................s...s....s...s.ss [ 98%] testing/cffi1/test_zdist.py ....................... [ 99%] testing/embedding/test_basic.py ..... [ 99%] testing/embedding/test_performance.py ..... [ 99%] testing/embedding/test_recursive.py . [ 99%] testing/embedding/test_thread.py .... [ 99%] testing/embedding/test_tlocal.py . [100%] =============================== warnings summary =============================== src/c/test_c.py::test_callback_return_type /nix/store/x4scnja62nk1i3lj5yggii85vs4h4gni-python3.13-pytest-8.4.2/lib/python3.13/site-packages/_pytest/unraisableexception.py:67: PytestUnraisableExceptionWarning: Exception ignored from cffi callback .cb at 0x7ffff5e82520>, trying to convert the result back to C: None Traceback (most recent call last): File "/build/source/src/c/test_c.py", line 1456, in test_callback_return_type assert f(max) == 42 ~^^^^^ OverflowError: int too big to convert warnings.warn(pytest.PytestUnraisableExceptionWarning(msg)) src/c/test_c.py::test_callback_return_type /nix/store/x4scnja62nk1i3lj5yggii85vs4h4gni-python3.13-pytest-8.4.2/lib/python3.13/site-packages/_pytest/unraisableexception.py:67: PytestUnraisableExceptionWarning: Exception ignored from cffi callback .cb at 0x7ffff5e825c0>, trying to convert the result back to C: None Traceback (most recent call last): File "/build/source/src/c/test_c.py", line 1456, in test_callback_return_type assert f(max) == 42 ~^^^^^ OverflowError: int too big to convert warnings.warn(pytest.PytestUnraisableExceptionWarning(msg)) src/c/test_c.py::test_callback_return_type /nix/store/x4scnja62nk1i3lj5yggii85vs4h4gni-python3.13-pytest-8.4.2/lib/python3.13/site-packages/_pytest/unraisableexception.py:67: PytestUnraisableExceptionWarning: Exception ignored from cffi callback .cb at 0x7ffff5e82520>, trying to convert the result back to C: None Traceback (most recent call last): File "/build/source/src/c/test_c.py", line 1456, in test_callback_return_type assert f(max) == 42 ~^^^^^ OverflowError: integer 4294967296 does not fit 'unsigned int' warnings.warn(pytest.PytestUnraisableExceptionWarning(msg)) src/c/test_c.py::test_callback_return_type /nix/store/x4scnja62nk1i3lj5yggii85vs4h4gni-python3.13-pytest-8.4.2/lib/python3.13/site-packages/_pytest/unraisableexception.py:67: PytestUnraisableExceptionWarning: Exception ignored from cffi callback .cb at 0x7ffff5e82480>, trying to convert the result back to C: None Traceback (most recent call last): File "/build/source/src/c/test_c.py", line 1456, in test_callback_return_type assert f(max) == 42 ~^^^^^ OverflowError: integer 65536 does not fit 'unsigned short' warnings.warn(pytest.PytestUnraisableExceptionWarning(msg)) src/c/test_c.py::test_callback_return_type /nix/store/x4scnja62nk1i3lj5yggii85vs4h4gni-python3.13-pytest-8.4.2/lib/python3.13/site-packages/_pytest/unraisableexception.py:67: PytestUnraisableExceptionWarning: Exception ignored from cffi callback .cb at 0x7ffff5e82520>, trying to convert the result back to C: None Traceback (most recent call last): File "/build/source/src/c/test_c.py", line 1456, in test_callback_return_type assert f(max) == 42 ~^^^^^ OverflowError: integer 256 does not fit 'unsigned char' warnings.warn(pytest.PytestUnraisableExceptionWarning(msg)) src/c/test_c.py::test_callback_return_type /nix/store/x4scnja62nk1i3lj5yggii85vs4h4gni-python3.13-pytest-8.4.2/lib/python3.13/site-packages/_pytest/unraisableexception.py:67: PytestUnraisableExceptionWarning: Exception ignored from cffi callback .cb at 0x7ffff5e82480>, trying to convert the result back to C: None Traceback (most recent call last): File "/build/source/src/c/test_c.py", line 1456, in test_callback_return_type assert f(max) == 42 ~^^^^^ OverflowError: int too big to convert warnings.warn(pytest.PytestUnraisableExceptionWarning(msg)) src/c/test_c.py::test_callback_return_type /nix/store/x4scnja62nk1i3lj5yggii85vs4h4gni-python3.13-pytest-8.4.2/lib/python3.13/site-packages/_pytest/unraisableexception.py:67: PytestUnraisableExceptionWarning: Exception ignored from cffi callback .cb at 0x7ffff5e82480>, trying to convert the result back to C: None Traceback (most recent call last): File "/build/source/src/c/test_c.py", line 1456, in test_callback_return_type assert f(max) == 42 ~^^^^^ OverflowError: integer 2147483648 does not fit 'int' warnings.warn(pytest.PytestUnraisableExceptionWarning(msg)) src/c/test_c.py::test_callback_return_type /nix/store/x4scnja62nk1i3lj5yggii85vs4h4gni-python3.13-pytest-8.4.2/lib/python3.13/site-packages/_pytest/unraisableexception.py:67: PytestUnraisableExceptionWarning: Exception ignored from cffi callback .cb at 0x7ffff5e82520>, trying to convert the result back to C: None Traceback (most recent call last): File "/build/source/src/c/test_c.py", line 1456, in test_callback_return_type assert f(max) == 42 ~^^^^^ OverflowError: integer 32768 does not fit 'short' warnings.warn(pytest.PytestUnraisableExceptionWarning(msg)) src/c/test_c.py::test_callback_return_type /nix/store/x4scnja62nk1i3lj5yggii85vs4h4gni-python3.13-pytest-8.4.2/lib/python3.13/site-packages/_pytest/unraisableexception.py:67: PytestUnraisableExceptionWarning: Exception ignored from cffi callback .cb at 0x7ffff5e82480>, trying to convert the result back to C: None Traceback (most recent call last): File "/build/source/src/c/test_c.py", line 1456, in test_callback_return_type assert f(max) == 42 ~^^^^^ OverflowError: integer 128 does not fit 'signed char' warnings.warn(pytest.PytestUnraisableExceptionWarning(msg)) src/c/test_c.py::test_callback_returning_wchar_t /nix/store/x4scnja62nk1i3lj5yggii85vs4h4gni-python3.13-pytest-8.4.2/lib/python3.13/site-packages/_pytest/unraisableexception.py:67: PytestUnraisableExceptionWarning: Exception ignored from cffi callback .cb at 0x7ffff5e82fc0>: None Traceback (most recent call last): File "/build/source/src/c/test_c.py", line 1751, in cb raise ValueError ValueError warnings.warn(pytest.PytestUnraisableExceptionWarning(msg)) testing/cffi0/test_ffi_backend.py::TestFFI::test_callback_crash /nix/store/x4scnja62nk1i3lj5yggii85vs4h4gni-python3.13-pytest-8.4.2/lib/python3.13/site-packages/_pytest/unraisableexception.py:67: PytestUnraisableExceptionWarning: Exception ignored from cffi callback .cb at 0x7ffff3e90400>: None Traceback (most recent call last): File "/build/source/testing/cffi0/backend_tests.py", line 858, in cb raise Exception Exception warnings.warn(pytest.PytestUnraisableExceptionWarning(msg)) testing/cffi0/test_ffi_backend.py::TestFFI::test_callback_decorator /nix/store/x4scnja62nk1i3lj5yggii85vs4h4gni-python3.13-pytest-8.4.2/lib/python3.13/site-packages/_pytest/unraisableexception.py:67: PytestUnraisableExceptionWarning: Exception ignored from cffi callback .cb at 0x7ffff3e749a0>, trying to convert the result back to C: None Traceback (most recent call last): File "/build/source/testing/cffi0/backend_tests.py", line 1400, in test_callback_decorator assert cb((1 << (sz*8-1)) - 1, -10) == 42 ~~^^^^^^^^^^^^^^^^^^^^^^^^^^ OverflowError: int too big to convert warnings.warn(pytest.PytestUnraisableExceptionWarning(msg)) testing/cffi0/test_parsing.py::test_missing_newline_bug /build/source/src/c/../cffi/cparser.py:436: UserWarning: #pragma in cdef() are entirely ignored. They should be removed for now, otherwise your code might behave differently in a future version of CFFI if #pragma support gets added. Note that '#pragma pack' needs to be replaced with the 'packed' keyword argument to cdef(). warnings.warn( testing/cffi1/test_ffi_obj.py::test_ffi_callback /nix/store/x4scnja62nk1i3lj5yggii85vs4h4gni-python3.13-pytest-8.4.2/lib/python3.13/site-packages/_pytest/unraisableexception.py:67: PytestUnraisableExceptionWarning: Exception ignored from cffi callback . at 0x7ffff3c89bc0>: None Traceback (most recent call last): File "/build/source/testing/cffi1/test_ffi_obj.py", line 132, in assert ffi.callback("int(int)", lambda x: x + "", error=-66)(10) == -66 ~~^~~~ TypeError: unsupported operand type(s) for +: 'int' and 'str' warnings.warn(pytest.PytestUnraisableExceptionWarning(msg)) testing/cffi1/test_ffi_obj.py::test_ffi_callback /nix/store/x4scnja62nk1i3lj5yggii85vs4h4gni-python3.13-pytest-8.4.2/lib/python3.13/site-packages/_pytest/unraisableexception.py:67: PytestUnraisableExceptionWarning: Exception ignored from cffi callback . at 0x7ffff3c896c0>: None Traceback (most recent call last): File "/build/source/testing/cffi1/test_ffi_obj.py", line 131, in assert ffi.callback("int(int)", lambda x: x + "", -66)(10) == -66 ~~^~~~ TypeError: unsupported operand type(s) for +: 'int' and 'str' warnings.warn(pytest.PytestUnraisableExceptionWarning(msg)) testing/cffi1/test_ffi_obj.py::test_ffi_callback_decorator /nix/store/x4scnja62nk1i3lj5yggii85vs4h4gni-python3.13-pytest-8.4.2/lib/python3.13/site-packages/_pytest/unraisableexception.py:67: PytestUnraisableExceptionWarning: Exception ignored from cffi callback . at 0x7ffff3c896c0>: None Traceback (most recent call last): File "/build/source/testing/cffi1/test_ffi_obj.py", line 138, in assert deco(lambda x: x + "")(10) == -66 ~~^~~~ TypeError: unsupported operand type(s) for +: 'int' and 'str' warnings.warn(pytest.PytestUnraisableExceptionWarning(msg)) testing/cffi1/test_new_ffi_1.py::TestNewFFI1::test_callback_crash /nix/store/x4scnja62nk1i3lj5yggii85vs4h4gni-python3.13-pytest-8.4.2/lib/python3.13/site-packages/_pytest/unraisableexception.py:67: PytestUnraisableExceptionWarning: Exception ignored from cffi callback .cb at 0x7ffff409a200>: None Traceback (most recent call last): File "/build/source/testing/cffi1/test_new_ffi_1.py", line 863, in cb raise Exception Exception warnings.warn(pytest.PytestUnraisableExceptionWarning(msg)) testing/cffi1/test_new_ffi_1.py::TestNewFFI1::test_callback_decorator /nix/store/x4scnja62nk1i3lj5yggii85vs4h4gni-python3.13-pytest-8.4.2/lib/python3.13/site-packages/_pytest/unraisableexception.py:67: PytestUnraisableExceptionWarning: Exception ignored from cffi callback .cb at 0x7ffff4020360>, trying to convert the result back to C: None Traceback (most recent call last): File "/build/source/testing/cffi1/test_new_ffi_1.py", line 1341, in test_callback_decorator assert cb((1 << (sz*8-1)) - 1, -10) == 42 ~~^^^^^^^^^^^^^^^^^^^^^^^^^^ OverflowError: int too big to convert warnings.warn(pytest.PytestUnraisableExceptionWarning(msg)) testing/cffi1/test_recompiler.py::test_macro_var_callback /nix/store/x4scnja62nk1i3lj5yggii85vs4h4gni-python3.13-pytest-8.4.2/lib/python3.13/site-packages/_pytest/unraisableexception.py:67: PytestUnraisableExceptionWarning: Exception ignored from cffi callback .get_my_value at 0x7ffff3c3d9e0>, trying to convert the result back to C: None Traceback (most recent call last): File "/nix/store/x4scnja62nk1i3lj5yggii85vs4h4gni-python3.13-pytest-8.4.2/lib/python3.13/site-packages/_pytest/raises.py", line 296, in raises func(*args[1:], **kwargs) ~~~~^^^^^^^^^^^^^^^^^^^^^ TypeError: initializer for ctype 'int *' must be a cdata pointer, not str warnings.warn(pytest.PytestUnraisableExceptionWarning(msg)) testing/cffi1/test_recompiler.py::test_macro_var_callback /nix/store/x4scnja62nk1i3lj5yggii85vs4h4gni-python3.13-pytest-8.4.2/lib/python3.13/site-packages/_pytest/unraisableexception.py:67: PytestUnraisableExceptionWarning: Exception ignored from cffi callback .get_my_value at 0x7ffff3c3c040>: None Traceback (most recent call last): File "/build/source/testing/cffi1/test_recompiler.py", line 1272, in get_my_value raise LookupError LookupError warnings.warn(pytest.PytestUnraisableExceptionWarning(msg)) -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html ==== 1951 passed, 102 skipped, 4 xfailed, 20 warnings in 311.58s (0:05:11) ===== Finished executing pytestCheckPhase pytestCheckPhase completed in 5 minutes 12 seconds Running phase: pytestcachePhase Running phase: pytestRemoveBytecodePhase