Build Information
Successful build of TCSwiftBridge, reference main (bd3b33
), with Swift 6.2 (beta) for macOS (SPM) on 31 Aug 2025 18:52:45 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Krusty84/TCSwiftBridge.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Krusty84/TCSwiftBridge
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at bd3b332 tcLoginGetSession - fix
Cloned https://github.com/Krusty84/TCSwiftBridge.git
Revision (git rev-parse @):
bd3b332a4ccaa5fb5061962d93426441b8939ff6
SUCCESS checkout https://github.com/Krusty84/TCSwiftBridge.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.2
Building package at path: $PWD
https://github.com/Krusty84/TCSwiftBridge.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-1EA4D86E10B52AF.txt
[3/6] Emitting module TCSwiftBridge
[4/6] Compiling TCSwiftBridge TeamcenterAPIService.swift
/Users/admin/builder/spi-builder-workspace/Sources/TCSwiftBridge/TeamcenterAPIService.swift:134:25: warning: capture of 'self' with non-sendable type 'TeamcenterAPIService' in a '@Sendable' closure [#SendableClosureCaptures]
11 | // Service class to call Teamcenter REST APIs
12 | // Conforms to ObservableObject for SwiftUI bindings
13 | public final class TeamcenterAPIService: ObservableObject {
| `- note: class 'TeamcenterAPIService' does not conform to the 'Sendable' protocol
14 | // Shared singleton instance
15 | public static let shared = TeamcenterAPIService()
:
132 | // Update published property on main thread
133 | DispatchQueue.main.async {
134 | self.jsessionId = session
| `- warning: capture of 'self' with non-sendable type 'TeamcenterAPIService' in a '@Sendable' closure [#SendableClosureCaptures]
135 | }
136 | print("Got new JSESSIONID:", session)
/Users/admin/builder/spi-builder-workspace/Sources/TCSwiftBridge/TeamcenterAPIService.swift:1128:17: warning: value 'session' was defined but never used; consider replacing with boolean test [#no-usage]
1126 | tcEndpointUrl: String
1127 | ) async -> [SavedQueryInfo]? {
1128 | guard let session = jsessionId else { print(...); return nil }
| `- warning: value 'session' was defined but never used; consider replacing with boolean test [#no-usage]
1129 | guard let url = URL(string: tcEndpointUrl) else { print(...); return nil }
1130 |
/Users/admin/builder/spi-builder-workspace/Sources/TCSwiftBridge/TeamcenterAPIService.swift:1132:11: warning: variable 'request' was never mutated; consider changing to 'let' constant
1130 |
1131 | // build payload & JSON‐encode…
1132 | var request = URLRequest(url: url)
| `- warning: variable 'request' was never mutated; consider changing to 'let' constant
1133 | // set method, headers, body…
1134 |
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[5/6] Compiling TCSwiftBridge TeamcenterModel.swift
[6/6] Compiling TCSwiftBridge APIConfig.swift
Build complete! (3.85s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "TCSwiftBridge",
"name" : "TCSwiftBridge",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "12.0"
},
{
"name" : "ios",
"version" : "15.0"
}
],
"products" : [
{
"name" : "TCSwiftBridge",
"targets" : [
"TCSwiftBridge"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "TCSwiftBridge",
"module_type" : "SwiftTarget",
"name" : "TCSwiftBridge",
"path" : "Sources/TCSwiftBridge",
"product_memberships" : [
"TCSwiftBridge"
],
"sources" : [
"APIConfig.swift",
"TeamcenterAPIService.swift",
"TeamcenterModel.swift"
],
"type" : "library"
}
],
"tools_version" : "5.7"
}
Done.