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

Swift 6 data race errors: 1

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/iainsmith/swiftgherkin.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/iainsmith/swiftgherkin
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 84581c3 Update README
Cloned https://github.com/iainsmith/swiftgherkin.git
Revision (git rev-parse @):
84581c35391054ed623de9de56ec6e4efb7587fa
SUCCESS checkout https://github.com/iainsmith/swiftgherkin.git at master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/iainsmith/swiftgherkin.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/3] Write sources
[2/3] Write swift-version-6F35C1178C84523A.txt
[4/5] Compiling Consumer Consumer.swift
[5/5] Emitting module Consumer
[6/11] Compiling Gherkin Parser.swift
/Users/admin/builder/spi-builder-workspace/Sources/Gherkin/Parser.swift:81:5: warning: let 'gherkin' is not concurrency-safe because non-'Sendable' type 'GherkinConsumer' (aka 'Consumer<GherkinLabel>') may have shared mutable state; this is an error in the Swift 6 language mode
79 | }
80 |
81 | let gherkin = makeParser()
   |     `- warning: let 'gherkin' is not concurrency-safe because non-'Sendable' type 'GherkinConsumer' (aka 'Consumer<GherkinLabel>') may have shared mutable state; this is an error in the Swift 6 language mode
82 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Consumer/Sources/Consumer.swift:38:22: note: generic enum 'Consumer' does not conform to the 'Sendable' protocol
 36 | // MARK: Consumer
 37 |
 38 | public indirect enum Consumer<Label: Hashable>: Equatable {
    |                      `- note: generic enum 'Consumer' does not conform to the 'Sendable' protocol
 39 |     /// Primitives
 40 |     case string(String)
/Users/admin/builder/spi-builder-workspace/Sources/Gherkin/Parser.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Consumer'
 1 | import Consumer
   | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Consumer'
 2 | import Foundation
 3 |
   :
79 | }
80 |
81 | let gherkin = makeParser()
   |     |- note: annotate 'gherkin' with '@MainActor' if property should only be accessed from the main actor
   |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
82 |
[7/11] Compiling Gherkin LegacyShims.swift
[8/11] Emitting module Gherkin
/Users/admin/builder/spi-builder-workspace/Sources/Gherkin/Parser.swift:81:5: warning: let 'gherkin' is not concurrency-safe because non-'Sendable' type 'GherkinConsumer' (aka 'Consumer<GherkinLabel>') may have shared mutable state; this is an error in the Swift 6 language mode
79 | }
80 |
81 | let gherkin = makeParser()
   |     `- warning: let 'gherkin' is not concurrency-safe because non-'Sendable' type 'GherkinConsumer' (aka 'Consumer<GherkinLabel>') may have shared mutable state; this is an error in the Swift 6 language mode
82 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Consumer/Sources/Consumer.swift:38:22: note: generic enum 'Consumer' does not conform to the 'Sendable' protocol
 36 | // MARK: Consumer
 37 |
 38 | public indirect enum Consumer<Label: Hashable>: Equatable {
    |                      `- note: generic enum 'Consumer' does not conform to the 'Sendable' protocol
 39 |     /// Primitives
 40 |     case string(String)
/Users/admin/builder/spi-builder-workspace/Sources/Gherkin/Parser.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Consumer'
 1 | import Consumer
   | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Consumer'
 2 | import Foundation
 3 |
   :
79 | }
80 |
81 | let gherkin = makeParser()
   |     |- note: annotate 'gherkin' with '@MainActor' if property should only be accessed from the main actor
   |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
82 |
[9/11] Compiling Gherkin Transform.swift
[10/11] Compiling Gherkin Error.swift
[11/11] Compiling Gherkin Models.swift
/Users/admin/builder/spi-builder-workspace/Sources/Gherkin/Parser.swift:81:5: warning: let 'gherkin' is not concurrency-safe because non-'Sendable' type 'GherkinConsumer' (aka 'Consumer<GherkinLabel>') may have shared mutable state; this is an error in the Swift 6 language mode
79 | }
80 |
81 | let gherkin = makeParser()
   |     `- warning: let 'gherkin' is not concurrency-safe because non-'Sendable' type 'GherkinConsumer' (aka 'Consumer<GherkinLabel>') may have shared mutable state; this is an error in the Swift 6 language mode
82 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Consumer/Sources/Consumer.swift:38:22: note: generic enum 'Consumer' does not conform to the 'Sendable' protocol
 36 | // MARK: Consumer
 37 |
 38 | public indirect enum Consumer<Label: Hashable>: Equatable {
    |                      `- note: generic enum 'Consumer' does not conform to the 'Sendable' protocol
 39 |     /// Primitives
 40 |     case string(String)
/Users/admin/builder/spi-builder-workspace/Sources/Gherkin/Parser.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Consumer'
 1 | import Consumer
   | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Consumer'
 2 | import Foundation
 3 |
   :
79 | }
80 |
81 | let gherkin = makeParser()
   |     |- note: annotate 'gherkin' with '@MainActor' if property should only be accessed from the main actor
   |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
82 |
Build complete! (23.36s)
Fetching https://github.com/nicklockwood/Consumer.git
[1/591] Fetching consumer
Fetched https://github.com/nicklockwood/Consumer.git from cache (0.88s)
Computing version for https://github.com/nicklockwood/Consumer.git
Computed https://github.com/nicklockwood/Consumer.git at 0.3.4 (2.30s)
Creating working copy for https://github.com/nicklockwood/Consumer.git
Working copy of https://github.com/nicklockwood/Consumer.git resolved at 0.3.4
Build complete.
{
  "dependencies" : [
    {
      "identity" : "consumer",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.3.4",
            "upper_bound" : "0.4.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/nicklockwood/Consumer.git"
    }
  ],
  "manifest_display_name" : "Gherkin",
  "name" : "Gherkin",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Gherkin",
      "targets" : [
        "Gherkin"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "4.2",
    "5"
  ],
  "targets" : [
    {
      "c99name" : "GherkinTests",
      "module_type" : "SwiftTarget",
      "name" : "GherkinTests",
      "path" : "Tests/GherkinTests",
      "sources" : [
        "GherkinTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "Gherkin"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Gherkin",
      "module_type" : "SwiftTarget",
      "name" : "Gherkin",
      "path" : "Sources/Gherkin",
      "product_dependencies" : [
        "Consumer"
      ],
      "product_memberships" : [
        "Gherkin"
      ],
      "sources" : [
        "Error.swift",
        "LegacyShims.swift",
        "Models.swift",
        "Parser.swift",
        "Transform.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.2"
}
Done.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.