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 3.0.1 (c53f12), with Swift 6.1 for macOS (SPM) on 27 May 2025 01:49:00 UTC.

Swift 6 data race errors: 0

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

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ricky-stone/SwiftRest.git
Reference: 3.0.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/ricky-stone/SwiftRest
 * tag               3.0.1      -> FETCH_HEAD
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 3.0.1
========================================
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": "swiftrest",
      "name": "SwiftRest",
      "url": "https://github.com/ricky-stone/SwiftRest.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftRest",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/ricky-stone/SwiftRest.git
[1/216] Fetching swiftrest
Fetched https://github.com/ricky-stone/SwiftRest.git from cache (0.68s)
Creating working copy for https://github.com/ricky-stone/SwiftRest.git
Working copy of https://github.com/ricky-stone/SwiftRest.git resolved at 3.0.1 (c53f121)
warning: '.resolve-product-dependencies': dependency 'swiftrest' 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/ricky-stone/SwiftRest.git
https://github.com/ricky-stone/SwiftRest.git
{
  "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"
}
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
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-2F0A5646E1D333AE.txt
[3/13] Compiling SwiftRest SwiftRestRequest.swift
[4/13] Compiling SwiftRest SwiftRestClientError.swift
[5/13] Compiling SwiftRest RestClientType.swift
[6/13] 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
[7/14] Compiling SwiftRest NoContent.swift
[8/14] Compiling SwiftRest JsonError.swift
[9/14] Compiling SwiftRest MockRestClient.swift
[10/14] Emitting module SwiftRest
[11/14] Compiling SwiftRest ErrorResponse.swift
[12/14] Compiling SwiftRest HTTPMethod.swift
[13/14] Compiling SwiftRest Json.swift
[14/14] Compiling SwiftRest SwiftRestResponse.swift
Build complete! (5.98s)
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.