The Swift Package Index logo.Swift Package Index

Build Information

Successful build of CucumberSwiftExpressions, reference 1.4.2 (ab4c64), with Swift 6.1 for Wasm on 24 Oct 2026 11:16:06 UTC.

Swift 6 data race errors: 4

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344844-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -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: 5.1.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/cucumberswift/CucumberSwiftExpressions.git
Reference: 1.4.2
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/cucumberswift/CucumberSwiftExpressions
 * tag               1.4.2      -> FETCH_HEAD
HEAD is now at ab4c648 ci: build and check the source archive on a Release dry run (#77) (#78)
Cloned https://github.com/cucumberswift/CucumberSwiftExpressions.git
Revision (git rev-parse @):
ab4c6482d3230d24a13814a961b6fff1d50f830f
SUCCESS checkout https://github.com/cucumberswift/CucumberSwiftExpressions.git at 1.4.2
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/cucumberswift/CucumberSwiftExpressions.git
https://github.com/cucumberswift/CucumberSwiftExpressions.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344844-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -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
wasm-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:f257c9b8465670613eb336f6def351d681b1d395aebdb231a45bac980c1f9d3c
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest
Fetching https://github.com/apple/swift-docc-plugin
[1/2345] Fetching swift-docc-plugin
Fetched https://github.com/apple/swift-docc-plugin from cache (0.62s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.5.0 (0.89s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3848] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.57s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.85s)
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.5.0
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/4] Write sources
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/23] Emitting module CucumberSwiftExpressions
/host/spi-builder-workspace/Sources/CucumberSwiftExpressions/CucumberExpression.swift:336:16: warning: static property 'parameters' is not concurrency-safe because non-'Sendable' type '[AnyParameter]' may have shared mutable state; this is an error in the Swift 6 language mode
334 |
335 | extension CucumberExpression {
336 |     static let parameters: [AnyParameter] = {
    |                |- warning: static property 'parameters' is not concurrency-safe because non-'Sendable' type '[AnyParameter]' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'parameters' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
337 |         [
338 |             StringParameter().eraseToAnyParameter(),
/host/spi-builder-workspace/Sources/CucumberSwiftExpressions/Parameter/AnyParameter.swift:12:20: note: class 'AnyParameter' does not conform to the 'Sendable' protocol
10 | import Foundation
11 |
12 | public final class AnyParameter {
   |                    `- note: class 'AnyParameter' does not conform to the 'Sendable' protocol
13 |     fileprivate let storage: AnyParameterBase
14 |
/host/spi-builder-workspace/Sources/CucumberSwiftExpressions/CucumberExpression.swift:347:16: warning: static property 'parameterLookup' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
345 |     }()
346 |
347 |     static var parameterLookup: [String: AnyParameter] = {
    |                |- warning: static property 'parameterLookup' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'parameterLookup' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'parameterLookup' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
348 |         parameters
349 |             .reduce(into: [:]) { $0[$1.name] = $1 }
/host/spi-builder-workspace/Sources/CucumberSwiftExpressions/Position.swift:12:16: warning: static property 'start' is not concurrency-safe because non-'Sendable' type 'Position' may have shared mutable state; this is an error in the Swift 6 language mode
 9 | import Foundation
10 |
11 | public struct Position: Hashable, Equatable {
   |               `- note: consider making struct 'Position' conform to the 'Sendable' protocol
12 |     static let start: Position = {
   |                |- warning: static property 'start' is not concurrency-safe because non-'Sendable' type 'Position' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: add '@MainActor' to make static property 'start' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |         Position(line: 0, column: 0)
14 |     }()
/host/spi-builder-workspace/Sources/CucumberSwiftExpressions/SyntaxError.swift:46:20: warning: stored property 'problem' of 'Sendable'-conforming struct 'SyntaxError' has non-sendable type 'CucumberExpression.SyntaxError.Problem'; this is an error in the Swift 6 language mode
 14 |     /// cannot be read reliably after one.
 15 |     public struct SyntaxError: Error, Equatable, CustomStringConvertible {
 16 |         public enum Problem: Equatable {
    |                     `- note: consider making enum 'Problem' conform to the 'Sendable' protocol
 17 |             /// A `{` with no `}` after it, such as `I have {int cukes`. The range is the `{`.
 18 |             case missingClosingBrace
    :
 44 |         /// The string that does not parse.
 45 |         public let expression: String
 46 |         public let problem: Problem
    |                    `- warning: stored property 'problem' of 'Sendable'-conforming struct 'SyntaxError' has non-sendable type 'CucumberExpression.SyntaxError.Problem'; this is an error in the Swift 6 language mode
 47 |         /// Where the problem is in ``expression``; each ``Problem`` says what it covers.
 48 |         public let range: Range<String.Index>
[6/25] Compiling CucumberSwiftExpressions SyntaxParser.swift
[7/25] Compiling CucumberSwiftExpressions Token.swift
[8/25] Compiling CucumberSwiftExpressions Position.swift
/host/spi-builder-workspace/Sources/CucumberSwiftExpressions/Position.swift:12:16: warning: static property 'start' is not concurrency-safe because non-'Sendable' type 'Position' may have shared mutable state; this is an error in the Swift 6 language mode
 9 | import Foundation
10 |
11 | public struct Position: Hashable, Equatable {
   |               `- note: consider making struct 'Position' conform to the 'Sendable' protocol
12 |     static let start: Position = {
   |                |- warning: static property 'start' is not concurrency-safe because non-'Sendable' type 'Position' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: add '@MainActor' to make static property 'start' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |         Position(line: 0, column: 0)
14 |     }()
[9/25] Compiling CucumberSwiftExpressions StringReader.swift
/host/spi-builder-workspace/Sources/CucumberSwiftExpressions/Position.swift:12:16: warning: static property 'start' is not concurrency-safe because non-'Sendable' type 'Position' may have shared mutable state; this is an error in the Swift 6 language mode
 9 | import Foundation
10 |
11 | public struct Position: Hashable, Equatable {
   |               `- note: consider making struct 'Position' conform to the 'Sendable' protocol
12 |     static let start: Position = {
   |                |- warning: static property 'start' is not concurrency-safe because non-'Sendable' type 'Position' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: add '@MainActor' to make static property 'start' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |         Position(line: 0, column: 0)
14 |     }()
[10/25] Compiling CucumberSwiftExpressions StringParameter.swift
[11/25] Compiling CucumberSwiftExpressions WordParameter.swift
[12/25] Compiling CucumberSwiftExpressions InvalidRegularExpression.swift
[13/25] Compiling CucumberSwiftExpressions Lexer.swift
[14/25] Compiling CucumberSwiftExpressions Match.swift
[15/25] Compiling CucumberSwiftExpressions Syntax.swift
/host/spi-builder-workspace/Sources/CucumberSwiftExpressions/SyntaxError.swift:46:20: warning: stored property 'problem' of 'Sendable'-conforming struct 'SyntaxError' has non-sendable type 'CucumberExpression.SyntaxError.Problem'; this is an error in the Swift 6 language mode
 14 |     /// cannot be read reliably after one.
 15 |     public struct SyntaxError: Error, Equatable, CustomStringConvertible {
 16 |         public enum Problem: Equatable {
    |                     `- note: consider making enum 'Problem' conform to the 'Sendable' protocol
 17 |             /// A `{` with no `}` after it, such as `I have {int cukes`. The range is the `{`.
 18 |             case missingClosingBrace
    :
 44 |         /// The string that does not parse.
 45 |         public let expression: String
 46 |         public let problem: Problem
    |                    `- warning: stored property 'problem' of 'Sendable'-conforming struct 'SyntaxError' has non-sendable type 'CucumberExpression.SyntaxError.Problem'; this is an error in the Swift 6 language mode
 47 |         /// Where the problem is in ``expression``; each ``Problem`` says what it covers.
 48 |         public let range: Range<String.Index>
[16/25] Compiling CucumberSwiftExpressions SyntaxError.swift
/host/spi-builder-workspace/Sources/CucumberSwiftExpressions/SyntaxError.swift:46:20: warning: stored property 'problem' of 'Sendable'-conforming struct 'SyntaxError' has non-sendable type 'CucumberExpression.SyntaxError.Problem'; this is an error in the Swift 6 language mode
 14 |     /// cannot be read reliably after one.
 15 |     public struct SyntaxError: Error, Equatable, CustomStringConvertible {
 16 |         public enum Problem: Equatable {
    |                     `- note: consider making enum 'Problem' conform to the 'Sendable' protocol
 17 |             /// A `{` with no `}` after it, such as `I have {int cukes`. The range is the `{`.
 18 |             case missingClosingBrace
    :
 44 |         /// The string that does not parse.
 45 |         public let expression: String
 46 |         public let problem: Problem
    |                    `- warning: stored property 'problem' of 'Sendable'-conforming struct 'SyntaxError' has non-sendable type 'CucumberExpression.SyntaxError.Problem'; this is an error in the Swift 6 language mode
 47 |         /// Where the problem is in ``expression``; each ``Problem`` says what it covers.
 48 |         public let range: Range<String.Index>
[17/25] Compiling CucumberSwiftExpressions AnyParameter.swift
[18/25] Compiling CucumberSwiftExpressions Parameter.swift
[19/25] Compiling CucumberSwiftExpressions AnonymousParameter.swift
[20/25] Compiling CucumberSwiftExpressions DoubleParameter.swift
[21/25] Compiling CucumberSwiftExpressions FloatParameter.swift
[22/25] Compiling CucumberSwiftExpressions IntParameter.swift
[23/25] Compiling CucumberSwiftExpressions CucumberExpression.swift
/host/spi-builder-workspace/Sources/CucumberSwiftExpressions/CucumberExpression.swift:336:16: warning: static property 'parameters' is not concurrency-safe because non-'Sendable' type '[AnyParameter]' may have shared mutable state; this is an error in the Swift 6 language mode
334 |
335 | extension CucumberExpression {
336 |     static let parameters: [AnyParameter] = {
    |                |- warning: static property 'parameters' is not concurrency-safe because non-'Sendable' type '[AnyParameter]' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'parameters' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
337 |         [
338 |             StringParameter().eraseToAnyParameter(),
/host/spi-builder-workspace/Sources/CucumberSwiftExpressions/Parameter/AnyParameter.swift:12:20: note: class 'AnyParameter' does not conform to the 'Sendable' protocol
10 | import Foundation
11 |
12 | public final class AnyParameter {
   |                    `- note: class 'AnyParameter' does not conform to the 'Sendable' protocol
13 |     fileprivate let storage: AnyParameterBase
14 |
/host/spi-builder-workspace/Sources/CucumberSwiftExpressions/CucumberExpression.swift:347:16: warning: static property 'parameterLookup' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
345 |     }()
346 |
347 |     static var parameterLookup: [String: AnyParameter] = {
    |                |- warning: static property 'parameterLookup' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'parameterLookup' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'parameterLookup' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
348 |         parameters
349 |             .reduce(into: [:]) { $0[$1.name] = $1 }
[24/25] Compiling CucumberSwiftExpressions CustomParameters.swift
/host/spi-builder-workspace/Sources/CucumberSwiftExpressions/CucumberExpression.swift:336:16: warning: static property 'parameters' is not concurrency-safe because non-'Sendable' type '[AnyParameter]' may have shared mutable state; this is an error in the Swift 6 language mode
334 |
335 | extension CucumberExpression {
336 |     static let parameters: [AnyParameter] = {
    |                |- warning: static property 'parameters' is not concurrency-safe because non-'Sendable' type '[AnyParameter]' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'parameters' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
337 |         [
338 |             StringParameter().eraseToAnyParameter(),
/host/spi-builder-workspace/Sources/CucumberSwiftExpressions/Parameter/AnyParameter.swift:12:20: note: class 'AnyParameter' does not conform to the 'Sendable' protocol
10 | import Foundation
11 |
12 | public final class AnyParameter {
   |                    `- note: class 'AnyParameter' does not conform to the 'Sendable' protocol
13 |     fileprivate let storage: AnyParameterBase
14 |
/host/spi-builder-workspace/Sources/CucumberSwiftExpressions/CucumberExpression.swift:347:16: warning: static property 'parameterLookup' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
345 |     }()
346 |
347 |     static var parameterLookup: [String: AnyParameter] = {
    |                |- warning: static property 'parameterLookup' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'parameterLookup' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'parameterLookup' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
348 |         parameters
349 |             .reduce(into: [:]) { $0[$1.name] = $1 }
[25/25] Compiling CucumberSwiftExpressions CharacterExtensions.swift
/host/spi-builder-workspace/Sources/CucumberSwiftExpressions/CucumberExpression.swift:336:16: warning: static property 'parameters' is not concurrency-safe because non-'Sendable' type '[AnyParameter]' may have shared mutable state; this is an error in the Swift 6 language mode
334 |
335 | extension CucumberExpression {
336 |     static let parameters: [AnyParameter] = {
    |                |- warning: static property 'parameters' is not concurrency-safe because non-'Sendable' type '[AnyParameter]' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'parameters' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
337 |         [
338 |             StringParameter().eraseToAnyParameter(),
/host/spi-builder-workspace/Sources/CucumberSwiftExpressions/Parameter/AnyParameter.swift:12:20: note: class 'AnyParameter' does not conform to the 'Sendable' protocol
10 | import Foundation
11 |
12 | public final class AnyParameter {
   |                    `- note: class 'AnyParameter' does not conform to the 'Sendable' protocol
13 |     fileprivate let storage: AnyParameterBase
14 |
/host/spi-builder-workspace/Sources/CucumberSwiftExpressions/CucumberExpression.swift:347:16: warning: static property 'parameterLookup' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
345 |     }()
346 |
347 |     static var parameterLookup: [String: AnyParameter] = {
    |                |- warning: static property 'parameterLookup' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'parameterLookup' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'parameterLookup' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
348 |         parameters
349 |             .reduce(into: [:]) { $0[$1.name] = $1 }
Build complete! (11.58s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-docc-plugin",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-docc-plugin"
    }
  ],
  "manifest_display_name" : "CucumberSwiftExpressions",
  "name" : "CucumberSwiftExpressions",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "CucumberSwiftExpressions",
      "targets" : [
        "CucumberSwiftExpressions"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "CucumberSwiftExpressionsTests",
      "module_type" : "SwiftTarget",
      "name" : "CucumberSwiftExpressionsTests",
      "path" : "Tests/CucumberSwiftExpressionsTests",
      "sources" : [
        "CucumberSwiftExpressionsTests.swift",
        "SyntaxErrorTests.swift",
        "SyntaxTests.swift"
      ],
      "target_dependencies" : [
        "CucumberSwiftExpressions"
      ],
      "type" : "test"
    },
    {
      "c99name" : "CucumberSwiftExpressions",
      "module_type" : "SwiftTarget",
      "name" : "CucumberSwiftExpressions",
      "path" : "Sources/CucumberSwiftExpressions",
      "product_memberships" : [
        "CucumberSwiftExpressions"
      ],
      "sources" : [
        "CucumberExpression.swift",
        "CustomParameters.swift",
        "Extensions/CharacterExtensions.swift",
        "InvalidRegularExpression.swift",
        "Lexer.swift",
        "Match.swift",
        "Parameter/AnyParameter.swift",
        "Parameter/Parameter.swift",
        "Parameters/AnonymousParameter.swift",
        "Parameters/DoubleParameter.swift",
        "Parameters/FloatParameter.swift",
        "Parameters/IntParameter.swift",
        "Parameters/StringParameter.swift",
        "Parameters/WordParameter.swift",
        "Position.swift",
        "StringReader.swift",
        "Syntax.swift",
        "SyntaxError.swift",
        "SyntaxParser.swift",
        "Token.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
wasm-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:f257c9b8465670613eb336f6def351d681b1d395aebdb231a45bac980c1f9d3c
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest
Done.