Skip to content

gh-124153: Replace PyType_GetModuleByDef in defdict_or #125756

gh-124153: Replace PyType_GetModuleByDef in defdict_or

gh-124153: Replace PyType_GetModuleByDef in defdict_or #125756

Triggered via pull request September 20, 2024 05:02
Status Cancelled
Total duration 5m 40s
Artifacts

build.yml

on: pull_request
Change detection  /  Compute changed files
11s
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
1m 16s
Check if generated files are up to date
WASI  /  build and test
50s
WASI / build and test
Hypothesis tests on Ubuntu
1m 4s
Hypothesis tests on Ubuntu
Address sanitizer
1m 25s
Address sanitizer
Thread sanitizer  /  Thread sanitizer
1m 34s
Thread sanitizer / Thread sanitizer
Thread sanitizer (free-threading)  /  Thread sanitizer
1m 34s
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
3s
All required checks pass
Fit to window
Zoom out
Zoom in

Annotations

37 errors and 38 warnings
Ubuntu (free-threading) / build and test: Modules/_collectionsmodule.c#L40
implicit declaration of function ‘defdict_or’ [-Werror=implicit-function-declaration]
Ubuntu (free-threading) / build and test: Modules/_collectionsmodule.c#L2357
conflicting types for ‘defdict_or’; have ‘PyObject *(PyObject *, PyObject *)’ {aka ‘struct _object *(struct _object *, struct _object *)’}
Ubuntu (free-threading) / build and test
Process completed with exit code 2.
Ubuntu / build and test
FailFast: cancelling since parallel instance has failed
Ubuntu / build and test
The operation was canceled.
WASI / build and test
Process completed with exit code 1.
Ubuntu SSL tests with OpenSSL (3.3.2)
Process completed with exit code 2.
Ubuntu SSL tests with OpenSSL (3.0.15)
Process completed with exit code 2.
Ubuntu SSL tests with OpenSSL (3.2.3)
Process completed with exit code 2.
Hypothesis tests on Ubuntu: Modules/_collectionsmodule.c#L40
implicit declaration of function ‘defdict_or’ [-Werror=implicit-function-declaration]
Hypothesis tests on Ubuntu: Modules/_collectionsmodule.c#L2357
conflicting types for ‘defdict_or’; have ‘PyObject *(PyObject *, PyObject *)’ {aka ‘struct _object *(struct _object *, struct _object *)’}
Hypothesis tests on Ubuntu
Process completed with exit code 2.
Ubuntu SSL tests with OpenSSL (3.1.7)
Process completed with exit code 2.
macOS / build and test (ghcr.io/cirruslabs/macos-runner:sonoma)
Process completed with exit code 2.
Check if generated files are up to date
Process completed with exit code 2.
macOS (free-threading) / build and test (ghcr.io/cirruslabs/macos-runner:sonoma)
Process completed with exit code 2.
Address sanitizer: Modules/_collectionsmodule.c#L40
implicit declaration of function ‘defdict_or’ [-Werror=implicit-function-declaration]
Address sanitizer: Modules/_collectionsmodule.c#L2357
conflicting types for ‘defdict_or’
Address sanitizer
Process completed with exit code 2.
Thread sanitizer (free-threading) / Thread sanitizer
Process completed with exit code 2.
Thread sanitizer / Thread sanitizer
Process completed with exit code 2.
macOS / build and test (macos-13)
Process completed with exit code 2.
Windows / build and test (Win32)
Process completed with exit code 1.
Windows / build (arm64)
FailFast: cancelling since parallel instance has failed
Windows / build (arm64): Modules/_collectionsmodule.c#L2357
'defdict_or': 'PyObject *(PyObject *,PyObject *)' differs in levels of indirection from 'int ()' [D:\a\cpython\cpython\PCbuild\pythoncore.vcxproj]
Windows / build (arm64)
The operation was canceled.
Windows (free-threading) / build and test (Win32)
FailFast: cancelling since parallel instance has failed
Windows (free-threading) / build and test (Win32)
The operation was canceled.
Windows / build and test (x64)
FailFast: cancelling since parallel instance has failed
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.
Windows / build and test (x64): Modules/_collectionsmodule.c#L2357
'defdict_or': 'PyObject *(PyObject *,PyObject *)' differs in levels of indirection from 'int ()' [D:\a\cpython\cpython\PCbuild\pythoncore.vcxproj]
Windows / build and test (x64)
The operation was canceled.
Windows (free-threading) / build (arm64)
FailFast: cancelling since parallel instance has failed
Windows (free-threading) / build (arm64): Modules/_collectionsmodule.c#L2357
'defdict_or': 'PyObject *(PyObject *,PyObject *)' differs in levels of indirection from 'int ()' [D:\a\cpython\cpython\PCbuild\pythoncore.vcxproj]
Windows (free-threading) / build (arm64)
The operation was canceled.
All required checks pass
Process completed with exit code 1.
Ubuntu (free-threading) / build and test: Modules/_collectionsmodule.c#L40
initialization of ‘PyObject *’ {aka ‘struct _object *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
Ubuntu (free-threading) / build and test: Modules/_collectionsmodule.c#L2363
passing argument 1 of ‘defdict_or’ from incompatible pointer type [-Wincompatible-pointer-types]
Ubuntu (free-threading) / build and test: Modules/_collectionsmodule.c#L2363
passing argument 2 of ‘defdict_or’ from incompatible pointer type [-Wincompatible-pointer-types]
Ubuntu (free-threading) / build and test: Modules/_collectionsmodule.c#L2367
passing argument 1 of ‘defdict_or’ from incompatible pointer type [-Wincompatible-pointer-types]
Ubuntu (free-threading) / build and test: Modules/_collectionsmodule.c#L2367
passing argument 2 of ‘defdict_or’ from incompatible pointer type [-Wincompatible-pointer-types]
Hypothesis tests on Ubuntu: Modules/_collectionsmodule.c#L40
initialization of ‘PyObject *’ {aka ‘struct _object *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
Hypothesis tests on Ubuntu: Modules/_collectionsmodule.c#L2363
passing argument 1 of ‘defdict_or’ from incompatible pointer type [-Wincompatible-pointer-types]
Hypothesis tests on Ubuntu: Modules/_collectionsmodule.c#L2363
passing argument 2 of ‘defdict_or’ from incompatible pointer type [-Wincompatible-pointer-types]
Hypothesis tests on Ubuntu: Modules/_collectionsmodule.c#L2367
passing argument 1 of ‘defdict_or’ from incompatible pointer type [-Wincompatible-pointer-types]
Hypothesis tests on Ubuntu: Modules/_collectionsmodule.c#L2367
passing argument 2 of ‘defdict_or’ from incompatible pointer type [-Wincompatible-pointer-types]
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 (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 (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!
Address sanitizer: Modules/_collectionsmodule.c#L40
initialization of ‘PyObject *’ {aka ‘struct _object *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
Address sanitizer: Modules/_collectionsmodule.c#L2363
passing argument 1 of ‘defdict_or’ from incompatible pointer type [-Wincompatible-pointer-types]
Address sanitizer: Modules/_collectionsmodule.c#L2363
passing argument 2 of ‘defdict_or’ from incompatible pointer type [-Wincompatible-pointer-types]
Address sanitizer: Modules/_collectionsmodule.c#L2367
passing argument 1 of ‘defdict_or’ from incompatible pointer type [-Wincompatible-pointer-types]
Address sanitizer: Modules/_collectionsmodule.c#L2367
passing argument 2 of ‘defdict_or’ from incompatible pointer type [-Wincompatible-pointer-types]
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.2 is already installed and up-to-date. To reinstall 5.6.2, 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)
HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK is set: not checking for outdated dependents or dependents with broken linkage!
Windows / build (arm64): Modules/_collectionsmodule.c#L40
'defdict_or' undefined; assuming extern returning int [D:\a\cpython\cpython\PCbuild\pythoncore.vcxproj]
Windows / build (arm64): Modules/_collectionsmodule.c#L40
'initializing': 'PyObject *' differs in levels of indirection from 'int' [D:\a\cpython\cpython\PCbuild\pythoncore.vcxproj]
Windows / build (arm64): Modules/_collectionsmodule.c#L2367
'=': 'PyObject *' differs in levels of indirection from 'int' [D:\a\cpython\cpython\PCbuild\pythoncore.vcxproj]
Windows / build (arm64): Modules/_collectionsmodule.c#L2363
'initializing': 'PyObject *' differs in levels of indirection from 'int' [D:\a\cpython\cpython\PCbuild\pythoncore.vcxproj]
Windows / build and test (x64): Modules/_collectionsmodule.c#L40
'defdict_or' undefined; assuming extern returning int [D:\a\cpython\cpython\PCbuild\pythoncore.vcxproj]
Windows / build and test (x64): Modules/_collectionsmodule.c#L40
'initializing': 'PyObject *' differs in levels of indirection from 'int' [D:\a\cpython\cpython\PCbuild\pythoncore.vcxproj]
Windows / build and test (x64): Modules/_collectionsmodule.c#L2367
'=': 'PyObject *' differs in levels of indirection from 'int' [D:\a\cpython\cpython\PCbuild\pythoncore.vcxproj]
Windows / build and test (x64): Modules/_collectionsmodule.c#L2363
'initializing': 'PyObject *' differs in levels of indirection from 'int' [D:\a\cpython\cpython\PCbuild\pythoncore.vcxproj]
Windows (free-threading) / build (arm64): Modules/_collectionsmodule.c#L40
'defdict_or' undefined; assuming extern returning int [D:\a\cpython\cpython\PCbuild\pythoncore.vcxproj]
Windows (free-threading) / build (arm64): Modules/_collectionsmodule.c#L40
'initializing': 'PyObject *' differs in levels of indirection from 'int' [D:\a\cpython\cpython\PCbuild\pythoncore.vcxproj]
Windows (free-threading) / build (arm64): Modules/_collectionsmodule.c#L2367
'=': 'PyObject *' differs in levels of indirection from 'int' [D:\a\cpython\cpython\PCbuild\pythoncore.vcxproj]
Windows (free-threading) / build (arm64): Modules/_collectionsmodule.c#L2363
'initializing': 'PyObject *' differs in levels of indirection from 'int' [D:\a\cpython\cpython\PCbuild\pythoncore.vcxproj]