Skip to content

gh-124153: Remove _PyType_GetModuleByDef2 private function #125752

gh-124153: Remove _PyType_GetModuleByDef2 private function

gh-124153: Remove _PyType_GetModuleByDef2 private function #125752

Triggered via pull request September 20, 2024 04:13
Status Failure
Total duration 6m 21s
Artifacts

build.yml

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

Annotations

32 errors and 21 warnings
Ubuntu / build and test: Modules/_decimal/_decimal.c#L137
implicit declaration of function ‘_PyType_GetModuleByDef2’; did you mean ‘PyType_GetModuleByDef’? [-Werror=implicit-function-declaration]
Ubuntu / build and test
Process completed with exit code 2.
Ubuntu SSL tests with OpenSSL (3.1.7)
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/_decimal/_decimal.c#L137
implicit declaration of function ‘_PyType_GetModuleByDef2’; did you mean ‘PyType_GetModuleByDef’? [-Werror=implicit-function-declaration]
Hypothesis tests on Ubuntu
Process completed with exit code 2.
Ubuntu SSL tests with OpenSSL (3.3.2)
Process completed with exit code 2.
macOS (free-threading) / build and test (ghcr.io/cirruslabs/macos-runner:sonoma)
Process completed with exit code 2.
Ubuntu (free-threading) / build and test
FailFast: cancelling since parallel instance has failed
Ubuntu (free-threading) / build and test: Modules/_decimal/_decimal.c#L137
implicit declaration of function ‘_PyType_GetModuleByDef2’; did you mean ‘PyType_GetModuleByDef’? [-Werror=implicit-function-declaration]
Ubuntu (free-threading) / build and test
The operation was canceled.
macOS / build and test (ghcr.io/cirruslabs/macos-runner:sonoma)
Process completed with exit code 2.
WASI / build and test
Process completed with exit code 1.
Ubuntu SSL tests with OpenSSL (3.0.15)
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.
Thread sanitizer (free-threading) / Thread sanitizer
Process completed with exit code 2.
Check if generated files are up to date
Process completed with exit code 2.
Windows (free-threading) / build and test (x64)
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 (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 / build and test (x64)
The operation was canceled.
Windows / build (arm64)
FailFast: cancelling since parallel instance has failed
Windows / build (arm64)
The operation was canceled.
Address sanitizer: Modules/_decimal/_decimal.c#L137
implicit declaration of function ‘_PyType_GetModuleByDef2’; did you mean ‘PyType_GetModuleByDef’? [-Werror=implicit-function-declaration]
Address sanitizer
Process completed with exit code 2.
All required checks pass
Process completed with exit code 1.
Ubuntu / build and test: Modules/_decimal/_decimal.c#L137
initialization of ‘PyObject *’ {aka ‘struct _object *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
Hypothesis tests on Ubuntu: Modules/_decimal/_decimal.c#L137
initialization of ‘PyObject *’ {aka ‘struct _object *’} from ‘int’ 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.
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!
Ubuntu (free-threading) / build and test: Modules/_decimal/_decimal.c#L137
initialization of ‘PyObject *’ {aka ‘struct _object *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
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.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 (free-threading) / build and test (x64): Modules/_decimal/_decimal.c#L137
'_PyType_GetModuleByDef2' undefined; assuming extern returning int [D:\a\cpython\cpython\PCbuild\_decimal.vcxproj]
Windows (free-threading) / build and test (x64): Modules/_decimal/_decimal.c#L137
'initializing': 'PyObject *' differs in levels of indirection from 'int' [D:\a\cpython\cpython\PCbuild\_decimal.vcxproj]
Windows / build and test (x64): Modules/_decimal/_decimal.c#L137
'_PyType_GetModuleByDef2' undefined; assuming extern returning int [D:\a\cpython\cpython\PCbuild\_decimal.vcxproj]
Windows / build and test (x64): Modules/_decimal/_decimal.c#L137
'initializing': 'PyObject *' differs in levels of indirection from 'int' [D:\a\cpython\cpython\PCbuild\_decimal.vcxproj]
Windows / build (arm64): Modules/_decimal/_decimal.c#L137
'_PyType_GetModuleByDef2' undefined; assuming extern returning int [D:\a\cpython\cpython\PCbuild\_decimal.vcxproj]
Windows / build (arm64): Modules/_decimal/_decimal.c#L137
'initializing': 'PyObject *' differs in levels of indirection from 'int' [D:\a\cpython\cpython\PCbuild\_decimal.vcxproj]
Address sanitizer: Modules/_decimal/_decimal.c#L137
initialization of ‘PyObject *’ {aka ‘struct _object *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion]