Build Information
Failed to build swift-corelibs-foundation, reference main (94ef6a
), with Swift 6.0 for macOS (SPM) on 22 Aug 2025 06:59:01 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/swiftlang/swift-corelibs-foundation.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/swiftlang/swift-corelibs-foundation
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 94ef6ab Merge pull request #5259 from iCharlesHu/charles/decimal-pow
Cloned https://github.com/swiftlang/swift-corelibs-foundation.git
Revision (git rev-parse @):
94ef6ab1e680bd342897671106ed3ba79ba89d70
SUCCESS checkout https://github.com/swiftlang/swift-corelibs-foundation.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/swiftlang/swift-corelibs-foundation.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64
Building for debugging...
In file included from <built-in>:1:
/Users/admin/builder/spi-builder-workspace/Sources/CoreFoundation/internalInclude/CoreFoundation_Prefix.h:20:5: warning: 'TARGET_OS_WASI' is not defined, evaluates to 0 [-Wundef-prefix=TARGET_OS_]
20 | #if TARGET_OS_WASI
| ^
1 warning generated.
[0/608] Compiling CoreFoundation CFURLAccess.c
[1/608] Write sources
[1/608] Write xdgTestHelper-entitlement.plist
In file included from <built-in>:1:
/Users/admin/builder/spi-builder-workspace/Sources/CoreFoundation/internalInclude/CoreFoundation_Prefix.h:20:5: warning: 'TARGET_OS_WASI' is not defined, evaluates to 0 [-Wundef-prefix=TARGET_OS_]
20 | #if TARGET_OS_WASI
| ^
1 warning generated.
[3/608] Compiling CoreFoundation CFURLComponents_URIParser.c
[4/608] Write sources
[5/608] Write plutil-entitlement.plist
In file included from <built-in>:1:
/Users/admin/builder/spi-builder-workspace/Sources/CoreFoundation/internalInclude/CoreFoundation_Prefix.h:20:5: warning: 'TARGET_OS_WASI' is not defined, evaluates to 0 [-Wundef-prefix=TARGET_OS_]
20 | #if TARGET_OS_WASI
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CoreFoundation/CFURL.c:2008:9: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
2008 | CFAssert(false, __kCFLogAssertion, "Cannot create an CFURL from a NULL string");
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/CoreFoundation/internalInclude/CFInternal.h:248:72: note: expanded from macro 'CFAssert'
248 | #define CFAssert(cond, prio, desc) do { if (!(cond)) { CFLog(prio, CFSTR(desc)); /* HALT; */ } } while (0)
| ^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/CoreFoundation/include/CFString.h:185:22: note: expanded from macro 'CFSTR'
185 | #define CFSTR(cStr) ({ \
| ^~~~
186 | static struct __CFConstStr str = {{(uintptr_t)&_CF_CONSTANT_STRING_SWIFT_CLASS, _CF_CONSTANT_OBJECT_STRONG_RC, 0x07C8}, (uint8_t *)(cStr), sizeof(cStr) - 1}; \
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
187 | (CFStringRef)&str; \
| ~~~~~~~~~~~~~~~~~~~~
188 | })
| ~~
/Users/admin/builder/spi-builder-workspace/Sources/CoreFoundation/CFURL.c:2008:9: note: treat the string as an argument to avoid this
/Users/admin/builder/spi-builder-workspace/Sources/CoreFoundation/internalInclude/CFInternal.h:248:72: note: expanded from macro 'CFAssert'
248 | #define CFAssert(cond, prio, desc) do { if (!(cond)) { CFLog(prio, CFSTR(desc)); /* HALT; */ } } while (0)
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CoreFoundation/include/CFString.h:185:22: note: expanded from macro 'CFSTR'
185 | #define CFSTR(cStr) ({ \
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CoreFoundation/CFURL.c:5239:39: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
5239 | CFLog(kCFLogLevelWarning, CFSTR("CFURLCreateFilePathURL failed because it was passed a URL which has no scheme"));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/CoreFoundation/include/CFString.h:185:22: note: expanded from macro 'CFSTR'
185 | #define CFSTR(cStr) ({ \
| ^~~~
186 | static struct __CFConstStr str = {{(uintptr_t)&_CF_CONSTANT_STRING_SWIFT_CLASS, _CF_CONSTANT_OBJECT_STRONG_RC, 0x07C8}, (uint8_t *)(cStr), sizeof(cStr) - 1}; \
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
187 | (CFStringRef)&str; \
| ~~~~~~~~~~~~~~~~~~~~
188 | })
| ~~
/Users/admin/builder/spi-builder-workspace/Sources/CoreFoundation/CFURL.c:5239:39: note: treat the string as an argument to avoid this
5239 | CFLog(kCFLogLevelWarning, CFSTR("CFURLCreateFilePathURL failed because it was passed a URL which has no scheme"));
| ^
| @"%@",
/Users/admin/builder/spi-builder-workspace/Sources/CoreFoundation/include/CFString.h:185:22: note: expanded from macro 'CFSTR'
185 | #define CFSTR(cStr) ({ \
| ^
3 warnings generated.
[6/608] Compiling CoreFoundation CFURL.c
[7/608] Write sources
In file included from <built-in>:1:
/Users/admin/builder/spi-builder-workspace/Sources/CoreFoundation/internalInclude/CoreFoundation_Prefix.h:20:5: warning: 'TARGET_OS_WASI' is not defined, evaluates to 0 [-Wundef-prefix=TARGET_OS_]
20 | #if TARGET_OS_WASI
| ^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-foundation-icu/icuSources/include/_foundation_unicode/module.modulemap:1:8: fatal error: import of shadowed module '_FoundationICU'
1 | module _FoundationICU {
| ^
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/_FoundationICU.build/module.modulemap:1:8: note: previous definition is here
1 | module _FoundationICU {
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CoreFoundation/CFStringTransform.c:22:10: note: submodule of top-level module '_FoundationICU' implicitly imported here
22 | #include <_foundation_unicode/utrans.h>
| ^
1 warning and 1 error generated.
[8/608] Compiling CoreFoundation CFStringTransform.c
In file included from <built-in>:1:
/Users/admin/builder/spi-builder-workspace/Sources/CoreFoundation/internalInclude/CoreFoundation_Prefix.h:20:5: warning: 'TARGET_OS_WASI' is not defined, evaluates to 0 [-Wundef-prefix=TARGET_OS_]
20 | #if TARGET_OS_WASI
| ^
[8/608] Compiling CoreFoundation CFURLComponents.c
In file included from <built-in>:1:
/Users/admin/builder/spi-builder-workspace/Sources/CoreFoundation/internalInclude/CoreFoundation_Prefix.h:20:5: warning: 'TARGET_OS_WASI' is not defined, evaluates to 0 [-Wundef-prefix=TARGET_OS_]
20 | #if TARGET_OS_WASI
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CoreFoundation/CFBase.c:826:5: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
826 | CFAssert(false, __kCFLogAssertion, "Deallocated CFNull!");
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/CoreFoundation/internalInclude/CFInternal.h:248:72: note: expanded from macro 'CFAssert'
248 | #define CFAssert(cond, prio, desc) do { if (!(cond)) { CFLog(prio, CFSTR(desc)); /* HALT; */ } } while (0)
| ^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/CoreFoundation/include/CFString.h:185:22: note: expanded from macro 'CFSTR'
185 | #define CFSTR(cStr) ({ \
| ^~~~
186 | static struct __CFConstStr str = {{(uintptr_t)&_CF_CONSTANT_STRING_SWIFT_CLASS, _CF_CONSTANT_OBJECT_STRONG_RC, 0x07C8}, (uint8_t *)(cStr), sizeof(cStr) - 1}; \
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
187 | (CFStringRef)&str; \
| ~~~~~~~~~~~~~~~~~~~~
188 | })
| ~~
/Users/admin/builder/spi-builder-workspace/Sources/CoreFoundation/CFBase.c:826:5: note: treat the string as an argument to avoid this
/Users/admin/builder/spi-builder-workspace/Sources/CoreFoundation/internalInclude/CFInternal.h:248:72: note: expanded from macro 'CFAssert'
248 | #define CFAssert(cond, prio, desc) do { if (!(cond)) { CFLog(prio, CFSTR(desc)); /* HALT; */ } } while (0)
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CoreFoundation/include/CFString.h:185:22: note: expanded from macro 'CFSTR'
185 | #define CFSTR(cStr) ({ \
| ^
[8/608] Compiling CoreFoundation CFBase.c
[8/608] Compiling ustream.cpp
In file included from <built-in>:1:
/Users/admin/builder/spi-builder-workspace/Sources/CoreFoundation/internalInclude/CoreFoundation_Prefix.h:20:5: warning: 'TARGET_OS_WASI' is not defined, evaluates to 0 [-Wundef-prefix=TARGET_OS_]
20 | #if TARGET_OS_WASI
| ^
[8/608] Compiling CoreFoundation CFBigNumber.c
In file included from <built-in>:1:
/Users/admin/builder/spi-builder-workspace/Sources/CoreFoundation/internalInclude/CoreFoundation_Prefix.h:20:5: warning: 'TARGET_OS_WASI' is not defined, evaluates to 0 [-Wundef-prefix=TARGET_OS_]
20 | #if TARGET_OS_WASI
| ^
[8/608] Compiling CoreFoundation CFBag.c
In file included from <built-in>:1:
/Users/admin/builder/spi-builder-workspace/Sources/CoreFoundation/internalInclude/CoreFoundation_Prefix.h:20:5: warning: 'TARGET_OS_WASI' is not defined, evaluates to 0 [-Wundef-prefix=TARGET_OS_]
20 | #if TARGET_OS_WASI
| ^
[8/608] Compiling CoreFoundation CFUniChar.c
[8/608] Compiling _SwiftSyntaxCShims PlatformMutex.c
In file included from <built-in>:1:
/Users/admin/builder/spi-builder-workspace/Sources/CoreFoundation/internalInclude/CoreFoundation_Prefix.h:20:5: warning: 'TARGET_OS_WASI' is not defined, evaluates to 0 [-Wundef-prefix=TARGET_OS_]
20 | #if TARGET_OS_WASI
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CoreFoundation/CFSortFunctions.c:350:33: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
350 | CFLog(kCFLogLevelError, CFSTR("unable to qsort array - malloc failed"));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/CoreFoundation/include/CFString.h:185:22: note: expanded from macro 'CFSTR'
185 | #define CFSTR(cStr) ({ \
| ^~~~
186 | static struct __CFConstStr str = {{(uintptr_t)&_CF_CONSTANT_STRING_SWIFT_CLASS, _CF_CONSTANT_OBJECT_STRONG_RC, 0x07C8}, (uint8_t *)(cStr), sizeof(cStr) - 1}; \
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
187 | (CFStringRef)&str; \
| ~~~~~~~~~~~~~~~~~~~~
188 | })
| ~~
/Users/admin/builder/spi-builder-workspace/Sources/CoreFoundation/CFSortFunctions.c:350:33: note: treat the string as an argument to avoid this
350 | CFLog(kCFLogLevelError, CFSTR("unable to qsort array - malloc failed"));
| ^
| @"%@",
/Users/admin/builder/spi-builder-workspace/Sources/CoreFoundation/include/CFString.h:185:22: note: expanded from macro 'CFSTR'
185 | #define CFSTR(cStr) ({ \
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CoreFoundation/CFSortFunctions.c:396:33: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
396 | CFLog(kCFLogLevelError, CFSTR("unable to mergesort array - malloc failed"));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/CoreFoundation/include/CFString.h:185:22: note: expanded from macro 'CFSTR'
185 | #define CFSTR(cStr) ({ \
| ^~~~
186 | static struct __CFConstStr str = {{(uintptr_t)&_CF_CONSTANT_STRING_SWIFT_CLASS, _CF_CONSTANT_OBJECT_STRONG_RC, 0x07C8}, (uint8_t *)(cStr), sizeof(cStr) - 1}; \
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
187 | (CFStringRef)&str; \
| ~~~~~~~~~~~~~~~~~~~~
188 | })
| ~~
/Users/admin/builder/spi-builder-workspace/Sources/CoreFoundation/CFSortFunctions.c:396:33: note: treat the string as an argument to avoid this
396 | CFLog(kCFLogLevelError, CFSTR("unable to mergesort array - malloc failed"));
| ^
| @"%@",
/Users/admin/builder/spi-builder-workspace/Sources/CoreFoundation/include/CFString.h:185:22: note: expanded from macro 'CFSTR'
185 | #define CFSTR(cStr) ({ \
| ^
[8/608] Compiling CoreFoundation CFSortFunctions.c
[8/608] Write swift-version-5BDAB9E9C0126B9D.txt
Fetching https://github.com/apple/swift-foundation-icu
[1/3842] Fetching swift-foundation-icu
Fetched https://github.com/apple/swift-foundation-icu from cache (5.58s)
Fetching https://github.com/apple/swift-foundation
[1/23575] Fetching swift-foundation
Fetched https://github.com/apple/swift-foundation from cache (67.39s)
Fetching https://github.com/swiftlang/swift-syntax
[1/71758] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax from cache (15.56s)
Fetching https://github.com/apple/swift-collections
[1/17354] Fetching swift-collections
Fetched https://github.com/apple/swift-collections from cache (1.86s)
Computing version for https://github.com/apple/swift-collections
Computed https://github.com/apple/swift-collections at 1.2.1 (0.52s)
Creating working copy for https://github.com/apple/swift-foundation
Working copy of https://github.com/apple/swift-foundation resolved at main (574d608)
Creating working copy for https://github.com/apple/swift-collections
Working copy of https://github.com/apple/swift-collections resolved at 1.2.1
Creating working copy for https://github.com/apple/swift-foundation-icu
Working copy of https://github.com/apple/swift-foundation-icu resolved at main (2113033)
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at main (9453f46)
BUILD FAILURE 6.0 macosSpm