Build Information
Successful build of BooleanExpressionEvaluation, reference 2.0.1 (0af945
), with Swift 6.0 for macOS (SPM) on 1 Nov 2024 14:50:29 UTC.
Swift 6 data race errors: 3
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
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ABridoux/BooleanExpressionEvaluation.git
Reference: 2.0.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/ABridoux/BooleanExpressionEvaluation
* tag 2.0.1 -> FETCH_HEAD
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 2.0.1
========================================
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": "booleanexpressionevaluation",
"name": "BooleanExpressionEvaluation",
"url": "https://github.com/ABridoux/BooleanExpressionEvaluation.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/BooleanExpressionEvaluation",
"dependencies": [
]
}
]
}
Fetching https://github.com/ABridoux/BooleanExpressionEvaluation.git
[1/541] Fetching booleanexpressionevaluation
Fetched https://github.com/ABridoux/BooleanExpressionEvaluation.git from cache (1.21s)
Creating working copy for https://github.com/ABridoux/BooleanExpressionEvaluation.git
Working copy of https://github.com/ABridoux/BooleanExpressionEvaluation.git resolved at 2.0.1 (0af945f)
warning: '.resolve-product-dependencies': dependency 'booleanexpressionevaluation' 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/ABridoux/BooleanExpressionEvaluation.git
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
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
[3/17] Compiling BooleanExpressionEvaluation Optional+Extensions.swift
[4/18] Compiling BooleanExpressionEvaluation OperatorProtocol.swift
[5/18] Compiling BooleanExpressionEvaluation LogicInfixOperator.swift
/Users/admin/builder/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: annotate 'models' 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
21 |
22 | /// Closure to evaluate two operands
[6/18] Compiling BooleanExpressionEvaluation LogicOperator.swift
/Users/admin/builder/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: annotate 'models' 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
21 |
22 | /// Closure to evaluate two operands
[7/18] Compiling BooleanExpressionEvaluation Array+Extensions.swift
[8/18] Compiling BooleanExpressionEvaluation NSRegularExpression+Extensions.swift
[9/18] Compiling BooleanExpressionEvaluation LogicPrefixOperator.swift
/Users/admin/builder/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: annotate 'models' 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
21 |
22 | /// Closure to evaluate two operands
/Users/admin/builder/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: annotate 'models' 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
20 | .greaterThan, .greaterThanOrEqual,
21 | .lesserThan, .lesserThanOrEqual,
[10/18] Compiling BooleanExpressionEvaluation Operator.swift
/Users/admin/builder/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: annotate 'models' 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
21 |
22 | /// Closure to evaluate two operands
/Users/admin/builder/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: annotate 'models' 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
20 | .greaterThan, .greaterThanOrEqual,
21 | .lesserThan, .lesserThanOrEqual,
[11/18] Compiling BooleanExpressionEvaluation ExpressionEvaluator.swift
[12/18] Compiling BooleanExpressionEvaluation HalfBooleanExpression.swift
[13/18] Compiling BooleanExpressionEvaluation ExpressionElement.swift
[14/18] Compiling BooleanExpressionEvaluation ExpressionError.swift
[15/18] Emitting module BooleanExpressionEvaluation
/Users/admin/builder/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: annotate 'models' 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
21 |
22 | /// Closure to evaluate two operands
/Users/admin/builder/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: annotate 'models' 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
21 |
22 | /// Closure to evaluate two operands
/Users/admin/builder/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: annotate 'models' 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
20 | .greaterThan, .greaterThanOrEqual,
21 | .lesserThan, .lesserThanOrEqual,
[16/18] Compiling BooleanExpressionEvaluation BooleanExpressionTokenizator.swift
[17/18] Compiling BooleanExpressionEvaluation Expression.swift
[18/18] Compiling BooleanExpressionEvaluation String+Extensions.swift
Build complete! (16.89s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "BooleanExpressionEvaluation",
"name" : "BooleanExpressionEvaluation",
"path" : "/Users/admin/builder/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"
}
Done.