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, reference 1.0.3-swift5 (f2aee1), with Swift 6.0 for Linux on 24 Jun 2024 14:55:29 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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.43.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/openkitten/schrodinger.git
Reference: 1.0.3-swift5
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
 * 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
========================================
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 --pull=always --rm -v "checkouts-4609320-1":/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
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:1f60ba39b4136ba80e996b934bc99f3a17030ce76de32398391d702374048df7
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
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! (7.07s)
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"
}
basic-5.10-latest: Pulling from finestructure/spi-images
Digest: sha256:ad7d89f73d56840dc701ca7cebc6a2b940dd6cd1021b272e36eba4b329a2df61
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.10-latest
Done.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.