The Swift Package Index logo.Swift Package Index

Build Information

Successful build of Prelude, reference 0.0.6 (cf08b0), with Swift 6.1 for macOS (SPM) on 27 Apr 2025 21:28:26 UTC.

Swift 6 data race errors: 0

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/JustinGuedes/prelude.git
Reference: 0.0.6
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/JustinGuedes/prelude
 * tag               0.0.6      -> FETCH_HEAD
HEAD is now at cf08b07 Add support for Apple Watch
Cloned https://github.com/JustinGuedes/prelude.git
Revision (git rev-parse @):
cf08b076457a55b193ff54881a277391a0c3e1dd
SUCCESS checkout https://github.com/JustinGuedes/prelude.git at 0.0.6
========================================
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": "prelude",
      "name": "Prelude",
      "url": "https://github.com/JustinGuedes/prelude.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/prelude",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/JustinGuedes/prelude.git
[1/93] Fetching prelude
Fetched https://github.com/JustinGuedes/prelude.git from cache (0.58s)
Creating working copy for https://github.com/JustinGuedes/prelude.git
Working copy of https://github.com/JustinGuedes/prelude.git resolved at 0.0.6 (cf08b07)
warning: '.resolve-product-dependencies': dependency 'prelude' 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/JustinGuedes/prelude.git
https://github.com/JustinGuedes/prelude.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Prelude",
  "name" : "Prelude",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Prelude",
      "targets" : [
        "Prelude"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "PreludeTests",
      "module_type" : "SwiftTarget",
      "name" : "PreludeTests",
      "path" : "Tests/PreludeTests",
      "sources" : [
        "Extensions/SequenceTests.swift"
      ],
      "target_dependencies" : [
        "Prelude"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Prelude",
      "module_type" : "SwiftTarget",
      "name" : "Prelude",
      "path" : "Sources/Prelude",
      "product_memberships" : [
        "Prelude"
      ],
      "sources" : [
        "Extensions/Array.swift",
        "Extensions/Date.swift",
        "Extensions/Sequence.swift",
        "Extensions/String.swift",
        "Extensions/UIDevice.swift",
        "PropertyWrappers/Default/Default.swift",
        "PropertyWrappers/Default/DefaultArray.swift",
        "PropertyWrappers/Default/DefaultBool.swift",
        "PropertyWrappers/Default/DefaultCodable.swift",
        "Utilities/XMLDecoder/XMLDecoder.swift",
        "Utilities/XMLDecoder/XMLDecoderKeyedDecodingContainer.swift",
        "Utilities/XMLDecoder/XMLDecoderSingleValueDecodingContainer.swift",
        "Utilities/XMLDecoder/XMLDecoderUnkeyedDecodingContainer.swift",
        "Utilities/XMLDecoder/XMLElement.swift",
        "Utilities/XMLDecoder/XMLParser.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.6"
}
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/17] Compiling Prelude XMLDecoderKeyedDecodingContainer.swift
[4/17] Compiling Prelude XMLElement.swift
[5/17] Compiling Prelude DefaultCodable.swift
[6/17] Compiling Prelude XMLDecoder.swift
[7/17] Compiling Prelude XMLDecoderUnkeyedDecodingContainer.swift
[8/17] Compiling Prelude XMLDecoderSingleValueDecodingContainer.swift
[9/17] Compiling Prelude Sequence.swift
/Users/admin/builder/spi-builder-workspace/Sources/Prelude/Extensions/Sequence.swift:10:19: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 6 | public extension Sequence {
 7 |
 8 |     func flatMap<T>(_ transform: @escaping (Element) async throws -> T?) async rethrows -> [T] {
   |                  `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
 9 |         var result: [T] = []
10 |         try await withThrowingTaskGroup(of: Optional<T>.self) { group in
   |                   `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
11 |             for element in self {
12 |                 group.addTask {
/Users/admin/builder/spi-builder-workspace/Sources/Prelude/Extensions/Sequence.swift:12:23: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 6 | public extension Sequence {
 7 |
 8 |     func flatMap<T>(_ transform: @escaping (Element) async throws -> T?) async rethrows -> [T] {
   |                  `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
 9 |         var result: [T] = []
10 |         try await withThrowingTaskGroup(of: Optional<T>.self) { group in
11 |             for element in self {
12 |                 group.addTask {
   |                       `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
13 |                     try await transform(element)
14 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/Prelude/Extensions/Sequence.swift:29:19: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
25 |     }
26 |
27 |     func flatMap<T>(_ transform: @escaping (Element) async throws -> [T]) async rethrows -> [T] {
   |                  `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
28 |         var result: [T] = []
29 |         try await withThrowingTaskGroup(of: Array<T>.self) { group in
   |                   `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
30 |             for element in self {
31 |                 group.addTask {
/Users/admin/builder/spi-builder-workspace/Sources/Prelude/Extensions/Sequence.swift:31:23: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
25 |     }
26 |
27 |     func flatMap<T>(_ transform: @escaping (Element) async throws -> [T]) async rethrows -> [T] {
   |                  `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
28 |         var result: [T] = []
29 |         try await withThrowingTaskGroup(of: Array<T>.self) { group in
30 |             for element in self {
31 |                 group.addTask {
   |                       `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
32 |                     try await transform(element)
33 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/Prelude/Extensions/Sequence.swift:12:31: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
10 |         try await withThrowingTaskGroup(of: Optional<T>.self) { group in
11 |             for element in self {
12 |                 group.addTask {
   |                               `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
13 |                     try await transform(element)
   |                               `- note: closure captures 'transform' which is accessible to code in the current task
14 |                 }
15 |             }
/Users/admin/builder/spi-builder-workspace/Sources/Prelude/Extensions/Sequence.swift:31:31: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
29 |         try await withThrowingTaskGroup(of: Array<T>.self) { group in
30 |             for element in self {
31 |                 group.addTask {
   |                               `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
32 |                     try await transform(element)
   |                               |         `- note: closure captures non-Sendable 'element'
   |                               `- note: closure captures non-Sendable 'transform'
33 |                 }
34 |             }
[10/17] Compiling Prelude String.swift
/Users/admin/builder/spi-builder-workspace/Sources/Prelude/Extensions/Sequence.swift:10:19: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 6 | public extension Sequence {
 7 |
 8 |     func flatMap<T>(_ transform: @escaping (Element) async throws -> T?) async rethrows -> [T] {
   |                  `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
 9 |         var result: [T] = []
10 |         try await withThrowingTaskGroup(of: Optional<T>.self) { group in
   |                   `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
11 |             for element in self {
12 |                 group.addTask {
/Users/admin/builder/spi-builder-workspace/Sources/Prelude/Extensions/Sequence.swift:12:23: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 6 | public extension Sequence {
 7 |
 8 |     func flatMap<T>(_ transform: @escaping (Element) async throws -> T?) async rethrows -> [T] {
   |                  `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
 9 |         var result: [T] = []
10 |         try await withThrowingTaskGroup(of: Optional<T>.self) { group in
11 |             for element in self {
12 |                 group.addTask {
   |                       `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
13 |                     try await transform(element)
14 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/Prelude/Extensions/Sequence.swift:29:19: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
25 |     }
26 |
27 |     func flatMap<T>(_ transform: @escaping (Element) async throws -> [T]) async rethrows -> [T] {
   |                  `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
28 |         var result: [T] = []
29 |         try await withThrowingTaskGroup(of: Array<T>.self) { group in
   |                   `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
30 |             for element in self {
31 |                 group.addTask {
/Users/admin/builder/spi-builder-workspace/Sources/Prelude/Extensions/Sequence.swift:31:23: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
25 |     }
26 |
27 |     func flatMap<T>(_ transform: @escaping (Element) async throws -> [T]) async rethrows -> [T] {
   |                  `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
28 |         var result: [T] = []
29 |         try await withThrowingTaskGroup(of: Array<T>.self) { group in
30 |             for element in self {
31 |                 group.addTask {
   |                       `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
32 |                     try await transform(element)
33 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/Prelude/Extensions/Sequence.swift:12:31: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
10 |         try await withThrowingTaskGroup(of: Optional<T>.self) { group in
11 |             for element in self {
12 |                 group.addTask {
   |                               `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
13 |                     try await transform(element)
   |                               `- note: closure captures 'transform' which is accessible to code in the current task
14 |                 }
15 |             }
/Users/admin/builder/spi-builder-workspace/Sources/Prelude/Extensions/Sequence.swift:31:31: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
29 |         try await withThrowingTaskGroup(of: Array<T>.self) { group in
30 |             for element in self {
31 |                 group.addTask {
   |                               `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
32 |                     try await transform(element)
   |                               |         `- note: closure captures non-Sendable 'element'
   |                               `- note: closure captures non-Sendable 'transform'
33 |                 }
34 |             }
[11/18] Emitting module Prelude
[12/18] Compiling Prelude UIDevice.swift
[13/18] Compiling Prelude Default.swift
[14/18] Compiling Prelude Array.swift
[15/18] Compiling Prelude Date.swift
[16/18] Compiling Prelude DefaultArray.swift
[17/18] Compiling Prelude DefaultBool.swift
[18/18] Compiling Prelude XMLParser.swift
Build complete! (5.66s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Prelude",
  "name" : "Prelude",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Prelude",
      "targets" : [
        "Prelude"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "PreludeTests",
      "module_type" : "SwiftTarget",
      "name" : "PreludeTests",
      "path" : "Tests/PreludeTests",
      "sources" : [
        "Extensions/SequenceTests.swift"
      ],
      "target_dependencies" : [
        "Prelude"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Prelude",
      "module_type" : "SwiftTarget",
      "name" : "Prelude",
      "path" : "Sources/Prelude",
      "product_memberships" : [
        "Prelude"
      ],
      "sources" : [
        "Extensions/Array.swift",
        "Extensions/Date.swift",
        "Extensions/Sequence.swift",
        "Extensions/String.swift",
        "Extensions/UIDevice.swift",
        "PropertyWrappers/Default/Default.swift",
        "PropertyWrappers/Default/DefaultArray.swift",
        "PropertyWrappers/Default/DefaultBool.swift",
        "PropertyWrappers/Default/DefaultCodable.swift",
        "Utilities/XMLDecoder/XMLDecoder.swift",
        "Utilities/XMLDecoder/XMLDecoderKeyedDecodingContainer.swift",
        "Utilities/XMLDecoder/XMLDecoderSingleValueDecodingContainer.swift",
        "Utilities/XMLDecoder/XMLDecoderUnkeyedDecodingContainer.swift",
        "Utilities/XMLDecoder/XMLElement.swift",
        "Utilities/XMLDecoder/XMLParser.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.6"
}
Done.