Build Information
Successful build of CSErrors, reference main (a29b22
), with Swift 6.0 for macOS (SPM) on 6 Nov 2024 00:08:48 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/CharlesJS/CSErrors.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/CharlesJS/CSErrors
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at a29b22f Fix compile errors on compilers earlier than 6.0
Cloned https://github.com/CharlesJS/CSErrors.git
Revision (git rev-parse @):
a29b22f124d059030f6e65caacf3e02a67ca6dfb
SUCCESS checkout https://github.com/CharlesJS/CSErrors.git at main
Fetching https://github.com/mattgallagher/CwlCatchException.git
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git
[1/455] Fetching cwlcatchexception
[293/1712] Fetching cwlcatchexception, cwlpreconditiontesting
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git from cache (0.85s)
Fetched https://github.com/mattgallagher/CwlCatchException.git from cache (0.85s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 2.1.0 (3.19s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.1.1 (0.64s)
Creating working copy for https://github.com/mattgallagher/CwlPreconditionTesting.git
Working copy of https://github.com/mattgallagher/CwlPreconditionTesting.git resolved at 2.1.0
Creating working copy for https://github.com/mattgallagher/CwlCatchException.git
Working copy of https://github.com/mattgallagher/CwlCatchException.git resolved at 2.1.1
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "cserrors",
"name": "CSErrors",
"url": "https://github.com/CharlesJS/CSErrors.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/CSErrors",
"dependencies": [
]
}
]
}
Fetching https://github.com/CharlesJS/CSErrors.git
[1/315] Fetching cserrors
Fetched https://github.com/CharlesJS/CSErrors.git from cache (0.78s)
Creating working copy for https://github.com/CharlesJS/CSErrors.git
Working copy of https://github.com/CharlesJS/CSErrors.git resolved at main (a29b22f)
warning: '.resolve-product-dependencies': dependency 'cserrors' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/CharlesJS/CSErrors.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version--7754E27361AE5C74.txt
[4/12] Compiling CSErrors HTTPError.swift
[5/12] Compiling CSErrors Internal.swift
[6/12] Compiling CSErrors POSIX Errors.swift
[7/12] Compiling CSErrors Stderr.swift
[8/12] Compiling CSErrors OSStatus Errors.swift
[9/12] Compiling CSErrors Error+CSErrors.swift
[10/12] Compiling CSErrors CSErrorProtocol.swift
[11/12] Emitting module CSErrors
[12/12] Compiling CSErrors ErrorMetadata.swift
[13/21] Compiling CSErrors_Foundation NSError+CSErrors.swift
/Users/admin/builder/spi-builder-workspace/Sources/CSErrors.Foundation/NSError+CSErrors.swift:26:20: warning: 'retroactive' attribute does not apply; 'CSNSErrorProtocol' is declared in this module; this is an error in the Swift 6 language mode
24 |
25 | #if compiler(>=6)
26 | extension NSError: @retroactive CSNSErrorProtocol {}
| `- warning: 'retroactive' attribute does not apply; 'CSNSErrorProtocol' is declared in this module; this is an error in the Swift 6 language mode
27 | #else
28 | extension NSError: CSNSErrorProtocol {}
[14/21] Compiling CSErrors_Foundation HTTPError+Foundation.swift
/Users/admin/builder/spi-builder-workspace/Sources/CSErrors.Foundation/HTTPError+Foundation.swift:18:22: warning: 'retroactive' attribute does not apply; 'LocalizedError' is declared in this module; this is an error in the Swift 6 language mode
16 |
17 | #if compiler(>=6)
18 | extension HTTPError: @retroactive LocalizedError {}
| `- warning: 'retroactive' attribute does not apply; 'LocalizedError' is declared in this module; this is an error in the Swift 6 language mode
19 | extension HTTPError: @retroactive _CSErrorsHTTPErrorInternal {}
20 | #else
/Users/admin/builder/spi-builder-workspace/Sources/CSErrors.Foundation/HTTPError+Foundation.swift:19:22: warning: 'retroactive' attribute does not apply; '_CSErrorsHTTPErrorInternal' is declared in this module; this is an error in the Swift 6 language mode
17 | #if compiler(>=6)
18 | extension HTTPError: @retroactive LocalizedError {}
19 | extension HTTPError: @retroactive _CSErrorsHTTPErrorInternal {}
| `- warning: 'retroactive' attribute does not apply; '_CSErrorsHTTPErrorInternal' is declared in this module; this is an error in the Swift 6 language mode
20 | #else
21 | extension HTTPError: LocalizedError {}
[15/21] Compiling CSErrors_Foundation CocoaError+CSErrors.swift
/Users/admin/builder/spi-builder-workspace/Sources/CSErrors.Foundation/CocoaError+CSErrors.swift:147:23: warning: 'retroactive' attribute does not apply; 'CSErrorProtocol' is declared in this module; this is an error in the Swift 6 language mode
145 |
146 | #if compiler(>=6)
147 | extension CocoaError: @retroactive CSErrorProtocol {}
| `- warning: 'retroactive' attribute does not apply; 'CSErrorProtocol' is declared in this module; this is an error in the Swift 6 language mode
148 | #else
149 | extension CocoaError: CSErrorProtocol {}
[16/21] Compiling CSErrors_Foundation ErrorMetadata+Foundation.swift
[17/21] Emitting module CSErrors_Foundation
/Users/admin/builder/spi-builder-workspace/Sources/CSErrors.Foundation/CocoaError+CSErrors.swift:147:23: warning: 'retroactive' attribute does not apply; 'CSErrorProtocol' is declared in this module; this is an error in the Swift 6 language mode
145 |
146 | #if compiler(>=6)
147 | extension CocoaError: @retroactive CSErrorProtocol {}
| `- warning: 'retroactive' attribute does not apply; 'CSErrorProtocol' is declared in this module; this is an error in the Swift 6 language mode
148 | #else
149 | extension CocoaError: CSErrorProtocol {}
/Users/admin/builder/spi-builder-workspace/Sources/CSErrors.Foundation/HTTPError+Foundation.swift:18:22: warning: 'retroactive' attribute does not apply; 'LocalizedError' is declared in this module; this is an error in the Swift 6 language mode
16 |
17 | #if compiler(>=6)
18 | extension HTTPError: @retroactive LocalizedError {}
| `- warning: 'retroactive' attribute does not apply; 'LocalizedError' is declared in this module; this is an error in the Swift 6 language mode
19 | extension HTTPError: @retroactive _CSErrorsHTTPErrorInternal {}
20 | #else
/Users/admin/builder/spi-builder-workspace/Sources/CSErrors.Foundation/HTTPError+Foundation.swift:19:22: warning: 'retroactive' attribute does not apply; '_CSErrorsHTTPErrorInternal' is declared in this module; this is an error in the Swift 6 language mode
17 | #if compiler(>=6)
18 | extension HTTPError: @retroactive LocalizedError {}
19 | extension HTTPError: @retroactive _CSErrorsHTTPErrorInternal {}
| `- warning: 'retroactive' attribute does not apply; '_CSErrorsHTTPErrorInternal' is declared in this module; this is an error in the Swift 6 language mode
20 | #else
21 | extension HTTPError: LocalizedError {}
/Users/admin/builder/spi-builder-workspace/Sources/CSErrors.Foundation/NSError+CSErrors.swift:26:20: warning: 'retroactive' attribute does not apply; 'CSNSErrorProtocol' is declared in this module; this is an error in the Swift 6 language mode
24 |
25 | #if compiler(>=6)
26 | extension NSError: @retroactive CSNSErrorProtocol {}
| `- warning: 'retroactive' attribute does not apply; 'CSNSErrorProtocol' is declared in this module; this is an error in the Swift 6 language mode
27 | #else
28 | extension NSError: CSNSErrorProtocol {}
/Users/admin/builder/spi-builder-workspace/Sources/CSErrors.Foundation/OSStatus+Foundation.swift:155:26: warning: 'retroactive' attribute does not apply; '_CSErrorsOSStatusInternal' is declared in this module; this is an error in the Swift 6 language mode
153 |
154 | #if compiler(>=6)
155 | extension OSStatusError: @retroactive _CSErrorsOSStatusInternal {}
| `- warning: 'retroactive' attribute does not apply; '_CSErrorsOSStatusInternal' is declared in this module; this is an error in the Swift 6 language mode
156 | extension OSStatusError: @retroactive CustomNSError {}
157 | #else
/Users/admin/builder/spi-builder-workspace/Sources/CSErrors.Foundation/OSStatus+Foundation.swift:156:26: warning: 'retroactive' attribute does not apply; 'CustomNSError' is declared in this module; this is an error in the Swift 6 language mode
154 | #if compiler(>=6)
155 | extension OSStatusError: @retroactive _CSErrorsOSStatusInternal {}
156 | extension OSStatusError: @retroactive CustomNSError {}
| `- warning: 'retroactive' attribute does not apply; 'CustomNSError' is declared in this module; this is an error in the Swift 6 language mode
157 | #else
158 | extension OSStatusError: _CSErrorsOSStatusInternal {}
/Users/admin/builder/spi-builder-workspace/Sources/CSErrors.Foundation/POSIX Errors+Foundation.swift:125:27: warning: 'retroactive' attribute does not apply; '_CSErrorsPOSIXErrorInternal' is declared in this module; this is an error in the Swift 6 language mode
123 |
124 | #if compiler(>=6)
125 | extension POSIXConnector: @retroactive _CSErrorsPOSIXErrorInternal {}
| `- warning: 'retroactive' attribute does not apply; '_CSErrorsPOSIXErrorInternal' is declared in this module; this is an error in the Swift 6 language mode
126 | #else
127 | extension POSIXConnector: _CSErrorsPOSIXErrorInternal {}
/Users/admin/builder/spi-builder-workspace/Sources/CSErrors.Foundation/URLError+CSErrors.swift:83:21: warning: 'retroactive' attribute does not apply; 'CSErrorProtocol' is declared in this module; this is an error in the Swift 6 language mode
81 |
82 | #if compiler(>=6)
83 | extension URLError: @retroactive CSErrorProtocol {}
| `- warning: 'retroactive' attribute does not apply; 'CSErrorProtocol' is declared in this module; this is an error in the Swift 6 language mode
84 | #else
85 | extension URLError: CSErrorProtocol {}
[18/21] Compiling CSErrors_Foundation URLError+CSErrors.swift
/Users/admin/builder/spi-builder-workspace/Sources/CSErrors.Foundation/URLError+CSErrors.swift:83:21: warning: 'retroactive' attribute does not apply; 'CSErrorProtocol' is declared in this module; this is an error in the Swift 6 language mode
81 |
82 | #if compiler(>=6)
83 | extension URLError: @retroactive CSErrorProtocol {}
| `- warning: 'retroactive' attribute does not apply; 'CSErrorProtocol' is declared in this module; this is an error in the Swift 6 language mode
84 | #else
85 | extension URLError: CSErrorProtocol {}
[19/21] Compiling CSErrors_Foundation OSStatus+Foundation.swift
/Users/admin/builder/spi-builder-workspace/Sources/CSErrors.Foundation/OSStatus+Foundation.swift:155:26: warning: 'retroactive' attribute does not apply; '_CSErrorsOSStatusInternal' is declared in this module; this is an error in the Swift 6 language mode
153 |
154 | #if compiler(>=6)
155 | extension OSStatusError: @retroactive _CSErrorsOSStatusInternal {}
| `- warning: 'retroactive' attribute does not apply; '_CSErrorsOSStatusInternal' is declared in this module; this is an error in the Swift 6 language mode
156 | extension OSStatusError: @retroactive CustomNSError {}
157 | #else
/Users/admin/builder/spi-builder-workspace/Sources/CSErrors.Foundation/OSStatus+Foundation.swift:156:26: warning: 'retroactive' attribute does not apply; 'CustomNSError' is declared in this module; this is an error in the Swift 6 language mode
154 | #if compiler(>=6)
155 | extension OSStatusError: @retroactive _CSErrorsOSStatusInternal {}
156 | extension OSStatusError: @retroactive CustomNSError {}
| `- warning: 'retroactive' attribute does not apply; 'CustomNSError' is declared in this module; this is an error in the Swift 6 language mode
157 | #else
158 | extension OSStatusError: _CSErrorsOSStatusInternal {}
[20/21] Compiling CSErrors_Foundation Recoverability.swift
[21/21] Compiling CSErrors_Foundation POSIX Errors+Foundation.swift
/Users/admin/builder/spi-builder-workspace/Sources/CSErrors.Foundation/POSIX Errors+Foundation.swift:125:27: warning: 'retroactive' attribute does not apply; '_CSErrorsPOSIXErrorInternal' is declared in this module; this is an error in the Swift 6 language mode
123 |
124 | #if compiler(>=6)
125 | extension POSIXConnector: @retroactive _CSErrorsPOSIXErrorInternal {}
| `- warning: 'retroactive' attribute does not apply; '_CSErrorsPOSIXErrorInternal' is declared in this module; this is an error in the Swift 6 language mode
126 | #else
127 | extension POSIXConnector: _CSErrorsPOSIXErrorInternal {}
Build complete! (13.73s)
Build complete.
{
"dependencies" : [
{
"identity" : "cwlpreconditiontesting",
"requirement" : {
"range" : [
{
"lower_bound" : "2.0.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/mattgallagher/CwlPreconditionTesting.git"
}
],
"manifest_display_name" : "CSErrors",
"name" : "CSErrors",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "tvos",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "6.0"
},
{
"name" : "maccatalyst",
"version" : "13.0"
}
],
"products" : [
{
"name" : "CSErrors",
"targets" : [
"CSErrors"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "CSErrors+Foundation",
"targets" : [
"CSErrors.Foundation"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "CSErrorsTests",
"module_type" : "SwiftTarget",
"name" : "CSErrorsTests",
"path" : "Tests/CSErrorsTests",
"product_dependencies" : [
"CwlPreconditionTesting"
],
"sources" : [
"HTTPErrorTests.swift",
"OSStatusErrorTests.swift",
"POSIXErrorTests.swift"
],
"target_dependencies" : [
"CSErrors"
],
"type" : "test"
},
{
"c99name" : "CSErrors_FoundationTests",
"module_type" : "SwiftTarget",
"name" : "CSErrors.FoundationTests",
"path" : "Tests/CSErrors.FoundationTests",
"product_dependencies" : [
"CwlPreconditionTesting"
],
"sources" : [
"CocoaErrorTests.swift",
"ErrnoCocoaMappingTests.swift",
"ErrnoURLSupportTests.swift",
"ErrorMetadataTests.swift",
"HTTPErrorFoundationTests.swift",
"NSErrorTests.swift",
"OSStatusError+FoundationTests.swift",
"RecoverabilityTests.swift",
"StderrTests.swift",
"URLErrorTests.swift"
],
"target_dependencies" : [
"CSErrors.Foundation"
],
"type" : "test"
},
{
"c99name" : "CSErrors_Foundation",
"module_type" : "SwiftTarget",
"name" : "CSErrors.Foundation",
"path" : "Sources/CSErrors.Foundation",
"product_memberships" : [
"CSErrors+Foundation"
],
"sources" : [
"CocoaError+CSErrors.swift",
"ErrorMetadata+Foundation.swift",
"HTTPError+Foundation.swift",
"NSError+CSErrors.swift",
"OSStatus+Foundation.swift",
"POSIX Errors+Foundation.swift",
"Recoverability.swift",
"URLError+CSErrors.swift"
],
"target_dependencies" : [
"CSErrors"
],
"type" : "library"
},
{
"c99name" : "CSErrors",
"module_type" : "SwiftTarget",
"name" : "CSErrors",
"path" : "Sources/CSErrors",
"product_memberships" : [
"CSErrors",
"CSErrors+Foundation"
],
"sources" : [
"CSErrorProtocol.swift",
"Error+CSErrors.swift",
"ErrorMetadata.swift",
"HTTPError.swift",
"Internal.swift",
"OSStatus Errors.swift",
"POSIX Errors.swift",
"Stderr.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Done.