This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

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 with Swift 6.0 for macOS (SPM).

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.40.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
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/openkitten/schrodinger.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-6F35C1178C84523A.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; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
134 |
135 |         backgroundExecutionQueue.async {
136 |             self.complete(closure)
    |                           |- warning: capture of 'closure' with non-sendable type '() throws -> Wrapped' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |                           `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
137 |         }
138 |     }
[4/4] Emitting module Schrodinger
Build complete! (6.46s)
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.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.