Build Information
Failed to build DangerSwiftPeriphery, reference main (247641), with Swift 6.3 for Wasm on 14 Apr 2026 14:57:19 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/taji-taji/DangerSwiftPeriphery.git
Reference: main
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/taji-taji/DangerSwiftPeriphery
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 2476413 Merge pull request #71 from taji-taji/release/1.4.1
Cloned https://github.com/taji-taji/DangerSwiftPeriphery.git
Revision (git rev-parse @):
2476413ea55b828784dc742a64ca7dfe88131904
SUCCESS checkout https://github.com/taji-taji/DangerSwiftPeriphery.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.3
Building package at path: $PWD
https://github.com/taji-taji/DangerSwiftPeriphery.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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/taji-taji/swift-shell.git
Fetching https://github.com/peripheryapp/periphery
Fetching https://github.com/danger/swift.git
[1/148] Fetching swift-shell
[149/10497] Fetching swift-shell, swift
Fetched https://github.com/taji-taji/swift-shell.git from cache (0.30s)
[725/10349] Fetching swift
[829/25435] Fetching swift, periphery
Fetched https://github.com/danger/swift.git from cache (0.64s)
[9806/15086] Fetching periphery
Fetched https://github.com/peripheryapp/periphery from cache (2.63s)
Computing version for https://github.com/taji-taji/swift-shell.git
Computed https://github.com/taji-taji/swift-shell.git at 1.0.2 (4.79s)
Computing version for https://github.com/danger/swift.git
Computed https://github.com/danger/swift.git at 3.22.1 (0.40s)
Fetching https://github.com/mxcl/Version
Fetching https://github.com/nerdishbynature/octokit.swift
Fetching https://github.com/shibapm/Logger
[1/116] Fetching logger
[104/409] Fetching logger, version
[410/5409] Fetching logger, version, octokit.swift
Fetched https://github.com/shibapm/Logger from cache (0.34s)
Fetched https://github.com/mxcl/Version from cache (0.35s)
Fetched https://github.com/nerdishbynature/octokit.swift from cache (0.35s)
Computing version for https://github.com/nerdishbynature/octokit.swift
Computed https://github.com/nerdishbynature/octokit.swift at 0.14.0 (0.76s)
Fetching https://github.com/nerdishbynature/RequestKit.git
[1/1554] Fetching requestkit
Fetched https://github.com/nerdishbynature/RequestKit.git from cache (0.28s)
Computing version for https://github.com/nerdishbynature/RequestKit.git
Computed https://github.com/nerdishbynature/RequestKit.git at 3.3.0 (0.75s)
Computing version for https://github.com/mxcl/Version
Computed https://github.com/mxcl/Version at 2.2.0 (0.46s)
Computing version for https://github.com/shibapm/Logger
Computed https://github.com/shibapm/Logger at 0.2.3 (2.12s)
Computing version for https://github.com/peripheryapp/periphery
Computed https://github.com/peripheryapp/periphery at 2.21.2 (0.46s)
Fetching https://github.com/ileitch/swift-filename-matcher
Fetching https://github.com/kateinoigakukun/swift-indexstore
Fetching https://github.com/apple/swift-system
Fetching https://github.com/apple/swift-syntax
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/tadija/AEXML
[1/17523] Fetching swift-argument-parser
[527/17853] Fetching swift-argument-parser, swift-indexstore
[537/17916] Fetching swift-argument-parser, swift-indexstore, swift-filename-matcher
[2147/23517] Fetching swift-argument-parser, swift-indexstore, swift-filename-matcher, swift-system
[2785/25672] Fetching swift-argument-parser, swift-indexstore, swift-filename-matcher, swift-system, aexml
[25673/100644] Fetching swift-argument-parser, swift-indexstore, swift-filename-matcher, swift-system, aexml, swift-syntax
Fetched https://github.com/tadija/AEXML from cache (1.14s)
[31764/98489] Fetching swift-argument-parser, swift-indexstore, swift-filename-matcher, swift-system, swift-syntax
Fetching https://github.com/jpsim/Yams
Fetched https://github.com/apple/swift-argument-parser from cache (1.17s)
[14991/80966] Fetching swift-indexstore, swift-filename-matcher, swift-system, swift-syntax
[20240/92517] Fetching swift-indexstore, swift-filename-matcher, swift-system, swift-syntax, yams
Fetched https://github.com/jpsim/Yams from cache (2.06s)
[80966/80966] Fetching swift-indexstore, swift-filename-matcher, swift-system, swift-syntax
Fetched https://github.com/ileitch/swift-filename-matcher from cache (8.82s)
Fetched https://github.com/kateinoigakukun/swift-indexstore from cache (8.82s)
Fetched https://github.com/apple/swift-system from cache (8.82s)
Fetched https://github.com/apple/swift-syntax from cache (8.89s)
Computing version for https://github.com/apple/swift-syntax
Computed https://github.com/apple/swift-syntax at 600.0.1 (9.57s)
Computing version for https://github.com/ileitch/swift-filename-matcher
Computed https://github.com/ileitch/swift-filename-matcher at 0.1.2 (0.38s)
Computing version for https://github.com/kateinoigakukun/swift-indexstore
Computed https://github.com/kateinoigakukun/swift-indexstore at 0.5.0 (0.35s)
Computing version for https://github.com/jpsim/Yams
Computed https://github.com/jpsim/Yams at 5.4.0 (0.40s)
Computing version for https://github.com/tadija/AEXML
Computed https://github.com/tadija/AEXML at 4.7.0 (0.34s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.6.4 (0.41s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.7.1 (0.39s)
Creating working copy for https://github.com/jpsim/Yams
Working copy of https://github.com/jpsim/Yams resolved at 5.4.0
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/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.7.1
Creating working copy for https://github.com/tadija/AEXML
Working copy of https://github.com/tadija/AEXML resolved at 4.7.0
Creating working copy for https://github.com/mxcl/Version
Working copy of https://github.com/mxcl/Version resolved at 2.2.0
Creating working copy for https://github.com/peripheryapp/periphery
Working copy of https://github.com/peripheryapp/periphery resolved at 2.21.2
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/kateinoigakukun/swift-indexstore
Working copy of https://github.com/kateinoigakukun/swift-indexstore resolved at 0.5.0
Creating working copy for https://github.com/ileitch/swift-filename-matcher
Working copy of https://github.com/ileitch/swift-filename-matcher resolved at 0.1.2
Creating working copy for https://github.com/taji-taji/swift-shell.git
Working copy of https://github.com/taji-taji/swift-shell.git resolved at 1.0.2
Creating working copy for https://github.com/apple/swift-syntax
Working copy of https://github.com/apple/swift-syntax resolved at 600.0.1
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.6.4
Creating working copy for https://github.com/nerdishbynature/RequestKit.git
Working copy of https://github.com/nerdishbynature/RequestKit.git resolved at 3.3.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
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/62] Write sources
[12/62] Compiling _CIndexStore dummy.c
[13/62] Compiling _SwiftSyntaxCShims dummy.c
[14/62] Write sources
[24/62] Compiling CSystem shims.c
[25/62] Write sources
[28/62] Write swift-version-24593BA9C3E375BF.txt
[29/62] Compiling writer.c
[30/62] Compiling reader.c
[31/99] Compiling parser.c
[32/99] Compiling emitter.c
[34/99] Emitting module SwiftSyntax600
[34/99] Compiling api.c
[35/116] Compiling scanner.c
[37/118] Emitting module SystemPackage
[38/122] Emitting module SwiftShell
[39/122] Emitting module SwiftSyntax509
[40/122] Compiling SwiftSyntax509 Empty.swift
[42/123] Compiling SwiftSyntax600 Empty.swift
[43/124] Compiling SwiftIndexStore OptionSetDisplayable.swift
[44/132] Compiling SystemPackage FilePathWindows.swift
[45/132] Compiling SystemPackage FilePermissions.swift
[46/132] Compiling SystemPackage IOCompletion.swift
[47/132] Compiling SystemPackage IORequest.swift
[49/137] Emitting module SwiftSyntax510
[50/145] Compiling SwiftSyntax510 Empty.swift
[51/146] Compiling SystemPackage SystemString.swift
[52/146] Compiling SystemPackage Util+StringArray.swift
[53/146] Compiling SystemPackage Util.swift
[54/146] Compiling SystemPackage UtilConsumers.swift
[56/146] Compiling Yams Node.Mapping.swift
[57/146] Compiling Yams Decoder.swift
[58/146] Compiling Yams Emitter.swift
[59/146] Compiling Yams Encoder.swift
[60/146] Compiling Yams Tag.swift
[61/146] Compiling Yams AliasDereferencingStrategy.swift
[62/146] Compiling Yams Anchor.swift
[63/146] Compiling Yams Constructor.swift
[64/146] Compiling Yams Mark.swift
[65/146] Compiling Yams Node.Alias.swift
[66/146] Compiling SwiftIndexStore IndexStoreUnit.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[69/150] 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
[70/150] Compiling Yams YamlAnchorProviding.swift
[71/150] Compiling Yams Parser.swift
[72/150] Compiling Yams RedundancyAliasingStrategy.swift
[73/150] Compiling Yams Representer.swift
[74/150] Compiling Yams String+Yams.swift
[75/150] Compiling SystemPackage RawIORequest.swift
[76/150] Compiling SystemPackage Backcompat.swift
[77/150] Compiling SystemPackage CInterop.swift
[78/150] Compiling SystemPackage Constants.swift
[79/150] Compiling SystemPackage Exports.swift
[80/150] Compiling SystemPackage Mocking.swift
[81/150] Compiling SystemPackage RawBuffer.swift
[82/150] Compiling SystemPackage Syscalls.swift
[83/150] Compiling SystemPackage WindowsSyscallAdapters.swift
[84/150] Compiling SystemPackage MachPort.swift
[85/150] Compiling SystemPackage PlatformString.swift
[87/151] 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]
[88/151] Compiling SwiftIndexStore LibIndexStore.swift
/host/spi-builder-workspace/.build/checkouts/swift-indexstore/Sources/SwiftIndexStore/LibIndexStore.swift:24:21: error: cannot find 'RTLD_LAZY' in scope
22 | typealias Dylib = UnsafeMutableRawPointer
23 |
24 | var flags = RTLD_LAZY | RTLD_LOCAL
| `- error: cannot find 'RTLD_LAZY' in scope
25 |
26 | #if os(macOS)
/host/spi-builder-workspace/.build/checkouts/swift-indexstore/Sources/SwiftIndexStore/LibIndexStore.swift:24:33: error: cannot find 'RTLD_LOCAL' in scope
22 | typealias Dylib = UnsafeMutableRawPointer
23 |
24 | var flags = RTLD_LAZY | RTLD_LOCAL
| `- error: cannot find 'RTLD_LOCAL' in scope
25 |
26 | #if os(macOS)
/host/spi-builder-workspace/.build/checkouts/swift-indexstore/Sources/SwiftIndexStore/LibIndexStore.swift:30:21: error: cannot find 'dlopen' in scope
28 | #endif
29 |
30 | let dylib = dlopen(url.path, flags)!
| `- error: cannot find 'dlopen' in scope
31 | var api = indexstore_functions_t()
32 | func requireSym<T>(_ dylib: Dylib, _ symbol: String) throws -> T {
/host/spi-builder-workspace/.build/checkouts/swift-indexstore/Sources/SwiftIndexStore/LibIndexStore.swift:33:29: error: cannot find 'dlsym' in scope
31 | var api = indexstore_functions_t()
32 | func requireSym<T>(_ dylib: Dylib, _ symbol: String) throws -> T {
33 | guard let sym = dlsym(dylib, symbol) else {
| `- error: cannot find 'dlsym' in scope
34 | throw IndexStoreError.missingSymbol(symbol)
35 | }
/host/spi-builder-workspace/.build/checkouts/swift-indexstore/Sources/SwiftIndexStore/LibIndexStore.swift:91:32: error: cannot find 'Process' in scope
89 |
90 | public static func linuxSwiftDir() throws -> URL {
91 | let (binPath, _) = try Process.exec(bin: "/usr/bin/which", arguments: ["swift"])
| `- error: cannot find 'Process' in scope
92 | return URL(
93 | fileURLWithPath: binPath
/host/spi-builder-workspace/.build/checkouts/swift-indexstore/Sources/SwiftIndexStore/LibIndexStore.swift:100:38: error: cannot find 'Process' in scope
98 |
99 | private static func macOSDeveloperDir() throws -> URL {
100 | var (stdoutContent, _) = try Process.exec(
| `- error: cannot find 'Process' in scope
101 | bin: "/usr/bin/xcode-select",
102 | arguments: ["--print-path"]
[89/151] Emitting module Logger
/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:7:82: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
5 |
6 | public protocol RequestKitURLSession {
7 | func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Swift.Void) -> URLSessionDataTaskProtocol
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
8 | func uploadTask(with request: URLRequest, fromData bodyData: Data?, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTaskProtocol
9 |
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/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:8:110: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
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: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
9 |
10 | #if compiler(>=5.5.2) && canImport(_Concurrency)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/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:12:98: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
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: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |
14 | @available(macOS 12.0, iOS 15.0, tvOS 15.0, watchOS 8.0, *)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/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/RequestKitSession.swift:15:121: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
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: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 | #endif
17 | }
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/RequestKitSession.swift:23:1: error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended [#NominalTypes]
21 | }
22 |
23 | extension URLSessionDataTask: URLSessionDataTaskProtocol {}
| `- error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended [#NominalTypes]
24 |
25 | extension URLSession: RequestKitURLSession {
BUILD FAILURE 6.3 wasm