Skip to content

gh-140774: Fix pathlib.Path.chmod handling of Windows Archive bit #174943

gh-140774: Fix pathlib.Path.chmod handling of Windows Archive bit

gh-140774: Fix pathlib.Path.chmod handling of Windows Archive bit #174943

Triggered via pull request November 28, 2025 06:47
Status Failure
Total duration 22m 22s
Artifacts 1

build.yml

on: pull_request
Change detection  /  Create context from changed files
11s
Change detection / Create context from changed files
Matrix: build-android
Matrix: Address sanitizer
Matrix: build-macos
Matrix: build-san
Matrix: Ubuntu SSL tests with AWS-LC
Matrix: Ubuntu SSL tests with OpenSSL
Matrix: build-ubuntu
Matrix: build-windows-msi
Waiting for pending jobs
Matrix: build-windows
Matrix: CIFuzz
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
4m 41s
Check if generated files are up to date
iOS
17m 29s
iOS
WASI  /  build and test
4m 35s
WASI / build and test
Hypothesis tests on Ubuntu
8m 42s
Hypothesis tests on Ubuntu
Cross build Linux
4m 6s
Cross build Linux
Docs  /  Check EPUB
Docs / Check EPUB
Docs  /  Docs
Docs / Docs
Docs  /  Doctest
Docs / Doctest
All required checks pass
2s
All required checks pass
Fit to window
Zoom out
Zoom in

Annotations

42 errors and 56 warnings
Windows / Build and test (x64): Modules/posixmodule.c#L4094
left of '->fd' must point to struct/union [D:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows / Build and test (x64): Modules/posixmodule.c#L4087
'dir_fd': undeclared identifier [D:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows / Build and test (x64): Modules/posixmodule.c#L4087
'dir_fd': undeclared identifier [D:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows / Build and test (x64): Modules/posixmodule.c#L4086
left of '->object' must point to struct/union [D:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows / Build and test (x64): Modules/posixmodule.c#L4073
syntax error: missing ';' before '{' [D:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows / Build and test (x64): Modules/posixmodule.c#L4023
'fd': undeclared identifier [D:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows / Build and test (x64): Modules/posixmodule.c#L4022
syntax error: missing ';' before '{' [D:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows / Build and test (x64): Modules/posixmodule.c#L4016
'hfile': undeclared identifier [D:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows / Build and test (x64): Modules/posixmodule.c#L4005
'hfile': undeclared identifier [D:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows / Build and test (x64): Modules/posixmodule.c#L4003
syntax error: missing ';' before '{' [D:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows / Build and test (Win32)
Process completed with exit code 1.
Windows (free-threading) / Build and test (x64): Modules/posixmodule.c#L4094
left of '->fd' must point to struct/union [D:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows (free-threading) / Build and test (x64): Modules/posixmodule.c#L4087
'dir_fd': undeclared identifier [D:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows (free-threading) / Build and test (x64): Modules/posixmodule.c#L4087
'dir_fd': undeclared identifier [D:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows (free-threading) / Build and test (x64): Modules/posixmodule.c#L4086
left of '->object' must point to struct/union [D:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows (free-threading) / Build and test (x64): Modules/posixmodule.c#L4073
syntax error: missing ';' before '{' [D:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows (free-threading) / Build and test (x64): Modules/posixmodule.c#L4023
'fd': undeclared identifier [D:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows (free-threading) / Build and test (x64): Modules/posixmodule.c#L4022
syntax error: missing ';' before '{' [D:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows (free-threading) / Build and test (x64): Modules/posixmodule.c#L4016
'hfile': undeclared identifier [D:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows (free-threading) / Build and test (x64): Modules/posixmodule.c#L4005
'hfile': undeclared identifier [D:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows (free-threading) / Build and test (x64): Modules/posixmodule.c#L4003
syntax error: missing ';' before '{' [D:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows (free-threading) / Build and test (arm64): Modules/posixmodule.c#L4094
left of '->fd' must point to struct/union [C:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows (free-threading) / Build and test (arm64): Modules/posixmodule.c#L4087
'dir_fd': undeclared identifier [C:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows (free-threading) / Build and test (arm64): Modules/posixmodule.c#L4087
'dir_fd': undeclared identifier [C:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows (free-threading) / Build and test (arm64): Modules/posixmodule.c#L4086
left of '->object' must point to struct/union [C:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows (free-threading) / Build and test (arm64): Modules/posixmodule.c#L4073
syntax error: missing ';' before '{' [C:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows (free-threading) / Build and test (arm64): Modules/posixmodule.c#L4023
'fd': undeclared identifier [C:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows (free-threading) / Build and test (arm64): Modules/posixmodule.c#L4022
syntax error: missing ';' before '{' [C:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows (free-threading) / Build and test (arm64): Modules/posixmodule.c#L4016
'hfile': undeclared identifier [C:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows (free-threading) / Build and test (arm64): Modules/posixmodule.c#L4005
'hfile': undeclared identifier [C:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows (free-threading) / Build and test (arm64): Modules/posixmodule.c#L4003
syntax error: missing ';' before '{' [C:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows / Build and test (arm64): Modules/posixmodule.c#L4094
left of '->fd' must point to struct/union [C:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows / Build and test (arm64): Modules/posixmodule.c#L4087
'dir_fd': undeclared identifier [C:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows / Build and test (arm64): Modules/posixmodule.c#L4087
'dir_fd': undeclared identifier [C:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows / Build and test (arm64): Modules/posixmodule.c#L4086
left of '->object' must point to struct/union [C:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows / Build and test (arm64): Modules/posixmodule.c#L4073
syntax error: missing ';' before '{' [C:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows / Build and test (arm64): Modules/posixmodule.c#L4023
'fd': undeclared identifier [C:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows / Build and test (arm64): Modules/posixmodule.c#L4022
syntax error: missing ';' before '{' [C:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows / Build and test (arm64): Modules/posixmodule.c#L4016
'hfile': undeclared identifier [C:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows / Build and test (arm64): Modules/posixmodule.c#L4005
'hfile': undeclared identifier [C:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows / Build and test (arm64): Modules/posixmodule.c#L4003
syntax error: missing ';' before '{' [C:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
All required checks pass
Process completed with exit code 1.
Windows / Build and test (x64): Modules/posixmodule.c#L4101
'function': 'DWORD' differs in levels of indirection from 'void *' [D:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows / Build and test (x64): Modules/posixmodule.c#L4101
'CreateFileW': different types for formal and actual parameter 4 [D:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows / Build and test (x64): Modules/posixmodule.c#L4101
'function': 'LPSECURITY_ATTRIBUTES' differs in levels of indirection from 'int' [D:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows / Build and test (x64): Modules/posixmodule.c#L4100
'CreateFileW': different types for formal and actual parameter 3 [D:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows / Build and test (x64): Modules/posixmodule.c#L4100
'function': 'DWORD' differs in levels of indirection from 'void *' [D:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows / Build and test (x64): Modules/posixmodule.c#L4099
'CreateFileW': different types for formal and actual parameter 1 [D:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows / Build and test (x64): Modules/posixmodule.c#L4099
'function': 'LPCWSTR' differs in levels of indirection from 'int' [D:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows / Build and test (x64): Modules/posixmodule.c#L4088
'return': 'int' differs in levels of indirection from 'void *' [D:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows / Build and test (x64): Modules/posixmodule.c#L4016
'SetFileInformationByHandle': pointer mismatch for actual parameter 1 [D:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows / Build and test (x64): Modules/posixmodule.c#L4005
'GetFileInformationByHandleEx': pointer mismatch for actual parameter 1 [D:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows (free-threading) / Build and test (x64): Modules/posixmodule.c#L4101
'function': 'DWORD' differs in levels of indirection from 'void *' [D:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows (free-threading) / Build and test (x64): Modules/posixmodule.c#L4101
'CreateFileW': different types for formal and actual parameter 4 [D:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows (free-threading) / Build and test (x64): Modules/posixmodule.c#L4101
'function': 'LPSECURITY_ATTRIBUTES' differs in levels of indirection from 'int' [D:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows (free-threading) / Build and test (x64): Modules/posixmodule.c#L4100
'CreateFileW': different types for formal and actual parameter 3 [D:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows (free-threading) / Build and test (x64): Modules/posixmodule.c#L4100
'function': 'DWORD' differs in levels of indirection from 'void *' [D:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows (free-threading) / Build and test (x64): Modules/posixmodule.c#L4099
'CreateFileW': different types for formal and actual parameter 1 [D:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows (free-threading) / Build and test (x64): Modules/posixmodule.c#L4099
'function': 'LPCWSTR' differs in levels of indirection from 'int' [D:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows (free-threading) / Build and test (x64): Modules/posixmodule.c#L4088
'return': 'int' differs in levels of indirection from 'void *' [D:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows (free-threading) / Build and test (x64): Modules/posixmodule.c#L4016
'SetFileInformationByHandle': pointer mismatch for actual parameter 1 [D:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows (free-threading) / Build and test (x64): Modules/posixmodule.c#L4005
'GetFileInformationByHandleEx': pointer mismatch for actual parameter 1 [D:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows (free-threading) / Build and test (arm64): Modules/posixmodule.c#L4101
'function': 'DWORD' differs in levels of indirection from 'void *' [C:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows (free-threading) / Build and test (arm64): Modules/posixmodule.c#L4101
'CreateFileW': different types for formal and actual parameter 4 [C:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows (free-threading) / Build and test (arm64): Modules/posixmodule.c#L4101
'function': 'LPSECURITY_ATTRIBUTES' differs in levels of indirection from 'int' [C:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows (free-threading) / Build and test (arm64): Modules/posixmodule.c#L4100
'CreateFileW': different types for formal and actual parameter 3 [C:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows (free-threading) / Build and test (arm64): Modules/posixmodule.c#L4100
'function': 'DWORD' differs in levels of indirection from 'void *' [C:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows (free-threading) / Build and test (arm64): Modules/posixmodule.c#L4099
'CreateFileW': different types for formal and actual parameter 1 [C:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows (free-threading) / Build and test (arm64): Modules/posixmodule.c#L4099
'function': 'LPCWSTR' differs in levels of indirection from 'int' [C:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows (free-threading) / Build and test (arm64): Modules/posixmodule.c#L4088
'return': 'int' differs in levels of indirection from 'void *' [C:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows (free-threading) / Build and test (arm64): Modules/posixmodule.c#L4016
'SetFileInformationByHandle': pointer mismatch for actual parameter 1 [C:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows (free-threading) / Build and test (arm64): Modules/posixmodule.c#L4005
'GetFileInformationByHandleEx': pointer mismatch for actual parameter 1 [C:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows / Build and test (arm64): Modules/posixmodule.c#L4101
'function': 'DWORD' differs in levels of indirection from 'void *' [C:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows / Build and test (arm64): Modules/posixmodule.c#L4101
'CreateFileW': different types for formal and actual parameter 4 [C:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows / Build and test (arm64): Modules/posixmodule.c#L4101
'function': 'LPSECURITY_ATTRIBUTES' differs in levels of indirection from 'int' [C:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows / Build and test (arm64): Modules/posixmodule.c#L4100
'CreateFileW': different types for formal and actual parameter 3 [C:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows / Build and test (arm64): Modules/posixmodule.c#L4100
'function': 'DWORD' differs in levels of indirection from 'void *' [C:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows / Build and test (arm64): Modules/posixmodule.c#L4099
'CreateFileW': different types for formal and actual parameter 1 [C:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows / Build and test (arm64): Modules/posixmodule.c#L4099
'function': 'LPCWSTR' differs in levels of indirection from 'int' [C:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows / Build and test (arm64): Modules/posixmodule.c#L4088
'return': 'int' differs in levels of indirection from 'void *' [C:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows / Build and test (arm64): Modules/posixmodule.c#L4016
'SetFileInformationByHandle': pointer mismatch for actual parameter 1 [C:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows / Build and test (arm64): Modules/posixmodule.c#L4005
'GetFileInformationByHandleEx': pointer mismatch for actual parameter 1 [C:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
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-14)
Already linked: /opt/homebrew/Cellar/tcl-tk/9.0.3
macOS / build and test (macos-14)
`$HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK` is set: not checking for outdated dependents or dependents with broken linkage!
macOS / build and test (macos-14)
gdbm 1.26 is already installed and up-to-date. To reinstall 1.26, run: brew reinstall gdbm
macOS / build and test (macos-14)
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-14)
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 (macos-14)
Already linked: /opt/homebrew/Cellar/tcl-tk/9.0.3
macOS (free-threading) / build and test (macos-14)
`$HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK` is set: not checking for outdated dependents or dependents with broken linkage!
macOS (free-threading) / build and test (macos-14)
gdbm 1.26 is already installed and up-to-date. To reinstall 1.26, run: brew reinstall gdbm
macOS (free-threading) / build and test (macos-14)
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 (macos-14)
pkgconf 2.5.1 is already installed and up-to-date. To reinstall 2.5.1, run: brew reinstall pkgconf
macOS / build and test (macos-15-intel)
Already linked: /usr/local/Cellar/tcl-tk/9.0.3
macOS / build and test (macos-15-intel)
`$HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK` is set: not checking for outdated dependents or dependents with broken linkage!
macOS / build and test (macos-15-intel)
gdbm 1.26 is already installed and up-to-date. To reinstall 1.26, run: brew reinstall gdbm
macOS / build and test (macos-15-intel)
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-15-intel)
pkgconf 2.5.1 is already installed and up-to-date. To reinstall 2.5.1, run: brew reinstall pkgconf

Artifacts

Produced during runtime
Name Size Digest
UBSan-logs-default Expired
17.3 KB
sha256:1a95ed5b4b13b053a6d56e12376c8e8374e9a17ec4bd0d4ba99d5b12414a3324