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 Resourceful, reference main (d97d6d), with Swift 6.2 (beta) for macOS (SPM) on 19 Jun 2025 10:15:57 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/danielctull/Resourceful.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/danielctull/Resourceful
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at d97d6d4 Add a check for the swift version to make sure it supports concurrency
Cloned https://github.com/danielctull/Resourceful.git
Revision (git rev-parse @):
d97d6d4798dd3de1097496b07f92b967ded8b783
SUCCESS checkout https://github.com/danielctull/Resourceful.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/danielctull/Resourceful.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-1EA4D86E10B52AF.txt
[3/7] Compiling Resourceful Resource.swift
[4/7] Compiling Resourceful Resource+Combine.swift
[5/7] Compiling Resourceful Resource+Fetch.swift
[6/7] Emitting module Resourceful
[7/7] Compiling Resourceful Resource+Async.swift
/Users/admin/builder/spi-builder-workspace/Sources/Resourceful/Resource+Async.swift:22:54: warning: converting a value of type '(__shared sending Result<Value, any Error>) -> ()' to type '(Result<Value, any Error>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
20 |     public func value<Value>(for resource: Resource<Value>) async throws -> Value {
21 |         try await withUnsafeThrowingContinuation { continuation in
22 |             fetch(resource, completion: continuation.resume)
   |                                                      |- warning: converting a value of type '(__shared sending Result<Value, any Error>) -> ()' to type '(Result<Value, any Error>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
   |                                                      `- note: converting a function typed value with a sending parameter to one without risks allowing actor-isolated values to escape their isolation domain as an argument to an invocation of value
23 |         }
24 |     }
Build complete! (3.29s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Resourceful",
  "name" : "Resourceful",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Resourceful",
      "targets" : [
        "Resourceful"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ResourcefulTests",
      "module_type" : "SwiftTarget",
      "name" : "ResourcefulTests",
      "path" : "Tests/ResourcefulTests",
      "sources" : [
        "AsyncTests.swift",
        "CombineTests.swift",
        "FetchTests.swift",
        "Helper.swift",
        "ResourceTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "Resourceful"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Resourceful",
      "module_type" : "SwiftTarget",
      "name" : "Resourceful",
      "path" : "Sources/Resourceful",
      "product_memberships" : [
        "Resourceful"
      ],
      "sources" : [
        "Resource+Async.swift",
        "Resource+Combine.swift",
        "Resource+Fetch.swift",
        "Resource.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
Done.