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.2 for macOS (SPM) on 30 Oct 2025 13:59:04 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.0.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
========================================
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": "swift-vcr",
      "name": "VCR",
      "url": "https://github.com/grdsdev/swift-vcr.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-vcr",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/grdsdev/swift-vcr.git
[1/58] Fetching swift-vcr
Fetched https://github.com/grdsdev/swift-vcr.git from cache (0.63s)
Creating working copy for https://github.com/grdsdev/swift-vcr.git
Working copy of https://github.com/grdsdev/swift-vcr.git resolved at main (aee80c9)
warning: '.resolve-product-dependencies': dependency 'swift-vcr' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/grdsdev/swift-vcr.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-49B95AFC49DCD68C.txt
[3/10] Compiling VCR VCR.swift
[4/10] Compiling VCR VCRConfiguration.swift
[5/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 [#SendableClosureCaptures]
 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 [#SendableClosureCaptures]
 91 |
 92 |       if let error = error {
Swift.Optional:1:21: note: generic enum 'Optional' does not conform to the 'Sendable' protocol
1 | @frozen public enum Optional<Wrapped> : ~Copyable, ~Escapable where Wrapped : ~Copyable, Wrapped : ~Escapable {
  |                     `- note: generic enum 'Optional' does not conform to the 'Sendable' protocol
2 |     case none
3 |     case some(Wrapped)
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[6/10] Compiling VCR RequestMatcher.swift
[7/10] Compiling VCR Cassette.swift
[8/10] Compiling VCR RecordMode.swift
[9/10] Emitting module VCR
[10/10] Compiling VCR HTTPInteraction.swift
Build complete! (5.75s)
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.