The Swift Package Index logo.Swift Package Index

Build Information

Successful build of jmespath.swift, reference 1.0.3 (3877a5), with Swift 6.1 for macOS (SPM) on 3 Jul 2025 06:35:15 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: 1.0.3
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/jmespath/jmespath.swift
 * tag               1.0.3      -> FETCH_HEAD
HEAD is now at 3877a50 Merge pull request #8 from adam-fowler/windows-ci-2
Cloned https://github.com/jmespath/jmespath.swift.git
Revision (git rev-parse @):
3877a5060e85ae33e3b9fe51ab581784f65ec80e
SUCCESS checkout https://github.com/jmespath/jmespath.swift.git at 1.0.3
========================================
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.84s)
Creating working copy for https://github.com/jmespath/jmespath.swift.git
Working copy of https://github.com/jmespath/jmespath.swift.git resolved at 1.0.3 (3877a50)
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",
        "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",
        "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/13] 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,
[4/14] Compiling JMESPath Parser.swift
[5/14] Compiling JMESPath Variable.swift
/Users/admin/builder/spi-builder-workspace/Sources/JMESPath/Variable.swift:270: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
268 |     }
269 |
270 |     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
271 | }
272 |
[6/14] Compiling JMESPath Lexer.swift
[7/14] Compiling JMESPath Expression.swift
[8/14] Compiling JMESPath Token.swift
[9/14] Compiling JMESPath Functions.swift
[10/14] Compiling JMESPath Ast.swift
[11/14] Compiling JMESPath Error.swift
[12/14] 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:270: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
268 |     }
269 |
270 |     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
271 | }
272 |
[13/14] Compiling JMESPath Interpreter.swift
[14/14] Compiling JMESPath Sendable.swift
Build complete! (4.54s)
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",
        "Parser.swift",
        "Runtime.swift",
        "Sendable.swift",
        "Token.swift",
        "Variable.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.2"
}
Done.