The Swift Package Index logo.Swift Package Index

Build Information

Successful build of HTTPMock, reference main (bd647f), with Swift 6.4 for macOS (SPM) on 17 Sep 2026 23:23:17 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 5.1.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.4
Building package at path:  $PWD
https://github.com/nearfri/HTTPMock.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] HTTPMock
[30 / 74]
[35 / 74]
[38 / 74]
[39 / 74]
[43 / 74]
[45 / 74]
[48 / 74]
[51 / 74]
[53 / 74]
[54 / 74]
[65 / 74] HTTPMock
[66 / 74] HTTPMock
[73 / 74] HTTPMock
Build complete! (8.80 sec)
/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 |
/Users/admin/builder/spi-builder-workspace/Sources/HTTPMock/URLProtocolStub.swift:332:23: warning: 'scanString(_:into:)' was deprecated in macOS 10.15 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
330 |         // https://developer.mozilla.org/docs/Web/HTTP/Headers/Range
331 |         let scanner = Scanner(string: string)
332 |         guard scanner.scanString("bytes=", into: nil) else { return nil }
    |                       `- warning: 'scanString(_:into:)' was deprecated in macOS 10.15 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
333 |
334 |         func scanNumber() -> Int? {
/Users/admin/builder/spi-builder-workspace/Sources/HTTPMock/URLProtocolStub.swift:341:23: warning: 'scanString(_:into:)' was deprecated in macOS 10.15 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
339 |
340 |         let lower = scanNumber()
341 |         guard scanner.scanString("-", into: nil) else { return nil }
    |                       `- warning: 'scanString(_:into:)' was deprecated in macOS 10.15 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
342 |         let upper = scanNumber()
343 |         guard scanner.isAtEnd else { return nil }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
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.