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 jmespath.swift, reference main (c72289), with Swift 6.1 for macOS (SPM) on 29 Apr 2025 05:16:51 UTC.

Swift 6 data race errors: 3

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.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.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/adam-fowler/jmespath.swift.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/adam-fowler/jmespath.swift
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at c722898 Merge pull request #10 from adam-fowler/jmes-number
Cloned https://github.com/adam-fowler/jmespath.swift.git
Revision (git rev-parse @):
c722898bdfc72cdeb4a8431812fdeec0b56e8e1d
SUCCESS checkout https://github.com/adam-fowler/jmespath.swift.git at main
========================================
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": "jmespath.swift",
      "name": "jmespath.swift",
      "url": "https://github.com/adam-fowler/jmespath.swift.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/jmespath.swift",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/adam-fowler/jmespath.swift.git from cache
Fetched https://github.com/adam-fowler/jmespath.swift.git from cache (0.45s)
Creating working copy for https://github.com/adam-fowler/jmespath.swift.git
Working copy of https://github.com/adam-fowler/jmespath.swift.git resolved at main (c722898)
warning: '.resolve-product-dependencies': dependency 'jmespath.swift' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/adam-fowler/jmespath.swift.git
https://github.com/adam-fowler/jmespath.swift.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "jmespath.swift",
  "name" : "jmespath.swift",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "JMESPath",
      "targets" : [
        "JMESPath"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "JMESPathTests",
      "module_type" : "SwiftTarget",
      "name" : "JMESPathTests",
      "path" : "Tests/JMESPathTests",
      "sources" : [
        "ComplianceTests.swift",
        "ErrorTests.swift",
        "LexerTests.swift",
        "MirrorTests.swift"
      ],
      "target_dependencies" : [
        "JMESPath"
      ],
      "type" : "test"
    },
    {
      "c99name" : "JMESPath",
      "module_type" : "SwiftTarget",
      "name" : "JMESPath",
      "path" : "Sources/JMESPath",
      "product_memberships" : [
        "JMESPath"
      ],
      "sources" : [
        "Ast.swift",
        "Error.swift",
        "Expression.swift",
        "Functions.swift",
        "Interpreter.swift",
        "Lexer.swift",
        "Number.swift",
        "Parser.swift",
        "Runtime.swift",
        "Sendable.swift",
        "Token.swift",
        "Variable.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.2"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.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/2] Write sources
[1/2] Write swift-version-2F0A5646E1D333AE.txt
[3/14] Compiling JMESPath Lexer.swift
[4/15] Compiling JMESPath Token.swift
[5/15] Compiling JMESPath Runtime.swift
/Users/admin/builder/spi-builder-workspace/Sources/JMESPath/Runtime.swift:23:24: warning: static property 'builtInFunctions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
21 |
22 |     private var functions: [String: JMESFunction.Type]
23 |     private static var builtInFunctions: [String: JMESFunction.Type] = [
   |                        |- warning: static property 'builtInFunctions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: convert 'builtInFunctions' to a 'let' constant to make 'Sendable' shared state immutable
   |                        |- note: add '@MainActor' to make static property 'builtInFunctions' part of global actor 'MainActor'
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |         "abs": AbsFunction.self,
25 |         "avg": AvgFunction.self,
[6/15] Compiling JMESPath Sendable.swift
[7/15] Compiling JMESPath Parser.swift
[8/15] Compiling JMESPath Number.swift
[9/15] Compiling JMESPath Variable.swift
/Users/admin/builder/spi-builder-workspace/Sources/JMESPath/Variable.swift:278:28: warning: static property 'nsNumberBoolType' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
276 |     }
277 |
278 |     fileprivate static var nsNumberBoolType = type(of: NSNumber(value: true))
    |                            |- warning: static property 'nsNumberBoolType' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                            |- note: convert 'nsNumberBoolType' to a 'let' constant to make 'Sendable' shared state immutable
    |                            |- note: add '@MainActor' to make static property 'nsNumberBoolType' part of global actor 'MainActor'
    |                            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
279 |     fileprivate static var nsNumberIntType = type(of: NSNumber(value: Int(1)))
280 | }
/Users/admin/builder/spi-builder-workspace/Sources/JMESPath/Variable.swift:279:28: warning: static property 'nsNumberIntType' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
277 |
278 |     fileprivate static var nsNumberBoolType = type(of: NSNumber(value: true))
279 |     fileprivate static var nsNumberIntType = type(of: NSNumber(value: Int(1)))
    |                            |- warning: static property 'nsNumberIntType' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                            |- note: convert 'nsNumberIntType' to a 'let' constant to make 'Sendable' shared state immutable
    |                            |- note: add '@MainActor' to make static property 'nsNumberIntType' part of global actor 'MainActor'
    |                            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
280 | }
281 |
[10/15] Compiling JMESPath Interpreter.swift
[11/15] Compiling JMESPath Ast.swift
[12/15] Compiling JMESPath Error.swift
[13/15] Emitting module JMESPath
/Users/admin/builder/spi-builder-workspace/Sources/JMESPath/Runtime.swift:23:24: warning: static property 'builtInFunctions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
21 |
22 |     private var functions: [String: JMESFunction.Type]
23 |     private static var builtInFunctions: [String: JMESFunction.Type] = [
   |                        |- warning: static property 'builtInFunctions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: convert 'builtInFunctions' to a 'let' constant to make 'Sendable' shared state immutable
   |                        |- note: add '@MainActor' to make static property 'builtInFunctions' part of global actor 'MainActor'
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |         "abs": AbsFunction.self,
25 |         "avg": AvgFunction.self,
/Users/admin/builder/spi-builder-workspace/Sources/JMESPath/Variable.swift:278:28: warning: static property 'nsNumberBoolType' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
276 |     }
277 |
278 |     fileprivate static var nsNumberBoolType = type(of: NSNumber(value: true))
    |                            |- warning: static property 'nsNumberBoolType' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                            |- note: convert 'nsNumberBoolType' to a 'let' constant to make 'Sendable' shared state immutable
    |                            |- note: add '@MainActor' to make static property 'nsNumberBoolType' part of global actor 'MainActor'
    |                            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
279 |     fileprivate static var nsNumberIntType = type(of: NSNumber(value: Int(1)))
280 | }
/Users/admin/builder/spi-builder-workspace/Sources/JMESPath/Variable.swift:279:28: warning: static property 'nsNumberIntType' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
277 |
278 |     fileprivate static var nsNumberBoolType = type(of: NSNumber(value: true))
279 |     fileprivate static var nsNumberIntType = type(of: NSNumber(value: Int(1)))
    |                            |- warning: static property 'nsNumberIntType' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                            |- note: convert 'nsNumberIntType' to a 'let' constant to make 'Sendable' shared state immutable
    |                            |- note: add '@MainActor' to make static property 'nsNumberIntType' part of global actor 'MainActor'
    |                            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
280 | }
281 |
[14/15] Compiling JMESPath Expression.swift
[15/15] Compiling JMESPath Functions.swift
Build complete! (4.29s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "jmespath.swift",
  "name" : "jmespath.swift",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "JMESPath",
      "targets" : [
        "JMESPath"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "JMESPathTests",
      "module_type" : "SwiftTarget",
      "name" : "JMESPathTests",
      "path" : "Tests/JMESPathTests",
      "sources" : [
        "ComplianceTests.swift",
        "ErrorTests.swift",
        "LexerTests.swift",
        "MirrorTests.swift"
      ],
      "target_dependencies" : [
        "JMESPath"
      ],
      "type" : "test"
    },
    {
      "c99name" : "JMESPath",
      "module_type" : "SwiftTarget",
      "name" : "JMESPath",
      "path" : "Sources/JMESPath",
      "product_memberships" : [
        "JMESPath"
      ],
      "sources" : [
        "Ast.swift",
        "Error.swift",
        "Expression.swift",
        "Functions.swift",
        "Interpreter.swift",
        "Lexer.swift",
        "Number.swift",
        "Parser.swift",
        "Runtime.swift",
        "Sendable.swift",
        "Token.swift",
        "Variable.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.2"
}
Done.