Build Information
Successful build of jmespath.swift, reference 1.0.3 (3877a5
), with Swift 6.0 for macOS (SPM) on 1 Dec 2024 12:22:20 UTC.
Swift 6 data race errors: 2
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.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/adam-fowler/jmespath.swift.git
Reference: 1.0.3
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/adam-fowler/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/adam-fowler/jmespath.swift.git
Revision (git rev-parse @):
3877a5060e85ae33e3b9fe51ab581784f65ec80e
SUCCESS checkout https://github.com/adam-fowler/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/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
[6/538] Fetching jmespath.swift
Fetched https://github.com/adam-fowler/jmespath.swift.git from cache (0.78s)
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 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.0
Building package at path: $PWD
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",
"Parser.swift",
"Runtime.swift",
"Sendable.swift",
"Token.swift",
"Variable.swift"
],
"type" : "library"
}
],
"tools_version" : "5.2"
}
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/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.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: annotate 'builtInFunctions' 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
24 | "abs": AbsFunction.self,
25 | "avg": AvgFunction.self,
[4/13] Compiling JMESPath Sendable.swift
[5/13] Compiling JMESPath Parser.swift
[6/13] Compiling JMESPath Token.swift
[7/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: annotate 'nsNumberBoolType' 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
271 | }
272 |
[8/14] Compiling JMESPath Lexer.swift
[9/14] Compiling JMESPath Expression.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: annotate 'builtInFunctions' 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
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: annotate 'nsNumberBoolType' 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
271 | }
272 |
[13/14] Compiling JMESPath Functions.swift
[14/14] Compiling JMESPath Interpreter.swift
Build complete! (12.10s)
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.