The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of AEPRulesEngine, reference 5.0.0 (514d2b), with Swift 6.0 for Linux on 15 Sep 2024 12:56:50 UTC.

Swift 6 data race errors: 3

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1

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 /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
 * 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:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/adobe/aepsdk-rulesengine-ios.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:9d7dab235f2b0b46edadd73b1fb0c3b5323df02053420324a4a2f8ca89cb54a5
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/25] Compiling AEPRulesEngine Rule.swift
[4/25] Compiling AEPRulesEngine RulesEngine.swift
[5/25] Compiling AEPRulesEngine RulesFailure.swift
[6/28] Compiling AEPRulesEngine Transformer.swift
[7/28] Compiling AEPRulesEngine Transforming.swift
[8/28] Compiling AEPRulesEngine Traversable.swift
[9/28] Compiling AEPRulesEngine Evaluable.swift
[10/28] Compiling AEPRulesEngine LogicalExpression.swift
[11/28] Compiling AEPRulesEngine Operand.swift
[12/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: 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:
[13/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: 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:
[14/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: 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:
[15/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: 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 |
/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: 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) {
/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: 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:
[16/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: 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 |
/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: 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) {
[17/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: 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 |
/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: 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) {
[18/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: 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 |
/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: 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) {
[19/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: 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 |
/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: 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) {
[20/28] Compiling AEPRulesEngine Logging.swift
[21/28] Compiling AEPRulesEngine Operand+Literal.swift
[22/28] Compiling AEPRulesEngine Result+RulesFailure.swift
[23/28] Compiling AEPRulesEngine MustacheError.swift
[24/28] Compiling AEPRulesEngine MustacheToken.swift
[25/28] Compiling AEPRulesEngine ParserTagDelimiters.swift
[26/28] Compiling AEPRulesEngine Segment.swift
[27/28] Compiling AEPRulesEngine Template.swift
[28/28] Compiling AEPRulesEngine TemplateParser.swift
Build complete! (16.02s)
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"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:9d7dab235f2b0b46edadd73b1fb0c3b5323df02053420324a4a2f8ca89cb54a5
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.