The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of Prch, reference 1.0.0-alpha.2 (b9329b), with Swift 6.1 for macOS (SPM) on 27 Apr 2025 01:36:39 UTC.

Swift 6 data race errors: 1

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.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/brightdigit/Prch.git
Reference: 1.0.0-alpha.2
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/brightdigit/Prch
 * tag               1.0.0-alpha.2 -> FETCH_HEAD
HEAD is now at b9329ba Allow Status Code Decoding (#30)
Cloned https://github.com/brightdigit/Prch.git
Revision (git rev-parse @):
b9329bab762886dbc478c9f6850a63bfde7fde93
SUCCESS checkout https://github.com/brightdigit/Prch.git at 1.0.0-alpha.2
========================================
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": "prch",
      "name": "Prch",
      "url": "https://github.com/brightdigit/Prch.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Prch",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/brightdigit/Prch.git
[1/2495] Fetching prch
Fetched https://github.com/brightdigit/Prch.git from cache (0.94s)
Creating working copy for https://github.com/brightdigit/Prch.git
Working copy of https://github.com/brightdigit/Prch.git resolved at 1.0.0-alpha.2 (b9329ba)
warning: '.resolve-product-dependencies': dependency 'prch' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/brightdigit/Prch.git
https://github.com/brightdigit/Prch.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Prch",
  "name" : "Prch",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "12.0"
    },
    {
      "name" : "ios",
      "version" : "14.0"
    },
    {
      "name" : "watchos",
      "version" : "7.0"
    }
  ],
  "products" : [
    {
      "name" : "Prch",
      "targets" : [
        "Prch"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "PrchModel",
      "targets" : [
        "PrchModel"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "PrchTests",
      "module_type" : "SwiftTarget",
      "name" : "PrchTests",
      "path" : "Tests/PrchTests",
      "sources" : [
        "PrchTests.swift",
        "ServiceImplTests.swift",
        "URLComponents.swift"
      ],
      "target_dependencies" : [
        "Prch"
      ],
      "type" : "test"
    },
    {
      "c99name" : "PrchModel",
      "module_type" : "SwiftTarget",
      "name" : "PrchModel",
      "path" : "Sources/PrchModel",
      "product_memberships" : [
        "Prch",
        "PrchModel"
      ],
      "sources" : [
        "API.swift",
        "Array.swift",
        "CoderError.swift",
        "Content.swift",
        "ContentDecodable.swift",
        "ContentEncodable.swift",
        "CustomServiceDecoding.swift",
        "CustomServiceEncoding.swift",
        "Decodable.swift",
        "Decoder.swift",
        "Dictionary.swift",
        "Empty.swift",
        "Encodable.swift",
        "EncodableValue.swift",
        "Encoder.swift",
        "JSONDecoder.swift",
        "JSONEncoder.swift",
        "RequestMethod.swift",
        "ServiceCall.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Prch",
      "module_type" : "SwiftTarget",
      "name" : "Prch",
      "path" : "Sources/Prch",
      "product_memberships" : [
        "Prch"
      ],
      "sources" : [
        "AuthorizationManager.swift",
        "NullAuthorizationManager.swift",
        "Service.swift",
        "ServiceProtocol.swift",
        "Session/RequestError.swift",
        "Session/Session.swift",
        "Session/SessionAuthorization.swift",
        "Session/SessionRequest.swift",
        "Session/SessionResponse.swift",
        "Session/URLSession/URLRequest.swift",
        "Session/URLSession/URLSession.swift",
        "Session/URLSession/URLSessionResponse.swift"
      ],
      "target_dependencies" : [
        "PrchModel"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
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/3] Write sources
[2/3] Write swift-version-2F0A5646E1D333AE.txt
[4/22] Compiling PrchModel CustomServiceDecoding.swift
[5/22] Compiling PrchModel CustomServiceEncoding.swift
[6/22] Compiling PrchModel CoderError.swift
[7/22] Compiling PrchModel Content.swift
[8/22] Compiling PrchModel Encoder.swift
[9/22] Compiling PrchModel JSONDecoder.swift
[10/22] Compiling PrchModel ContentDecodable.swift
[11/22] Compiling PrchModel ContentEncodable.swift
[12/22] Compiling PrchModel Decodable.swift
[13/22] Compiling PrchModel Decoder.swift
[14/23] Emitting module PrchModel
/Users/admin/builder/spi-builder-workspace/Sources/PrchModel/Empty.swift:19:21: warning: static property 'value' is not concurrency-safe because non-'Sendable' type 'Empty' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | public struct Empty: ContentDecodable, ContentEncodable, Equatable {
   |               `- note: consider making struct 'Empty' conform to the 'Sendable' protocol
 2 |   public static func decode<CoderType>(
 3 |     _: CoderType.DataType,
   :
17 |   }
18 |
19 |   public static let value = Empty()
   |                     |- warning: static property 'value' is not concurrency-safe because non-'Sendable' type 'Empty' may have shared mutable state; this is an error in the Swift 6 language mode
   |                     |- note: add '@MainActor' to make static property 'value' part of global actor 'MainActor'
   |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 |
21 |   private init() {}
[15/23] Compiling PrchModel API.swift
[16/23] Compiling PrchModel Array.swift
[17/23] Compiling PrchModel JSONEncoder.swift
[18/23] Compiling PrchModel RequestMethod.swift
[19/23] Compiling PrchModel Encodable.swift
[20/23] Compiling PrchModel EncodableValue.swift
[21/23] Compiling PrchModel Dictionary.swift
/Users/admin/builder/spi-builder-workspace/Sources/PrchModel/Empty.swift:19:21: warning: static property 'value' is not concurrency-safe because non-'Sendable' type 'Empty' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | public struct Empty: ContentDecodable, ContentEncodable, Equatable {
   |               `- note: consider making struct 'Empty' conform to the 'Sendable' protocol
 2 |   public static func decode<CoderType>(
 3 |     _: CoderType.DataType,
   :
17 |   }
18 |
19 |   public static let value = Empty()
   |                     |- warning: static property 'value' is not concurrency-safe because non-'Sendable' type 'Empty' may have shared mutable state; this is an error in the Swift 6 language mode
   |                     |- note: add '@MainActor' to make static property 'value' part of global actor 'MainActor'
   |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 |
21 |   private init() {}
[22/23] Compiling PrchModel Empty.swift
/Users/admin/builder/spi-builder-workspace/Sources/PrchModel/Empty.swift:19:21: warning: static property 'value' is not concurrency-safe because non-'Sendable' type 'Empty' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | public struct Empty: ContentDecodable, ContentEncodable, Equatable {
   |               `- note: consider making struct 'Empty' conform to the 'Sendable' protocol
 2 |   public static func decode<CoderType>(
 3 |     _: CoderType.DataType,
   :
17 |   }
18 |
19 |   public static let value = Empty()
   |                     |- warning: static property 'value' is not concurrency-safe because non-'Sendable' type 'Empty' may have shared mutable state; this is an error in the Swift 6 language mode
   |                     |- note: add '@MainActor' to make static property 'value' part of global actor 'MainActor'
   |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 |
21 |   private init() {}
[23/23] Compiling PrchModel ServiceCall.swift
[24/35] Compiling Prch Session.swift
[25/35] Compiling Prch AuthorizationManager.swift
[26/35] Compiling Prch NullAuthorizationManager.swift
[27/35] Emitting module Prch
[28/35] Compiling Prch Service.swift
[29/35] Compiling Prch ServiceProtocol.swift
[30/36] Compiling Prch SessionAuthorization.swift
[31/36] Compiling Prch SessionRequest.swift
[32/36] Compiling Prch SessionResponse.swift
[33/36] Compiling Prch URLSession.swift
[34/36] Compiling Prch RequestError.swift
[35/36] Compiling Prch URLRequest.swift
[36/36] Compiling Prch URLSessionResponse.swift
Build complete! (5.69s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Prch",
  "name" : "Prch",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "12.0"
    },
    {
      "name" : "ios",
      "version" : "14.0"
    },
    {
      "name" : "watchos",
      "version" : "7.0"
    }
  ],
  "products" : [
    {
      "name" : "Prch",
      "targets" : [
        "Prch"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "PrchModel",
      "targets" : [
        "PrchModel"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "PrchTests",
      "module_type" : "SwiftTarget",
      "name" : "PrchTests",
      "path" : "Tests/PrchTests",
      "sources" : [
        "PrchTests.swift",
        "ServiceImplTests.swift",
        "URLComponents.swift"
      ],
      "target_dependencies" : [
        "Prch"
      ],
      "type" : "test"
    },
    {
      "c99name" : "PrchModel",
      "module_type" : "SwiftTarget",
      "name" : "PrchModel",
      "path" : "Sources/PrchModel",
      "product_memberships" : [
        "Prch",
        "PrchModel"
      ],
      "sources" : [
        "API.swift",
        "Array.swift",
        "CoderError.swift",
        "Content.swift",
        "ContentDecodable.swift",
        "ContentEncodable.swift",
        "CustomServiceDecoding.swift",
        "CustomServiceEncoding.swift",
        "Decodable.swift",
        "Decoder.swift",
        "Dictionary.swift",
        "Empty.swift",
        "Encodable.swift",
        "EncodableValue.swift",
        "Encoder.swift",
        "JSONDecoder.swift",
        "JSONEncoder.swift",
        "RequestMethod.swift",
        "ServiceCall.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Prch",
      "module_type" : "SwiftTarget",
      "name" : "Prch",
      "path" : "Sources/Prch",
      "product_memberships" : [
        "Prch"
      ],
      "sources" : [
        "AuthorizationManager.swift",
        "NullAuthorizationManager.swift",
        "Service.swift",
        "ServiceProtocol.swift",
        "Session/RequestError.swift",
        "Session/Session.swift",
        "Session/SessionAuthorization.swift",
        "Session/SessionRequest.swift",
        "Session/SessionResponse.swift",
        "Session/URLSession/URLRequest.swift",
        "Session/URLSession/URLSession.swift",
        "Session/URLSession/URLSessionResponse.swift"
      ],
      "target_dependencies" : [
        "PrchModel"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
Done.