Build Information
Successful build of SwizzleHelper, reference 1.0.2 (a90764
), with Swift 6.1 for macOS (SPM) on 27 Apr 2025 12:19:33 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/chipjarred/SwizzleHelper.git
Reference: 1.0.2
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/chipjarred/SwizzleHelper
* tag 1.0.2 -> FETCH_HEAD
HEAD is now at a907648 Added link to CustomToolTip to README
Cloned https://github.com/chipjarred/SwizzleHelper.git
Revision (git rev-parse @):
a9076481f811fad3269efa6b06fcae29a3b585e2
SUCCESS checkout https://github.com/chipjarred/SwizzleHelper.git at 1.0.2
========================================
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": "swizzlehelper",
"name": "SwizzleHelper",
"url": "https://github.com/chipjarred/SwizzleHelper.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwizzleHelper",
"dependencies": [
]
}
]
}
Fetching https://github.com/chipjarred/SwizzleHelper.git
[1/158] Fetching swizzlehelper
Fetched https://github.com/chipjarred/SwizzleHelper.git from cache (0.62s)
Creating working copy for https://github.com/chipjarred/SwizzleHelper.git
Working copy of https://github.com/chipjarred/SwizzleHelper.git resolved at 1.0.2 (a907648)
warning: '.resolve-product-dependencies': dependency 'swizzlehelper' 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/chipjarred/SwizzleHelper.git
https://github.com/chipjarred/SwizzleHelper.git
{
"dependencies" : [
],
"manifest_display_name" : "SwizzleHelper",
"name" : "SwizzleHelper",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.14"
},
{
"name" : "ios",
"version" : "12.0"
},
{
"name" : "tvos",
"version" : "12.0"
},
{
"name" : "watchos",
"version" : "5.0"
}
],
"products" : [
{
"name" : "SwizzleHelper",
"targets" : [
"SwizzleHelper",
"SwizzleHelperObjC"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SwizzleHelperTests",
"module_type" : "SwiftTarget",
"name" : "SwizzleHelperTests",
"path" : "Tests/SwizzleHelperTests",
"sources" : [
"AssociatedValues_Tests.swift",
"Swizzling_Tests.swift"
],
"target_dependencies" : [
"SwizzleHelper"
],
"type" : "test"
},
{
"c99name" : "SwizzleHelperObjC",
"module_type" : "ClangTarget",
"name" : "SwizzleHelperObjC",
"path" : "SwizzleHelperObjC",
"product_memberships" : [
"SwizzleHelper"
],
"sources" : [
"swizzleHelper.m"
],
"type" : "library"
},
{
"c99name" : "SwizzleHelper",
"module_type" : "SwiftTarget",
"name" : "SwizzleHelper",
"path" : "Sources/SwizzleHelper",
"product_memberships" : [
"SwizzleHelper"
],
"sources" : [
"NSObject+AssociatedObjects.swift",
"NSObject+Swizzling.swift"
],
"target_dependencies" : [
"SwizzleHelperObjC"
],
"type" : "library"
}
],
"tools_version" : "5.3"
}
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/3] Write sources
[1/3] Write swift-version-2F0A5646E1D333AE.txt
/Users/admin/builder/spi-builder-workspace/SwizzleHelperObjC/swizzleHelper.m:93:1: warning: non-void function does not return a value [-Wreturn-type]
93 | }
| ^
1 warning generated.
[2/3] Compiling SwizzleHelperObjC swizzleHelper.m
[4/6] Compiling SwizzleHelper NSObject+AssociatedObjects.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwizzleHelper/NSObject+AssociatedObjects.swift:3:17: warning: var 'associatedValuesKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | fileprivate var associatedValuesKey = "\(#filePath)_associatedValues"
| |- warning: var 'associatedValuesKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'associatedValuesKey' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'associatedValuesKey' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
4 |
5 | // -------------------------------------
/Users/admin/builder/spi-builder-workspace/Sources/SwizzleHelper/NSObject+AssociatedObjects.swift:63:56: warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
61 | get
62 | {
63 | return objc_getAssociatedObject(Self.self, &associatedValuesKey)
| `- warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
64 | as? AssociatedValues ?? [:]
65 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwizzleHelper/NSObject+AssociatedObjects.swift:70:17: warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
68 | objc_setAssociatedObject(
69 | Self.self,
70 | &associatedValuesKey,
| `- warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
71 | newValue as NSDictionary,
72 | .OBJC_ASSOCIATION_RETAIN
/Users/admin/builder/spi-builder-workspace/Sources/SwizzleHelper/NSObject+AssociatedObjects.swift:86:51: warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
84 | get
85 | {
86 | return objc_getAssociatedObject(self, &associatedValuesKey)
| `- warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
87 | as? AssociatedValues ?? [:]
88 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwizzleHelper/NSObject+AssociatedObjects.swift:93:17: warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
91 | objc_setAssociatedObject(
92 | self,
93 | &associatedValuesKey,
| `- warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
94 | newValue as NSDictionary,
95 | .OBJC_ASSOCIATION_RETAIN
[5/6] Emitting module SwizzleHelper
/Users/admin/builder/spi-builder-workspace/Sources/SwizzleHelper/NSObject+AssociatedObjects.swift:3:17: warning: var 'associatedValuesKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | fileprivate var associatedValuesKey = "\(#filePath)_associatedValues"
| |- warning: var 'associatedValuesKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'associatedValuesKey' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'associatedValuesKey' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
4 |
5 | // -------------------------------------
[6/6] Compiling SwizzleHelper NSObject+Swizzling.swift
Build complete! (8.41s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "SwizzleHelper",
"name" : "SwizzleHelper",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.14"
},
{
"name" : "ios",
"version" : "12.0"
},
{
"name" : "tvos",
"version" : "12.0"
},
{
"name" : "watchos",
"version" : "5.0"
}
],
"products" : [
{
"name" : "SwizzleHelper",
"targets" : [
"SwizzleHelper",
"SwizzleHelperObjC"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SwizzleHelperTests",
"module_type" : "SwiftTarget",
"name" : "SwizzleHelperTests",
"path" : "Tests/SwizzleHelperTests",
"sources" : [
"AssociatedValues_Tests.swift",
"Swizzling_Tests.swift"
],
"target_dependencies" : [
"SwizzleHelper"
],
"type" : "test"
},
{
"c99name" : "SwizzleHelperObjC",
"module_type" : "ClangTarget",
"name" : "SwizzleHelperObjC",
"path" : "SwizzleHelperObjC",
"product_memberships" : [
"SwizzleHelper"
],
"sources" : [
"swizzleHelper.m"
],
"type" : "library"
},
{
"c99name" : "SwizzleHelper",
"module_type" : "SwiftTarget",
"name" : "SwizzleHelper",
"path" : "Sources/SwizzleHelper",
"product_memberships" : [
"SwizzleHelper"
],
"sources" : [
"NSObject+AssociatedObjects.swift",
"NSObject+Swizzling.swift"
],
"target_dependencies" : [
"SwizzleHelperObjC"
],
"type" : "library"
}
],
"tools_version" : "5.3"
}
Done.