The Swift Package Index logo.Swift Package Index

Build Information

Successful build of AEPRulesEngine, reference main (514d2b), with Swift 6.1 for Android on 29 May 2025 06:01:23 UTC.

Swift 6 data race errors: 3

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -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/adobe/aepsdk-rulesengine-ios.git
Reference: main
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/adobe/aepsdk-rulesengine-ios
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
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 main
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/adobe/aepsdk-rulesengine-ios.git
https://github.com/adobe/aepsdk-rulesengine-ios.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "AEPRulesEngine",
  "name" : "AEPRulesEngine",
  "path" : "/host/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"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -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
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/25] Compiling AEPRulesEngine Evaluable.swift
[4/25] Compiling AEPRulesEngine LogicalExpression.swift
[5/25] Compiling AEPRulesEngine Operand.swift
[6/28] Compiling AEPRulesEngine MustacheError.swift
[7/28] Compiling AEPRulesEngine MustacheToken.swift
[8/28] Compiling AEPRulesEngine ParserTagDelimiters.swift
[9/28] Compiling AEPRulesEngine Logging.swift
[10/28] Compiling AEPRulesEngine Operand+Literal.swift
[11/28] Compiling AEPRulesEngine Result+RulesFailure.swift
[12/28] Compiling AEPRulesEngine Segment.swift
[13/28] Compiling AEPRulesEngine Template.swift
[14/28] Compiling AEPRulesEngine TemplateParser.swift
[15/28] Compiling AEPRulesEngine UnaryExpression.swift
/host/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: add '@MainActor' to make static property 'logging' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 |     /// Used to print more verbose information.
21 |     /// - Parameters:
[16/28] Compiling AEPRulesEngine Log.swift
/host/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: add '@MainActor' to make static property 'logging' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 |     /// Used to print more verbose information.
21 |     /// - Parameters:
[17/28] Compiling AEPRulesEngine LogLevel.swift
/host/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: add '@MainActor' to make static property 'logging' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 |     /// Used to print more verbose information.
21 |     /// - Parameters:
[18/28] Compiling AEPRulesEngine Rule.swift
[19/28] Compiling AEPRulesEngine RulesEngine.swift
[20/28] Compiling AEPRulesEngine RulesFailure.swift
[21/28] Emitting module AEPRulesEngine
/host/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: add '@MainActor' to make static property 'defaultOptions' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 68 |         public static let caseInsensitive = Options(rawValue: 1 << 1)
 69 |
/host/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: add '@MainActor' to make static property 'caseInsensitive' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 69 |
 70 |         public init(rawValue: Int) {
/host/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: add '@MainActor' to make static property 'logging' part of global actor 'MainActor'
   |                       `- 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 ConditionEvaluator.swift
/host/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: add '@MainActor' to make static property 'defaultOptions' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 68 |         public static let caseInsensitive = Options(rawValue: 1 << 1)
 69 |
/host/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: add '@MainActor' to make static property 'caseInsensitive' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 69 |
 70 |         public init(rawValue: Int) {
[23/28] Compiling AEPRulesEngine Context.swift
/host/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: add '@MainActor' to make static property 'defaultOptions' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 68 |         public static let caseInsensitive = Options(rawValue: 1 << 1)
 69 |
/host/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: add '@MainActor' to make static property 'caseInsensitive' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 69 |
 70 |         public init(rawValue: Int) {
[24/28] Compiling AEPRulesEngine Evaluating.swift
/host/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: add '@MainActor' to make static property 'defaultOptions' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 68 |         public static let caseInsensitive = Options(rawValue: 1 << 1)
 69 |
/host/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: add '@MainActor' to make static property 'caseInsensitive' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 69 |
 70 |         public init(rawValue: Int) {
[25/28] Compiling AEPRulesEngine ComparisonExpression.swift
/host/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: add '@MainActor' to make static property 'defaultOptions' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 68 |         public static let caseInsensitive = Options(rawValue: 1 << 1)
 69 |
/host/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: add '@MainActor' to make static property 'caseInsensitive' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 69 |
 70 |         public init(rawValue: Int) {
[26/28] Compiling AEPRulesEngine Transformer.swift
[27/28] Compiling AEPRulesEngine Transforming.swift
[28/28] Compiling AEPRulesEngine Traversable.swift
Build complete! (10.55s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "AEPRulesEngine",
  "name" : "AEPRulesEngine",
  "path" : "/host/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"
}
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Done.