Build Information
Successful build of ResilientDecoding, reference 1.2.0 (19a780
), with Swift 6.0 for macOS (SPM) on 1 Dec 2024 22:22:41 UTC.
Swift 6 data race errors: 3
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 -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Build Log
========================================
RunAll
========================================
Builder version: 4.58.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/airbnb/ResilientDecoding.git
Reference: 1.2.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/airbnb/ResilientDecoding
* tag 1.2.0 -> FETCH_HEAD
HEAD is now at 19a780e Bump podspec version to 1.2.0 (#58)
Cloned https://github.com/airbnb/ResilientDecoding.git
Revision (git rev-parse @):
19a780e60b81e85c934ccd0fe026b8f24cb4d141
SUCCESS checkout https://github.com/airbnb/ResilientDecoding.git at 1.2.0
========================================
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": "resilientdecoding",
"name": "ResilientDecoding",
"url": "https://github.com/airbnb/ResilientDecoding.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/ResilientDecoding",
"dependencies": [
]
}
]
}
Fetching https://github.com/airbnb/ResilientDecoding.git
[1/734] Fetching resilientdecoding
Fetched https://github.com/airbnb/ResilientDecoding.git from cache (0.87s)
Creating working copy for https://github.com/airbnb/ResilientDecoding.git
Working copy of https://github.com/airbnb/ResilientDecoding.git resolved at 1.2.0 (19a780e)
warning: '.resolve-product-dependencies': dependency 'resilientdecoding' 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/airbnb/ResilientDecoding.git
{
"dependencies" : [
],
"manifest_display_name" : "ResilientDecoding",
"name" : "ResilientDecoding",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "12.0"
},
{
"name" : "tvos",
"version" : "12.0"
},
{
"name" : "watchos",
"version" : "5.0"
},
{
"name" : "macos",
"version" : "10.14"
}
],
"products" : [
{
"name" : "ResilientDecoding",
"targets" : [
"ResilientDecoding"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "ResilientDecodingTests",
"module_type" : "SwiftTarget",
"name" : "ResilientDecodingTests",
"path" : "Tests/ResilientDecodingTests",
"sources" : [
"BugTests.swift",
"MemoryTests.swift",
"ResilientArrayTests.swift",
"ResilientDecodingErrorReporterTests.swift",
"ResilientDecodingTests.swift",
"ResilientDictionaryTests.swift",
"ResilientOptionalTests.swift",
"ResilientRawRepresentableArrayTests.swift",
"ResilientRawRepresentableDictionaryTests.swift",
"ResilientRawRepresentableTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"ResilientDecoding"
],
"type" : "test"
},
{
"c99name" : "ResilientDecoding",
"module_type" : "SwiftTarget",
"name" : "ResilientDecoding",
"path" : "Sources/ResilientDecoding",
"product_memberships" : [
"ResilientDecoding"
],
"sources" : [
"ErrorReporting.swift",
"Resilient.swift",
"ResilientArray+DecodingOutcome.swift",
"ResilientArray.swift",
"ResilientDictionary+DecodingOutcome.swift",
"ResilientDictionary.swift",
"ResilientOptional.swift",
"ResilientRawRepresentable.swift"
],
"type" : "library"
}
],
"tools_version" : "5.2"
}
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 -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
[3/11] Compiling ResilientDecoding ResilientOptional.swift
[4/11] Compiling ResilientDecoding ResilientArray.swift
[5/11] Compiling ResilientDecoding ResilientDictionary.swift
[6/11] Compiling ResilientDecoding ResilientDictionary+DecodingOutcome.swift
/Users/admin/builder/spi-builder-workspace/Sources/ResilientDecoding/ResilientDictionary+DecodingOutcome.swift:45:16: warning: stored property 'results' of 'Sendable'-conforming generic struct 'DictionaryDecodingError' has non-sendable type '[String : Result<Value, any Error>]'; this is an error in the Swift 6 language mode
42 | A type representing some number of errors encountered while decoding a dictionary
43 | */
44 | public struct DictionaryDecodingError<Value>: Error {
| `- note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
45 | public let results: [String: Result<Value, Error>]
| `- warning: stored property 'results' of 'Sendable'-conforming generic struct 'DictionaryDecodingError' has non-sendable type '[String : Result<Value, any Error>]'; this is an error in the Swift 6 language mode
46 | public var errors: [Error] {
47 | /// It is currently impossible to have both a `topLevelError` and `results` at the same time, but this code is simpler than having an `enum` nested in this type.
[7/11] Compiling ResilientDecoding ResilientArray+DecodingOutcome.swift
/Users/admin/builder/spi-builder-workspace/Sources/ResilientDecoding/ResilientArray+DecodingOutcome.swift:45:16: warning: stored property 'results' of 'Sendable'-conforming generic struct 'ArrayDecodingError' has non-sendable type '[Result<Element, any Error>]'; this is an error in the Swift 6 language mode
42 | A type representing some number of errors encountered while decoding an array
43 | */
44 | public struct ArrayDecodingError<Element>: Error {
| `- note: consider making generic parameter 'Element' conform to the 'Sendable' protocol
45 | public let results: [Result<Element, Error>]
| `- warning: stored property 'results' of 'Sendable'-conforming generic struct 'ArrayDecodingError' has non-sendable type '[Result<Element, any Error>]'; this is an error in the Swift 6 language mode
46 | public var errors: [Error] {
47 | results.compactMap { result in
[8/11] Compiling ResilientDecoding ResilientRawRepresentable.swift
[9/11] Emitting module ResilientDecoding
/Users/admin/builder/spi-builder-workspace/Sources/ResilientDecoding/ErrorReporting.swift:237:14: warning: stored property 'novelValue' of 'Sendable'-conforming struct 'UnknownNovelValueError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
235 | The raw value for which `init(rawValue:)` returned `nil`.
236 | */
237 | public let novelValue: Any
| `- warning: stored property 'novelValue' of 'Sendable'-conforming struct 'UnknownNovelValueError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
238 |
239 | /**
/Users/admin/builder/spi-builder-workspace/Sources/ResilientDecoding/ResilientArray+DecodingOutcome.swift:45:16: warning: stored property 'results' of 'Sendable'-conforming generic struct 'ArrayDecodingError' has non-sendable type '[Result<Element, any Error>]'; this is an error in the Swift 6 language mode
42 | A type representing some number of errors encountered while decoding an array
43 | */
44 | public struct ArrayDecodingError<Element>: Error {
| `- note: consider making generic parameter 'Element' conform to the 'Sendable' protocol
45 | public let results: [Result<Element, Error>]
| `- warning: stored property 'results' of 'Sendable'-conforming generic struct 'ArrayDecodingError' has non-sendable type '[Result<Element, any Error>]'; this is an error in the Swift 6 language mode
46 | public var errors: [Error] {
47 | results.compactMap { result in
/Users/admin/builder/spi-builder-workspace/Sources/ResilientDecoding/ResilientDictionary+DecodingOutcome.swift:45:16: warning: stored property 'results' of 'Sendable'-conforming generic struct 'DictionaryDecodingError' has non-sendable type '[String : Result<Value, any Error>]'; this is an error in the Swift 6 language mode
42 | A type representing some number of errors encountered while decoding a dictionary
43 | */
44 | public struct DictionaryDecodingError<Value>: Error {
| `- note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
45 | public let results: [String: Result<Value, Error>]
| `- warning: stored property 'results' of 'Sendable'-conforming generic struct 'DictionaryDecodingError' has non-sendable type '[String : Result<Value, any Error>]'; this is an error in the Swift 6 language mode
46 | public var errors: [Error] {
47 | /// It is currently impossible to have both a `topLevelError` and `results` at the same time, but this code is simpler than having an `enum` nested in this type.
[10/11] Compiling ResilientDecoding ErrorReporting.swift
/Users/admin/builder/spi-builder-workspace/Sources/ResilientDecoding/ErrorReporting.swift:237:14: warning: stored property 'novelValue' of 'Sendable'-conforming struct 'UnknownNovelValueError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
235 | The raw value for which `init(rawValue:)` returned `nil`.
236 | */
237 | public let novelValue: Any
| `- warning: stored property 'novelValue' of 'Sendable'-conforming struct 'UnknownNovelValueError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
238 |
239 | /**
[11/11] Compiling ResilientDecoding Resilient.swift
Build complete! (10.96s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "ResilientDecoding",
"name" : "ResilientDecoding",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "12.0"
},
{
"name" : "tvos",
"version" : "12.0"
},
{
"name" : "watchos",
"version" : "5.0"
},
{
"name" : "macos",
"version" : "10.14"
}
],
"products" : [
{
"name" : "ResilientDecoding",
"targets" : [
"ResilientDecoding"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "ResilientDecodingTests",
"module_type" : "SwiftTarget",
"name" : "ResilientDecodingTests",
"path" : "Tests/ResilientDecodingTests",
"sources" : [
"BugTests.swift",
"MemoryTests.swift",
"ResilientArrayTests.swift",
"ResilientDecodingErrorReporterTests.swift",
"ResilientDecodingTests.swift",
"ResilientDictionaryTests.swift",
"ResilientOptionalTests.swift",
"ResilientRawRepresentableArrayTests.swift",
"ResilientRawRepresentableDictionaryTests.swift",
"ResilientRawRepresentableTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"ResilientDecoding"
],
"type" : "test"
},
{
"c99name" : "ResilientDecoding",
"module_type" : "SwiftTarget",
"name" : "ResilientDecoding",
"path" : "Sources/ResilientDecoding",
"product_memberships" : [
"ResilientDecoding"
],
"sources" : [
"ErrorReporting.swift",
"Resilient.swift",
"ResilientArray+DecodingOutcome.swift",
"ResilientArray.swift",
"ResilientDictionary+DecodingOutcome.swift",
"ResilientDictionary.swift",
"ResilientOptional.swift",
"ResilientRawRepresentable.swift"
],
"type" : "library"
}
],
"tools_version" : "5.2"
}
Done.