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 1.0.3-swift5 (f2aee1), with Swift 6.0 for macOS (SPM) on 26 Nov 2024 10:29:26 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.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.58.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/openkitten/schrodinger.git
Reference: 1.0.3-swift5
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/openkitten/schrodinger
 * tag               1.0.3-swift5 -> FETCH_HEAD
HEAD is now at f2aee1f Move file to Swift 4 format
Cloned https://github.com/openkitten/schrodinger.git
Revision (git rev-parse @):
f2aee1f95b042739c52106c6c062cdb24461406c
SUCCESS checkout https://github.com/openkitten/schrodinger.git at 1.0.3-swift5
========================================
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.69s)
Creating working copy for https://github.com/openkitten/schrodinger.git
Working copy of https://github.com/openkitten/schrodinger.git resolved at 1.0.3-swift5 (f2aee1f)
warning: '.resolve-product-dependencies': dependency 'schrodinger' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/openkitten/schrodinger.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.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--7754E27361AE5C74.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! (3.16s)
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.