Build Information
Successful build of AEPRulesEngine, reference 5.0.0 (514d2b
), with Swift 6.0 for macOS (SPM) on 15 Sep 2024 13:05:25 UTC.
Swift 6 data race errors: 3
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.0.0-Release.Candidate.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.53.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/adobe/aepsdk-rulesengine-ios.git
Reference: 5.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/adobe/aepsdk-rulesengine-ios
* tag 5.0.0 -> FETCH_HEAD
HEAD is now at 514d2b3 Merge pull request #80 from adobe/staging
Cloned https://github.com/adobe/aepsdk-rulesengine-ios.git
Revision (git rev-parse @):
514d2b3787c545bfa6749ffce5dd3e6f560c9319
SUCCESS checkout https://github.com/adobe/aepsdk-rulesengine-ios.git at 5.0.0
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/adobe/aepsdk-rulesengine-ios.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.0.0-Release.Candidate.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-117DEE11B69C53C9.txt
[3/26] Emitting module AEPRulesEngine
/Users/admin/builder/spi-builder-workspace/Sources/AEPRulesEngine/ConditionEvaluator.swift:67:27: warning: static property 'defaultOptions' is not concurrency-safe because non-'Sendable' type 'ConditionEvaluator.Options' may have shared mutable state; this is an error in the Swift 6 language mode
63 |
64 | public extension ConditionEvaluator {
65 | struct Options: OptionSet {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
66 | public let rawValue: Int
67 | public static let defaultOptions = Options(rawValue: 1 << 0)
| |- warning: static property 'defaultOptions' is not concurrency-safe because non-'Sendable' type 'ConditionEvaluator.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultOptions' 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
68 | public static let caseInsensitive = Options(rawValue: 1 << 1)
69 |
/Users/admin/builder/spi-builder-workspace/Sources/AEPRulesEngine/ConditionEvaluator.swift:68:27: warning: static property 'caseInsensitive' is not concurrency-safe because non-'Sendable' type 'ConditionEvaluator.Options' may have shared mutable state; this is an error in the Swift 6 language mode
63 |
64 | public extension ConditionEvaluator {
65 | struct Options: OptionSet {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
66 | public let rawValue: Int
67 | public static let defaultOptions = Options(rawValue: 1 << 0)
68 | public static let caseInsensitive = Options(rawValue: 1 << 1)
| |- warning: static property 'caseInsensitive' is not concurrency-safe because non-'Sendable' type 'ConditionEvaluator.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'caseInsensitive' 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
69 |
70 | public init(rawValue: Int) {
/Users/admin/builder/spi-builder-workspace/Sources/AEPRulesEngine/Log/Log.swift:19:23: warning: static property 'logging' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
17 | /// `Logging` protocol and use an instance of it to set the `Log.logging` variable.
18 | public enum Log {
19 | public static var logging: Logging?
| |- warning: static property 'logging' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'logging' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'logging' 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 | /// Used to print more verbose information.
21 | /// - Parameters:
[4/28] Compiling AEPRulesEngine ConditionEvaluator.swift
/Users/admin/builder/spi-builder-workspace/Sources/AEPRulesEngine/ConditionEvaluator.swift:67:27: warning: static property 'defaultOptions' is not concurrency-safe because non-'Sendable' type 'ConditionEvaluator.Options' may have shared mutable state; this is an error in the Swift 6 language mode
63 |
64 | public extension ConditionEvaluator {
65 | struct Options: OptionSet {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
66 | public let rawValue: Int
67 | public static let defaultOptions = Options(rawValue: 1 << 0)
| |- warning: static property 'defaultOptions' is not concurrency-safe because non-'Sendable' type 'ConditionEvaluator.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultOptions' 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
68 | public static let caseInsensitive = Options(rawValue: 1 << 1)
69 |
/Users/admin/builder/spi-builder-workspace/Sources/AEPRulesEngine/ConditionEvaluator.swift:68:27: warning: static property 'caseInsensitive' is not concurrency-safe because non-'Sendable' type 'ConditionEvaluator.Options' may have shared mutable state; this is an error in the Swift 6 language mode
63 |
64 | public extension ConditionEvaluator {
65 | struct Options: OptionSet {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
66 | public let rawValue: Int
67 | public static let defaultOptions = Options(rawValue: 1 << 0)
68 | public static let caseInsensitive = Options(rawValue: 1 << 1)
| |- warning: static property 'caseInsensitive' is not concurrency-safe because non-'Sendable' type 'ConditionEvaluator.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'caseInsensitive' 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
69 |
70 | public init(rawValue: Int) {
[5/28] Compiling AEPRulesEngine Context.swift
/Users/admin/builder/spi-builder-workspace/Sources/AEPRulesEngine/ConditionEvaluator.swift:67:27: warning: static property 'defaultOptions' is not concurrency-safe because non-'Sendable' type 'ConditionEvaluator.Options' may have shared mutable state; this is an error in the Swift 6 language mode
63 |
64 | public extension ConditionEvaluator {
65 | struct Options: OptionSet {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
66 | public let rawValue: Int
67 | public static let defaultOptions = Options(rawValue: 1 << 0)
| |- warning: static property 'defaultOptions' is not concurrency-safe because non-'Sendable' type 'ConditionEvaluator.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultOptions' 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
68 | public static let caseInsensitive = Options(rawValue: 1 << 1)
69 |
/Users/admin/builder/spi-builder-workspace/Sources/AEPRulesEngine/ConditionEvaluator.swift:68:27: warning: static property 'caseInsensitive' is not concurrency-safe because non-'Sendable' type 'ConditionEvaluator.Options' may have shared mutable state; this is an error in the Swift 6 language mode
63 |
64 | public extension ConditionEvaluator {
65 | struct Options: OptionSet {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
66 | public let rawValue: Int
67 | public static let defaultOptions = Options(rawValue: 1 << 0)
68 | public static let caseInsensitive = Options(rawValue: 1 << 1)
| |- warning: static property 'caseInsensitive' is not concurrency-safe because non-'Sendable' type 'ConditionEvaluator.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'caseInsensitive' 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
69 |
70 | public init(rawValue: Int) {
[6/28] Compiling AEPRulesEngine Evaluating.swift
/Users/admin/builder/spi-builder-workspace/Sources/AEPRulesEngine/ConditionEvaluator.swift:67:27: warning: static property 'defaultOptions' is not concurrency-safe because non-'Sendable' type 'ConditionEvaluator.Options' may have shared mutable state; this is an error in the Swift 6 language mode
63 |
64 | public extension ConditionEvaluator {
65 | struct Options: OptionSet {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
66 | public let rawValue: Int
67 | public static let defaultOptions = Options(rawValue: 1 << 0)
| |- warning: static property 'defaultOptions' is not concurrency-safe because non-'Sendable' type 'ConditionEvaluator.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultOptions' 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
68 | public static let caseInsensitive = Options(rawValue: 1 << 1)
69 |
/Users/admin/builder/spi-builder-workspace/Sources/AEPRulesEngine/ConditionEvaluator.swift:68:27: warning: static property 'caseInsensitive' is not concurrency-safe because non-'Sendable' type 'ConditionEvaluator.Options' may have shared mutable state; this is an error in the Swift 6 language mode
63 |
64 | public extension ConditionEvaluator {
65 | struct Options: OptionSet {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
66 | public let rawValue: Int
67 | public static let defaultOptions = Options(rawValue: 1 << 0)
68 | public static let caseInsensitive = Options(rawValue: 1 << 1)
| |- warning: static property 'caseInsensitive' is not concurrency-safe because non-'Sendable' type 'ConditionEvaluator.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'caseInsensitive' 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
69 |
70 | public init(rawValue: Int) {
[7/28] Compiling AEPRulesEngine TemplateParser.swift
[8/28] Compiling AEPRulesEngine Transformer.swift
[9/28] Compiling AEPRulesEngine ComparisonExpression.swift
[10/28] Compiling AEPRulesEngine Evaluable.swift
[11/28] Compiling AEPRulesEngine LogicalExpression.swift
[12/28] Compiling AEPRulesEngine Transforming.swift
[13/28] Compiling AEPRulesEngine Traversable.swift
[14/28] Compiling AEPRulesEngine Segment.swift
[15/28] Compiling AEPRulesEngine Template.swift
[16/28] Compiling AEPRulesEngine RulesFailure.swift
[17/28] Compiling AEPRulesEngine MustacheError.swift
[18/28] Compiling AEPRulesEngine MustacheToken.swift
[19/28] Compiling AEPRulesEngine ParserTagDelimiters.swift
[20/28] Compiling AEPRulesEngine Operand.swift
/Users/admin/builder/spi-builder-workspace/Sources/AEPRulesEngine/Log/Log.swift:19:23: warning: static property 'logging' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
17 | /// `Logging` protocol and use an instance of it to set the `Log.logging` variable.
18 | public enum Log {
19 | public static var logging: Logging?
| |- warning: static property 'logging' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'logging' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'logging' 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 | /// Used to print more verbose information.
21 | /// - Parameters:
[21/28] Compiling AEPRulesEngine UnaryExpression.swift
/Users/admin/builder/spi-builder-workspace/Sources/AEPRulesEngine/Log/Log.swift:19:23: warning: static property 'logging' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
17 | /// `Logging` protocol and use an instance of it to set the `Log.logging` variable.
18 | public enum Log {
19 | public static var logging: Logging?
| |- warning: static property 'logging' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'logging' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'logging' 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 | /// Used to print more verbose information.
21 | /// - Parameters:
[22/28] Compiling AEPRulesEngine Log.swift
/Users/admin/builder/spi-builder-workspace/Sources/AEPRulesEngine/Log/Log.swift:19:23: warning: static property 'logging' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
17 | /// `Logging` protocol and use an instance of it to set the `Log.logging` variable.
18 | public enum Log {
19 | public static var logging: Logging?
| |- warning: static property 'logging' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'logging' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'logging' 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 | /// Used to print more verbose information.
21 | /// - Parameters:
[23/28] Compiling AEPRulesEngine Result+RulesFailure.swift
[24/28] Compiling AEPRulesEngine Rule.swift
[25/28] Compiling AEPRulesEngine RulesEngine.swift
[26/28] Compiling AEPRulesEngine LogLevel.swift
[27/28] Compiling AEPRulesEngine Logging.swift
[28/28] Compiling AEPRulesEngine Operand+Literal.swift
Build complete! (17.10s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "AEPRulesEngine",
"name" : "AEPRulesEngine",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "12.0"
},
{
"name" : "tvos",
"version" : "12.0"
}
],
"products" : [
{
"name" : "AEPRulesEngine",
"targets" : [
"AEPRulesEngine"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "AEPRulesEngineTests",
"module_type" : "SwiftTarget",
"name" : "AEPRulesEngineTests",
"path" : "Tests/AEPRulesEngineTests",
"sources" : [
"UnitTests/ExpressionTests.swift",
"UnitTests/OperandTests.swift",
"UnitTests/ParserTests.swift",
"UnitTests/RulesEngineLogLevelTests.swift",
"UnitTests/RulesEngineLoggingTests.swift",
"UnitTests/RulesEngineTests.swift",
"UnitTests/TraverseTests.swift"
],
"target_dependencies" : [
"AEPRulesEngine"
],
"type" : "test"
},
{
"c99name" : "AEPRulesEngine",
"module_type" : "SwiftTarget",
"name" : "AEPRulesEngine",
"path" : "Sources/AEPRulesEngine",
"product_memberships" : [
"AEPRulesEngine"
],
"sources" : [
"ConditionEvaluator.swift",
"Context.swift",
"Evaluating.swift",
"Expression/ComparisonExpression.swift",
"Expression/Evaluable.swift",
"Expression/LogicalExpression.swift",
"Expression/Operand.swift",
"Expression/UnaryExpression.swift",
"Log/Log.swift",
"Log/LogLevel.swift",
"Log/Logging.swift",
"Operand+Literal.swift",
"Result+RulesFailure.swift",
"Rule.swift",
"RulesEngine.swift",
"RulesFailure.swift",
"Template/MustacheError.swift",
"Template/MustacheToken.swift",
"Template/ParserTagDelimiters.swift",
"Template/Segment.swift",
"Template/Template.swift",
"Template/TemplateParser.swift",
"Transformer.swift",
"Transforming.swift",
"Traversable.swift"
],
"type" : "library"
}
],
"tools_version" : "5.3"
}
Done.