The Swift Package Index logo.Swift Package Index

Build Information

Failed to build HTTPMock with Swift 6.3 for macOS (SPM).

Build Command

Build command unavailable

Build Log

========================================
RunAll
========================================
Builder version: 4.70.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
========================================
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": "httpmock",
      "name": "HTTPMock",
      "url": "https://github.com/nearfri/HTTPMock.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/HTTPMock",
      "traits": [
        "default"
      ],
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/nearfri/HTTPMock.git
[1/125] Fetching httpmock
Fetched https://github.com/nearfri/HTTPMock.git from cache (0.89s)
Creating working copy for https://github.com/nearfri/HTTPMock.git
Working copy of https://github.com/nearfri/HTTPMock.git resolved at main (bd647f6)
warning: '.resolve-product-dependencies': dependency 'httpmock' 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/nearfri/HTTPMock.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/15] Compiling HTTPMock StubRegistry.swift
[4/15] Compiling HTTPMock StubEntry.swift
[5/15] Compiling HTTPMock URLProtocolService.swift
[6/16] Compiling HTTPMock HTTPResponseAssetBuilder.swift
[7/16] Compiling HTTPMock HTTPResponseAsset.swift
[8/16] Compiling HTTPMock HTTPRequestPredicate.swift
[9/16] Compiling HTTPMock HTTPResponse.swift
[10/16] Compiling HTTPMock HTTPMediaType.swift
[11/16] Compiling HTTPMock HTTPMethod.swift
[12/16] Emitting module HTTPMock
[13/16] Compiling HTTPMock InputStreamGenerator.swift
[14/16] 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; this will be an error in a future Swift language mode
 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; this will be an error in a future Swift language mode
 95 |     }
 96 |
[15/16] 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; this will be an error in a future Swift language mode
 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; this will be an error in a future Swift language mode
 95 |     }
 96 |
[16/16] Compiling HTTPMock URLProtocolStub.swift
Build complete! (5.49s)
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.
========================================
ReportResult
========================================
Resolved dependency count: 0.
Product dependency count: 0.
timedOut
Retrying in 5.0 seconds ...
Sending build result (attempt 1)
timedOut
Retrying in 10.0 seconds ...
Sending build result (attempt 2)
timedOut
Retrying in 20.0 seconds ...
Sending build result (attempt 3)
timedOut
Retrying in 40.0 seconds ...
Sending build result (attempt 4)
timedOut
Retrying in 80.0 seconds ...
Sending build result (attempt 5)
timedOut
GENERIC FAILURE 6.3 macosSpm