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 SwiftRest, reference main (c53f12), with Swift 6.0 for macOS (SPM) on 27 May 2025 01:49:39 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.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ricky-stone/SwiftRest.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/ricky-stone/SwiftRest
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at c53f121 Remove DEBUG guard from MockRestClient
Cloned https://github.com/ricky-stone/SwiftRest.git
Revision (git rev-parse @):
c53f121f51d3266385f8fd040d22c8dfb2ba264f
SUCCESS checkout https://github.com/ricky-stone/SwiftRest.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/ricky-stone/SwiftRest.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/13] Compiling SwiftRest RestClientType.swift
[4/14] Compiling SwiftRest SwiftRestResponse.swift
[5/14] Compiling SwiftRest SwiftRestRequest.swift
[6/14] Emitting module SwiftRest
[7/14] Compiling SwiftRest Json.swift
[8/14] Compiling SwiftRest MockRestClient.swift
[9/14] Compiling SwiftRest SwiftRestClientError.swift
[10/14] Compiling SwiftRest NoContent.swift
[11/14] Compiling SwiftRest SwiftRestClient.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRest/SwiftRestClient.swift:121:13: warning: variable 'requestURL' was never mutated; consider changing to 'let' constant
119 |         baseURL: URL
120 |     ) throws -> URL {
121 |         var requestURL = baseURL.appendingPathComponent(httpRequest.path)
    |             `- warning: variable 'requestURL' was never mutated; consider changing to 'let' constant
122 |
123 |         guard
[12/14] Compiling SwiftRest JsonError.swift
[13/14] Compiling SwiftRest ErrorResponse.swift
[14/14] Compiling SwiftRest HTTPMethod.swift
Build complete! (5.54s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "SwiftRest",
  "name" : "SwiftRest",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "15.0"
    },
    {
      "name" : "macos",
      "version" : "12.0"
    }
  ],
  "products" : [
    {
      "name" : "SwiftRest",
      "targets" : [
        "SwiftRest"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftRestTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftRestTests",
      "path" : "Tests/SwiftRestTests",
      "sources" : [
        "SwiftRestTests.swift"
      ],
      "target_dependencies" : [
        "SwiftRest"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftRest",
      "module_type" : "SwiftTarget",
      "name" : "SwiftRest",
      "path" : "Sources/SwiftRest",
      "product_memberships" : [
        "SwiftRest"
      ],
      "sources" : [
        "ErrorResponse.swift",
        "HTTPMethod.swift",
        "Json.swift",
        "JsonError.swift",
        "MockRestClient.swift",
        "NoContent.swift",
        "RestClientType.swift",
        "SwiftRestClient.swift",
        "SwiftRestClientError.swift",
        "SwiftRestRequest.swift",
        "SwiftRestResponse.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Done.