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 main (bd3b33), with Swift 6.0 for macOS (SPM) on 31 Aug 2025 18:51:10 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: 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.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] 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:1128:17: warning: value 'session' was defined but never used; consider replacing with boolean test
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
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 |
[4/6] Compiling TCSwiftBridge APIConfig.swift
[5/6] Emitting module TCSwiftBridge
[6/6] Compiling TCSwiftBridge TeamcenterModel.swift
Build complete! (4.07s)
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.