The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of jmespath.swift, reference main (588a6e), with Swift 6.1 for macOS (SPM) on 3 Jul 2025 06:32:45 UTC.

Swift 6 data race errors: 2

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.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/jmespath/jmespath.swift.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/jmespath/jmespath.swift
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 588a6ee Use a version of json scanner from Foundation source code to load json files (#11)
Cloned https://github.com/jmespath/jmespath.swift.git
Revision (git rev-parse @):
588a6eec0fb6f34d22f5bfec7b751fd904694711
SUCCESS checkout https://github.com/jmespath/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/jmespath/jmespath.swift.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/jmespath.swift",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/jmespath/jmespath.swift.git
[1/653] Fetching jmespath.swift
Fetched https://github.com/jmespath/jmespath.swift.git from cache (0.76s)
Creating working copy for https://github.com/jmespath/jmespath.swift.git
Working copy of https://github.com/jmespath/jmespath.swift.git resolved at main (588a6ee)
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/jmespath/jmespath.swift.git
https://github.com/jmespath/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",
        "JSONTests.swift",
        "LexerTests.swift",
        "MirrorTests.swift"
      ],
      "target_dependencies" : [
        "JMESPath"
      ],
      "type" : "test"
    },
    {
      "c99name" : "JMESPath",
      "module_type" : "SwiftTarget",
      "name" : "JMESPath",
      "path" : "Sources/JMESPath",
      "product_memberships" : [
        "JMESPath"
      ],
      "sources" : [
        "Array.swift",
        "Ast.swift",
        "Error.swift",
        "Expression.swift",
        "Functions.swift",
        "Interpreter.swift",
        "JSON/BufferView.swift",
        "JSON/BufferViewCompatibility.swift",
        "JSON/BufferViewIndex.swift",
        "JSON/BufferViewIterator.swift",
        "JSON/JSONScanner.swift",
        "JSON/JSONUtilities.swift",
        "Lexer.swift",
        "Number.swift",
        "Object.swift",
        "Parser.swift",
        "Runtime.swift",
        "Token.swift",
        "Variable.swift",
        "json.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/21] Compiling JMESPath Object.swift
[4/21] Compiling JMESPath Parser.swift
[5/21] Compiling JMESPath Lexer.swift
[6/21] Compiling JMESPath Number.swift
[7/21] Compiling JMESPath BufferViewIndex.swift
[8/21] Compiling JMESPath BufferViewIterator.swift
[9/21] 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,
[10/21] Compiling JMESPath Token.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,
[11/21] Compiling JMESPath Functions.swift
[12/21] Compiling JMESPath Interpreter.swift
[13/21] Compiling JMESPath JSONScanner.swift
[14/21] Compiling JMESPath JSONUtilities.swift
[15/23] Compiling JMESPath BufferView.swift
[16/23] Compiling JMESPath BufferViewCompatibility.swift
[17/23] Compiling JMESPath Array.swift
[18/23] Compiling JMESPath Ast.swift
[19/23] 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:255: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
253 |     }
254 |
255 |     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
256 | }
257 |
[20/23] Compiling JMESPath Error.swift
[21/23] Compiling JMESPath Expression.swift
[22/23] Compiling JMESPath Variable.swift
/Users/admin/builder/spi-builder-workspace/Sources/JMESPath/Variable.swift:255: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
253 |     }
254 |
255 |     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
256 | }
257 |
[23/23] Compiling JMESPath json.swift
/Users/admin/builder/spi-builder-workspace/Sources/JMESPath/Variable.swift:255: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
253 |     }
254 |
255 |     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
256 | }
257 |
Build complete! (4.13s)
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",
        "JSONTests.swift",
        "LexerTests.swift",
        "MirrorTests.swift"
      ],
      "target_dependencies" : [
        "JMESPath"
      ],
      "type" : "test"
    },
    {
      "c99name" : "JMESPath",
      "module_type" : "SwiftTarget",
      "name" : "JMESPath",
      "path" : "Sources/JMESPath",
      "product_memberships" : [
        "JMESPath"
      ],
      "sources" : [
        "Array.swift",
        "Ast.swift",
        "Error.swift",
        "Expression.swift",
        "Functions.swift",
        "Interpreter.swift",
        "JSON/BufferView.swift",
        "JSON/BufferViewCompatibility.swift",
        "JSON/BufferViewIndex.swift",
        "JSON/BufferViewIterator.swift",
        "JSON/JSONScanner.swift",
        "JSON/JSONUtilities.swift",
        "Lexer.swift",
        "Number.swift",
        "Object.swift",
        "Parser.swift",
        "Runtime.swift",
        "Token.swift",
        "Variable.swift",
        "json.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.2"
}
Done.