Skip to content

gh-116738: Make _json module safe in the free-threading build #158720

gh-116738: Make _json module safe in the free-threading build

gh-116738: Make _json module safe in the free-threading build #158720

Triggered via pull request June 24, 2025 11:30
Status Failure
Total duration 4m 52s
Artifacts

build.yml

on: pull_request
Change detection  /  Create context from changed files
32s
Change detection / Create context from changed files
Matrix: Address sanitizer
Matrix: build-macos
Matrix: build-tsan
Matrix: Ubuntu SSL tests with OpenSSL
Matrix: build-ubuntu
Matrix: build-windows-msi
Waiting for pending jobs
Matrix: build-windows
Matrix: CIFuzz
Docs  /  Docs
2m 11s
Docs / Docs
Docs  /  Doctest
1m 23s
Docs / Doctest
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
1m 32s
Check if generated files are up to date
WASI  /  build and test
40s
WASI / build and test
Hypothesis tests on Ubuntu
1m 21s
Hypothesis tests on Ubuntu
Cross build Linux
1m 49s
Cross build Linux
Undefined behavior sanitizer  /  Undefined behavior sanitizer
3m 48s
Undefined behavior sanitizer / Undefined behavior sanitizer
All required checks pass
5s
All required checks pass
Fit to window
Zoom out
Zoom in

Annotations

41 errors and 12 warnings
WASI / build and test
Process completed with exit code 1.
macOS / build and test (ghcr.io/cirruslabs/macos-runner:sonoma)
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 (ubuntu-24.04)
Process completed with exit code 2.
Ubuntu (free-threading) / build and test (ubuntu-24.04): Modules/_json.c#L1761
‘first’ undeclared (first use in this function)
Ubuntu (bolt) / build and test (ubuntu-24.04)
Process completed with exit code 2.
Ubuntu (bolt) / build and test (ubuntu-24.04): Modules/_json.c#L1761
‘first’ undeclared (first use in this function)
Thread sanitizer (free-threading) / Thread sanitizer
Process completed with exit code 2.
Ubuntu SSL tests with OpenSSL (ubuntu-24.04, 3.0.16)
Process completed with exit code 2.
Ubuntu SSL tests with OpenSSL (ubuntu-24.04, 3.3.3)
Process completed with exit code 2.
Ubuntu SSL tests with OpenSSL (ubuntu-24.04, 3.4.1)
Process completed with exit code 2.
Hypothesis tests on Ubuntu
Process completed with exit code 2.
Hypothesis tests on Ubuntu: Modules/_json.c#L1761
‘first’ undeclared (first use in this function)
Docs / Doctest
Process completed with exit code 2.
Ubuntu SSL tests with OpenSSL (ubuntu-24.04, 3.1.8)
Process completed with exit code 2.
Ubuntu SSL tests with OpenSSL (ubuntu-24.04, 3.2.4)
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-24.04)
Process completed with exit code 2.
Ubuntu / build and test (ubuntu-24.04): Modules/_json.c#L1761
‘first’ undeclared (first use in this function)
Thread sanitizer / Thread sanitizer
Process completed with exit code 2.
Cross build Linux
Process completed with exit code 2.
Cross build Linux: Modules/_json.c#L1761
‘first’ undeclared (first use in this function)
Docs / Docs
Process completed with exit code 2.
Ubuntu (free-threading) / build and test (ubuntu-24.04-arm)
Process completed with exit code 2.
Ubuntu (free-threading) / build and test (ubuntu-24.04-arm): Modules/_json.c#L1761
‘first’ undeclared (first use in this function)
Windows / Build and test (x64)
Process completed with exit code 1.
Windows / Build and test (x64): Modules/_json.c#L1761
'first': undeclared identifier [D:\a\cpython\cpython\PCbuild\pythoncore.vcxproj]
Windows / Build and test (Win32)
Process completed with exit code 1.
Ubuntu / build and test (ubuntu-24.04-arm)
Process completed with exit code 2.
Ubuntu / build and test (ubuntu-24.04-arm): Modules/_json.c#L1761
‘first’ undeclared (first use in this function)
Windows (free-threading) / Build and test (x64)
Process completed with exit code 1.
Windows (free-threading) / Build and test (x64): Modules/_json.c#L1761
'first': undeclared identifier [D:\a\cpython\cpython\PCbuild\pythoncore.vcxproj]
Address sanitizer (ubuntu-24.04)
Process completed with exit code 2.
Address sanitizer (ubuntu-24.04): Modules/_json.c#L1761
‘first’ undeclared (first use in this function)
Windows (free-threading) / Build and test (arm64)
Process completed with exit code 1.
Windows (free-threading) / Build and test (arm64): Modules/_json.c#L1761
'first': undeclared identifier [C:\a\cpython\cpython\PCbuild\pythoncore.vcxproj]
macOS / build and test (macos-13)
Process completed with exit code 2.
Undefined behavior sanitizer / Undefined behavior sanitizer
Process completed with exit code 2.
Windows / Build and test (arm64)
Process completed with exit code 1.
Windows / Build and test (arm64): Modules/_json.c#L1761
'first': undeclared identifier [C:\a\cpython\cpython\PCbuild\pythoncore.vcxproj]
All required checks pass
Process completed with exit code 1.
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 (ghcr.io/cirruslabs/macos-runner:sonoma)
xz 5.8.1 is already installed and up-to-date. To reinstall 5.8.1, run: brew reinstall xz
macOS / build and test (ghcr.io/cirruslabs/macos-runner:sonoma)
pkgconf 2.4.3 is already installed and up-to-date. To reinstall 2.4.3, run: brew reinstall pkgconf
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!
macOS (free-threading) / build and test (ghcr.io/cirruslabs/macos-runner:sonoma)
xz 5.8.1 is already installed and up-to-date. To reinstall 5.8.1, run: brew reinstall xz
macOS (free-threading) / build and test (ghcr.io/cirruslabs/macos-runner:sonoma)
pkgconf 2.4.3 is already installed and up-to-date. To reinstall 2.4.3, run: brew reinstall pkgconf
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-13)
HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK is set: not checking for outdated dependents or dependents with broken linkage!
macOS / build and test (macos-13)
tcl-tk@8 8.6.16 is already installed and up-to-date. To reinstall 8.6.16, run: brew reinstall tcl-tk@8
macOS / build and test (macos-13)
gdbm 1.25 is already installed and up-to-date. To reinstall 1.25, run: brew reinstall gdbm
macOS / build and test (macos-13)
xz 5.8.1 is already installed and up-to-date. To reinstall 5.8.1, run: brew reinstall xz
macOS / build and test (macos-13)
pkgconf 2.5.0 is already installed and up-to-date. To reinstall 2.5.0, run: brew reinstall pkgconf