The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of Schrodinger, reference master (0ae2be), with Swift 6.1 for macOS (SPM) on 24 Apr 2025 10:41:52 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/openkitten/schrodinger.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/openkitten/schrodinger
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 0ae2be9 Make package manifest a constant
Cloned https://github.com/openkitten/schrodinger.git
Revision (git rev-parse @):
0ae2be9c37616ede8e7cf6fef48ecae7297052a4
SUCCESS checkout https://github.com/openkitten/schrodinger.git at master
========================================
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": "schrodinger",
      "name": "Schrodinger",
      "url": "https://github.com/openkitten/schrodinger.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/schrodinger",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/openkitten/schrodinger.git
[1/130] Fetching schrodinger
Fetched https://github.com/openkitten/schrodinger.git from cache (0.56s)
Creating working copy for https://github.com/openkitten/schrodinger.git
Working copy of https://github.com/openkitten/schrodinger.git resolved at master (0ae2be9)
warning: '.resolve-product-dependencies': dependency 'schrodinger' 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/openkitten/schrodinger.git
https://github.com/openkitten/schrodinger.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Schrodinger",
  "name" : "Schrodinger",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Schrodinger",
      "targets" : [
        "Schrodinger"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "Schrodinger",
      "module_type" : "SwiftTarget",
      "name" : "Schrodinger",
      "path" : "Sources/Schrodinger",
      "product_memberships" : [
        "Schrodinger"
      ],
      "sources" : [
        "Schrodinger.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
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/4] Compiling Schrodinger Schrodinger.swift
/Users/admin/builder/spi-builder-workspace/Sources/Schrodinger/Schrodinger.swift:136:13: warning: capture of 'self' with non-sendable type 'Promise<Wrapped>' in a '@Sendable' closure
110 |
111 | /// A closure based promise that executes the closure in a DispatchQueue on a normal priority
112 | public class Promise<Wrapped> : ManualPromise<Wrapped> {
    |              `- note: generic class 'Promise' does not conform to the 'Sendable' protocol
113 |     /// Completes the promise with the result of the closure
114 |     func complete(_ closure: (() throws -> Wrapped)) {
    :
134 |
135 |         backgroundExecutionQueue.async {
136 |             self.complete(closure)
    |             `- warning: capture of 'self' with non-sendable type 'Promise<Wrapped>' in a '@Sendable' closure
137 |         }
138 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Schrodinger/Schrodinger.swift:136:27: warning: capture of 'closure' with non-sendable type '() throws -> Wrapped' in a '@Sendable' closure
134 |
135 |         backgroundExecutionQueue.async {
136 |             self.complete(closure)
    |                           |- warning: capture of 'closure' with non-sendable type '() throws -> Wrapped' in a '@Sendable' closure
    |                           `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
137 |         }
138 |     }
[4/4] Emitting module Schrodinger
Build complete! (2.28s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Schrodinger",
  "name" : "Schrodinger",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Schrodinger",
      "targets" : [
        "Schrodinger"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "Schrodinger",
      "module_type" : "SwiftTarget",
      "name" : "Schrodinger",
      "path" : "Sources/Schrodinger",
      "product_memberships" : [
        "Schrodinger"
      ],
      "sources" : [
        "Schrodinger.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
Done.