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 Logic Parser, reference main (99037e), with Swift 6.0 for macOS (SPM) on 28 Nov 2024 14:34:04 UTC.

Swift 6 data race errors: 7

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 -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures

Build Log

========================================
RunAll
========================================
Builder version: 4.58.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Gerzer/LogicParser.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Gerzer/LogicParser
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 99037ef Add license
Cloned https://github.com/Gerzer/LogicParser.git
Revision (git rev-parse @):
99037ef0c8d4942c2de2bdd01e3b76b833fd76c3
SUCCESS checkout https://github.com/Gerzer/LogicParser.git at main
Fetching https://github.com/palle-k/Covfefe.git
[1/2438] Fetching covfefe
Fetched https://github.com/palle-k/Covfefe.git from cache (1.32s)
Computing version for https://github.com/palle-k/Covfefe.git
Computed https://github.com/palle-k/Covfefe.git at 0.6.1 (0.55s)
Creating working copy for https://github.com/palle-k/Covfefe.git
Working copy of https://github.com/palle-k/Covfefe.git resolved at 0.6.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": "logicparser",
      "name": "Logic Parser",
      "url": "https://github.com/Gerzer/LogicParser.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/LogicParser",
      "dependencies": [
        {
          "identity": "covfefe",
          "name": "Covfefe",
          "url": "https://github.com/palle-k/Covfefe.git",
          "version": "0.6.1",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Covfefe",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/Gerzer/LogicParser.git
[1/18] Fetching logicparser
Fetched https://github.com/Gerzer/LogicParser.git from cache (0.64s)
Fetching https://github.com/palle-k/Covfefe.git from cache
Fetched https://github.com/palle-k/Covfefe.git from cache (0.48s)
Computing version for https://github.com/palle-k/Covfefe.git
Computed https://github.com/palle-k/Covfefe.git at 0.6.1 (0.02s)
Creating working copy for https://github.com/palle-k/Covfefe.git
Working copy of https://github.com/palle-k/Covfefe.git resolved at 0.6.1
Creating working copy for https://github.com/Gerzer/LogicParser.git
Working copy of https://github.com/Gerzer/LogicParser.git resolved at main (99037ef)
warning: '.resolve-product-dependencies': dependency 'logicparser' is not used by any target
Found 1 product dependencies
  - Covfefe
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/Gerzer/LogicParser.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 -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version--7754E27361AE5C74.txt
[4/21] Compiling Covfefe StringUtility.swift
[5/21] Compiling Covfefe Symbols.swift
[6/22] Compiling Covfefe Tokenizer.swift
[7/22] Compiling Covfefe Grammar.swift
[8/22] Compiling Covfefe GrammarCheck.swift
[9/22] Compiling Covfefe SyntaxTree.swift
[10/22] Compiling Covfefe Terminal.swift
[11/22] Compiling Covfefe PrefixGrammar.swift
[12/22] Compiling Covfefe Productions.swift
[13/22] Compiling Covfefe Normalization.swift
[14/22] Compiling Covfefe Parser.swift
[15/22] Compiling Covfefe ABNFImporter.swift
[16/22] Compiling Covfefe BNFImporter.swift
[17/22] Emitting module Covfefe
[18/22] Compiling Covfefe EBNFImporter.swift
[19/22] Compiling Covfefe EarleyParser.swift
[20/22] Compiling Covfefe CYKParser.swift
[21/22] Compiling Covfefe CharacterSets.swift
[22/22] Compiling Covfefe Utility.swift
[23/26] Compiling LogicParser LogicParser.swift
[24/26] Compiling LogicParser Errors.swift
[25/26] Emitting module LogicParser
/Users/admin/builder/spi-builder-workspace/Sources/LogicParser/LogicNode.swift:127:20: warning: static property 'childrenType' is not concurrency-safe because non-'Sendable' type 'LogicNodeChildrenType' may have shared mutable state; this is an error in the Swift 6 language mode
104 |
105 | /// The possible layouts for children of a node.
106 | public enum LogicNodeChildrenType {
    |             `- note: consider making enum 'LogicNodeChildrenType' conform to the 'Sendable' protocol
107 |
108 | 	/// A layout that indicates the absence of any children.
    :
125 | 	public static let name = "Root"
126 |
127 | 	public static let childrenType: LogicNodeChildrenType = .leftOnly
    |                    |- warning: static property 'childrenType' is not concurrency-safe because non-'Sendable' type 'LogicNodeChildrenType' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: annotate 'childrenType' 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
128 |
129 | 	public fileprivate(set) var parent: (any LogicNode)! {
/Users/admin/builder/spi-builder-workspace/Sources/LogicParser/LogicNode.swift:150:20: warning: static property 'childrenType' is not concurrency-safe because non-'Sendable' type 'LogicNodeChildrenType' may have shared mutable state; this is an error in the Swift 6 language mode
104 |
105 | /// The possible layouts for children of a node.
106 | public enum LogicNodeChildrenType {
    |             `- note: consider making enum 'LogicNodeChildrenType' conform to the 'Sendable' protocol
107 |
108 | 	/// A layout that indicates the absence of any children.
    :
148 | 	public static let name = "Atomic"
149 |
150 | 	public static let childrenType: LogicNodeChildrenType = .none
    |                    |- warning: static property 'childrenType' is not concurrency-safe because non-'Sendable' type 'LogicNodeChildrenType' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: annotate 'childrenType' 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
151 |
152 | 	public var description: String {
/Users/admin/builder/spi-builder-workspace/Sources/LogicParser/LogicNode.swift:188:20: warning: static property 'childrenType' is not concurrency-safe because non-'Sendable' type 'LogicNodeChildrenType' may have shared mutable state; this is an error in the Swift 6 language mode
104 |
105 | /// The possible layouts for children of a node.
106 | public enum LogicNodeChildrenType {
    |             `- note: consider making enum 'LogicNodeChildrenType' conform to the 'Sendable' protocol
107 |
108 | 	/// A layout that indicates the absence of any children.
    :
186 | 	public static let name = "Negation"
187 |
188 | 	public static let childrenType: LogicNodeChildrenType = .rightOnly
    |                    |- warning: static property 'childrenType' is not concurrency-safe because non-'Sendable' type 'LogicNodeChildrenType' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: annotate 'childrenType' 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
189 |
190 | 	public fileprivate(set) var parent: (any LogicNode)!
/Users/admin/builder/spi-builder-workspace/Sources/LogicParser/LogicNode.swift:207:20: warning: static property 'childrenType' is not concurrency-safe because non-'Sendable' type 'LogicNodeChildrenType' may have shared mutable state; this is an error in the Swift 6 language mode
104 |
105 | /// The possible layouts for children of a node.
106 | public enum LogicNodeChildrenType {
    |             `- note: consider making enum 'LogicNodeChildrenType' conform to the 'Sendable' protocol
107 |
108 | 	/// A layout that indicates the absence of any children.
    :
205 | 	public static let name = "Conjunction"
206 |
207 | 	public static let childrenType: LogicNodeChildrenType = .leftAndRight
    |                    |- warning: static property 'childrenType' is not concurrency-safe because non-'Sendable' type 'LogicNodeChildrenType' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: annotate 'childrenType' 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
208 |
209 | 	public fileprivate(set) var parent: (any LogicNode)!
/Users/admin/builder/spi-builder-workspace/Sources/LogicParser/LogicNode.swift:222:20: warning: static property 'childrenType' is not concurrency-safe because non-'Sendable' type 'LogicNodeChildrenType' may have shared mutable state; this is an error in the Swift 6 language mode
104 |
105 | /// The possible layouts for children of a node.
106 | public enum LogicNodeChildrenType {
    |             `- note: consider making enum 'LogicNodeChildrenType' conform to the 'Sendable' protocol
107 |
108 | 	/// A layout that indicates the absence of any children.
    :
220 | 	public static let name = "Disjunction"
221 |
222 | 	public static let childrenType: LogicNodeChildrenType = .leftAndRight
    |                    |- warning: static property 'childrenType' is not concurrency-safe because non-'Sendable' type 'LogicNodeChildrenType' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: annotate 'childrenType' 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
223 |
224 | 	public fileprivate(set) var parent: (any LogicNode)!
/Users/admin/builder/spi-builder-workspace/Sources/LogicParser/LogicNode.swift:237:20: warning: static property 'childrenType' is not concurrency-safe because non-'Sendable' type 'LogicNodeChildrenType' may have shared mutable state; this is an error in the Swift 6 language mode
104 |
105 | /// The possible layouts for children of a node.
106 | public enum LogicNodeChildrenType {
    |             `- note: consider making enum 'LogicNodeChildrenType' conform to the 'Sendable' protocol
107 |
108 | 	/// A layout that indicates the absence of any children.
    :
235 | 	public static let name = "Conditional"
236 |
237 | 	public static let childrenType: LogicNodeChildrenType = .leftAndRight
    |                    |- warning: static property 'childrenType' is not concurrency-safe because non-'Sendable' type 'LogicNodeChildrenType' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: annotate 'childrenType' 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
238 |
239 | 	public fileprivate(set) var parent: (any LogicNode)!
/Users/admin/builder/spi-builder-workspace/Sources/LogicParser/LogicNode.swift:252:20: warning: static property 'childrenType' is not concurrency-safe because non-'Sendable' type 'LogicNodeChildrenType' may have shared mutable state; this is an error in the Swift 6 language mode
104 |
105 | /// The possible layouts for children of a node.
106 | public enum LogicNodeChildrenType {
    |             `- note: consider making enum 'LogicNodeChildrenType' conform to the 'Sendable' protocol
107 |
108 | 	/// A layout that indicates the absence of any children.
    :
250 | 	public static let name = "Biconditional"
251 |
252 | 	public static let childrenType: LogicNodeChildrenType = .leftAndRight
    |                    |- warning: static property 'childrenType' is not concurrency-safe because non-'Sendable' type 'LogicNodeChildrenType' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: annotate 'childrenType' 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
253 |
254 | 	public fileprivate(set) var parent: (any LogicNode)!
[26/26] Compiling LogicParser LogicNode.swift
/Users/admin/builder/spi-builder-workspace/Sources/LogicParser/LogicNode.swift:127:20: warning: static property 'childrenType' is not concurrency-safe because non-'Sendable' type 'LogicNodeChildrenType' may have shared mutable state; this is an error in the Swift 6 language mode
104 |
105 | /// The possible layouts for children of a node.
106 | public enum LogicNodeChildrenType {
    |             `- note: consider making enum 'LogicNodeChildrenType' conform to the 'Sendable' protocol
107 |
108 | 	/// A layout that indicates the absence of any children.
    :
125 | 	public static let name = "Root"
126 |
127 | 	public static let childrenType: LogicNodeChildrenType = .leftOnly
    |                    |- warning: static property 'childrenType' is not concurrency-safe because non-'Sendable' type 'LogicNodeChildrenType' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: annotate 'childrenType' 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
128 |
129 | 	public fileprivate(set) var parent: (any LogicNode)! {
/Users/admin/builder/spi-builder-workspace/Sources/LogicParser/LogicNode.swift:150:20: warning: static property 'childrenType' is not concurrency-safe because non-'Sendable' type 'LogicNodeChildrenType' may have shared mutable state; this is an error in the Swift 6 language mode
104 |
105 | /// The possible layouts for children of a node.
106 | public enum LogicNodeChildrenType {
    |             `- note: consider making enum 'LogicNodeChildrenType' conform to the 'Sendable' protocol
107 |
108 | 	/// A layout that indicates the absence of any children.
    :
148 | 	public static let name = "Atomic"
149 |
150 | 	public static let childrenType: LogicNodeChildrenType = .none
    |                    |- warning: static property 'childrenType' is not concurrency-safe because non-'Sendable' type 'LogicNodeChildrenType' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: annotate 'childrenType' 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
151 |
152 | 	public var description: String {
/Users/admin/builder/spi-builder-workspace/Sources/LogicParser/LogicNode.swift:188:20: warning: static property 'childrenType' is not concurrency-safe because non-'Sendable' type 'LogicNodeChildrenType' may have shared mutable state; this is an error in the Swift 6 language mode
104 |
105 | /// The possible layouts for children of a node.
106 | public enum LogicNodeChildrenType {
    |             `- note: consider making enum 'LogicNodeChildrenType' conform to the 'Sendable' protocol
107 |
108 | 	/// A layout that indicates the absence of any children.
    :
186 | 	public static let name = "Negation"
187 |
188 | 	public static let childrenType: LogicNodeChildrenType = .rightOnly
    |                    |- warning: static property 'childrenType' is not concurrency-safe because non-'Sendable' type 'LogicNodeChildrenType' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: annotate 'childrenType' 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
189 |
190 | 	public fileprivate(set) var parent: (any LogicNode)!
/Users/admin/builder/spi-builder-workspace/Sources/LogicParser/LogicNode.swift:207:20: warning: static property 'childrenType' is not concurrency-safe because non-'Sendable' type 'LogicNodeChildrenType' may have shared mutable state; this is an error in the Swift 6 language mode
104 |
105 | /// The possible layouts for children of a node.
106 | public enum LogicNodeChildrenType {
    |             `- note: consider making enum 'LogicNodeChildrenType' conform to the 'Sendable' protocol
107 |
108 | 	/// A layout that indicates the absence of any children.
    :
205 | 	public static let name = "Conjunction"
206 |
207 | 	public static let childrenType: LogicNodeChildrenType = .leftAndRight
    |                    |- warning: static property 'childrenType' is not concurrency-safe because non-'Sendable' type 'LogicNodeChildrenType' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: annotate 'childrenType' 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
208 |
209 | 	public fileprivate(set) var parent: (any LogicNode)!
/Users/admin/builder/spi-builder-workspace/Sources/LogicParser/LogicNode.swift:222:20: warning: static property 'childrenType' is not concurrency-safe because non-'Sendable' type 'LogicNodeChildrenType' may have shared mutable state; this is an error in the Swift 6 language mode
104 |
105 | /// The possible layouts for children of a node.
106 | public enum LogicNodeChildrenType {
    |             `- note: consider making enum 'LogicNodeChildrenType' conform to the 'Sendable' protocol
107 |
108 | 	/// A layout that indicates the absence of any children.
    :
220 | 	public static let name = "Disjunction"
221 |
222 | 	public static let childrenType: LogicNodeChildrenType = .leftAndRight
    |                    |- warning: static property 'childrenType' is not concurrency-safe because non-'Sendable' type 'LogicNodeChildrenType' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: annotate 'childrenType' 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
223 |
224 | 	public fileprivate(set) var parent: (any LogicNode)!
/Users/admin/builder/spi-builder-workspace/Sources/LogicParser/LogicNode.swift:237:20: warning: static property 'childrenType' is not concurrency-safe because non-'Sendable' type 'LogicNodeChildrenType' may have shared mutable state; this is an error in the Swift 6 language mode
104 |
105 | /// The possible layouts for children of a node.
106 | public enum LogicNodeChildrenType {
    |             `- note: consider making enum 'LogicNodeChildrenType' conform to the 'Sendable' protocol
107 |
108 | 	/// A layout that indicates the absence of any children.
    :
235 | 	public static let name = "Conditional"
236 |
237 | 	public static let childrenType: LogicNodeChildrenType = .leftAndRight
    |                    |- warning: static property 'childrenType' is not concurrency-safe because non-'Sendable' type 'LogicNodeChildrenType' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: annotate 'childrenType' 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
238 |
239 | 	public fileprivate(set) var parent: (any LogicNode)!
/Users/admin/builder/spi-builder-workspace/Sources/LogicParser/LogicNode.swift:252:20: warning: static property 'childrenType' is not concurrency-safe because non-'Sendable' type 'LogicNodeChildrenType' may have shared mutable state; this is an error in the Swift 6 language mode
104 |
105 | /// The possible layouts for children of a node.
106 | public enum LogicNodeChildrenType {
    |             `- note: consider making enum 'LogicNodeChildrenType' conform to the 'Sendable' protocol
107 |
108 | 	/// A layout that indicates the absence of any children.
    :
250 | 	public static let name = "Biconditional"
251 |
252 | 	public static let childrenType: LogicNodeChildrenType = .leftAndRight
    |                    |- warning: static property 'childrenType' is not concurrency-safe because non-'Sendable' type 'LogicNodeChildrenType' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: annotate 'childrenType' 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
253 |
254 | 	public fileprivate(set) var parent: (any LogicNode)!
Build complete! (18.76s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "covfefe",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.6.0",
            "upper_bound" : "0.7.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/palle-k/Covfefe.git"
    }
  ],
  "manifest_display_name" : "Logic Parser",
  "name" : "Logic Parser",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "LogicParser",
      "targets" : [
        "LogicParser"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "LogicParser",
      "module_type" : "SwiftTarget",
      "name" : "LogicParser",
      "path" : "Sources/LogicParser",
      "product_dependencies" : [
        "Covfefe"
      ],
      "product_memberships" : [
        "LogicParser"
      ],
      "sources" : [
        "Errors.swift",
        "LogicNode.swift",
        "LogicParser.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
Done.