The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Replacer with Swift 5.10 for macOS (SPM).

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.3.0-Beta.2.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/tattn/Replacer.git
Reference: 0.1.0
Initialized empty Git repository in /Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-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
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.10
Building package at path:  $workDir
https://github.com/tattn/Replacer.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0-Beta.2.app xcrun swift build --arch arm64
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version--423B1241ED78D482.txt
[4/9] Compiling Replacer URLStubManager.swift
[5/9] Compiling Replacer Replacer.swift
[6/9] Compiling Replacer URLSessionConfiguration+.swift
[7/9] Compiling Replacer URLStub.swift
[8/9] Compiling Replacer URLStubProtocol.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/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/TestReplacer/XCTest+.swift:16:78: error: ambiguous use of 'tearDown'
        let tearDown = class_getInstanceMethod(XCTest.self, #selector(XCTest.tearDown))!
                                                                             ^
XCTest.XCTest:18:15: note: found this candidate
    open func tearDown()
              ^
XCTest.XCTest:20:15: note: found this candidate
    open func tearDown(completion: @escaping ((any Error)?) -> Void)
              ^
[11/11] Compiling TestReplacer XCTest+.swift
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/TestReplacer/XCTest+.swift:16:78: error: ambiguous use of 'tearDown'
        let tearDown = class_getInstanceMethod(XCTest.self, #selector(XCTest.tearDown))!
                                                                             ^
XCTest.XCTest:18:15: note: found this candidate
    open func tearDown()
              ^
XCTest.XCTest:20:15: note: found this candidate
    open func tearDown(completion: @escaping ((any Error)?) -> Void)
              ^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/TestReplacer/XCTest+.swift:16:78: error: ambiguous use of 'tearDown'
        let tearDown = class_getInstanceMethod(XCTest.self, #selector(XCTest.tearDown))!
                                                                             ^
XCTest.XCTest:18:15: note: found this candidate
    open func tearDown()
              ^
XCTest.XCTest:20:15: note: found this candidate
    open func tearDown(completion: @escaping ((any Error)?) -> Void)
              ^
error: fatalError
Fetching https://github.com/Alamofire/Alamofire.git from cache
Fetched https://github.com/Alamofire/Alamofire.git from cache (0.22s)
Computing version for https://github.com/Alamofire/Alamofire.git
Computed https://github.com/Alamofire/Alamofire.git at 4.9.1 (0.02s)
Creating working copy for https://github.com/Alamofire/Alamofire.git
Working copy of https://github.com/Alamofire/Alamofire.git resolved at 4.9.1
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version--423B1241ED78D482.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/3] Emitting module TestReplacer
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/TestReplacer/XCTest+.swift:16:78: error: ambiguous use of 'tearDown'
        let tearDown = class_getInstanceMethod(XCTest.self, #selector(XCTest.tearDown))!
                                                                             ^
XCTest.XCTest:18:15: note: found this candidate
    open func tearDown()
              ^
XCTest.XCTest:20:15: note: found this candidate
    open func tearDown(completion: @escaping ((any Error)?) -> Void)
              ^
[3/3] Compiling TestReplacer XCTest+.swift
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/TestReplacer/XCTest+.swift:16:78: error: ambiguous use of 'tearDown'
        let tearDown = class_getInstanceMethod(XCTest.self, #selector(XCTest.tearDown))!
                                                                             ^
XCTest.XCTest:18:15: note: found this candidate
    open func tearDown()
              ^
XCTest.XCTest:20:15: note: found this candidate
    open func tearDown(completion: @escaping ((any Error)?) -> Void)
              ^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/TestReplacer/XCTest+.swift:16:78: error: ambiguous use of 'tearDown'
        let tearDown = class_getInstanceMethod(XCTest.self, #selector(XCTest.tearDown))!
                                                                             ^
XCTest.XCTest:18:15: note: found this candidate
    open func tearDown()
              ^
XCTest.XCTest:20:15: note: found this candidate
    open func tearDown(completion: @escaping ((any Error)?) -> Void)
              ^
error: fatalError
BUILD FAILURE 5.10 macosSpm

Build Machine: Mac 7