Build Information
Successful build of Codability, reference 0.2.1 (eb5bac
), with Swift 6.0 for macOS (SPM) on 31 Oct 2024 14:45:50 UTC.
Swift 6 data race errors: 1
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/yonaskolb/Codability.git
Reference: 0.2.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/yonaskolb/Codability
* tag 0.2.1 -> FETCH_HEAD
HEAD is now at eb5bac7 Add changelog
Cloned https://github.com/yonaskolb/Codability.git
Revision (git rev-parse @):
eb5bac78e0679f521c3f058c1eb9be0dd657dadd
SUCCESS checkout https://github.com/yonaskolb/Codability.git at 0.2.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": "codability",
"name": "Codability",
"url": "https://github.com/yonaskolb/Codability.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Codability",
"dependencies": [
]
}
]
}
Fetching https://github.com/yonaskolb/Codability.git
[1/126] Fetching codability
Fetched https://github.com/yonaskolb/Codability.git from cache (0.67s)
Creating working copy for https://github.com/yonaskolb/Codability.git
Working copy of https://github.com/yonaskolb/Codability.git resolved at 0.2.1 (eb5bac7)
warning: '.resolve-product-dependencies': dependency 'codability' 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/yonaskolb/Codability.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/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
[3/9] Compiling Codability KeyedEncodingContainer+Any.swift
[4/9] Compiling Codability RawCodingKey.swift
[5/9] Compiling Codability KeyedDecodingContainer+Any.swift
[6/9] Compiling Codability GenericDecodingContainer.swift
[7/9] Compiling Codability AnyCodable.swift
[8/9] Emitting module Codability
/Users/admin/builder/spi-builder-workspace/Sources/Codability/InvalidElementStrategy.swift:36:17: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public enum InvalidElementStrategy<T>: CustomStringConvertible {
| `- note: 'T' previously declared here
11 | case remove
12 | case fail
:
34 | }
35 |
36 | func toType<T>() -> InvalidElementStrategy<T> {
| `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
37 | switch self {
38 | case .remove:
[9/9] Compiling Codability InvalidElementStrategy.swift
/Users/admin/builder/spi-builder-workspace/Sources/Codability/InvalidElementStrategy.swift:36:17: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public enum InvalidElementStrategy<T>: CustomStringConvertible {
| `- note: 'T' previously declared here
11 | case remove
12 | case fail
:
34 | }
35 |
36 | func toType<T>() -> InvalidElementStrategy<T> {
| `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
37 | switch self {
38 | case .remove:
Build complete! (8.45s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "Codability",
"name" : "Codability",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "Codability",
"targets" : [
"Codability"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "CodabilityTests",
"module_type" : "SwiftTarget",
"name" : "CodabilityTests",
"path" : "Tests/CodabilityTests",
"sources" : [
"AnyCodableTests.swift",
"InvalidElementTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"Codability"
],
"type" : "test"
},
{
"c99name" : "Codability",
"module_type" : "SwiftTarget",
"name" : "Codability",
"path" : "Sources/Codability",
"product_memberships" : [
"Codability"
],
"sources" : [
"AnyCodable.swift",
"GenericDecodingContainer.swift",
"InvalidElementStrategy.swift",
"KeyedDecodingContainer+Any.swift",
"KeyedEncodingContainer+Any.swift",
"RawCodingKey.swift"
],
"type" : "library"
}
],
"tools_version" : "4.0"
}
Done.