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 BooleanExpressionEvaluation, reference master (0af945), with Swift 6.1 for Wasm on 27 May 2025 23:20:12 UTC.

Swift 6 data race errors: 3

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/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: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ABridoux/BooleanExpressionEvaluation.git
Reference: master
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/ABridoux/BooleanExpressionEvaluation
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 0af945f Merge pull request #56 from ABridoux/release/2.0.1
Cloned https://github.com/ABridoux/BooleanExpressionEvaluation.git
Revision (git rev-parse @):
0af945fffa42447e455620ccaaa26d80528e3884
SUCCESS checkout https://github.com/ABridoux/BooleanExpressionEvaluation.git at master
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/ABridoux/BooleanExpressionEvaluation.git
https://github.com/ABridoux/BooleanExpressionEvaluation.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "BooleanExpressionEvaluation",
  "name" : "BooleanExpressionEvaluation",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.12"
    },
    {
      "name" : "ios",
      "version" : "10.0"
    }
  ],
  "products" : [
    {
      "name" : "BooleanExpressionEvaluation",
      "targets" : [
        "BooleanExpressionEvaluation"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "BooleanExpressionEvaluationTests",
      "module_type" : "SwiftTarget",
      "name" : "BooleanExpressionEvaluationTests",
      "path" : "Tests/BooleanExpressionEvaluationTests",
      "sources" : [
        "Expression/BooleanExpressionTokenizorTests.swift",
        "Expression/BooleanExpressionTokenizorTestsIntegration.swift",
        "Expression/ExpressionElementTests.swift",
        "Expression/ExpressionEvaluatorTests.swift",
        "Expression/ExpressionEvaluatorTestsIntegration.swift",
        "Expression/ExpressionTests.swift",
        "StringExtensionsTests.swift",
        "VariablePatternTestsIntegration.swift",
        "XCTest+Extensions.swift"
      ],
      "target_dependencies" : [
        "BooleanExpressionEvaluation"
      ],
      "type" : "test"
    },
    {
      "c99name" : "BooleanExpressionEvaluation",
      "module_type" : "SwiftTarget",
      "name" : "BooleanExpressionEvaluation",
      "path" : "Sources/BooleanExpressionEvaluation",
      "product_memberships" : [
        "BooleanExpressionEvaluation"
      ],
      "sources" : [
        "Expression/BooleanExpressionTokenizator.swift",
        "Expression/Expression.swift",
        "Expression/ExpressionElement.swift",
        "Expression/ExpressionError.swift",
        "Expression/ExpressionEvaluator.swift",
        "Expression/HalfBooleanExpression.swift",
        "Expression/Operator/LogicInfixOperator.swift",
        "Expression/Operator/LogicOperator.swift",
        "Expression/Operator/LogicPrefixOperator.swift",
        "Expression/Operator/Operator.swift",
        "Expression/Operator/OperatorProtocol.swift",
        "Extensions/Array+Extensions.swift",
        "Extensions/NSRegularExpression+Extensions.swift",
        "Extensions/Optional+Extensions.swift",
        "Extensions/String+Extensions.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/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 finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/17] Compiling BooleanExpressionEvaluation NSRegularExpression+Extensions.swift
[4/17] Compiling BooleanExpressionEvaluation Optional+Extensions.swift
[5/18] Compiling BooleanExpressionEvaluation OperatorProtocol.swift
[6/18] Compiling BooleanExpressionEvaluation Array+Extensions.swift
[7/18] Compiling BooleanExpressionEvaluation LogicInfixOperator.swift
/host/spi-builder-workspace/Sources/BooleanExpressionEvaluation/Expression/Operator/LogicInfixOperator.swift:20:27: warning: static property 'models' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
18 |         public var description: String
19 |
20 |         public static var models: Set<LogicInfixOperator> = [.or, .and]
   |                           |- warning: static property 'models' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: convert 'models' to a 'let' constant to make 'Sendable' shared state immutable
   |                           |- note: add '@MainActor' to make static property 'models' part of global actor 'MainActor'
   |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |
22 |         /// Closure to evaluate two operands
[8/18] Compiling BooleanExpressionEvaluation LogicOperator.swift
/host/spi-builder-workspace/Sources/BooleanExpressionEvaluation/Expression/Operator/LogicInfixOperator.swift:20:27: warning: static property 'models' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
18 |         public var description: String
19 |
20 |         public static var models: Set<LogicInfixOperator> = [.or, .and]
   |                           |- warning: static property 'models' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: convert 'models' to a 'let' constant to make 'Sendable' shared state immutable
   |                           |- note: add '@MainActor' to make static property 'models' part of global actor 'MainActor'
   |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |
22 |         /// Closure to evaluate two operands
[9/18] Compiling BooleanExpressionEvaluation LogicPrefixOperator.swift
/host/spi-builder-workspace/Sources/BooleanExpressionEvaluation/Expression/Operator/LogicPrefixOperator.swift:20:27: warning: static property 'models' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
18 |         public var description: String
19 |
20 |         public static var models: Set<LogicPrefixOperator> = [.not]
   |                           |- warning: static property 'models' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: convert 'models' to a 'let' constant to make 'Sendable' shared state immutable
   |                           |- note: add '@MainActor' to make static property 'models' part of global actor 'MainActor'
   |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |
22 |         /// Closure to evaluate two operands
/host/spi-builder-workspace/Sources/BooleanExpressionEvaluation/Expression/Operator/Operator.swift:19:23: warning: static property 'models' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 17 |     public var isKeyword: Bool
 18 |
 19 |     public static var models: Set<Operator> = [.equal, .nonEqual,
    |                       |- warning: static property 'models' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'models' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'models' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 20 |                                                .greaterThan, .greaterThanOrEqual,
 21 |                                                .lesserThan, .lesserThanOrEqual,
[10/18] Compiling BooleanExpressionEvaluation Operator.swift
/host/spi-builder-workspace/Sources/BooleanExpressionEvaluation/Expression/Operator/LogicPrefixOperator.swift:20:27: warning: static property 'models' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
18 |         public var description: String
19 |
20 |         public static var models: Set<LogicPrefixOperator> = [.not]
   |                           |- warning: static property 'models' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: convert 'models' to a 'let' constant to make 'Sendable' shared state immutable
   |                           |- note: add '@MainActor' to make static property 'models' part of global actor 'MainActor'
   |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |
22 |         /// Closure to evaluate two operands
/host/spi-builder-workspace/Sources/BooleanExpressionEvaluation/Expression/Operator/Operator.swift:19:23: warning: static property 'models' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 17 |     public var isKeyword: Bool
 18 |
 19 |     public static var models: Set<Operator> = [.equal, .nonEqual,
    |                       |- warning: static property 'models' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'models' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'models' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 20 |                                                .greaterThan, .greaterThanOrEqual,
 21 |                                                .lesserThan, .lesserThanOrEqual,
[11/18] Compiling BooleanExpressionEvaluation ExpressionElement.swift
[12/18] Compiling BooleanExpressionEvaluation ExpressionError.swift
[13/18] Compiling BooleanExpressionEvaluation BooleanExpressionTokenizator.swift
[14/18] Compiling BooleanExpressionEvaluation Expression.swift
[15/18] Emitting module BooleanExpressionEvaluation
/host/spi-builder-workspace/Sources/BooleanExpressionEvaluation/Expression/Operator/LogicInfixOperator.swift:20:27: warning: static property 'models' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
18 |         public var description: String
19 |
20 |         public static var models: Set<LogicInfixOperator> = [.or, .and]
   |                           |- warning: static property 'models' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: convert 'models' to a 'let' constant to make 'Sendable' shared state immutable
   |                           |- note: add '@MainActor' to make static property 'models' part of global actor 'MainActor'
   |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |
22 |         /// Closure to evaluate two operands
/host/spi-builder-workspace/Sources/BooleanExpressionEvaluation/Expression/Operator/LogicPrefixOperator.swift:20:27: warning: static property 'models' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
18 |         public var description: String
19 |
20 |         public static var models: Set<LogicPrefixOperator> = [.not]
   |                           |- warning: static property 'models' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: convert 'models' to a 'let' constant to make 'Sendable' shared state immutable
   |                           |- note: add '@MainActor' to make static property 'models' part of global actor 'MainActor'
   |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |
22 |         /// Closure to evaluate two operands
/host/spi-builder-workspace/Sources/BooleanExpressionEvaluation/Expression/Operator/Operator.swift:19:23: warning: static property 'models' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 17 |     public var isKeyword: Bool
 18 |
 19 |     public static var models: Set<Operator> = [.equal, .nonEqual,
    |                       |- warning: static property 'models' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'models' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'models' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 20 |                                                .greaterThan, .greaterThanOrEqual,
 21 |                                                .lesserThan, .lesserThanOrEqual,
[16/18] Compiling BooleanExpressionEvaluation ExpressionEvaluator.swift
[17/18] Compiling BooleanExpressionEvaluation HalfBooleanExpression.swift
[18/18] Compiling BooleanExpressionEvaluation String+Extensions.swift
Build complete! (8.10s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "BooleanExpressionEvaluation",
  "name" : "BooleanExpressionEvaluation",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.12"
    },
    {
      "name" : "ios",
      "version" : "10.0"
    }
  ],
  "products" : [
    {
      "name" : "BooleanExpressionEvaluation",
      "targets" : [
        "BooleanExpressionEvaluation"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "BooleanExpressionEvaluationTests",
      "module_type" : "SwiftTarget",
      "name" : "BooleanExpressionEvaluationTests",
      "path" : "Tests/BooleanExpressionEvaluationTests",
      "sources" : [
        "Expression/BooleanExpressionTokenizorTests.swift",
        "Expression/BooleanExpressionTokenizorTestsIntegration.swift",
        "Expression/ExpressionElementTests.swift",
        "Expression/ExpressionEvaluatorTests.swift",
        "Expression/ExpressionEvaluatorTestsIntegration.swift",
        "Expression/ExpressionTests.swift",
        "StringExtensionsTests.swift",
        "VariablePatternTestsIntegration.swift",
        "XCTest+Extensions.swift"
      ],
      "target_dependencies" : [
        "BooleanExpressionEvaluation"
      ],
      "type" : "test"
    },
    {
      "c99name" : "BooleanExpressionEvaluation",
      "module_type" : "SwiftTarget",
      "name" : "BooleanExpressionEvaluation",
      "path" : "Sources/BooleanExpressionEvaluation",
      "product_memberships" : [
        "BooleanExpressionEvaluation"
      ],
      "sources" : [
        "Expression/BooleanExpressionTokenizator.swift",
        "Expression/Expression.swift",
        "Expression/ExpressionElement.swift",
        "Expression/ExpressionError.swift",
        "Expression/ExpressionEvaluator.swift",
        "Expression/HalfBooleanExpression.swift",
        "Expression/Operator/LogicInfixOperator.swift",
        "Expression/Operator/LogicOperator.swift",
        "Expression/Operator/LogicPrefixOperator.swift",
        "Expression/Operator/Operator.swift",
        "Expression/Operator/OperatorProtocol.swift",
        "Extensions/Array+Extensions.swift",
        "Extensions/NSRegularExpression+Extensions.swift",
        "Extensions/Optional+Extensions.swift",
        "Extensions/String+Extensions.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Done.