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 VCR, reference main (aee80c), with Swift 6.0 for macOS (SPM) on 30 Oct 2025 13:54:35 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.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/grdsdev/swift-vcr.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/grdsdev/swift-vcr
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at aee80c9 Add support for binary request bodies via httpBodyStream
Cloned https://github.com/grdsdev/swift-vcr.git
Revision (git rev-parse @):
aee80c9b638cde25bb8cfd47705a37d48f375597
SUCCESS checkout https://github.com/grdsdev/swift-vcr.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/grdsdev/swift-vcr.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/10] Compiling VCR VCRURLProtocol.swift
/Users/admin/builder/spi-builder-workspace/Sources/VCR/VCRURLProtocol.swift:90:17: warning: capture of 'self' with non-sendable type 'VCRURLProtocol?' in a `@Sendable` closure
  2 |
  3 | /// URLProtocol subclass that intercepts URLSession requests for VCR recording/playback
  4 | final class VCRURLProtocol: URLProtocol {
    |             `- note: class 'VCRURLProtocol' does not conform to the 'Sendable' protocol
  5 |   private var dataTask: URLSessionDataTask?
  6 |   private static let internalSessionKey = "VCRURLProtocol.InternalSession"
    :
 88 |
 89 |     dataTask = session.dataTask(with: internalRequest) { [weak self] data, response, error in
 90 |       guard let self else { return }
    |                 `- warning: capture of 'self' with non-sendable type 'VCRURLProtocol?' in a `@Sendable` closure
 91 |
 92 |       if let error = error {
[4/10] Compiling VCR VCRConfiguration.swift
[5/10] Compiling VCR RequestMatcher.swift
[6/10] Compiling VCR RecordMode.swift
[7/10] Compiling VCR VCR.swift
[8/10] Compiling VCR Cassette.swift
[9/10] Compiling VCR HTTPInteraction.swift
[10/10] Emitting module VCR
Build complete! (4.77s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "VCR",
  "name" : "VCR",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    }
  ],
  "products" : [
    {
      "name" : "VCR",
      "targets" : [
        "VCR"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "VCRTests",
      "module_type" : "SwiftTarget",
      "name" : "VCRTests",
      "path" : "Tests/VCRTests",
      "sources" : [
        "VCRTests.swift"
      ],
      "target_dependencies" : [
        "VCR"
      ],
      "type" : "test"
    },
    {
      "c99name" : "VCR",
      "module_type" : "SwiftTarget",
      "name" : "VCR",
      "path" : "Sources/VCR",
      "product_memberships" : [
        "VCR"
      ],
      "sources" : [
        "Cassette.swift",
        "HTTPInteraction.swift",
        "RecordMode.swift",
        "RequestMatcher.swift",
        "VCR.swift",
        "VCRConfiguration.swift",
        "VCRURLProtocol.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Done.