Skip to content

gh-156933: Widen narrow integer results in ctypes callbacks #211029

gh-156933: Widen narrow integer results in ctypes callbacks

gh-156933: Widen narrow integer results in ctypes callbacks #211029

Triggered via pull request September 25, 2026 15:18
Status Failure
Total duration 33m 56s
Artifacts 1

build.yml

on: pull_request
Change detection  /  Create context from changed files
13s
Change detection / Create context from changed files
Matrix: Address sanitizer
Matrix: build-macos
Matrix: build-san
Matrix: Ubuntu SSL tests
Matrix: build-ubuntu
Matrix: build-windows
Matrix: cifuzz
Docs  /  Doctest
7m 23s
Docs / Doctest
Docs  /  Check EPUB
2m 21s
Docs / Check EPUB
Check if Autoconf files are up to date
42s
Check if Autoconf files are up to date
Check if generated files are up to date
4m 53s
Check if generated files are up to date
C API Docs  /  Check if all C APIs are documented
10s
C API Docs / Check if all C APIs are documented
Ubuntu (installed)  /  build, install and test
6m 31s
Ubuntu (installed) / build, install and test
iOS
25m 20s
iOS
Emscripten  /  build and test
19m 34s
Emscripten / build and test
WASI  /  build and test
4m 16s
WASI / build and test
Hypothesis tests on Ubuntu
9m 19s
Hypothesis tests on Ubuntu
Lazy imports enabled  /  Run Tests with lazy_imports=all
10m 27s
Lazy imports enabled / Run Tests with lazy_imports=all
Cross build Linux
4m 39s
Cross build Linux
Matrix: build-android
Docs  /  ...  /  Check for removed HTML IDs
Docs / Check for removed HTML IDs / Check for removed HTML IDs
All required checks pass
4s
All required checks pass
Fit to window
Zoom out
Zoom in

Annotations

15 errors, 23 warnings, and 10 notices
Docs / Docs
Process completed with exit code 2.
Docs / Docs
Process completed with exit code 2.
Docs / Check EPUB
Process completed with exit code 1.
Hypothesis tests on Ubuntu
Process completed with exit code 2.
Ubuntu / build and test (ubuntu-26.04)
Process completed with exit code 2.
Lazy imports enabled / Run Tests with lazy_imports=all
Process completed with exit code 123.
Ubuntu (free-threading) / build and test (ubuntu-26.04)
Process completed with exit code 2.
Sanitizers / TSan
Process completed with exit code 2.
macOS / build and test (macos-26-intel)
Process completed with exit code 2.
Ubuntu (bolt) / build and test (ubuntu-26.04)
Process completed with exit code 2.
Address sanitizer (ubuntu-26.04)
Process completed with exit code 2.
Android (x86_64)
Process completed with exit code 1.
Sanitizers / TSan (free-threading)
Process completed with exit code 2.
Sanitizers / UBSan
Process completed with exit code 2.
All required checks pass
Process completed with exit code 1.
Cross build Linux: Modules/_ctypes/callbacks.c#L279
dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
Cross build Linux: Modules/_ctypes/callbacks.c#L276
dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
Cross build Linux: Modules/_ctypes/callbacks.c#L270
dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
Cross build Linux: Modules/_ctypes/callbacks.c#L267
dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
Cross build Linux: Modules/_ctypes/callbacks.c#L279
dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
Cross build Linux: Modules/_ctypes/callbacks.c#L276
dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
Cross build Linux: Modules/_ctypes/callbacks.c#L270
dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
Cross build Linux: Modules/_ctypes/callbacks.c#L267
dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
Cross build Linux: Parser/lexer/string.c#L86
variable ‘previous_end’ set but not used [-Wunused-but-set-variable]
Ubuntu (installed) / build, install and test: Modules/_ctypes/callbacks.c#L279
dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
Ubuntu (installed) / build, install and test: Modules/_ctypes/callbacks.c#L276
dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
Ubuntu (installed) / build, install and test: Modules/_ctypes/callbacks.c#L270
dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
Ubuntu (installed) / build, install and test: Modules/_ctypes/callbacks.c#L267
dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
Ubuntu (installed) / build, install and test: Parser/lexer/string.c#L86
variable ‘previous_end’ set but not used [-Wunused-but-set-variable]
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.
macOS / build and test (macos-26)
`$HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK` is set: not checking for outdated dependents or dependents with broken linkage!
macOS (free-threading) / build and test (macos-26)
`$HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK` is set: not checking for outdated dependents or dependents with broken linkage!
macOS / build and test (macos-26-intel)
`$HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK` is set: not checking for outdated dependents or dependents with broken linkage!
Address sanitizer (ubuntu-26.04): Modules/_ctypes/callbacks.c#L279
dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
Address sanitizer (ubuntu-26.04): Modules/_ctypes/callbacks.c#L276
dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
Address sanitizer (ubuntu-26.04): Modules/_ctypes/callbacks.c#L270
dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
Address sanitizer (ubuntu-26.04): Modules/_ctypes/callbacks.c#L267
dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
Address sanitizer (ubuntu-26.04): Parser/lexer/string.c#L86
variable ‘previous_end’ set but not used [-Wunused-but-set-variable]
Change detection / Create context from changed files
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
C API Docs / Check if all C APIs are documented
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
Docs / Docs
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
Docs / Check EPUB
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
CIFuzz / cpython3 (address)
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
CIFuzz / cpython3 (undefined)
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
CIFuzz / cpython3 (memory)
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
Windows / Build and test (arm64, switch-case)
"The windows-11-arm label will migrate to use Visual Studio 2026 by default beginning September 21, 2026. For more information see https://github.com/actions/runner-images/issues/14602"
Windows (free-threading) / Build and test (arm64, switch-case)
"The windows-11-arm label will migrate to use Visual Studio 2026 by default beginning September 21, 2026. For more information see https://github.com/actions/runner-images/issues/14602"
All required checks pass
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"

Artifacts

Produced during runtime
Name Size Digest
UBSan-logs-default
1.59 KB
sha256:0e78a15e85c1aad68da49da44f8e84c303c1bdb6e3a266862bfc937dce729a44