The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Replacer, reference 0.1.0 (2042d6), with Swift 6.3 for macOS (SPM) on 11 Apr 2026 12:09:44 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/tattn/Replacer.git
Reference: 0.1.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/tattn/Replacer
 * tag               0.1.0      -> FETCH_HEAD
HEAD is now at 2042d67 Update Swift 5.0
Cloned https://github.com/tattn/Replacer.git
Revision (git rev-parse @):
2042d67080e9de57673f8bdf25788510377f975e
SUCCESS checkout https://github.com/tattn/Replacer.git at 0.1.0
Fetching https://github.com/Alamofire/Alamofire.git
[1/31497] Fetching alamofire
Fetched https://github.com/Alamofire/Alamofire.git from cache (3.01s)
Computing version for https://github.com/Alamofire/Alamofire.git
Computed https://github.com/Alamofire/Alamofire.git at 4.9.1 (3.71s)
Creating working copy for https://github.com/Alamofire/Alamofire.git
Working copy of https://github.com/Alamofire/Alamofire.git resolved at 4.9.1
========================================
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": "replacer",
      "name": "Replacer",
      "url": "https://github.com/tattn/Replacer.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Replacer",
      "traits": [
        "default"
      ],
      "dependencies": [
        {
          "identity": "alamofire",
          "name": "Alamofire",
          "url": "https://github.com/Alamofire/Alamofire.git",
          "version": "4.9.1",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Alamofire",
          "traits": [
            "default"
          ],
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/tattn/Replacer.git
[1/216] Fetching replacer
Fetched https://github.com/tattn/Replacer.git from cache (0.60s)
Fetching https://github.com/Alamofire/Alamofire.git from cache
Fetched https://github.com/Alamofire/Alamofire.git from cache (0.65s)
Computing version for https://github.com/Alamofire/Alamofire.git
Computed https://github.com/Alamofire/Alamofire.git at 4.9.1 (0.73s)
Creating working copy for https://github.com/Alamofire/Alamofire.git
Working copy of https://github.com/Alamofire/Alamofire.git resolved at 4.9.1
Creating working copy for https://github.com/tattn/Replacer.git
Working copy of https://github.com/tattn/Replacer.git resolved at 0.1.0 (2042d67)
warning: '.resolve-product-dependencies': dependency 'replacer' is not used by any target
Found 1 product dependencies
  - Alamofire
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/tattn/Replacer.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version--6988338F2F200930.txt
[4/9] Compiling Replacer URLStubProtocol.swift
[5/9] Compiling Replacer URLSessionConfiguration+.swift
[6/9] Compiling Replacer URLStubManager.swift
[7/9] Compiling Replacer URLStub.swift
[8/9] Compiling Replacer Replacer.swift
[9/9] Emitting module Replacer
error: emit-module command failed with exit code 1 (use -v to see invocation)
[10/11] Emitting module TestReplacer
/Users/admin/builder/spi-builder-workspace/Sources/TestReplacer/XCTest+.swift:16:78: error: ambiguous use of 'tearDown'
14 |
15 |     private static let swizzleTearDown: Void = {
16 |         let tearDown = class_getInstanceMethod(XCTest.self, #selector(XCTest.tearDown))!
   |                                                                              `- error: ambiguous use of 'tearDown'
17 |         let replacerTearDown = class_getInstanceMethod(XCTest.self, #selector(XCTest.autoResetTearDown))!
18 |         method_exchangeImplementations(tearDown, replacerTearDown)
XCTest.XCTest.tearDown:2:11: note: found this candidate in module 'XCTest'
1 | class XCTest {
2 | open func tearDown()}
  |           `- note: found this candidate in module 'XCTest'
3 |
XCTest.XCTest.tearDown:2:11: note: found this candidate in module 'XCTest'
1 | class XCTest {
2 | open func tearDown(completion: @escaping @Sendable ((any Error)?) -> Void)}
  |           `- note: found this candidate in module 'XCTest'
3 |
[11/11] Compiling TestReplacer XCTest+.swift
/Users/admin/builder/spi-builder-workspace/Sources/TestReplacer/XCTest+.swift:16:78: error: ambiguous use of 'tearDown'
14 |
15 |     private static let swizzleTearDown: Void = {
16 |         let tearDown = class_getInstanceMethod(XCTest.self, #selector(XCTest.tearDown))!
   |                                                                              `- error: ambiguous use of 'tearDown'
17 |         let replacerTearDown = class_getInstanceMethod(XCTest.self, #selector(XCTest.autoResetTearDown))!
18 |         method_exchangeImplementations(tearDown, replacerTearDown)
XCTest.XCTest.tearDown:2:11: note: found this candidate in module 'XCTest'
1 | class XCTest {
2 | open func tearDown()}
  |           `- note: found this candidate in module 'XCTest'
3 |
XCTest.XCTest.tearDown:2:11: note: found this candidate in module 'XCTest'
1 | class XCTest {
2 | open func tearDown(completion: @escaping @Sendable ((any Error)?) -> Void)}
  |           `- note: found this candidate in module 'XCTest'
3 |
BUILD FAILURE 6.3 macosSpm