The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of Gherkin, reference 0.2.0 (61857f), with Swift 6.1 for Linux on 25 Apr 2025 14:21:46 UTC.

Swift 6 data race errors: 1

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/iainsmith/swiftgherkin.git
Reference: 0.2.0
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/iainsmith/swiftgherkin
 * tag               0.2.0      -> FETCH_HEAD
HEAD is now at 61857fe Update docs for 0.2.0 release
Cloned https://github.com/iainsmith/swiftgherkin.git
Revision (git rev-parse @):
61857fedfa2818986c56f56553754f7759a6e96e
SUCCESS checkout https://github.com/iainsmith/swiftgherkin.git at 0.2.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/iainsmith/swiftgherkin.git
https://github.com/iainsmith/swiftgherkin.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "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" : "/host/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"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/nicklockwood/Consumer.git
[1/591] Fetching consumer
Fetched https://github.com/nicklockwood/Consumer.git from cache (0.23s)
Computing version for https://github.com/nicklockwood/Consumer.git
Computed https://github.com/nicklockwood/Consumer.git at 0.3.5 (2.17s)
Creating working copy for https://github.com/nicklockwood/Consumer.git
Working copy of https://github.com/nicklockwood/Consumer.git resolved at 0.3.5
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/5] Compiling Consumer Consumer.swift
[5/5] Emitting module Consumer
[7/12] Emitting module Gherkin
/host/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 |
/host/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)
/host/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: add '@MainActor' to make let 'gherkin' part of global actor 'MainActor'
   |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
82 |
[8/12] Compiling Gherkin Error.swift
[9/12] Compiling Gherkin Transform.swift
[10/12] Compiling Gherkin Parser.swift
/host/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 |
/host/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)
/host/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: add '@MainActor' to make let 'gherkin' part of global actor 'MainActor'
   |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
82 |
[11/12] Compiling Gherkin LegacyShims.swift
[12/12] Compiling Gherkin Models.swift
Build complete! (15.01s)
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" : "/host/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"
}
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Done.