Build Information
Successful build of MockDuck, reference main (4729d1
), with Swift 6.2 (beta) for macOS (SPM) on 18 Jun 2025 12:38:16 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.64.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
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.2
Building package at path: $PWD
https://github.com/buzzfeed/MockDuck.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-1EA4D86E10B52AF.txt
[3/13] Compiling MockDuck RequestResponseCommonProtocol.swift
[4/14] Compiling MockDuck CryptoUtils.swift
[5/14] Compiling MockDuck MockURLProtocol.swift
[6/14] Compiling MockDuck MockResponse.swift
[7/14] 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 |
[8/14] Compiling MockDuck MockRequestResponse.swift
[9/14] Compiling MockDuck MockRequest.swift
[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] 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 |
[13/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
[14/14] Compiling MockDuck EncodingUtils.swift
Build complete! (4.55s)
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.