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 MiniFuture, reference master (894ed0), with Swift 6.2 (beta) for macOS (SPM) on 17 Jun 2025 18:41:17 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/tkareine/MiniFuture.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/tkareine/MiniFuture
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 894ed0c Update readme
Cloned https://github.com/tkareine/MiniFuture.git
Revision (git rev-parse @):
894ed0cf7c1bb8aeafe0a8fa5fa48a9a403ecdf6
SUCCESS checkout https://github.com/tkareine/MiniFuture.git at master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/tkareine/MiniFuture.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/7] Write sources
[2/7] Write Benchmark-entitlement.plist
[3/7] Write swift-version-1EA4D86E10B52AF.txt
[5/11] Compiling MiniFuture Try.swift
[6/11] Compiling MiniFuture Future.swift
/Users/admin/builder/spi-builder-workspace/Source/Future.swift:222:60: warning: string interpolation produces a debug description for a function value; did you mean to make this explicit?
220 |     let callbacks: [CompletionCallback] = condition.synchronized { _ in
221 |       if result != nil {
222 |         fatalError("Tried to complete PromiseFuture with \(value.value), but " +
    |                                                            |     `- note: use 'String(describing:)' to silence this warning
    |                                                            `- warning: string interpolation produces a debug description for a function value; did you mean to make this explicit?
223 |           "the future is already completed with \(result!)")
224 |       }
[7/11] Emitting module MiniFuture
[8/11] Compiling MiniFuture Condition.swift
/Users/admin/builder/spi-builder-workspace/Source/Condition.swift:23:15: warning: 'deallocate(capacity:)' is deprecated: Swift currently only supports freeing entire heap blocks, use deallocate() instead [#DeprecatedDeclaration]
21 |     let condRes = pthread_cond_destroy(condition)
22 |     assert(condRes == 0)
23 |     condition.deallocate(capacity: 1)
   |               `- warning: 'deallocate(capacity:)' is deprecated: Swift currently only supports freeing entire heap blocks, use deallocate() instead [#DeprecatedDeclaration]
24 |     let mutexRes = pthread_mutex_destroy(mutex)
25 |     assert(mutexRes == 0)
/Users/admin/builder/spi-builder-workspace/Source/Condition.swift:26:11: warning: 'deallocate(capacity:)' is deprecated: Swift currently only supports freeing entire heap blocks, use deallocate() instead [#DeprecatedDeclaration]
24 |     let mutexRes = pthread_mutex_destroy(mutex)
25 |     assert(mutexRes == 0)
26 |     mutex.deallocate(capacity: 1)
   |           `- warning: 'deallocate(capacity:)' is deprecated: Swift currently only supports freeing entire heap blocks, use deallocate() instead [#DeprecatedDeclaration]
27 |   }
28 |
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[9/13] Emitting module Benchmark
[10/13] Compiling Benchmark main.swift
[10/13] Write Objects.LinkFileList
[11/13] Linking Benchmark
[12/13] Applying Benchmark
Build complete! (3.44s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "MiniFuture",
  "name" : "MiniFuture",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "MiniFuture",
      "targets" : [
        "MiniFuture"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "Benchmark",
      "targets" : [
        "Benchmark"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "swift_languages_versions" : [
    "4"
  ],
  "targets" : [
    {
      "c99name" : "MiniFutureTests",
      "module_type" : "SwiftTarget",
      "name" : "MiniFutureTests",
      "path" : "Test",
      "sources" : [
        "AppError.swift",
        "FutureTests.swift",
        "TryTests.swift"
      ],
      "target_dependencies" : [
        "MiniFuture"
      ],
      "type" : "test"
    },
    {
      "c99name" : "MiniFuture",
      "module_type" : "SwiftTarget",
      "name" : "MiniFuture",
      "path" : "Source",
      "product_memberships" : [
        "MiniFuture",
        "Benchmark"
      ],
      "sources" : [
        "Condition.swift",
        "Future.swift",
        "Try.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Benchmark",
      "module_type" : "SwiftTarget",
      "name" : "Benchmark",
      "path" : "Benchmark",
      "product_memberships" : [
        "Benchmark"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "MiniFuture"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "4.0"
}
Done.