Skip to content

[3.13] gh-137314: Fix incorrect treatment of format specs in raw fstrings (GH-137328) #162593

[3.13] gh-137314: Fix incorrect treatment of format specs in raw fstrings (GH-137328)

[3.13] gh-137314: Fix incorrect treatment of format specs in raw fstrings (GH-137328) #162593

Triggered via pull request August 3, 2025 16:11
Status Failure
Total duration 4m 24s
Artifacts

build.yml

on: pull_request
Change detection  /  Create context from changed files
10s
Change detection / Create context from changed files
Matrix: Address sanitizer
Matrix: build-macos
Matrix: build-san
Matrix: Ubuntu SSL tests with OpenSSL
Matrix: build-ubuntu
Matrix: build-windows-msi
Waiting for pending jobs
Matrix: build-windows
Matrix: CIFuzz
Docs  /  Docs
1m 41s
Docs / Docs
Docs  /  Doctest
2m 0s
Docs / Doctest
Check if Autoconf files are up to date
25s
Check if Autoconf files are up to date
Check if generated files are up to date
1m 19s
Check if generated files are up to date
WASI  /  build and test
1m 51s
WASI / build and test
Hypothesis tests on Ubuntu
3m 35s
Hypothesis tests on Ubuntu
Check if the ABI has changed
57s
Check if the ABI has changed
All required checks pass
4s
All required checks pass
Fit to window
Zoom out
Zoom in

Annotations

86 errors, 31 warnings, and 5 notices
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.
Windows / build and test (Win32)
Process completed with exit code 1.
Windows / build (arm64)
Process completed with exit code 1.
Windows / build (arm64): Parser/action_helpers.c#L1377
left of '->raw' must point to struct/union [D:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows / build (arm64): Parser/action_helpers.c#L1377
'mode': undeclared identifier [D:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows / build (arm64): Parser/action_helpers.c#L1376
'=': left operand must be l-value [D:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows / build (arm64): Parser/action_helpers.c#L1376
'mode': undeclared identifier [D:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows / build (arm64): Parser/action_helpers.c#L1376
'tokenizer_mode': undeclared identifier [D:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Check if the ABI has changed
Process completed with exit code 2.
Windows / build and test (x64)
Process completed with exit code 1.
Windows / build and test (x64): Parser/action_helpers.c#L1377
left of '->raw' must point to struct/union [D:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows / build and test (x64): Parser/action_helpers.c#L1377
'mode': undeclared identifier [D:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows / build and test (x64): Parser/action_helpers.c#L1376
'=': left operand must be l-value [D:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows / build and test (x64): Parser/action_helpers.c#L1376
'mode': undeclared identifier [D:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows / build and test (x64): Parser/action_helpers.c#L1376
'tokenizer_mode': undeclared identifier [D:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows (free-threading) / build and test (x64)
Process completed with exit code 1.
Windows (free-threading) / build and test (x64): Parser/action_helpers.c#L1377
left of '->raw' must point to struct/union [D:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows (free-threading) / build and test (x64): Parser/action_helpers.c#L1377
'mode': undeclared identifier [D:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows (free-threading) / build and test (x64): Parser/action_helpers.c#L1376
'=': left operand must be l-value [D:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows (free-threading) / build and test (x64): Parser/action_helpers.c#L1376
'mode': undeclared identifier [D:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows (free-threading) / build and test (x64): Parser/action_helpers.c#L1376
'tokenizer_mode': undeclared identifier [D:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows (free-threading) / build (arm64)
Process completed with exit code 1.
Windows (free-threading) / build (arm64): Parser/action_helpers.c#L1377
left of '->raw' must point to struct/union [D:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows (free-threading) / build (arm64): Parser/action_helpers.c#L1377
'mode': undeclared identifier [D:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows (free-threading) / build (arm64): Parser/action_helpers.c#L1376
'=': left operand must be l-value [D:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows (free-threading) / build (arm64): Parser/action_helpers.c#L1376
'mode': undeclared identifier [D:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows (free-threading) / build (arm64): Parser/action_helpers.c#L1376
'tokenizer_mode': undeclared identifier [D:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Ubuntu (free-threading) / build and test (ubuntu-24.04)
Process completed with exit code 2.
Ubuntu (free-threading) / build and test (ubuntu-24.04): Parser/action_helpers.c#L1377
request for member ‘raw’ in something not a structure or union
Ubuntu (free-threading) / build and test (ubuntu-24.04): Parser/action_helpers.c#L1376
implicit declaration of function ‘TOK_GET_MODE’ [-Werror=implicit-function-declaration]
Ubuntu (free-threading) / build and test (ubuntu-24.04): Parser/action_helpers.c#L1376
unknown type name ‘tokenizer_mode’
Ubuntu (free-threading) / build and test (ubuntu-24.04): Parser/action_helpers.c#L1375
implicit declaration of function ‘INSIDE_FSTRING’ [-Werror=implicit-function-declaration]
Check if generated files are up to date
Process completed with exit code 2.
Ubuntu SSL tests with OpenSSL (ubuntu-24.04, 3.0.15)
Process completed with exit code 2.
Ubuntu SSL tests with OpenSSL (ubuntu-24.04, 3.0.15): Parser/action_helpers.c#L1377
request for member ‘raw’ in something not a structure or union
Ubuntu SSL tests with OpenSSL (ubuntu-24.04, 3.0.15): Parser/action_helpers.c#L1376
implicit declaration of function ‘TOK_GET_MODE’ [-Werror=implicit-function-declaration]
Ubuntu SSL tests with OpenSSL (ubuntu-24.04, 3.0.15): Parser/action_helpers.c#L1376
unknown type name ‘tokenizer_mode’
Ubuntu SSL tests with OpenSSL (ubuntu-24.04, 3.0.15): Parser/action_helpers.c#L1375
implicit declaration of function ‘INSIDE_FSTRING’ [-Werror=implicit-function-declaration]
Docs / Docs
Process completed with exit code 2.
macOS / build and test (macos-13)
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): Parser/action_helpers.c#L1377
request for member ‘raw’ in something not a structure or union
Ubuntu (free-threading) / build and test (ubuntu-24.04-arm): Parser/action_helpers.c#L1376
implicit declaration of function ‘TOK_GET_MODE’ [-Werror=implicit-function-declaration]
Ubuntu (free-threading) / build and test (ubuntu-24.04-arm): Parser/action_helpers.c#L1375
implicit declaration of function ‘INSIDE_FSTRING’ [-Werror=implicit-function-declaration]
WASI / build and test
Process completed with exit code 1.
Docs / Doctest
Process completed with exit code 2.
Sanitizers / TSan (free-threading)
Process completed with exit code 2.
Ubuntu / build and test (ubuntu-24.04-arm)
Process completed with exit code 2.
Ubuntu / build and test (ubuntu-24.04-arm): Parser/action_helpers.c#L1377
request for member ‘raw’ in something not a structure or union
Ubuntu / build and test (ubuntu-24.04-arm): Parser/action_helpers.c#L1376
implicit declaration of function ‘TOK_GET_MODE’ [-Werror=implicit-function-declaration]
Ubuntu / build and test (ubuntu-24.04-arm): Parser/action_helpers.c#L1376
unknown type name ‘tokenizer_mode’
Ubuntu / build and test (ubuntu-24.04-arm): Parser/action_helpers.c#L1375
implicit declaration of function ‘INSIDE_FSTRING’ [-Werror=implicit-function-declaration]
Sanitizers / TSan
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): Parser/action_helpers.c#L1377
request for member ‘raw’ in something not a structure or union
Ubuntu / build and test (ubuntu-24.04): Parser/action_helpers.c#L1376
implicit declaration of function ‘TOK_GET_MODE’ [-Werror=implicit-function-declaration]
Ubuntu / build and test (ubuntu-24.04): Parser/action_helpers.c#L1376
unknown type name ‘tokenizer_mode’
Ubuntu / build and test (ubuntu-24.04): Parser/action_helpers.c#L1375
implicit declaration of function ‘INSIDE_FSTRING’ [-Werror=implicit-function-declaration]
Address sanitizer (ubuntu-24.04)
Process completed with exit code 2.
Address sanitizer (ubuntu-24.04): Parser/action_helpers.c#L1377
request for member ‘raw’ in something not a structure or union
Address sanitizer (ubuntu-24.04): Parser/action_helpers.c#L1376
implicit declaration of function ‘TOK_GET_MODE’ [-Werror=implicit-function-declaration]
Address sanitizer (ubuntu-24.04): Parser/action_helpers.c#L1376
unknown type name ‘tokenizer_mode’
Address sanitizer (ubuntu-24.04): Parser/action_helpers.c#L1375
implicit declaration of function ‘INSIDE_FSTRING’ [-Werror=implicit-function-declaration]
Ubuntu SSL tests with OpenSSL (ubuntu-24.04, 3.2.3)
Process completed with exit code 2.
Ubuntu SSL tests with OpenSSL (ubuntu-24.04, 3.2.3): Parser/action_helpers.c#L1377
request for member ‘raw’ in something not a structure or union
Ubuntu SSL tests with OpenSSL (ubuntu-24.04, 3.2.3): Parser/action_helpers.c#L1376
implicit declaration of function ‘TOK_GET_MODE’ [-Werror=implicit-function-declaration]
Ubuntu SSL tests with OpenSSL (ubuntu-24.04, 3.2.3): Parser/action_helpers.c#L1376
unknown type name ‘tokenizer_mode’
Ubuntu SSL tests with OpenSSL (ubuntu-24.04, 3.2.3): Parser/action_helpers.c#L1375
implicit declaration of function ‘INSIDE_FSTRING’ [-Werror=implicit-function-declaration]
Ubuntu SSL tests with OpenSSL (ubuntu-24.04, 3.1.7)
Process completed with exit code 2.
Ubuntu SSL tests with OpenSSL (ubuntu-24.04, 3.1.7): Parser/action_helpers.c#L1377
request for member ‘raw’ in something not a structure or union
Ubuntu SSL tests with OpenSSL (ubuntu-24.04, 3.1.7): Parser/action_helpers.c#L1376
implicit declaration of function ‘TOK_GET_MODE’ [-Werror=implicit-function-declaration]
Ubuntu SSL tests with OpenSSL (ubuntu-24.04, 3.1.7): Parser/action_helpers.c#L1376
unknown type name ‘tokenizer_mode’
Ubuntu SSL tests with OpenSSL (ubuntu-24.04, 3.1.7): Parser/action_helpers.c#L1375
implicit declaration of function ‘INSIDE_FSTRING’ [-Werror=implicit-function-declaration]
Hypothesis tests on Ubuntu
Process completed with exit code 2.
Hypothesis tests on Ubuntu: Parser/action_helpers.c#L1377
request for member ‘raw’ in something not a structure or union
Hypothesis tests on Ubuntu: Parser/action_helpers.c#L1376
implicit declaration of function ‘TOK_GET_MODE’ [-Werror=implicit-function-declaration]
Hypothesis tests on Ubuntu: Parser/action_helpers.c#L1376
unknown type name ‘tokenizer_mode’
Hypothesis tests on Ubuntu: Parser/action_helpers.c#L1375
implicit declaration of function ‘INSIDE_FSTRING’ [-Werror=implicit-function-declaration]
Ubuntu SSL tests with OpenSSL (ubuntu-24.04, 3.3.2)
Process completed with exit code 2.
Ubuntu SSL tests with OpenSSL (ubuntu-24.04, 3.3.2): Parser/action_helpers.c#L1377
request for member ‘raw’ in something not a structure or union
Ubuntu SSL tests with OpenSSL (ubuntu-24.04, 3.3.2): Parser/action_helpers.c#L1376
implicit declaration of function ‘TOK_GET_MODE’ [-Werror=implicit-function-declaration]
Ubuntu SSL tests with OpenSSL (ubuntu-24.04, 3.3.2): Parser/action_helpers.c#L1376
unknown type name ‘tokenizer_mode’
Ubuntu SSL tests with OpenSSL (ubuntu-24.04, 3.3.2): Parser/action_helpers.c#L1375
implicit declaration of function ‘INSIDE_FSTRING’ [-Werror=implicit-function-declaration]
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.5.1 is already installed and up-to-date. To reinstall 2.5.1, 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.5.1 is already installed and up-to-date. To reinstall 2.5.1, run: brew reinstall pkgconf
Windows / build (arm64): Parser/action_helpers.c#L1376
'TOK_GET_MODE' undefined; assuming extern returning int [D:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows / build (arm64): Parser/action_helpers.c#L1375
'INSIDE_FSTRING' undefined; assuming extern returning int [D:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Check if the ABI has changed
The `python-version` input is not set. The version of Python currently in `PATH` will be used.
Windows / build and test (x64): Parser/action_helpers.c#L1376
'TOK_GET_MODE' undefined; assuming extern returning int [D:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows / build and test (x64): Parser/action_helpers.c#L1375
'INSIDE_FSTRING' undefined; assuming extern returning int [D:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows (free-threading) / build and test (x64): Parser/action_helpers.c#L1376
'TOK_GET_MODE' undefined; assuming extern returning int [D:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows (free-threading) / build and test (x64): Parser/action_helpers.c#L1375
'INSIDE_FSTRING' undefined; assuming extern returning int [D:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows (free-threading) / build (arm64): Parser/action_helpers.c#L1376
'TOK_GET_MODE' undefined; assuming extern returning int [D:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows (free-threading) / build (arm64): Parser/action_helpers.c#L1375
'INSIDE_FSTRING' undefined; assuming extern returning int [D:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Ubuntu (free-threading) / build and test (ubuntu-24.04): Parser/action_helpers.c#L1376
initialization of ‘int *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
Ubuntu SSL tests with OpenSSL (ubuntu-24.04, 3.0.15): Parser/action_helpers.c#L1376
initialization of ‘int *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
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.1 is already installed and up-to-date. To reinstall 2.5.1, run: brew reinstall pkgconf
Ubuntu (free-threading) / build and test (ubuntu-24.04-arm): Parser/action_helpers.c#L1376
initialization of ‘int *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
Ubuntu / build and test (ubuntu-24.04-arm): Parser/action_helpers.c#L1376
initialization of ‘int *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
Ubuntu / build and test (ubuntu-24.04): Parser/action_helpers.c#L1376
initialization of ‘int *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
Address sanitizer (ubuntu-24.04): Parser/action_helpers.c#L1376
initialization of ‘int *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
Ubuntu SSL tests with OpenSSL (ubuntu-24.04, 3.2.3): Parser/action_helpers.c#L1376
initialization of ‘int *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
Ubuntu SSL tests with OpenSSL (ubuntu-24.04, 3.1.7): Parser/action_helpers.c#L1376
initialization of ‘int *’ 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.
Hypothesis tests on Ubuntu: Parser/action_helpers.c#L1376
initialization of ‘int *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
Ubuntu SSL tests with OpenSSL (ubuntu-24.04, 3.3.2): Parser/action_helpers.c#L1376
initialization of ‘int *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
Windows / build and test (Win32)
The windows-latest label will migrate from Windows Server 2022 to Windows Server 2025 beginning September 2, 2025. For more information see https://github.com/actions/runner-images/issues/12677
Windows / build (arm64)
The windows-latest label will migrate from Windows Server 2022 to Windows Server 2025 beginning September 2, 2025. For more information see https://github.com/actions/runner-images/issues/12677
Windows / build and test (x64)
The windows-latest label will migrate from Windows Server 2022 to Windows Server 2025 beginning September 2, 2025. For more information see https://github.com/actions/runner-images/issues/12677
Windows (free-threading) / build and test (x64)
The windows-latest label will migrate from Windows Server 2022 to Windows Server 2025 beginning September 2, 2025. For more information see https://github.com/actions/runner-images/issues/12677
Windows (free-threading) / build (arm64)
The windows-latest label will migrate from Windows Server 2022 to Windows Server 2025 beginning September 2, 2025. For more information see https://github.com/actions/runner-images/issues/12677