Build Information
Successful build of MockDuck, reference main (4729d1), with Swift 6.4 for macOS (SPM) on 17 Sep 2026 02:05:57 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 5.1.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.4
Building package at path: $PWD
https://github.com/buzzfeed/MockDuck.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64
Building for debugging...
[Planning deferred tasks]
[19 / 28]
[20 / 29] MockDuck
[30 / 77]
[35 / 77]
[40 / 77]
[41 / 77]
[45 / 77]
[47 / 77]
[50 / 77]
[54 / 77]
[56 / 77]
[57 / 77]
[68 / 77] MockDuck
[69 / 77] MockDuck
Build complete! (8.36 sec)
/Users/admin/builder/spi-builder-workspace/MockDuck/Sources/MockDataTask.swift:14:13: [1;33mwarning: [1;39mclass 'MockDataTask' must restate inherited '@unchecked Sendable' conformance[0;0m
[0;36m12 |[0;0m /// possible. When it is unable to load a response from disk, it can optionally use a fallback
[0;36m13 |[0;0m /// URLSession to handle the request normally.
[0;36m14 |[0;0m final class MockDataTask: URLSessionDataTask {
[0;36m|[0;0m `- [1;33mwarning: [1;39mclass 'MockDataTask' must restate inherited '@unchecked Sendable' conformance[0;0m
[0;36m15 |[0;0m
[0;36m16 |[0;0m typealias TaskCompletion = (MockRequestResponse?, Error?) -> Void
/Users/admin/builder/spi-builder-workspace/MockDuck/Sources/MockDuck.swift:13:35: [1;33mwarning: [1;39musing 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead[0;0m [#deprecation]
[0;36m11 |[0;0m
[0;36m12 |[0;0m /// A delegate protocol that can be used to modify how MockDuck functions.
[0;36m13 |[0;0m public protocol MockDuckDelegate: class {
[0;36m|[0;0m `- [1;33mwarning: [1;39musing 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead[0;0m [#deprecation]
[0;36m14 |[0;0m
[0;36m15 |[0;0m /// 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/MockDuck.swift:149:52: [1;33mwarning: [1;39m'init()' was deprecated in macOS 10.15: Please use +[NSURLSession sessionWithConfiguration:] or other class methods to create instances[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m147 |[0;0m
[0;36m148 |[0;0m // This is the URLSession subclass that we use to handle all mocked network requests.
[0;36m149 |[0;0m internal private(set) static var mockSession = MockSession()
[0;36m|[0;0m `- [1;33mwarning: [1;39m'init()' was deprecated in macOS 10.15: Please use +[NSURLSession sessionWithConfiguration:] or other class methods to create instances[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m150 |[0;0m
[0;36m151 |[0;0m /// This is the object responsible for loading cached requests from disks as well as recording
/Users/admin/builder/spi-builder-workspace/MockDuck/Sources/MockSession.swift:13:13: [1;33mwarning: [1;39mclass 'MockSession' must restate inherited '@unchecked Sendable' conformance[0;0m
[0;36m11 |[0;0m /// MockSession is a basic subclass of URLSession, created so that we can hook into the creation of
[0;36m12 |[0;0m /// NSURLSession tasks and provide our own tasks that can load cached requests from disk.
[0;36m13 |[0;0m final class MockSession: URLSession {
[0;36m|[0;0m `- [1;33mwarning: [1;39mclass 'MockSession' must restate inherited '@unchecked Sendable' conformance[0;0m
[0;36m14 |[0;0m private let queue = DispatchQueue(label: "com.buzzfeed.MockDuck.MockSessionQueue", attributes: [])
[0;36m15 |[0;0m
/Users/admin/builder/spi-builder-workspace/MockDuck/Sources/MockURLProtocol.swift:13:7: [1;33mwarning: [1;39mconformance of 'URLProtocol' to 'Sendable' is unavailable in macOS; this is an error in the Swift 6 language mode[0;0m
[0;36m11 |[0;0m /// This is the URLProtocol subclass that intercepts all network requests and uses `MockSession` to
[0;36m12 |[0;0m /// stub out the responses. One of these is instantiated per request.
[0;36m13 |[0;0m class MockURLProtocol: URLProtocol, URLSessionDelegate, URLSessionDataDelegate {
[0;36m|[0;0m `- [1;33mwarning: [1;39mconformance of 'URLProtocol' to 'Sendable' is unavailable in macOS; this is an error in the Swift 6 language mode[0;0m
[0;36m14 |[0;0m private struct Constants {
[0;36m15 |[0;0m static let ProtocolHandled = "com.buzzfeed.MockDuck.URLProtocolHandled"
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLSession.h: 0:[0;36m1242 |[0;0m NS_SWIFT_SENDABLE
[0;36m1243 |[0;0m API_AVAILABLE(macos(10.9), ios(7.0), watchos(2.0), tvos(9.0))
[0;36m1244 |[0;0m @interface NSURLSessionConfiguration : NSObject <NSCopying>
[0;36m +--- [0;0m [0;36m-------------------------------------------------------------[0;0m
[0;36m |[0;0m[0;36m1 |[0;0m @_nonSendable(_assumed)
[0;36m |[0;0m [0;36m|[0;0m `- [1;39mnote: [1;39mconformance of 'URLProtocol' to 'Sendable' has been explicitly marked unavailable here[0;0m
[0;36m +-----[0;0m[0;36m-------------------------------------------------------------[0;0m
[0;36m1245 |[0;0m
[0;36m1246 |[0;0m /// A default session configuration object.
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
/Users/admin/builder/spi-builder-workspace/MockDuck/Sources/MockSession.swift:13:13: [1;33mwarning: [1;39mclass 'MockSession' must restate inherited '@unchecked Sendable' conformance[0;0m
[0;36m11 |[0;0m /// MockSession is a basic subclass of URLSession, created so that we can hook into the creation of
[0;36m12 |[0;0m /// NSURLSession tasks and provide our own tasks that can load cached requests from disk.
[0;36m13 |[0;0m final class MockSession: URLSession {
[0;36m|[0;0m `- [1;33mwarning: [1;39mclass 'MockSession' must restate inherited '@unchecked Sendable' conformance[0;0m
[0;36m14 |[0;0m private let queue = DispatchQueue(label: "com.buzzfeed.MockDuck.MockSessionQueue", attributes: [])
[0;36m15 |[0;0m
/Users/admin/builder/spi-builder-workspace/MockDuck/Sources/Utilities/CryptoUtils.swift:16:13: [1;33mwarning: [1;39m'CC_MD5' was deprecated in macOS 10.15: This function is cryptographically broken and should not be used in security contexts. Clients should migrate to SHA256 (or stronger).[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m14 |[0;0m let hash = data.withUnsafeBytes { (bytes: UnsafeRawBufferPointer) -> [UInt8] in
[0;36m15 |[0;0m var hash = [UInt8](repeating: 0, count: Int(CC_MD5_DIGEST_LENGTH))
[0;36m16 |[0;0m CC_MD5(bytes.baseAddress, CC_LONG(data.count), &hash)
[0;36m|[0;0m `- [1;33mwarning: [1;39m'CC_MD5' was deprecated in macOS 10.15: This function is cryptographically broken and should not be used in security contexts. Clients should migrate to SHA256 (or stronger).[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m17 |[0;0m return hash
[0;36m18 |[0;0m }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
/Users/admin/builder/spi-builder-workspace/MockDuck/Sources/MockURLProtocol.swift:13:7: [1;33mwarning: [1;39mconformance of 'URLProtocol' to 'Sendable' is unavailable in macOS; this is an error in the Swift 6 language mode[0;0m
[0;36m11 |[0;0m /// This is the URLProtocol subclass that intercepts all network requests and uses `MockSession` to
[0;36m12 |[0;0m /// stub out the responses. One of these is instantiated per request.
[0;36m13 |[0;0m class MockURLProtocol: URLProtocol, URLSessionDelegate, URLSessionDataDelegate {
[0;36m|[0;0m `- [1;33mwarning: [1;39mconformance of 'URLProtocol' to 'Sendable' is unavailable in macOS; this is an error in the Swift 6 language mode[0;0m
[0;36m14 |[0;0m private struct Constants {
[0;36m15 |[0;0m static let ProtocolHandled = "com.buzzfeed.MockDuck.URLProtocolHandled"
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLSession.h: 0:[0;36m1242 |[0;0m NS_SWIFT_SENDABLE
[0;36m1243 |[0;0m API_AVAILABLE(macos(10.9), ios(7.0), watchos(2.0), tvos(9.0))
[0;36m1244 |[0;0m @interface NSURLSessionConfiguration : NSObject <NSCopying>
[0;36m +--- [0;0m [0;36m-------------------------------------------------------------[0;0m
[0;36m |[0;0m[0;36m1 |[0;0m @_nonSendable(_assumed)
[0;36m |[0;0m [0;36m|[0;0m `- [1;39mnote: [1;39mconformance of 'URLProtocol' to 'Sendable' has been explicitly marked unavailable here[0;0m
[0;36m +-----[0;0m[0;36m-------------------------------------------------------------[0;0m
[0;36m1245 |[0;0m
[0;36m1246 |[0;0m /// A default session configuration object.
/Users/admin/builder/spi-builder-workspace/MockDuck/Sources/MockDuck.swift:149:52: [1;33mwarning: [1;39m'init()' was deprecated in macOS 10.15: Please use +[NSURLSession sessionWithConfiguration:] or other class methods to create instances[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m147 |[0;0m
[0;36m148 |[0;0m // This is the URLSession subclass that we use to handle all mocked network requests.
[0;36m149 |[0;0m internal private(set) static var mockSession = MockSession()
[0;36m|[0;0m `- [1;33mwarning: [1;39m'init()' was deprecated in macOS 10.15: Please use +[NSURLSession sessionWithConfiguration:] or other class methods to create instances[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m150 |[0;0m
[0;36m151 |[0;0m /// This is the object responsible for loading cached requests from disks as well as recording
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
/Users/admin/builder/spi-builder-workspace/MockDuck/Sources/MockDataTask.swift:14:13: [1;33mwarning: [1;39mclass 'MockDataTask' must restate inherited '@unchecked Sendable' conformance[0;0m
[0;36m12 |[0;0m /// possible. When it is unable to load a response from disk, it can optionally use a fallback
[0;36m13 |[0;0m /// URLSession to handle the request normally.
[0;36m14 |[0;0m final class MockDataTask: URLSessionDataTask {
[0;36m|[0;0m `- [1;33mwarning: [1;39mclass 'MockDataTask' must restate inherited '@unchecked Sendable' conformance[0;0m
[0;36m15 |[0;0m
[0;36m16 |[0;0m typealias TaskCompletion = (MockRequestResponse?, Error?) -> Void
/Users/admin/builder/spi-builder-workspace/MockDuck/Sources/MockDataTask.swift:29:15: [1;33mwarning: [1;39m'init()' was deprecated in macOS 10.15: Please use -[NSURLSession dataTaskWithRequest:] or other NSURLSession methods to create instances[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m27 |[0;0m self.request = request
[0;36m28 |[0;0m self.completion = completion
[0;36m29 |[0;0m super.init()
[0;36m|[0;0m `- [1;33mwarning: [1;39m'init()' was deprecated in macOS 10.15: Please use -[NSURLSession dataTaskWithRequest:] or other NSURLSession methods to create instances[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m30 |[0;0m }
[0;36m31 |[0;0m
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
/Users/admin/builder/spi-builder-workspace/MockDuck/Sources/MockDuck.swift:13:35: [1;33mwarning: [1;39musing 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead[0;0m [#deprecation]
[0;36m11 |[0;0m
[0;36m12 |[0;0m /// A delegate protocol that can be used to modify how MockDuck functions.
[0;36m13 |[0;0m public protocol MockDuckDelegate: class {
[0;36m|[0;0m `- [1;33mwarning: [1;39musing 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead[0;0m [#deprecation]
[0;36m14 |[0;0m
[0;36m15 |[0;0m /// 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/MockDuck.swift:149:52: [1;33mwarning: [1;39m'init()' was deprecated in macOS 10.15: Please use +[NSURLSession sessionWithConfiguration:] or other class methods to create instances[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m147 |[0;0m
[0;36m148 |[0;0m // This is the URLSession subclass that we use to handle all mocked network requests.
[0;36m149 |[0;0m internal private(set) static var mockSession = MockSession()
[0;36m|[0;0m `- [1;33mwarning: [1;39m'init()' was deprecated in macOS 10.15: Please use +[NSURLSession sessionWithConfiguration:] or other class methods to create instances[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m150 |[0;0m
[0;36m151 |[0;0m /// This is the object responsible for loading cached requests from disks as well as recording
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
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.