Skip to content

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

gh-156933: Widen narrow integer results in ctypes callbacks

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

Triggered via pull request September 6, 2026 19:28
Status Failure
Total duration 44m 17s
Artifacts 2

build.yml

on: pull_request
Change detection  /  Create context from changed files
14s
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
8m 2s
Docs / Doctest
Docs  /  Check EPUB
2m 20s
Docs / Check EPUB
Check if Autoconf files are up to date
29s
Check if Autoconf files are up to date
Check if generated files are up to date
4m 20s
Check if generated files are up to date
C API Docs  /  Check if all C APIs are documented
11s
C API Docs / Check if all C APIs are documented
Ubuntu (installed)  /  build, install and test
6m 24s
Ubuntu (installed) / build, install and test
iOS
19m 13s
iOS
Emscripten  /  build and test
21m 7s
Emscripten / build and test
WASI  /  build and test
5m 25s
WASI / build and test
Hypothesis tests on Ubuntu
10m 31s
Hypothesis tests on Ubuntu
Cross build Linux
5m 0s
Cross build Linux
Matrix: build-android
Docs  /  ...  /  Check for removed HTML IDs
1m 42s
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

4 errors, 20 warnings, and 2 notices
Docs / Docs
Process completed with exit code 2.
Docs / Check EPUB
Process completed with exit code 1.
macOS / build and test (macos-26-intel)
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]
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]
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 (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)
`$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]
macOS / build and test (macos-26-intel)
`$HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK` is set: not checking for outdated dependents or dependents with broken linkage!
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"

Artifacts

Produced during runtime
Name Size Digest
UBSan-logs-default
1.59 KB
sha256:ac7a6b7d600bbe2007a3d65d27a5f3d4e92fc707733e3ac3b1762fd4933dcf7c
html-ids-head.json.gz
126 KB
sha256:5a5895f44075004120c6fcc9bdde87bf84ca3ef55c8f4ba25b899890560b7fd9