The Swift Package Index logo.Swift Package Index

Build Information

Failed to build DangerSwiftCoverage, reference 1.2.1 (6a21a6), with Swift 6.3 for Wasm on 11 Apr 2026 20:35:04 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/f-meloni/danger-swift-coverage.git
Reference: 1.2.1
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/f-meloni/danger-swift-coverage
 * tag               1.2.1      -> FETCH_HEAD
HEAD is now at 6a21a6e Version 1.2.1
Cloned https://github.com/f-meloni/danger-swift-coverage.git
Revision (git rev-parse @):
6a21a6e595e2b13443428942ce128b3ba6b827ee
SUCCESS checkout https://github.com/f-meloni/danger-swift-coverage.git at 1.2.1
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/f-meloni/danger-swift-coverage.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d69f4e7582c319245442d62a08b2d7c7fd5a0c0c69f5d2ef11d1530cd8d3329b
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest
Fetching https://github.com/danger/swift.git
[1/10349] Fetching swift
Fetched https://github.com/danger/swift.git from cache (0.62s)
Computing version for https://github.com/danger/swift.git
Computed https://github.com/danger/swift.git at 3.22.1 (1.22s)
Fetching https://github.com/nerdishbynature/octokit.swift
Fetching https://github.com/mxcl/Version
Fetching https://github.com/shibapm/Logger
[1/116] Fetching logger
[91/5116] Fetching logger, octokit.swift
Fetched https://github.com/shibapm/Logger from cache (0.30s)
[3100/5000] Fetching octokit.swift
[5001/5293] Fetching octokit.swift, version
Fetched https://github.com/nerdishbynature/octokit.swift from cache (0.46s)
[21/293] Fetching version
Fetched https://github.com/mxcl/Version from cache (0.55s)
Computing version for https://github.com/nerdishbynature/octokit.swift
Computed https://github.com/nerdishbynature/octokit.swift at 0.14.0 (1.05s)
Fetching https://github.com/nerdishbynature/RequestKit.git
[1/1554] Fetching requestkit
Fetched https://github.com/nerdishbynature/RequestKit.git from cache (0.34s)
Computing version for https://github.com/nerdishbynature/RequestKit.git
Computed https://github.com/nerdishbynature/RequestKit.git at 3.3.0 (0.85s)
Computing version for https://github.com/mxcl/Version
Computed https://github.com/mxcl/Version at 2.2.0 (0.54s)
Computing version for https://github.com/shibapm/Logger
Computed https://github.com/shibapm/Logger at 0.2.3 (3.54s)
Creating working copy for https://github.com/danger/swift.git
Working copy of https://github.com/danger/swift.git resolved at 3.22.1
Creating working copy for https://github.com/nerdishbynature/octokit.swift
Working copy of https://github.com/nerdishbynature/octokit.swift resolved at 0.14.0
Creating working copy for https://github.com/shibapm/Logger
Working copy of https://github.com/shibapm/Logger resolved at 0.2.3
Creating working copy for https://github.com/nerdishbynature/RequestKit.git
Working copy of https://github.com/nerdishbynature/RequestKit.git resolved at 3.3.0
Creating working copy for https://github.com/mxcl/Version
Working copy of https://github.com/mxcl/Version resolved at 2.2.0
warning: 'octokit.swift': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/.build/checkouts/octokit.swift/OctoKit/Info.plist
Building for debugging...
[0/7] Write sources
[6/7] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/15] Emitting module DangerShellExecutor
/host/spi-builder-workspace/.build/checkouts/swift/Sources/DangerShellExecutor/ShellExecutor.swift:58:31: error: cannot find 'DispatchQueue' in scope
 56 | public struct ShellExecutor: ShellExecuting {
 57 |     /// Queue used to concurrently listen to both stdout and stderr
 58 |     private let outputQueue = DispatchQueue(label: "ShellExecutor.outputQueue", attributes: .concurrent)
    |                               `- error: cannot find 'DispatchQueue' in scope
 59 |
 60 |     public init() {}
/host/spi-builder-workspace/.build/checkouts/swift/Sources/DangerShellExecutor/ShellExecutor.swift:58:94: error: cannot infer contextual base in reference to member 'concurrent'
 56 | public struct ShellExecutor: ShellExecuting {
 57 |     /// Queue used to concurrently listen to both stdout and stderr
 58 |     private let outputQueue = DispatchQueue(label: "ShellExecutor.outputQueue", attributes: .concurrent)
    |                                                                                              `- error: cannot infer contextual base in reference to member 'concurrent'
 59 |
 60 |     public init() {}
/host/spi-builder-workspace/.build/checkouts/swift/Sources/DangerShellExecutor/ShellExecutor.swift:142:51: error: cannot find type 'Process' in scope
140 |                           with arguments: [String],
141 |                           environmentVariables: [String: String],
142 |                           outputFile: String?) -> Process
    |                                                   `- error: cannot find type 'Process' in scope
143 |     {
144 |         let scriptOutputFile: String
[9/15] Compiling DangerShellExecutor ShellExecutor.swift
/host/spi-builder-workspace/.build/checkouts/swift/Sources/DangerShellExecutor/ShellExecutor.swift:58:31: error: cannot find 'DispatchQueue' in scope
 56 | public struct ShellExecutor: ShellExecuting {
 57 |     /// Queue used to concurrently listen to both stdout and stderr
 58 |     private let outputQueue = DispatchQueue(label: "ShellExecutor.outputQueue", attributes: .concurrent)
    |                               `- error: cannot find 'DispatchQueue' in scope
 59 |
 60 |     public init() {}
/host/spi-builder-workspace/.build/checkouts/swift/Sources/DangerShellExecutor/ShellExecutor.swift:58:94: error: cannot infer contextual base in reference to member 'concurrent'
 56 | public struct ShellExecutor: ShellExecuting {
 57 |     /// Queue used to concurrently listen to both stdout and stderr
 58 |     private let outputQueue = DispatchQueue(label: "ShellExecutor.outputQueue", attributes: .concurrent)
    |                                                                                              `- error: cannot infer contextual base in reference to member 'concurrent'
 59 |
 60 |     public init() {}
/host/spi-builder-workspace/.build/checkouts/swift/Sources/DangerShellExecutor/ShellExecutor.swift:142:51: error: cannot find type 'Process' in scope
140 |                           with arguments: [String],
141 |                           environmentVariables: [String: String],
142 |                           outputFile: String?) -> Process
    |                                                   `- error: cannot find type 'Process' in scope
143 |     {
144 |         let scriptOutputFile: String
/host/spi-builder-workspace/.build/checkouts/swift/Sources/DangerShellExecutor/ShellExecutor.swift:105:21: error: cannot find 'DispatchGroup' in scope
103 |         try task.run()
104 |
105 |         let group = DispatchGroup()
    |                     `- error: cannot find 'DispatchGroup' in scope
106 |
107 |         var stdoutString: String!
/host/spi-builder-workspace/.build/checkouts/swift/Sources/DangerShellExecutor/ShellExecutor.swift:110:47: error: cannot infer contextual base in reference to member 'userInitiated'
108 |         var stderrData: Data!
109 |
110 |         outputQueue.async(group: group, qos: .userInitiated) {
    |                                               `- error: cannot infer contextual base in reference to member 'userInitiated'
111 |             // Pull out the STDOUT as a string because we'll need that regardless
112 |             let stdoutData = stdout.fileHandleForReading.readDataToEndOfFile()
/host/spi-builder-workspace/.build/checkouts/swift/Sources/DangerShellExecutor/ShellExecutor.swift:116:47: error: cannot infer contextual base in reference to member 'userInitiated'
114 |         }
115 |
116 |         outputQueue.async(group: group, qos: .userInitiated) {
    |                                               `- error: cannot infer contextual base in reference to member 'userInitiated'
117 |             // Read from STDERR to ensure the `Pipe` does not fill up
118 |             stderrData = stderr.fileHandleForReading.readDataToEndOfFile()
/host/spi-builder-workspace/.build/checkouts/swift/Sources/DangerShellExecutor/ShellExecutor.swift:154:20: error: cannot find 'Process' in scope
152 |         let script = "\(command) \(arguments.joined(separator: " "))" + scriptOutputFile
153 |
154 |         let task = Process()
    |                    `- error: cannot find 'Process' in scope
155 |         task.executableURL = URL(fileURLWithPath: "/bin/sh")
156 |         task.arguments = ["-c", script]
[10/15] Emitting module Logger
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:60:80: error: cannot find type 'URLRequest' in scope
 58 |
 59 |     func urlQuery(_ parameters: [String: Any]) -> [URLQueryItem]?
 60 |     func request(_ urlComponents: URLComponents, parameters: [String: Any]) -> URLRequest?
    |                                                                                `- error: cannot find type 'URLRequest' in scope
 61 |     func loadJSON<T: Decodable>(_ session: RequestKitURLSession, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
 62 |     func load<T: Decodable>(_ session: RequestKitURLSession, dateDecodingStrategy: JSONDecoder.DateDecodingStrategy?, expectedResultType: T.Type,
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/RequestKitSession.swift:7:33: error: cannot find type 'URLRequest' in scope
 5 |
 6 | public protocol RequestKitURLSession {
 7 |     func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Swift.Void) -> URLSessionDataTaskProtocol
   |                                 `- error: cannot find type 'URLRequest' in scope
 8 |     func uploadTask(with request: URLRequest, fromData bodyData: Data?, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTaskProtocol
 9 |
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/RequestKitSession.swift:8:35: error: cannot find type 'URLRequest' in scope
 6 | public protocol RequestKitURLSession {
 7 |     func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Swift.Void) -> URLSessionDataTaskProtocol
 8 |     func uploadTask(with request: URLRequest, fromData bodyData: Data?, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTaskProtocol
   |                                   `- error: cannot find type 'URLRequest' in scope
 9 |
10 |     #if compiler(>=5.5.2) && canImport(_Concurrency)
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/RequestKitSession.swift:12:28: error: cannot find type 'URLRequest' in scope
10 |     #if compiler(>=5.5.2) && canImport(_Concurrency)
11 |     @available(macOS 12.0, iOS 15.0, tvOS 15.0, watchOS 8.0, *)
12 |     func data(for request: URLRequest, delegate: URLSessionTaskDelegate?) async throws -> (Data, URLResponse)
   |                            `- error: cannot find type 'URLRequest' in scope
13 |
14 |     @available(macOS 12.0, iOS 15.0, tvOS 15.0, watchOS 8.0, *)
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/RequestKitSession.swift:12:50: error: cannot find type 'URLSessionTaskDelegate' in scope
10 |     #if compiler(>=5.5.2) && canImport(_Concurrency)
11 |     @available(macOS 12.0, iOS 15.0, tvOS 15.0, watchOS 8.0, *)
12 |     func data(for request: URLRequest, delegate: URLSessionTaskDelegate?) async throws -> (Data, URLResponse)
   |                                                  `- error: cannot find type 'URLSessionTaskDelegate' in scope
13 |
14 |     @available(macOS 12.0, iOS 15.0, tvOS 15.0, watchOS 8.0, *)
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/RequestKitSession.swift:15:30: error: cannot find type 'URLRequest' in scope
13 |
14 |     @available(macOS 12.0, iOS 15.0, tvOS 15.0, watchOS 8.0, *)
15 |     func upload(for request: URLRequest, from bodyData: Data, delegate: URLSessionTaskDelegate?) async throws -> (Data, URLResponse)
   |                              `- error: cannot find type 'URLRequest' in scope
16 |     #endif
17 | }
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/RequestKitSession.swift:15:73: error: cannot find type 'URLSessionTaskDelegate' in scope
13 |
14 |     @available(macOS 12.0, iOS 15.0, tvOS 15.0, watchOS 8.0, *)
15 |     func upload(for request: URLRequest, from bodyData: Data, delegate: URLSessionTaskDelegate?) async throws -> (Data, URLResponse)
   |                                                                         `- error: cannot find type 'URLSessionTaskDelegate' in scope
16 |     #endif
17 | }
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:66:23: error: cannot find type 'URLRequest' in scope
 64 |     func load<T: Decodable>(_ session: RequestKitURLSession, decoder: JSONDecoder, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void)
 65 |         -> URLSessionDataTaskProtocol?
 66 |     func request() -> URLRequest?
    |                       `- error: cannot find type 'URLRequest' in scope
 67 |
 68 |     #if compiler(>=5.5.2) && canImport(_Concurrency)
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:79:23: error: cannot find type 'URLRequest' in scope
 77 |
 78 | public extension Router {
 79 |     func request() -> URLRequest? {
    |                       `- error: cannot find type 'URLRequest' in scope
 80 |         let url = URL(string: path, relativeTo: URL(string: configuration.apiEndpoint)!)
 81 |         var parameters = encoding == .json ? [:] : params
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:133:80: error: cannot find type 'URLRequest' in scope
131 |     }
132 |
133 |     func request(_ urlComponents: URLComponents, parameters: [String: Any]) -> URLRequest? {
    |                                                                                `- error: cannot find type 'URLRequest' in scope
134 |         var urlComponents = urlComponents
135 |         urlComponents.percentEncodedQuery = urlQuery(parameters)?.map { [$0.name, $0.value ?? ""].joined(separator: "=") }.joined(separator: "&")
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:154:78: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
152 |
153 |     @available(*, deprecated, message: "Plase use `load` method instead")
154 |     func loadJSON<T: Decodable>(_ session: RequestKitURLSession = URLSession.shared, expectedResultType: T.Type,
    |                                                                              `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
155 |                                 completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
156 |     {
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:160:74: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
158 |     }
159 |
160 |     func load<T: Decodable>(_ session: RequestKitURLSession = URLSession.shared, dateDecodingStrategy: JSONDecoder.DateDecodingStrategy?, expectedResultType: T.Type,
    |                                                                          `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
161 |                             completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
162 |     {
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:170:74: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
168 |     }
169 |
170 |     func load<T: Decodable>(_ session: RequestKitURLSession = URLSession.shared, decoder: JSONDecoder = JSONDecoder(), expectedResultType _: T.Type,
    |                                                                          `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
171 |                             completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
172 |     {
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:207:60: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
205 |     }
206 |
207 |     func load(_ session: RequestKitURLSession = URLSession.shared, completion: @escaping (_ error: Error?) -> Void) -> URLSessionDataTaskProtocol? {
    |                                                            `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
208 |         guard let request = request() else {
209 |             return nil
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:235:74: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
233 | @available(macOS 12.0, iOS 15.0, tvOS 15.0, watchOS 8.0, *)
234 | public extension Router {
235 |     func load<T: Decodable>(_ session: RequestKitURLSession = URLSession.shared, decoder: JSONDecoder = JSONDecoder(), expectedResultType _: T.Type) async throws -> T {
    |                                                                          `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
236 |         guard let request = request() else {
237 |             throw NSError(domain: configuration.errorDomain, code: -876, userInfo: nil)
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:255:74: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
253 |     }
254 |
255 |     func load<T: Decodable>(_ session: RequestKitURLSession = URLSession.shared, dateDecodingStrategy: JSONDecoder.DateDecodingStrategy?, expectedResultType: T.Type) async throws -> T {
    |                                                                          `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
256 |         let decoder = JSONDecoder()
257 |         if let dateDecodingStrategy = dateDecodingStrategy {
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:263:60: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
261 |     }
262 |
263 |     func load(_ session: RequestKitURLSession = URLSession.shared) async throws {
    |                                                            `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
264 |         guard let request = request() else {
265 |             throw NSError(domain: configuration.errorDomain, code: -876, userInfo: nil)
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:294:8: error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended [#NominalTypes]
292 | }
293 |
294 | public extension HTTPURLResponse {
    |        `- error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended [#NominalTypes]
295 |     var wasSuccessful: Bool {
296 |         let successRange = 200 ..< 300
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:139:37: error: cannot find 'URLRequest' in scope
137 |         switch encoding {
138 |         case .url, .json:
139 |             var mutableURLRequest = URLRequest(url: url)
    |                                     `- error: cannot find 'URLRequest' in scope
140 |             mutableURLRequest.httpMethod = method.rawValue
141 |             return mutableURLRequest
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:145:37: error: cannot find 'URLRequest' in scope
143 |             let queryData = urlComponents.percentEncodedQuery?.data(using: String.Encoding.utf8)
144 |             urlComponents.queryItems = nil // clear the query items as they go into the body
145 |             var mutableURLRequest = URLRequest(url: urlComponents.url!)
    |                                     `- error: cannot find 'URLRequest' in scope
146 |             mutableURLRequest.setValue("application/x-www-form-urlencoded", forHTTPHeaderField: "content-type")
147 |             mutableURLRequest.httpBody = queryData
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:149:41: error: cannot find type 'URLRequest' in scope
147 |             mutableURLRequest.httpBody = queryData
148 |             mutableURLRequest.httpMethod = method.rawValue
149 |             return mutableURLRequest as URLRequest
    |                                         `- error: cannot find type 'URLRequest' in scope
150 |         }
151 |     }
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:179:29: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'wasSuccessful'
177 |         let task = session.dataTask(with: request) { data, response, err in
178 |             if let response = response as? HTTPURLResponse {
179 |                 if response.wasSuccessful == false {
    |                             `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'wasSuccessful'
180 |                     var userInfo = [String: Any]()
181 |                     if let data = data, let json = try? JSONSerialization.jsonObject(with: data, options: .mutableContainers) as? [String: Any] {
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:214:29: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'wasSuccessful'
212 |         let task = session.dataTask(with: request) { data, response, err in
213 |             if let response = response as? HTTPURLResponse {
214 |                 if response.wasSuccessful == false {
    |                             `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'wasSuccessful'
215 |                     var userInfo = [String: Any]()
216 |                     if let data = data, let json = try? JSONSerialization.jsonObject(with: data, options: .mutableContainers) as? [String: Any] {
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:240:76: error: 'nil' requires a contextual type
238 |         }
239 |
240 |         let responseTuple = try await session.data(for: request, delegate: nil)
    |                                                                            `- error: 'nil' requires a contextual type
241 |
242 |         if let response = responseTuple.1 as? HTTPURLResponse {
BUILD FAILURE 6.3 wasm