The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of Prelude, reference 0.0.6 (cf08b0), with Swift 6.0 for macOS (SPM) on 30 Nov 2024 01:38:36 UTC.

Swift 6 data race errors: 0

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/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.67s)
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.0
Building package at path:  $PWD
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.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/17] Compiling Prelude XMLElement.swift
[4/17] Compiling Prelude DefaultCodable.swift
[5/17] Compiling Prelude XMLDecoder.swift
[6/17] Compiling Prelude XMLDecoderSingleValueDecodingContainer.swift
[7/17] Compiling Prelude DefaultArray.swift
[8/17] Compiling Prelude DefaultBool.swift
[9/17] Compiling Prelude XMLDecoderKeyedDecodingContainer.swift
[10/17] Compiling Prelude XMLDecoderUnkeyedDecodingContainer.swift
[11/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 |             }
[12/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 |             }
[13/17] Compiling Prelude Array.swift
[14/17] Compiling Prelude Date.swift
[15/17] Compiling Prelude UIDevice.swift
[16/17] Compiling Prelude Default.swift
[17/17] Emitting module Prelude
[18/18] Compiling Prelude XMLParser.swift
Build complete! (15.18s)
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.