The Swift Package Index logo.Swift Package Index

Build Information

Successful build of ResilientDecoding, reference master (24778b), with Swift 6.1 for macOS (SPM) on 10 Apr 2026 04:02:14 UTC.

Swift 6 data race errors: 3

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.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.69.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/airbnb/ResilientDecoding.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/airbnb/ResilientDecoding
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 24778bf Bump addressable from 2.8.7 to 2.9.0 (#64)
Cloned https://github.com/airbnb/ResilientDecoding.git
Revision (git rev-parse @):
24778bf1be88b910f129f4e3197ab6b7a697fbfd
SUCCESS checkout https://github.com/airbnb/ResilientDecoding.git at master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/airbnb/ResilientDecoding.git
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.3.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-2F0A5646E1D333AE.txt
[3/11] Compiling ResilientDecoding ResilientOptional.swift
[4/11] Compiling ResilientDecoding ResilientRawRepresentable.swift
[5/11] Compiling ResilientDecoding ResilientDictionary.swift
[6/11] Compiling ResilientDecoding Resilient.swift
[7/11] Compiling ResilientDecoding ResilientArray.swift
[8/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 |   /**
/Users/admin/builder/spi-builder-workspace/Sources/ResilientDecoding/ErrorReporting.swift:60:49: warning: type 'Any' does not conform to the 'Sendable' protocol
 58 |     let oldValue = userInfo.replaceResilientDecodingErrorReporter(with: errorReporter)
 59 |     let value = try decode(T.self, from: data)
 60 |     userInfo[.resilientDecodingErrorReporter] = oldValue
    |                                                 `- warning: type 'Any' does not conform to the 'Sendable' protocol
 61 |     return (value, errorReporter.flushReportedErrors())
 62 |   }
[9/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
[10/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.
[11/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.
Build complete! (4.93s)
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.