Skip to content

gh-159434: Avoid borrowed references in func_get_annotation_dict() #217463

gh-159434: Avoid borrowed references in func_get_annotation_dict()

gh-159434: Avoid borrowed references in func_get_annotation_dict() #217463

Triggered via pull request November 1, 2026 07:57
Status Failure
Total duration 1h 31m 36s
Artifacts 4

build.yml

on: pull_request
Change detection  /  Create context from changed files
15s
Change detection / Create context from changed files
Matrix: build-ios
Matrix: build-macos
Matrix: build-san
Matrix: Ubuntu SSL tests
Matrix: build-ubuntu
Matrix: build-windows
Matrix: cifuzz
Docs  /  Doctest
1h 7m
Docs / Doctest
Docs  /  Check EPUB
2m 18s
Docs / Check EPUB
Check if Autoconf files are up to date
31s
Check if Autoconf files are up to date
Check if generated files are up to date
1h 3m
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
1h 6m
Ubuntu (installed) / build, install and test
Emscripten  /  build and test
1h 13m
Emscripten / build and test
WASI  /  build and test
1h 4m
WASI / build and test
Hypothesis tests on Ubuntu
1h 7m
Hypothesis tests on Ubuntu
Lazy imports enabled  /  Run Tests with lazy_imports=all
1h 12m
Lazy imports enabled / Run Tests with lazy_imports=all
Cross build Linux
1h 4m
Cross build Linux
Matrix: build-android
Docs  /  ...  /  Check for removed HTML IDs
1m 49s
Docs / Check for removed HTML IDs / Check for removed HTML IDs
All required checks pass
3s
All required checks pass
Fit to window
Zoom out
Zoom in

Annotations

25 errors, 6 warnings, and 14 notices
Docs / Check EPUB
Process completed with exit code 1.
Docs / Docs
Process completed with exit code 2.
Windows / Build and test (arm64, switch-case)
Process completed with exit code 2.
test_syntax_error_in_source_with_valid_pyc (test.test_zipimport.ZStdCompressedZipImportTestCase.test_syntax_error_in_source_with_valid_pyc): Lib/test/test_zipimport.py#L286
AssertionError: 'C:\\[17 chars]on\\build\\test_python_9748æ\\junk95142.zip\\ziptestmodule.py' != 'C:\\[17 chars]on\\build\\test_python_9748æ\\junk95142.zip\\ziptestmodule.pyc' - C:\a\cpython\cpython\build\test_python_9748æ\junk95142.zip\ziptestmodule.py + C:\a\cpython\cpython\build\test_python_9748æ\junk95142.zip\ziptestmodule.pyc ? +
testGetCompiledSource (test.test_zipimport.ZStdCompressedZipImportTestCase.testGetCompiledSource): Lib/test/test_zipimport.py#L174
AssertionError: 'C:\\[27 chars]\test_python_9748æ\\junk95142.zip\\pre\\fix\\ziptestmodule.py' != 'C:\\[27 chars]\test_python_9748æ\\junk95142.zip\\pre\\fix\\ziptestmodule.pyc' - C:\a\cpython\cpython\build\test_python_9748æ\junk95142.zip\pre\fix\ziptestmodule.py + C:\a\cpython\cpython\build\test_python_9748æ\junk95142.zip\pre\fix\ziptestmodule.pyc ? +
testBoth (test.test_zipimport.ZStdCompressedZipImportTestCase.testBoth): Lib/test/test_zipimport.py#L174
AssertionError: 'C:\\[27 chars]\test_python_9748æ\\junk95142.zip\\pre\\fix\\ziptestmodule.py' != 'C:\\[27 chars]\test_python_9748æ\\junk95142.zip\\pre\\fix\\ziptestmodule.pyc' - C:\a\cpython\cpython\build\test_python_9748æ\junk95142.zip\pre\fix\ziptestmodule.py + C:\a\cpython\cpython\build\test_python_9748æ\junk95142.zip\pre\fix\ziptestmodule.pyc ? +
test_syntax_error_in_source_with_valid_pyc (test.test_zipimport.UncompressedZipImportTestCase.test_syntax_error_in_source_with_valid_pyc): Lib/test/test_zipimport.py#L286
AssertionError: 'C:\\[17 chars]on\\build\\test_python_9748æ\\junk95142.zip\\ziptestmodule.py' != 'C:\\[17 chars]on\\build\\test_python_9748æ\\junk95142.zip\\ziptestmodule.pyc' - C:\a\cpython\cpython\build\test_python_9748æ\junk95142.zip\ziptestmodule.py + C:\a\cpython\cpython\build\test_python_9748æ\junk95142.zip\ziptestmodule.pyc ? +
testGetCompiledSource (test.test_zipimport.UncompressedZipImportTestCase.testGetCompiledSource): Lib/test/test_zipimport.py#L174
AssertionError: 'C:\\[27 chars]\test_python_9748æ\\junk95142.zip\\pre\\fix\\ziptestmodule.py' != 'C:\\[27 chars]\test_python_9748æ\\junk95142.zip\\pre\\fix\\ziptestmodule.pyc' - C:\a\cpython\cpython\build\test_python_9748æ\junk95142.zip\pre\fix\ziptestmodule.py + C:\a\cpython\cpython\build\test_python_9748æ\junk95142.zip\pre\fix\ziptestmodule.pyc ? +
testBoth (test.test_zipimport.UncompressedZipImportTestCase.testBoth): Lib/test/test_zipimport.py#L174
AssertionError: 'C:\\[27 chars]\test_python_9748æ\\junk95142.zip\\pre\\fix\\ziptestmodule.py' != 'C:\\[27 chars]\test_python_9748æ\\junk95142.zip\\pre\\fix\\ziptestmodule.pyc' - C:\a\cpython\cpython\build\test_python_9748æ\junk95142.zip\pre\fix\ziptestmodule.py + C:\a\cpython\cpython\build\test_python_9748æ\junk95142.zip\pre\fix\ziptestmodule.pyc ? +
test_syntax_error_in_source_with_valid_pyc (test.test_zipimport.DeflateCompressedZipImportTestCase.test_syntax_error_in_source_with_valid_pyc): Lib/test/test_zipimport.py#L286
AssertionError: 'C:\\[17 chars]on\\build\\test_python_9748æ\\junk95142.zip\\ziptestmodule.py' != 'C:\\[17 chars]on\\build\\test_python_9748æ\\junk95142.zip\\ziptestmodule.pyc' - C:\a\cpython\cpython\build\test_python_9748æ\junk95142.zip\ziptestmodule.py + C:\a\cpython\cpython\build\test_python_9748æ\junk95142.zip\ziptestmodule.pyc ? +
testGetCompiledSource (test.test_zipimport.DeflateCompressedZipImportTestCase.testGetCompiledSource): Lib/test/test_zipimport.py#L174
AssertionError: 'C:\\[27 chars]\test_python_9748æ\\junk95142.zip\\pre\\fix\\ziptestmodule.py' != 'C:\\[27 chars]\test_python_9748æ\\junk95142.zip\\pre\\fix\\ziptestmodule.pyc' - C:\a\cpython\cpython\build\test_python_9748æ\junk95142.zip\pre\fix\ziptestmodule.py + C:\a\cpython\cpython\build\test_python_9748æ\junk95142.zip\pre\fix\ziptestmodule.pyc ? +
testBoth (test.test_zipimport.DeflateCompressedZipImportTestCase.testBoth): Lib/test/test_zipimport.py#L174
AssertionError: 'C:\\[27 chars]\test_python_9748æ\\junk95142.zip\\pre\\fix\\ziptestmodule.py' != 'C:\\[27 chars]\test_python_9748æ\\junk95142.zip\\pre\\fix\\ziptestmodule.pyc' - C:\a\cpython\cpython\build\test_python_9748æ\junk95142.zip\pre\fix\ziptestmodule.py + C:\a\cpython\cpython\build\test_python_9748æ\junk95142.zip\pre\fix\ziptestmodule.pyc ? +
Sanitizers / ASan
Process completed with exit code 2.
Windows (free-threading) / Build and test (arm64, switch-case)
Process completed with exit code 2.
test_syntax_error_in_source_with_valid_pyc (test.test_zipimport.ZStdCompressedZipImportTestCase.test_syntax_error_in_source_with_valid_pyc): Lib/test/test_zipimport.py#L286
AssertionError: 'C:\\[17 chars]on\\build\\test_python_2832æ\\junk95142.zip\\ziptestmodule.py' != 'C:\\[17 chars]on\\build\\test_python_2832æ\\junk95142.zip\\ziptestmodule.pyc' - C:\a\cpython\cpython\build\test_python_2832æ\junk95142.zip\ziptestmodule.py + C:\a\cpython\cpython\build\test_python_2832æ\junk95142.zip\ziptestmodule.pyc ? +
testGetCompiledSource (test.test_zipimport.ZStdCompressedZipImportTestCase.testGetCompiledSource): Lib/test/test_zipimport.py#L174
AssertionError: 'C:\\[27 chars]\test_python_2832æ\\junk95142.zip\\pre\\fix\\ziptestmodule.py' != 'C:\\[27 chars]\test_python_2832æ\\junk95142.zip\\pre\\fix\\ziptestmodule.pyc' - C:\a\cpython\cpython\build\test_python_2832æ\junk95142.zip\pre\fix\ziptestmodule.py + C:\a\cpython\cpython\build\test_python_2832æ\junk95142.zip\pre\fix\ziptestmodule.pyc ? +
testBoth (test.test_zipimport.ZStdCompressedZipImportTestCase.testBoth): Lib/test/test_zipimport.py#L174
AssertionError: 'C:\\[27 chars]\test_python_2832æ\\junk95142.zip\\pre\\fix\\ziptestmodule.py' != 'C:\\[27 chars]\test_python_2832æ\\junk95142.zip\\pre\\fix\\ziptestmodule.pyc' - C:\a\cpython\cpython\build\test_python_2832æ\junk95142.zip\pre\fix\ziptestmodule.py + C:\a\cpython\cpython\build\test_python_2832æ\junk95142.zip\pre\fix\ziptestmodule.pyc ? +
test_syntax_error_in_source_with_valid_pyc (test.test_zipimport.UncompressedZipImportTestCase.test_syntax_error_in_source_with_valid_pyc): Lib/test/test_zipimport.py#L286
AssertionError: 'C:\\[17 chars]on\\build\\test_python_2832æ\\junk95142.zip\\ziptestmodule.py' != 'C:\\[17 chars]on\\build\\test_python_2832æ\\junk95142.zip\\ziptestmodule.pyc' - C:\a\cpython\cpython\build\test_python_2832æ\junk95142.zip\ziptestmodule.py + C:\a\cpython\cpython\build\test_python_2832æ\junk95142.zip\ziptestmodule.pyc ? +
testGetCompiledSource (test.test_zipimport.UncompressedZipImportTestCase.testGetCompiledSource): Lib/test/test_zipimport.py#L174
AssertionError: 'C:\\[27 chars]\test_python_2832æ\\junk95142.zip\\pre\\fix\\ziptestmodule.py' != 'C:\\[27 chars]\test_python_2832æ\\junk95142.zip\\pre\\fix\\ziptestmodule.pyc' - C:\a\cpython\cpython\build\test_python_2832æ\junk95142.zip\pre\fix\ziptestmodule.py + C:\a\cpython\cpython\build\test_python_2832æ\junk95142.zip\pre\fix\ziptestmodule.pyc ? +
testBoth (test.test_zipimport.UncompressedZipImportTestCase.testBoth): Lib/test/test_zipimport.py#L174
AssertionError: 'C:\\[27 chars]\test_python_2832æ\\junk95142.zip\\pre\\fix\\ziptestmodule.py' != 'C:\\[27 chars]\test_python_2832æ\\junk95142.zip\\pre\\fix\\ziptestmodule.pyc' - C:\a\cpython\cpython\build\test_python_2832æ\junk95142.zip\pre\fix\ziptestmodule.py + C:\a\cpython\cpython\build\test_python_2832æ\junk95142.zip\pre\fix\ziptestmodule.pyc ? +
test_syntax_error_in_source_with_valid_pyc (test.test_zipimport.DeflateCompressedZipImportTestCase.test_syntax_error_in_source_with_valid_pyc): Lib/test/test_zipimport.py#L286
AssertionError: 'C:\\[17 chars]on\\build\\test_python_2832æ\\junk95142.zip\\ziptestmodule.py' != 'C:\\[17 chars]on\\build\\test_python_2832æ\\junk95142.zip\\ziptestmodule.pyc' - C:\a\cpython\cpython\build\test_python_2832æ\junk95142.zip\ziptestmodule.py + C:\a\cpython\cpython\build\test_python_2832æ\junk95142.zip\ziptestmodule.pyc ? +
testGetCompiledSource (test.test_zipimport.DeflateCompressedZipImportTestCase.testGetCompiledSource): Lib/test/test_zipimport.py#L174
AssertionError: 'C:\\[27 chars]\test_python_2832æ\\junk95142.zip\\pre\\fix\\ziptestmodule.py' != 'C:\\[27 chars]\test_python_2832æ\\junk95142.zip\\pre\\fix\\ziptestmodule.pyc' - C:\a\cpython\cpython\build\test_python_2832æ\junk95142.zip\pre\fix\ziptestmodule.py + C:\a\cpython\cpython\build\test_python_2832æ\junk95142.zip\pre\fix\ziptestmodule.pyc ? +
testBoth (test.test_zipimport.DeflateCompressedZipImportTestCase.testBoth): Lib/test/test_zipimport.py#L174
AssertionError: 'C:\\[27 chars]\test_python_2832æ\\junk95142.zip\\pre\\fix\\ziptestmodule.py' != 'C:\\[27 chars]\test_python_2832æ\\junk95142.zip\\pre\\fix\\ziptestmodule.pyc' - C:\a\cpython\cpython\build\test_python_2832æ\junk95142.zip\pre\fix\ziptestmodule.py + C:\a\cpython\cpython\build\test_python_2832æ\junk95142.zip\pre\fix\ziptestmodule.pyc ? +
All required checks pass
Process completed with exit code 1.
Cross build Linux: Python/marshal.c#L740
unused variable ‘w’ [-Wunused-variable]
Ubuntu (installed) / build, install and test: Python/marshal.c#L740
unused variable ‘w’ [-Wunused-variable]
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-26)
`$HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK` is set: not checking for outdated dependents or dependents with broken linkage!
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-intel)
`$HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK` is set: not checking for outdated dependents or dependents with broken linkage!
Change detection / Create context from changed files
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
C API Docs / Check if all C APIs are documented
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
Docs / Check EPUB
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
Docs / Docs
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
Android (aarch64)
Due to capacity constraints, jobs targeting macOS arm64 runners may experience longer queue times.
Docs / Check for removed HTML IDs / Check for removed HTML IDs
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
macOS / build and test (macos-26)
Due to capacity constraints, jobs targeting macOS arm64 runners may experience longer queue times.
macOS (free-threading) / build and test (macos-26)
Due to capacity constraints, jobs targeting macOS arm64 runners may experience longer queue times.
CIFuzz / cpython3 (address)
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
iOS
Due to capacity constraints, jobs targeting macOS arm64 runners may experience longer queue times.
CIFuzz / cpython3 (undefined)
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
CIFuzz / cpython3 (memory)
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
iOS (free-threading)
Due to capacity constraints, jobs targeting macOS arm64 runners may experience longer queue times.
All required checks pass
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"

Artifacts

Produced during runtime
Name Size Digest
ASan-logs-default
2.49 KB
sha256:a9212bb1aaa3a00069f711e9dfc61bad4ce2fb0833e05df9373857e80674583e
MSan-logs-default
209 Bytes
sha256:aa001a47091b6f0527f1f5f85f5749b61b4056ff50fe40486e6a0dc8f24d136b
UBSan-logs-default
1.17 KB
sha256:9f13ca4789c0f6b01bee9902ddd89f5a45d8d7cfe2e81e4f70ecf99281e91f02
html-ids-head.json.gz
132 KB
sha256:fcffbe985c084fbbfdfd6f725df92595086ffcf02f9cd9c2a95a17b232d4044d