Build Information
Successful build of ObjectAssociation, reference main (93806c
), with Swift 6.1 for macOS (SPM) on 28 Apr 2025 08:09:10 UTC.
Swift 6 data race errors: 1
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/p-x9/swift-object-association.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/p-x9/swift-object-association
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 93806cf Merge pull request #10 from p-x9/version/0.5.0
Cloned https://github.com/p-x9/swift-object-association.git
Revision (git rev-parse @):
93806cfecae1f198c894ed5585b93aff0e2d1f5a
SUCCESS checkout https://github.com/p-x9/swift-object-association.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": "swift-object-association",
"name": "ObjectAssociation",
"url": "https://github.com/p-x9/swift-object-association.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-object-association",
"dependencies": [
]
}
]
}
Fetching https://github.com/p-x9/swift-object-association.git
[5/207] Fetching swift-object-association
Fetched https://github.com/p-x9/swift-object-association.git from cache (0.61s)
Creating working copy for https://github.com/p-x9/swift-object-association.git
Working copy of https://github.com/p-x9/swift-object-association.git resolved at main (93806cf)
warning: '.resolve-product-dependencies': dependency 'swift-object-association' 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/p-x9/swift-object-association.git
https://github.com/p-x9/swift-object-association.git
{
"c_language_standard" : "c17",
"cxx_language_standard" : "c++17",
"dependencies" : [
],
"manifest_display_name" : "ObjectAssociation",
"name" : "ObjectAssociation",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "ObjectAssociation",
"targets" : [
"ObjectAssociation"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SwiftRetain",
"module_type" : "SwiftTarget",
"name" : "SwiftRetain",
"path" : "Sources/SwiftRetain",
"product_memberships" : [
"ObjectAssociation"
],
"sources" : [
"Retain.swift"
],
"type" : "library"
},
{
"c99name" : "ObjectAssociationTests",
"module_type" : "SwiftTarget",
"name" : "ObjectAssociationTests",
"path" : "Tests/ObjectAssociationTests",
"sources" : [
"Model/ClassItem.swift",
"ObjectAssociationTests.swift"
],
"target_dependencies" : [
"ObjectAssociation",
"ObjectAssociationRuntime"
],
"type" : "test"
},
{
"c99name" : "ObjectAssociationRuntimeC",
"module_type" : "ClangTarget",
"name" : "ObjectAssociationRuntimeC",
"path" : "Sources/ObjectAssociationRuntimeC",
"product_memberships" : [
"ObjectAssociation"
],
"sources" : [
"associated.cpp",
"reference/reference.cpp"
],
"target_dependencies" : [
"SwiftRetain"
],
"type" : "library"
},
{
"c99name" : "ObjectAssociationRuntime",
"module_type" : "SwiftTarget",
"name" : "ObjectAssociationRuntime",
"path" : "Sources/ObjectAssociationRuntime",
"product_memberships" : [
"ObjectAssociation"
],
"sources" : [
"ObjectAssociationRuntime.swift"
],
"target_dependencies" : [
"ObjectAssociationRuntimeC"
],
"type" : "library"
},
{
"c99name" : "ObjectAssociation",
"module_type" : "SwiftTarget",
"name" : "ObjectAssociation",
"path" : "Sources/ObjectAssociation",
"product_memberships" : [
"ObjectAssociation"
],
"sources" : [
"Model/Policy.swift",
"Model/Ref.swift",
"ObjectAssociation.swift",
"Util.swift"
],
"target_dependencies" : [
"ObjectAssociationRuntime"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
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/6] Write sources
[3/6] Write swift-version-2F0A5646E1D333AE.txt
[5/8] Compiling SwiftRetain Retain.swift
[6/8] Emitting module SwiftRetain
[6/8] Compiling ObjectAssociationRuntimeC associated.cpp
[7/8] Compiling reference.cpp
[9/10] Compiling ObjectAssociationRuntime ObjectAssociationRuntime.swift
[10/10] Emitting module ObjectAssociationRuntime
[11/15] Compiling ObjectAssociation Util.swift
[12/15] Emitting module ObjectAssociation
/Users/admin/builder/spi-builder-workspace/Sources/ObjectAssociation/ObjectAssociation.swift:59:13: warning: var '_initAssociations' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
57 | }
58 |
59 | private var _initAssociations: Bool = {
| |- warning: var '_initAssociations' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_initAssociations' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_initAssociations' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
60 | swift_initAssociations()
61 | return true
[13/15] Compiling ObjectAssociation ObjectAssociation.swift
/Users/admin/builder/spi-builder-workspace/Sources/ObjectAssociation/ObjectAssociation.swift:59:13: warning: var '_initAssociations' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
57 | }
58 |
59 | private var _initAssociations: Bool = {
| |- warning: var '_initAssociations' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_initAssociations' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_initAssociations' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
60 | swift_initAssociations()
61 | return true
[14/15] Compiling ObjectAssociation Ref.swift
[15/15] Compiling ObjectAssociation Policy.swift
Build complete! (5.60s)
Build complete.
{
"c_language_standard" : "c17",
"cxx_language_standard" : "c++17",
"dependencies" : [
],
"manifest_display_name" : "ObjectAssociation",
"name" : "ObjectAssociation",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "ObjectAssociation",
"targets" : [
"ObjectAssociation"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SwiftRetain",
"module_type" : "SwiftTarget",
"name" : "SwiftRetain",
"path" : "Sources/SwiftRetain",
"product_memberships" : [
"ObjectAssociation"
],
"sources" : [
"Retain.swift"
],
"type" : "library"
},
{
"c99name" : "ObjectAssociationTests",
"module_type" : "SwiftTarget",
"name" : "ObjectAssociationTests",
"path" : "Tests/ObjectAssociationTests",
"sources" : [
"Model/ClassItem.swift",
"ObjectAssociationTests.swift"
],
"target_dependencies" : [
"ObjectAssociation",
"ObjectAssociationRuntime"
],
"type" : "test"
},
{
"c99name" : "ObjectAssociationRuntimeC",
"module_type" : "ClangTarget",
"name" : "ObjectAssociationRuntimeC",
"path" : "Sources/ObjectAssociationRuntimeC",
"product_memberships" : [
"ObjectAssociation"
],
"sources" : [
"associated.cpp",
"reference/reference.cpp"
],
"target_dependencies" : [
"SwiftRetain"
],
"type" : "library"
},
{
"c99name" : "ObjectAssociationRuntime",
"module_type" : "SwiftTarget",
"name" : "ObjectAssociationRuntime",
"path" : "Sources/ObjectAssociationRuntime",
"product_memberships" : [
"ObjectAssociation"
],
"sources" : [
"ObjectAssociationRuntime.swift"
],
"target_dependencies" : [
"ObjectAssociationRuntimeC"
],
"type" : "library"
},
{
"c99name" : "ObjectAssociation",
"module_type" : "SwiftTarget",
"name" : "ObjectAssociation",
"path" : "Sources/ObjectAssociation",
"product_memberships" : [
"ObjectAssociation"
],
"sources" : [
"Model/Policy.swift",
"Model/Ref.swift",
"ObjectAssociation.swift",
"Util.swift"
],
"target_dependencies" : [
"ObjectAssociationRuntime"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Done.