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: master
Initialized empty Git repository in /Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/tattn/Replacer
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 2d6199d Merge pull request #5 from tattn/dependabot/bundler/tzinfo-1.2.10
Cloned https://github.com/tattn/Replacer.git
Revision (git rev-parse @):
2d6199d8e5200fa18a654ce0b111fdf976f34d8d
SUCCESS checkout https://github.com/tattn/Replacer.git at master
========================================
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 URLStub.swift
[5/9] Compiling Replacer URLStubManager.swift
[6/9] Compiling Replacer URLStubProtocol.swift
[7/9] Emitting module Replacer
[8/9] Compiling Replacer Replacer.swift
[9/9] Compiling Replacer URLSessionConfiguration+.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[10/11] Emitting module TestReplacer
/Users/builder/builds/UKfvDsi8u/0/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/0/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/0/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.26s)
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/0/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/0/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/0/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