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 HTTPMock, reference main (bd647f), with Swift 6.2 (beta) for macOS (SPM) on 19 Jun 2025 04:56:22 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/nearfri/HTTPMock.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/nearfri/HTTPMock
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at bd647f6 Update swift.yml
Cloned https://github.com/nearfri/HTTPMock.git
Revision (git rev-parse @):
bd647f6769557200390380d6ae946afe57d06e3c
SUCCESS checkout https://github.com/nearfri/HTTPMock.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/nearfri/HTTPMock.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/15] Compiling HTTPMock StubEntry.swift
[4/15] Compiling HTTPMock HTTPRequestPredicate.swift
[5/15] Compiling HTTPMock HTTPResponse.swift
[6/15] Compiling HTTPMock HTTPMediaType.swift
[7/15] Compiling HTTPMock HTTPMethod.swift
[8/15] Compiling HTTPMock HTTPHeaderFields.swift
/Users/admin/builder/spi-builder-workspace/Sources/HTTPMock/HTTPHeaderFields.swift:94:34: warning: tuple conversion from '(key: String, value: String)' to '(name: String, value: String)' mismatches labels
 92 | public extension HTTPHeaderFields {
 93 |     init(_ dictionary: [String: String]) {
 94 |         self.init(dictionary.map({ $0 }))
    |                                  `- warning: tuple conversion from '(key: String, value: String)' to '(name: String, value: String)' mismatches labels
 95 |     }
 96 |
[9/15] Compiling HTTPMock HTTPHeaderName.swift
/Users/admin/builder/spi-builder-workspace/Sources/HTTPMock/HTTPHeaderFields.swift:94:34: warning: tuple conversion from '(key: String, value: String)' to '(name: String, value: String)' mismatches labels
 92 | public extension HTTPHeaderFields {
 93 |     init(_ dictionary: [String: String]) {
 94 |         self.init(dictionary.map({ $0 }))
    |                                  `- warning: tuple conversion from '(key: String, value: String)' to '(name: String, value: String)' mismatches labels
 95 |     }
 96 |
[10/15] Emitting module HTTPMock
[11/16] Compiling HTTPMock HTTPResponseAsset.swift
[12/16] Compiling HTTPMock InputStreamGenerator.swift
[13/16] Compiling HTTPMock HTTPResponseAssetBuilder.swift
[14/16] Compiling HTTPMock URLProtocolService.swift
[15/16] Compiling HTTPMock StubRegistry.swift
[16/16] Compiling HTTPMock URLProtocolStub.swift
Build complete! (5.31s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "HTTPMock",
  "name" : "HTTPMock",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.13"
    },
    {
      "name" : "ios",
      "version" : "11.0"
    }
  ],
  "products" : [
    {
      "name" : "HTTPMock",
      "targets" : [
        "HTTPMock"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "HTTPMockTests",
      "module_type" : "SwiftTarget",
      "name" : "HTTPMockTests",
      "path" : "Tests/HTTPMockTests",
      "sources" : [
        "Atomic.swift",
        "HTTPHeadersFieldsTests.swift",
        "HTTPMediaTypeTests.swift",
        "HTTPRequestPredicateTests.swift",
        "HTTPResponseAssetBuilderTests.swift",
        "HTTPResponseAssetTests.swift",
        "HTTPResponseTests.swift",
        "InputStream+extensions.swift",
        "InputStreamGeneratorTests.swift",
        "StubEntryTests.swift",
        "StubRegistryTests.swift",
        "URLProtocolServiceTests.swift",
        "URLProtocolStubTests.swift",
        "XCTestCase+extensions.swift"
      ],
      "target_dependencies" : [
        "HTTPMock"
      ],
      "type" : "test"
    },
    {
      "c99name" : "HTTPMock",
      "module_type" : "SwiftTarget",
      "name" : "HTTPMock",
      "path" : "Sources/HTTPMock",
      "product_memberships" : [
        "HTTPMock"
      ],
      "sources" : [
        "HTTPHeaderFields.swift",
        "HTTPHeaderName.swift",
        "HTTPMediaType.swift",
        "HTTPMethod.swift",
        "HTTPRequestPredicate.swift",
        "HTTPResponse.swift",
        "HTTPResponseAsset.swift",
        "HTTPResponseAssetBuilder.swift",
        "InputStreamGenerator.swift",
        "StubEntry.swift",
        "StubRegistry.swift",
        "URLProtocolService.swift",
        "URLProtocolStub.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.1"
}
Done.