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 Linux.

Swift 6 data race errors: 0

Build Command

bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1

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 /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
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:         linux
Swift version:             6.0
Building package at path:  $workDir
https://github.com/openkitten/schrodinger.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/4] Emitting module Schrodinger
[4/4] Compiling Schrodinger Schrodinger.swift
/host/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 |     }
/host/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 |     }
Build complete! (6.89s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Schrodinger",
  "name" : "Schrodinger",
  "path" : "/host/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.