The Swift Package Index logo.Swift Package Index

Build Information

Successful build of Ergo, reference main (d09e8b), with Swift 6.2 for macOS (SPM) on 19 Jun 2025 13:52:15 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/hainayanda/Ergo.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/hainayanda/Ergo
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at d09e8b5 Update README.md
Cloned https://github.com/hainayanda/Ergo.git
Revision (git rev-parse @):
d09e8b5bc8baf01430c842062d5d7899f3e187c0
SUCCESS checkout https://github.com/hainayanda/Ergo.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/hainayanda/Ergo.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-1EA4D86E10B52AF.txt
[4/6] Compiling Chary DispatchQueue+Extensions.swift
[5/6] Compiling Chary Atomic.swift
[6/6] Emitting module Chary
[7/15] Compiling Ergo Task+Extensions.swift
[8/15] Compiling Ergo Thenable.swift
/Users/admin/builder/spi-builder-workspace/Ergo/Classes/Thenable.swift:123:39: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
121 |     ///   - asyncTask: async task
122 |     /// - Returns: new promise
123 |     func thenAsyncAwait<NextResult>(_ asyncTask: @Sendable @escaping (Result) async throws -> NextResult) -> Promise<NextResult> {
    |                                       `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
124 |         thenContinue { result in
125 |             return ClosurePromise {
/Users/admin/builder/spi-builder-workspace/Ergo/Classes/Thenable.swift:145:23: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
143 |         let promise = self
144 |         return Task<Result, Error> {
145 |             try await promise.result
    |                       `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
146 |         }
147 |     }
/Users/admin/builder/spi-builder-workspace/Ergo/Classes/Thenable.swift:143:13: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
141 |     /// - Returns: Task
142 |     func asTask() -> Task<Result, Error> {
143 |         let promise = self
    |             `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
144 |         return Task<Result, Error> {
145 |             try await promise.result
[9/15] Compiling Ergo NestedPromise.swift
[10/15] Compiling Ergo GlobalFunction.swift
[11/15] Compiling Ergo ErgoError.swift
[12/15] Compiling Ergo ClosurePromise.swift
[13/15] Compiling Ergo Promise.swift
/Users/admin/builder/spi-builder-workspace/Ergo/Classes/Promise.swift:271:17: warning: generic parameter 'Result' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 12 |
 13 | /// Regular Promise
 14 | open class Promise<Result>: Thenable {
    |                    `- note: 'Result' previously declared here
 15 |
 16 |     private var _currentValue: Result?
    :
269 |     }
270 |
271 |     func synced<Result>(run: () -> Result) -> Result {
    |                 `- warning: generic parameter 'Result' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
272 |         promiseQueue.safeSync(execute: run)
273 |     }
[14/15] Compiling Ergo ChainAnimator.swift
[15/15] Emitting module Ergo
/Users/admin/builder/spi-builder-workspace/Ergo/Classes/Promise.swift:271:17: warning: generic parameter 'Result' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 12 |
 13 | /// Regular Promise
 14 | open class Promise<Result>: Thenable {
    |                    `- note: 'Result' previously declared here
 15 |
 16 |     private var _currentValue: Result?
    :
269 |     }
270 |
271 |     func synced<Result>(run: () -> Result) -> Result {
    |                 `- warning: generic parameter 'Result' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
272 |         promiseQueue.safeSync(execute: run)
273 |     }
Build complete! (5.84s)
Fetching https://github.com/hainayanda/Chary.git
[1/514] Fetching chary
Fetched https://github.com/hainayanda/Chary.git from cache (0.88s)
Computing version for https://github.com/hainayanda/Chary.git
Computed https://github.com/hainayanda/Chary.git at 1.0.7 (1.41s)
Creating working copy for https://github.com/hainayanda/Chary.git
Working copy of https://github.com/hainayanda/Chary.git resolved at 1.0.7
Build complete.
{
  "dependencies" : [
    {
      "identity" : "chary",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.2",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/hainayanda/Chary.git"
    }
  ],
  "manifest_display_name" : "Ergo",
  "name" : "Ergo",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "10.0"
    },
    {
      "name" : "macos",
      "version" : "10.10"
    },
    {
      "name" : "tvos",
      "version" : "10.0"
    }
  ],
  "products" : [
    {
      "name" : "Ergo",
      "targets" : [
        "Ergo"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "Ergo",
      "module_type" : "SwiftTarget",
      "name" : "Ergo",
      "path" : "Ergo/Classes",
      "product_dependencies" : [
        "Chary"
      ],
      "product_memberships" : [
        "Ergo"
      ],
      "sources" : [
        "ChainAnimator.swift",
        "ClosurePromise.swift",
        "ErgoError.swift",
        "GlobalFunction.swift",
        "NestedPromise.swift",
        "Promise.swift",
        "Task+Extensions.swift",
        "Thenable.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
Done.