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

Swift 6 data race errors: 2

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/mitsuse/swim.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/mitsuse/swim
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at a29d999 Merge branch 'update-readme'
Cloned https://github.com/mitsuse/swim.git
Revision (git rev-parse @):
a29d999c27475bfb3859c7d48b51f8353c0410b1
SUCCESS checkout https://github.com/mitsuse/swim.git at master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/mitsuse/swim.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/7] Write sources
[2/7] Write swim-entitlement.plist
[3/7] Write swift-version-6F35C1178C84523A.txt
[5/17] Compiling Commandant OrderedSet.swift
[6/17] Compiling Commandant Result+Additions.swift
[7/18] Compiling Commandant Switch.swift
[8/18] Compiling Commandant Option.swift
[9/18] Compiling Commandant Command.swift
[10/18] Compiling Commandant ArgumentProtocol.swift
[11/18] Compiling Commandant ArgumentParser.swift
[12/18] Compiling Commandant Argument.swift
[13/18] Emitting module Commandant
[14/18] Compiling Commandant Errors.swift
[15/18] Compiling Commandant HelpCommand.swift
[16/24] Compiling swim InputSource.swift
/Users/admin/builder/spi-builder-workspace/Sources/swim/InputSource.swift:22:20: warning: stored property 'identifier' of 'Sendable'-conforming struct 'Unavaiable' has non-sendable type 'InputSource.Id'; this is an error in the Swift 6 language mode
 3 |     public let name: Name
 4 |
 5 |     public struct Id: Identifier {
   |                   `- note: consider making struct 'Id' conform to the 'Sendable' protocol
 6 |         public let value: String
 7 |
   :
20 |
21 |     public struct Unavaiable: Error {
22 |         public let identifier: Id
   |                    `- warning: stored property 'identifier' of 'Sendable'-conforming struct 'Unavaiable' has non-sendable type 'InputSource.Id'; this is an error in the Swift 6 language mode
23 |     }
24 | }
[17/24] Compiling swim Object.swift
[18/24] Compiling swim Command.swift
/Users/admin/builder/spi-builder-workspace/Sources/swim/Command.swift:7:10: warning: associated value 'unavailableSource' of 'Sendable'-conforming enum 'CommandError' has non-sendable type 'InputSource.Id'; this is an error in the Swift 6 language mode
  5 |
  6 | enum CommandError: Error {
  7 |     case unavailableSource(InputSource.Id)
    |          `- warning: associated value 'unavailableSource' of 'Sendable'-conforming enum 'CommandError' has non-sendable type 'InputSource.Id'; this is an error in the Swift 6 language mode
  8 |
  9 |     var code: Int32 {
/Users/admin/builder/spi-builder-workspace/Sources/swim/InputSource.swift:5:19: note: consider making struct 'Id' conform to the 'Sendable' protocol
 3 |     public let name: Name
 4 |
 5 |     public struct Id: Identifier {
   |                   `- note: consider making struct 'Id' conform to the 'Sendable' protocol
 6 |         public let value: String
 7 |
[19/24] Compiling swim main.swift
[20/24] Compiling swim RawInputSource.swift
[21/24] Emitting module swim
/Users/admin/builder/spi-builder-workspace/Sources/swim/Command.swift:7:10: warning: associated value 'unavailableSource' of 'Sendable'-conforming enum 'CommandError' has non-sendable type 'InputSource.Id'; this is an error in the Swift 6 language mode
  5 |
  6 | enum CommandError: Error {
  7 |     case unavailableSource(InputSource.Id)
    |          `- warning: associated value 'unavailableSource' of 'Sendable'-conforming enum 'CommandError' has non-sendable type 'InputSource.Id'; this is an error in the Swift 6 language mode
  8 |
  9 |     var code: Int32 {
/Users/admin/builder/spi-builder-workspace/Sources/swim/InputSource.swift:5:19: note: consider making struct 'Id' conform to the 'Sendable' protocol
 3 |     public let name: Name
 4 |
 5 |     public struct Id: Identifier {
   |                   `- note: consider making struct 'Id' conform to the 'Sendable' protocol
 6 |         public let value: String
 7 |
/Users/admin/builder/spi-builder-workspace/Sources/swim/InputSource.swift:22:20: warning: stored property 'identifier' of 'Sendable'-conforming struct 'Unavaiable' has non-sendable type 'InputSource.Id'; this is an error in the Swift 6 language mode
 3 |     public let name: Name
 4 |
 5 |     public struct Id: Identifier {
   |                   `- note: consider making struct 'Id' conform to the 'Sendable' protocol
 6 |         public let value: String
 7 |
   :
20 |
21 |     public struct Unavaiable: Error {
22 |         public let identifier: Id
   |                    `- warning: stored property 'identifier' of 'Sendable'-conforming struct 'Unavaiable' has non-sendable type 'InputSource.Id'; this is an error in the Swift 6 language mode
23 |     }
24 | }
[21/24] Write Objects.LinkFileList
[22/24] Linking swim
[23/24] Applying swim
Build complete! (43.14s)
Fetching https://github.com/Carthage/Commandant.git
Fetching https://github.com/Quick/Quick.git
Fetching https://github.com/Quick/Nimble.git
[1/2323] Fetching commandant
[2324/16872] Fetching commandant, quick
[11636/35512] Fetching commandant, quick, nimble
Fetched https://github.com/Carthage/Commandant.git from cache (2.67s)
Fetched https://github.com/Quick/Quick.git from cache (2.67s)
Fetched https://github.com/Quick/Nimble.git from cache (2.67s)
Computing version for https://github.com/Carthage/Commandant.git
Computed https://github.com/Carthage/Commandant.git at 0.17.0 (0.69s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 8.0.2 (0.67s)
Computing version for https://github.com/Quick/Quick.git
Computed https://github.com/Quick/Quick.git at 2.1.0 (0.68s)
Creating working copy for https://github.com/Quick/Quick.git
Working copy of https://github.com/Quick/Quick.git resolved at 2.1.0
Creating working copy for https://github.com/Carthage/Commandant.git
Working copy of https://github.com/Carthage/Commandant.git resolved at 0.17.0
Creating working copy for https://github.com/Quick/Nimble.git
Working copy of https://github.com/Quick/Nimble.git resolved at 8.0.2
Build complete.
{
  "dependencies" : [
    {
      "identity" : "commandant",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.17.0",
            "upper_bound" : "0.18.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Carthage/Commandant.git"
    }
  ],
  "manifest_display_name" : "swim",
  "name" : "swim",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.14"
    }
  ],
  "products" : [
    {
      "name" : "swim",
      "targets" : [
        "swim"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "swim",
      "module_type" : "SwiftTarget",
      "name" : "swim",
      "path" : "Sources/swim",
      "product_dependencies" : [
        "Commandant"
      ],
      "product_memberships" : [
        "swim"
      ],
      "sources" : [
        "Command.swift",
        "InputSource.swift",
        "Object.swift",
        "RawInputSource.swift",
        "main.swift"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "5.0"
}
Done.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.