Skip to content

gh-125442: Use _PyLong_GetOne() and _PyLong_GetZero() in Objects #129070

gh-125442: Use _PyLong_GetOne() and _PyLong_GetZero() in Objects

gh-125442: Use _PyLong_GetOne() and _PyLong_GetZero() in Objects #129070

Triggered via pull request October 14, 2024 11:00
Status Failure
Total duration 4m 9s
Artifacts

build.yml

on: pull_request
Change detection  /  Compute changed files
15s
Change detection / Compute changed files
Matrix: build_macos
Matrix: build_ubuntu
Matrix: Ubuntu SSL tests with OpenSSL
Matrix: build_windows
Matrix: build_windows_msi
Waiting for pending jobs
Matrix: CIFuzz
Check if generated files are up to date
45s
Check if generated files are up to date
WASI  /  build and test
32s
WASI / build and test
Hypothesis tests on Ubuntu
35s
Hypothesis tests on Ubuntu
Address sanitizer
1m 14s
Address sanitizer
Thread sanitizer  /  Thread sanitizer
1m 10s
Thread sanitizer / Thread sanitizer
Thread sanitizer (free-threading)  /  Thread sanitizer
1m 9s
Thread sanitizer (free-threading) / Thread sanitizer
Docs  /  Docs
Docs / Docs
Docs  /  Docs (Oldest Sphinx)
Docs / Docs (Oldest Sphinx)
Docs  /  Doctest
Docs / Doctest
All required checks pass
2s
All required checks pass
Fit to window
Zoom out
Zoom in

Annotations

32 errors and 24 warnings
WASI / build and test
Process completed with exit code 1.
Ubuntu SSL tests with OpenSSL (ubuntu-22.04, 3.1.7)
Process completed with exit code 2.
Hypothesis tests on Ubuntu: Objects/iterobject.c#L99
implicit declaration of function ‘_PyLong_GetZero’; did you mean ‘PyLong_GetInfo’? [-Werror=implicit-function-declaration]
Hypothesis tests on Ubuntu
Process completed with exit code 2.
Ubuntu SSL tests with OpenSSL (ubuntu-22.04, 3.0.15)
Process completed with exit code 2.
Ubuntu (free-threading) / build and test (ubuntu-22.04): Objects/iterobject.c#L99
implicit declaration of function ‘_PyLong_GetZero’; did you mean ‘PyLong_GetInfo’? [-Werror=implicit-function-declaration]
Ubuntu (free-threading) / build and test (ubuntu-22.04)
Process completed with exit code 2.
Ubuntu SSL tests with OpenSSL (ubuntu-22.04, 3.2.3)
Process completed with exit code 2.
Check if generated files are up to date
Process completed with exit code 2.
Ubuntu / build and test (ubuntu-22.04)
FailFast: cancelling since parallel instance has failed
Ubuntu / build and test (ubuntu-22.04): Objects/iterobject.c#L99
implicit declaration of function ‘_PyLong_GetZero’; did you mean ‘PyLong_GetInfo’? [-Werror=implicit-function-declaration]
Ubuntu / build and test (ubuntu-22.04)
Process completed with exit code 2.
Ubuntu SSL tests with OpenSSL (ubuntu-22.04, 3.3.2)
Process completed with exit code 2.
macOS / build and test (ghcr.io/cirruslabs/macos-runner:sonoma)
Process completed with exit code 2.
macOS / build and test (macos-13)
Process completed with exit code 2.
macOS (free-threading) / build and test (ghcr.io/cirruslabs/macos-runner:sonoma)
Process completed with exit code 2.
Windows / build and test (x64)
Process completed with exit code 1.
Windows / build (arm64)
FailFast: cancelling since parallel instance has failed
Windows / build (arm64)
Process completed with exit code 1.
Windows (free-threading) / build and test (Win32)
FailFast: cancelling since parallel instance has failed
Windows (free-threading) / build and test (Win32)
Process completed with exit code 1.
Windows / build and test (Win32)
FailFast: cancelling since parallel instance has failed
Windows / build and test (Win32)
The operation was canceled.
Windows (free-threading) / build (arm64)
FailFast: cancelling since parallel instance has failed
Windows (free-threading) / build (arm64)
The operation was canceled.
Windows (free-threading) / build and test (x64)
FailFast: cancelling since parallel instance has failed
Windows (free-threading) / build and test (x64)
The operation was canceled.
Thread sanitizer (free-threading) / Thread sanitizer
Process completed with exit code 2.
Thread sanitizer / Thread sanitizer
Process completed with exit code 2.
Address sanitizer: Objects/iterobject.c#L99
implicit declaration of function ‘_PyLong_GetZero’; did you mean ‘PyLong_GetInfo’? [-Werror=implicit-function-declaration]
Address sanitizer
Process completed with exit code 2.
All required checks pass
Process completed with exit code 1.
Hypothesis tests on Ubuntu: Objects/iterobject.c#L99
returning ‘int’ from a function with return type ‘PyObject *’ {aka ‘struct _object *’} makes pointer from integer without a cast [-Wint-conversion]
Hypothesis tests on Ubuntu
No files were found with the provided path: /home/runner/work/cpython/cpython-builddir/.hypothesis/examples/. No artifacts will be uploaded.
Ubuntu (free-threading) / build and test (ubuntu-22.04): Objects/iterobject.c#L99
returning ‘int’ from a function with return type ‘PyObject *’ {aka ‘struct _object *’} makes pointer from integer without a cast [-Wint-conversion]
Ubuntu / build and test (ubuntu-22.04): Objects/iterobject.c#L99
returning ‘int’ from a function with return type ‘PyObject *’ {aka ‘struct _object *’} makes pointer from integer without a cast [-Wint-conversion]
macOS / build and test (ghcr.io/cirruslabs/macos-runner:sonoma)
This job failure may be caused by using an out of date self-hosted runner. You are currently using runner version 2.319.1. Please update to the latest version 2.320.0
macOS / build and test (ghcr.io/cirruslabs/macos-runner:sonoma)
pkg-config 0.29.2_3 is already installed and up-to-date. To reinstall 0.29.2_3, run: brew reinstall pkg-config
macOS / build and test (ghcr.io/cirruslabs/macos-runner:sonoma)
xz 5.6.2 is already installed and up-to-date. To reinstall 5.6.2, run: brew reinstall xz
macOS / build and test (ghcr.io/cirruslabs/macos-runner:sonoma)
HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK is set: not checking for outdated dependents or dependents with broken linkage!
macOS / build and test (macos-13)
pkg-config 0.29.2_3 is already installed and up-to-date. To reinstall 0.29.2_3, run: brew reinstall pkg-config
macOS / build and test (macos-13)
xz 5.6.3 is already installed and up-to-date. To reinstall 5.6.3, run: brew reinstall xz
macOS / build and test (macos-13)
gdbm 1.24 is already installed and up-to-date. To reinstall 1.24, run: brew reinstall gdbm
macOS / build and test (macos-13)
tcl-tk 8.6.15 is already installed and up-to-date. To reinstall 8.6.15, run: brew reinstall tcl-tk
macOS / build and test (macos-13)
HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK is set: not checking for outdated dependents or dependents with broken linkage!
macOS (free-threading) / build and test (ghcr.io/cirruslabs/macos-runner:sonoma)
This job failure may be caused by using an out of date self-hosted runner. You are currently using runner version 2.319.1. Please update to the latest version 2.320.0
macOS (free-threading) / build and test (ghcr.io/cirruslabs/macos-runner:sonoma)
pkg-config 0.29.2_3 is already installed and up-to-date. To reinstall 0.29.2_3, run: brew reinstall pkg-config
macOS (free-threading) / build and test (ghcr.io/cirruslabs/macos-runner:sonoma)
xz 5.6.2 is already installed and up-to-date. To reinstall 5.6.2, run: brew reinstall xz
macOS (free-threading) / build and test (ghcr.io/cirruslabs/macos-runner:sonoma)
HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK is set: not checking for outdated dependents or dependents with broken linkage!
Windows / build and test (x64): Objects/iterobject.c#L99
'_PyLong_GetZero' undefined; assuming extern returning int [D:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows / build and test (x64): Objects/iterobject.c#L99
'return': 'PyObject *' differs in levels of indirection from 'int' [D:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows / build (arm64): Objects/iterobject.c#L99
'_PyLong_GetZero' undefined; assuming extern returning int [D:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows / build (arm64): Objects/iterobject.c#L99
'return': 'PyObject *' differs in levels of indirection from 'int' [D:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows (free-threading) / build (arm64): Objects/iterobject.c#L99
'_PyLong_GetZero' undefined; assuming extern returning int [D:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows (free-threading) / build (arm64): Objects/iterobject.c#L99
'return': 'PyObject *' differs in levels of indirection from 'int' [D:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Address sanitizer: Objects/iterobject.c#L99
returning ‘int’ from a function with return type ‘PyObject *’ {aka ‘struct _object *’} makes pointer from integer without a cast [-Wint-conversion]