Build Information
Failed to build Replacer with Swift 5.9 for macOS (SPM).
Build Command
env DEVELOPER_DIR="/Applications/Xcode-15.0.0-Beta.app" xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.19.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/TDmZkXJm/2/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 into spi-builder-workspace
2042d67080e9de57673f8bdf25788510377f975e
SUCCESS checkout https://github.com/tattn/Replacer.git at 0.1.0
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.9
Building package at path: spi-builder-workspace
Running build ...
env DEVELOPER_DIR="/Applications/Xcode-15.0.0-Beta.app" xcrun swift build --arch arm64
Building ... (attempt 1)
Fetching https://github.com/Alamofire/Alamofire.git from cache
Fetched https://github.com/Alamofire/Alamofire.git (0.35s)
Computing version for https://github.com/Alamofire/Alamofire.git
Computed https://github.com/Alamofire/Alamofire.git at 4.9.1 (0.07s)
Creating working copy for https://github.com/Alamofire/Alamofire.git
Working copy of https://github.com/Alamofire/Alamofire.git resolved at 4.9.1
Building for debugging...
[1/6] Compiling Replacer URLStubProtocol.swift
[2/6] Compiling Replacer URLSessionConfiguration+.swift
[3/6] Compiling Replacer URLStub.swift
[4/6] Compiling Replacer Replacer.swift
[5/6] Emitting module Replacer
[6/6] Compiling Replacer URLStubManager.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/8] Emitting module TestReplacer
/Users/builder/builds/TDmZkXJm/2/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 (Error?) -> Void)
^
[8/8] Compiling TestReplacer XCTest+.swift
/Users/builder/builds/TDmZkXJm/2/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 (Error?) -> Void)
^
/Users/builder/builds/TDmZkXJm/2/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 (Error?) -> Void)
^
error: fatalError
Retrying in 0 seconds ...
Building ... (attempt 2)
[0/1] Planning build
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1/2] Emitting module TestReplacer
/Users/builder/builds/TDmZkXJm/2/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 (Error?) -> Void)
^
[2/2] Compiling TestReplacer XCTest+.swift
/Users/builder/builds/TDmZkXJm/2/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 (Error?) -> Void)
^
/Users/builder/builds/TDmZkXJm/2/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 (Error?) -> Void)
^
error: fatalError
Retrying in 0 seconds ...
BUILD FAILURE 5.9 macosSpm