The Swift Package Index logo.Swift Package Index

Build Information

Successful build of MockDuck, reference main (4729d1), with Swift 6.3 for macOS (SPM) on 11 Apr 2026 13:36:31 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/buzzfeed/MockDuck.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/buzzfeed/MockDuck
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 4729d15 Merge pull request #32 from buzzfeed/feature/update-installation-readme
Cloned https://github.com/buzzfeed/MockDuck.git
Revision (git rev-parse @):
4729d150c199f6920219c1ea969d54dcd0efe943
SUCCESS checkout https://github.com/buzzfeed/MockDuck.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",
  "traits": [
    "default"
  ],
  "dependencies": [
    {
      "identity": "mockduck",
      "name": "MockDuck",
      "url": "https://github.com/buzzfeed/MockDuck.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/MockDuck",
      "traits": [
        "default"
      ],
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/buzzfeed/MockDuck.git
[1/572] Fetching mockduck
Fetched https://github.com/buzzfeed/MockDuck.git from cache (0.74s)
Creating working copy for https://github.com/buzzfeed/MockDuck.git
Working copy of https://github.com/buzzfeed/MockDuck.git resolved at main (4729d15)
warning: '.resolve-product-dependencies': dependency 'mockduck' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/buzzfeed/MockDuck.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--6988338F2F200930.txt
[3/13] Compiling MockDuck MockURLProtocol.swift
[4/13] Compiling MockDuck CryptoUtils.swift
[5/13] Compiling MockDuck MockSession.swift
/Users/admin/builder/spi-builder-workspace/MockDuck/Sources/MockSession.swift:13:13: warning: class 'MockSession' must restate inherited '@unchecked Sendable' conformance
11 | /// MockSession is a basic subclass of URLSession, created so that we can hook into the creation of
12 | /// NSURLSession tasks and provide our own tasks that can load cached requests from disk.
13 | final class MockSession: URLSession {
   |             `- warning: class 'MockSession' must restate inherited '@unchecked Sendable' conformance
14 |     private let queue = DispatchQueue(label: "com.buzzfeed.MockDuck.MockSessionQueue", attributes: [])
15 |
[6/13] Compiling MockDuck RequestResponseCommonProtocol.swift
[7/14] Compiling MockDuck MockRequestResponse.swift
[8/14] Compiling MockDuck MockRequest.swift
[9/14] Emitting module MockDuck
/Users/admin/builder/spi-builder-workspace/MockDuck/Sources/MockDataTask.swift:14:13: warning: class 'MockDataTask' must restate inherited '@unchecked Sendable' conformance
12 | /// possible. When it is unable to load a response from disk, it can optionally use a fallback
13 | /// URLSession to handle the request normally.
14 | final class MockDataTask: URLSessionDataTask {
   |             `- warning: class 'MockDataTask' must restate inherited '@unchecked Sendable' conformance
15 |
16 |     typealias TaskCompletion = (MockRequestResponse?, Error?) -> Void
/Users/admin/builder/spi-builder-workspace/MockDuck/Sources/MockDuck.swift:13:35: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
 11 |
 12 | /// A delegate protocol that can be used to modify how MockDuck functions.
 13 | public protocol MockDuckDelegate: class {
    |                                   `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
 14 |
 15 |     /// A hook that allows one to normalize a request before it is turned into a hash that uniquely
/Users/admin/builder/spi-builder-workspace/MockDuck/Sources/MockSession.swift:13:13: warning: class 'MockSession' must restate inherited '@unchecked Sendable' conformance
11 | /// MockSession is a basic subclass of URLSession, created so that we can hook into the creation of
12 | /// NSURLSession tasks and provide our own tasks that can load cached requests from disk.
13 | final class MockSession: URLSession {
   |             `- warning: class 'MockSession' must restate inherited '@unchecked Sendable' conformance
14 |     private let queue = DispatchQueue(label: "com.buzzfeed.MockDuck.MockSessionQueue", attributes: [])
15 |
[10/14] Compiling MockDuck MockBundle.swift
/Users/admin/builder/spi-builder-workspace/MockDuck/Sources/MockDataTask.swift:14:13: warning: class 'MockDataTask' must restate inherited '@unchecked Sendable' conformance
12 | /// possible. When it is unable to load a response from disk, it can optionally use a fallback
13 | /// URLSession to handle the request normally.
14 | final class MockDataTask: URLSessionDataTask {
   |             `- warning: class 'MockDataTask' must restate inherited '@unchecked Sendable' conformance
15 |
16 |     typealias TaskCompletion = (MockRequestResponse?, Error?) -> Void
[11/14] Compiling MockDuck MockDataTask.swift
/Users/admin/builder/spi-builder-workspace/MockDuck/Sources/MockDataTask.swift:14:13: warning: class 'MockDataTask' must restate inherited '@unchecked Sendable' conformance
12 | /// possible. When it is unable to load a response from disk, it can optionally use a fallback
13 | /// URLSession to handle the request normally.
14 | final class MockDataTask: URLSessionDataTask {
   |             `- warning: class 'MockDataTask' must restate inherited '@unchecked Sendable' conformance
15 |
16 |     typealias TaskCompletion = (MockRequestResponse?, Error?) -> Void
[12/14] Compiling MockDuck MockDuck.swift
/Users/admin/builder/spi-builder-workspace/MockDuck/Sources/MockDuck.swift:13:35: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
 11 |
 12 | /// A delegate protocol that can be used to modify how MockDuck functions.
 13 | public protocol MockDuckDelegate: class {
    |                                   `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
 14 |
 15 |     /// A hook that allows one to normalize a request before it is turned into a hash that uniquely
[13/14] Compiling MockDuck MockResponse.swift
[14/14] Compiling MockDuck EncodingUtils.swift
Build complete! (4.88s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "MockDuck",
  "name" : "MockDuck",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.12"
    },
    {
      "name" : "ios",
      "version" : "10.0"
    },
    {
      "name" : "tvos",
      "version" : "10.0"
    }
  ],
  "products" : [
    {
      "name" : "MockDuck",
      "targets" : [
        "MockDuck"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "MockDuckTests",
      "module_type" : "SwiftTarget",
      "name" : "MockDuckTests",
      "path" : "MockDuckTests/Sources",
      "sources" : [
        "CryptoTests.swift",
        "MockBundleTests.swift",
        "MockDuckTests.swift",
        "MockURLProtocolTests.swift",
        "RequestHandlerTests.swift",
        "RequestHashTests.swift"
      ],
      "target_dependencies" : [
        "MockDuck"
      ],
      "type" : "test"
    },
    {
      "c99name" : "MockDuck",
      "module_type" : "SwiftTarget",
      "name" : "MockDuck",
      "path" : "MockDuck/Sources",
      "product_memberships" : [
        "MockDuck"
      ],
      "sources" : [
        "MockBundle.swift",
        "MockDataTask.swift",
        "MockDuck.swift",
        "MockRequest.swift",
        "MockRequestResponse.swift",
        "MockResponse.swift",
        "MockSession.swift",
        "MockURLProtocol.swift",
        "RequestResponseCommonProtocol.swift",
        "Utilities/CryptoUtils.swift",
        "Utilities/EncodingUtils.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
Done.