The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of TCSwiftBridge, reference 1.2.0 (9cbcf3), with Swift 6.0 for macOS (SPM) on 31 Aug 2025 18:52:09 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.2.0.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: 1.2.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Krusty84/TCSwiftBridge
 * tag               1.2.0      -> FETCH_HEAD
HEAD is now at 9cbcf34 Release 1.2 (refreshPreferences, some helpers)
Cloned https://github.com/Krusty84/TCSwiftBridge.git
Revision (git rev-parse @):
9cbcf347c8246f7789ce4cad15f094db78ef52c3
SUCCESS checkout https://github.com/Krusty84/TCSwiftBridge.git at 1.2.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/Krusty84/TCSwiftBridge.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-5BDAB9E9C0126B9D.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
  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
 135 |                     }
 136 |                     print("Got new JSESSIONID:", session)
/Users/admin/builder/spi-builder-workspace/Sources/TCSwiftBridge/TeamcenterAPIService.swift:1123:17: warning: value 'session' was defined but never used; consider replacing with boolean test
1121 |       tcEndpointUrl: String
1122 |     ) async -> [SavedQueryInfo]? {
1123 |       guard let session = jsessionId else { print(...); return nil }
     |                 `- warning: value 'session' was defined but never used; consider replacing with boolean test
1124 |       guard let url = URL(string: tcEndpointUrl) else { print(...); return nil }
1125 |
/Users/admin/builder/spi-builder-workspace/Sources/TCSwiftBridge/TeamcenterAPIService.swift:1127:11: warning: variable 'request' was never mutated; consider changing to 'let' constant
1125 |
1126 |       // build payload & JSON‐encode…
1127 |       var request = URLRequest(url: url)
     |           `- warning: variable 'request' was never mutated; consider changing to 'let' constant
1128 |       // set method, headers, body…
1129 |
[5/6] Compiling TCSwiftBridge TeamcenterModel.swift
[6/6] Compiling TCSwiftBridge APIConfig.swift
Build complete! (4.54s)
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.