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 Semver, reference 1.2.4 (0a6e2f), with Swift 6.0 for macOS (SPM) on 30 Nov 2024 22:09:01 UTC.

Swift 6 data race errors: 1

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.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/johnfairh/Semver.swift.git
Reference: 1.2.4
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/johnfairh/Semver.swift
 * tag               1.2.4      -> FETCH_HEAD
HEAD is now at 0a6e2fe Add Hashable conformance
Cloned https://github.com/johnfairh/Semver.swift.git
Revision (git rev-parse @):
0a6e2fe061ecb840c9bf80b6427e70ac039239fa
SUCCESS checkout https://github.com/johnfairh/Semver.swift.git at 1.2.4
========================================
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": "semver.swift",
      "name": "Semver",
      "url": "https://github.com/johnfairh/Semver.swift.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Semver.swift",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/johnfairh/Semver.swift.git
[4/181] Fetching semver.swift
Fetched https://github.com/johnfairh/Semver.swift.git from cache (0.71s)
Creating working copy for https://github.com/johnfairh/Semver.swift.git
Working copy of https://github.com/johnfairh/Semver.swift.git resolved at 1.2.4 (0a6e2fe)
warning: '.resolve-product-dependencies': dependency 'semver.swift' 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/johnfairh/Semver.swift.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Semver",
  "name" : "Semver",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    }
  ],
  "products" : [
    {
      "name" : "Semver",
      "targets" : [
        "Semver"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "SemverTests",
      "module_type" : "SwiftTarget",
      "name" : "SemverTests",
      "path" : "Tests",
      "sources" : [
        "ParserTests.swift",
        "SemverTests.swift"
      ],
      "target_dependencies" : [
        "Semver"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Semver",
      "module_type" : "SwiftTarget",
      "name" : "Semver",
      "path" : "Sources",
      "product_memberships" : [
        "Semver"
      ],
      "sources" : [
        "Semver+Expressible.swift",
        "Semver+Parser.swift",
        "Semver.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.1"
}
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/6] Emitting module Semver
/Users/admin/builder/spi-builder-workspace/Sources/Semver+Parser.swift:22:14: warning: associated value 'parseError' of 'Sendable'-conforming enum 'ParsingError' has non-sendable type 'Semver.ParsingError.Component'; this is an error in the Swift 6 language mode
 15 | extension Semver {
 16 |     public enum ParsingError: Error {
 17 |         public enum Component {
    |                     `- note: consider making enum 'Component' conform to the 'Sendable' protocol
 18 |             case major, minor, patch, prereleaseIdentifiers, buildMetadataIdentifiers
 19 |         }
 20 |         case malformedString(String, Error?)
 21 |         case digitsNotFound(String)
 22 |         case parseError(Component, Error)
    |              `- warning: associated value 'parseError' of 'Sendable'-conforming enum 'ParsingError' has non-sendable type 'Semver.ParsingError.Component'; this is an error in the Swift 6 language mode
 23 |
 24 |         var localizedDescription: String {
[4/6] Compiling Semver Semver+Parser.swift
/Users/admin/builder/spi-builder-workspace/Sources/Semver+Parser.swift:22:14: warning: associated value 'parseError' of 'Sendable'-conforming enum 'ParsingError' has non-sendable type 'Semver.ParsingError.Component'; this is an error in the Swift 6 language mode
 15 | extension Semver {
 16 |     public enum ParsingError: Error {
 17 |         public enum Component {
    |                     `- note: consider making enum 'Component' conform to the 'Sendable' protocol
 18 |             case major, minor, patch, prereleaseIdentifiers, buildMetadataIdentifiers
 19 |         }
 20 |         case malformedString(String, Error?)
 21 |         case digitsNotFound(String)
 22 |         case parseError(Component, Error)
    |              `- warning: associated value 'parseError' of 'Sendable'-conforming enum 'ParsingError' has non-sendable type 'Semver.ParsingError.Component'; this is an error in the Swift 6 language mode
 23 |
 24 |         var localizedDescription: String {
[5/6] Compiling Semver Semver+Expressible.swift
[6/6] Compiling Semver Semver.swift
Build complete! (6.56s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Semver",
  "name" : "Semver",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    }
  ],
  "products" : [
    {
      "name" : "Semver",
      "targets" : [
        "Semver"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "SemverTests",
      "module_type" : "SwiftTarget",
      "name" : "SemverTests",
      "path" : "Tests",
      "sources" : [
        "ParserTests.swift",
        "SemverTests.swift"
      ],
      "target_dependencies" : [
        "Semver"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Semver",
      "module_type" : "SwiftTarget",
      "name" : "Semver",
      "path" : "Sources",
      "product_memberships" : [
        "Semver"
      ],
      "sources" : [
        "Semver+Expressible.swift",
        "Semver+Parser.swift",
        "Semver.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.1"
}
Done.