Build Information
Failed to build EXIFKit, reference v0.4.0 (f5bfee), with Swift 6.4 for Wasm on 30 Oct 2026 09:59:16 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344845-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest swift build --swift-sdk swift-6.4.0-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/RuiNelson/EXIFKit.git
Reference: v0.4.0
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/RuiNelson/EXIFKit
* tag v0.4.0 -> FETCH_HEAD
HEAD is now at f5bfeea Add WebP support
Cloned https://github.com/RuiNelson/EXIFKit.git
Revision (git rev-parse @):
f5bfeea7ef20991984f36395d534f0b863d26fd0
SUCCESS checkout https://github.com/RuiNelson/EXIFKit.git at v0.4.0
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.4
Building package at path: $PWD
https://github.com/RuiNelson/EXIFKit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344845-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest swift build --swift-sdk swift-6.4.0-RELEASE_wasm 2>&1
wasm-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:0ad19d16955074ecc72bbe910025b19c4e4614184c1a48afc82660d4c7620121
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest
Fetching https://github.com/hummingbird-project/hummingbird.git
[1/28999] Fetching hummingbird
Fetched https://github.com/hummingbird-project/hummingbird.git (0.97s)
Computing version for https://github.com/hummingbird-project/hummingbird.git
Computed https://github.com/hummingbird-project/hummingbird.git at 2.28.0 (1.19s)
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/apple/swift-nio-http2.git
Fetching https://github.com/swift-server/async-http-client.git
Fetching https://github.com/apple/swift-metrics.git
Fetching https://github.com/apple/swift-nio-transport-services.git
[1/2867] Fetching swift-nio-transport-services
[116/6482] Fetching swift-nio-transport-services, swift-metrics
[6483/13192] Fetching swift-nio-transport-services, swift-metrics, swift-nio-extras
[13193/25511] Fetching swift-nio-transport-services, swift-metrics, swift-nio-extras, swift-nio-http2
Fetched https://github.com/apple/swift-nio-transport-services.git (0.58s)
[10941/22644] Fetching swift-metrics, swift-nio-extras, swift-nio-http2
Fetched https://github.com/apple/swift-nio-extras.git (0.58s)
[4355/15934] Fetching swift-metrics, swift-nio-http2
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-nio-ssl.git
[6203/18826] Fetching swift-metrics, swift-nio-http2, swift-service-lifecycle
[15625/35351] Fetching swift-metrics, swift-nio-http2, swift-service-lifecycle, async-http-client
Fetched https://github.com/apple/swift-nio-http2.git (1.01s)
Fetching https://github.com/apple/swift-http-types.git
[1/8381] Fetching swift-log
Fetched https://github.com/swift-server/swift-service-lifecycle.git (1.06s)
Fetched https://github.com/apple/swift-metrics.git (1.06s)
Fetched https://github.com/swift-server/async-http-client.git (1.07s)
Fetching https://github.com/apple/swift-configuration.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-distributed-tracing.git
[8382/25275] Fetching swift-log, swift-nio-ssl
Fetched https://github.com/apple/swift-log.git (0.62s)
Fetching https://github.com/apple/swift-collections.git
[676/16894] Fetching swift-nio-ssl
[4732/18855] Fetching swift-nio-ssl, swift-http-types
Fetched https://github.com/apple/swift-http-types.git (0.46s)
[9630/16894] Fetching swift-nio-ssl
Fetching https://github.com/apple/swift-async-algorithms.git
[10138/21068] Fetching swift-nio-ssl, swift-configuration
[17099/27765] Fetching swift-nio-ssl, swift-configuration, swift-distributed-tracing
Fetched https://github.com/apple/swift-configuration.git (0.57s)
[22721/23591] Fetching swift-nio-ssl, swift-distributed-tracing
Fetching https://github.com/apple/swift-atomics.git
Fetched https://github.com/apple/swift-distributed-tracing.git (0.64s)
[1/29375] Fetching swift-collections
[5876/36200] Fetching swift-collections, swift-async-algorithms
Fetched https://github.com/apple/swift-nio-ssl.git (1.35s)
[6559/122896] Fetching swift-collections, swift-async-algorithms, swift-nio
[7857/124789] Fetching swift-collections, swift-async-algorithms, swift-nio, swift-atomics
Fetched https://github.com/apple/swift-async-algorithms.git (0.58s)
[22399/117964] Fetching swift-collections, swift-nio, swift-atomics
Fetched https://github.com/apple/swift-atomics.git (0.46s)
[22240/116071] Fetching swift-collections, swift-nio
Fetched https://github.com/apple/swift-collections.git (1.27s)
[38147/86696] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git (4.18s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.8.0 (5.43s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.46.0 (0.16s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.37.5 (0.19s)
Computing version for https://github.com/apple/swift-distributed-tracing.git
Computed https://github.com/apple/swift-distributed-tracing.git at 1.7.3 (0.15s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.35.2 (0.97s)
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-asn1.git
[1/2051] Fetching swift-asn1
[678/3335] Fetching swift-asn1, swift-http-structured-headers
[1553/9494] Fetching swift-asn1, swift-http-structured-headers, swift-algorithms
[3167/17101] Fetching swift-asn1, swift-http-structured-headers, swift-algorithms, swift-certificates
Fetched https://github.com/apple/swift-algorithms.git (0.50s)
Fetched https://github.com/apple/swift-http-structured-headers.git (0.56s)
Fetched https://github.com/apple/swift-asn1.git (0.56s)
Fetched https://github.com/apple/swift-certificates.git (0.56s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (1.45s)
Fetching https://github.com/apple/swift-numerics.git
[1/6766] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git (0.53s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (0.69s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.13.0 (0.15s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.16.2 (0.16s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.14s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.104.0 (0.26s)
Fetching https://github.com/apple/swift-system.git
[1/7394] Fetching swift-system
Fetched https://github.com/apple/swift-system.git (0.67s)
Computing version for https://github.com/apple/swift-configuration.git
Computed https://github.com/apple/swift-configuration.git at 1.4.0 (0.88s)
Computing version for https://github.com/apple/swift-http-structured-headers.git
Computed https://github.com/apple/swift-http-structured-headers.git at 1.7.0 (0.15s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.13.0 (0.14s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.1.7 (0.18s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.5 (0.23s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.3 (0.18s)
Computing version for https://github.com/apple/swift-nio-transport-services.git
Computed https://github.com/apple/swift-nio-transport-services.git at 1.28.0 (0.16s)
Computing version for https://github.com/swift-server/async-http-client.git
Computed https://github.com/swift-server/async-http-client.git at 1.36.2 (0.17s)
Fetching https://github.com/apple/swift-service-context.git
[1/1546] Fetching swift-service-context
Fetched https://github.com/apple/swift-service-context.git (0.41s)
Computing version for https://github.com/apple/swift-service-context.git
Computed https://github.com/apple/swift-service-context.git at 1.5.1 (0.56s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.21.1 (0.21s)
Fetching https://github.com/apple/swift-crypto.git
[1/18859] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git (1.22s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.8.1 (1.41s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 5.0.3 (0.23s)
Creating working copy for https://github.com/apple/swift-distributed-tracing.git
Working copy of https://github.com/apple/swift-distributed-tracing.git resolved at 1.7.3
Creating working copy for https://github.com/swift-server/async-http-client.git
Working copy of https://github.com/swift-server/async-http-client.git resolved at 1.36.2
Creating working copy for https://github.com/apple/swift-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.21.1
Creating working copy for https://github.com/apple/swift-http-structured-headers.git
Working copy of https://github.com/apple/swift-http-structured-headers.git resolved at 1.7.0
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.104.0
Creating working copy for https://github.com/apple/swift-async-algorithms.git
Working copy of https://github.com/apple/swift-async-algorithms.git resolved at 1.1.7
Creating working copy for https://github.com/apple/swift-nio-transport-services.git
Working copy of https://github.com/apple/swift-nio-transport-services.git resolved at 1.28.0
Creating working copy for https://github.com/apple/swift-configuration.git
Working copy of https://github.com/apple/swift-configuration.git resolved at 1.4.0
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 5.0.3
Creating working copy for https://github.com/apple/swift-algorithms.git
Working copy of https://github.com/apple/swift-algorithms.git resolved at 1.2.1
Creating working copy for https://github.com/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.1.1
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.8.1
Creating working copy for https://github.com/hummingbird-project/hummingbird.git
Working copy of https://github.com/hummingbird-project/hummingbird.git resolved at 2.28.0
Creating working copy for https://github.com/apple/swift-service-context.git
Working copy of https://github.com/apple/swift-service-context.git resolved at 1.5.1
Creating working copy for https://github.com/apple/swift-http-types.git
Working copy of https://github.com/apple/swift-http-types.git resolved at 1.8.0
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.7.3
Creating working copy for https://github.com/apple/swift-metrics.git
Working copy of https://github.com/apple/swift-metrics.git resolved at 2.13.0
Creating working copy for https://github.com/apple/swift-nio-http2.git
Working copy of https://github.com/apple/swift-nio-http2.git resolved at 1.46.0
Creating working copy for https://github.com/apple/swift-nio-extras.git
Working copy of https://github.com/apple/swift-nio-extras.git resolved at 1.35.2
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.1
Creating working copy for https://github.com/apple/swift-nio-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 2.37.5
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.7.5
Creating working copy for https://github.com/swift-server/swift-service-lifecycle.git
Working copy of https://github.com/swift-server/swift-service-lifecycle.git resolved at 2.13.0
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.16.2
Building for debugging...
[Constructing description]
[Creating build graph]
[32 / 40] EXIFKit
error: SwiftCompile normal wasm32 failed with a nonzero exit code. Command line: cd /host
/host/spi-builder-workspace/Sources/EXIFKit/FileHandles/HTTP/HTTPFileHandle.swift:164:37: [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m162 |[0;0m }
[0;36m163 |[0;0m
[0;36m164 |[0;0m private func accept(_ response: [4;39mHTTPURLResponse[0;0m) async throws {
[0;36m|[0;0m `- [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m165 |[0;0m guard (200 ..< 300).contains(response.statusCode) else {
[0;36m166 |[0;0m throw invalidHTTPResponse(response, "HTTP write returned \(response.statusCode)")
Foundation.HTTPURLResponse:2:18: [1;39mnote: [1;39m'HTTPURLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias HTTPURLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'HTTPURLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/EXIFKit/FileHandles/HTTP/HTTPFileHandle.swift:182:79: [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m180 |[0;0m }
[0;36m181 |[0;0m
[0;36m182 |[0;0m private func upload(method: String, range: Range<UInt64>) async throws -> [4;39mHTTPURLResponse[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m183 |[0;0m try Task.checkCancellation()
[0;36m184 |[0;0m let bodyURL: URL
Foundation.HTTPURLResponse:2:18: [1;39mnote: [1;39m'HTTPURLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias HTTPURLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'HTTPURLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/EXIFKit/FileHandles/HTTP/HTTPFileHandle.swift:266:23: [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m264 |[0;0m let header: String
[0;36m265 |[0;0m let value: String
[0;36m266 |[0;0m init?(_ response: [4;39mHTTPURLResponse[0;0m) {
[0;36m|[0;0m `- [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m267 |[0;0m if let etag = response.value(forHTTPHeaderField: "ETag"), !etag.hasPrefix("W/") {
[0;36m268 |[0;0m header = "ETag"
Foundation.HTTPURLResponse:2:18: [1;39mnote: [1;39m'HTTPURLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias HTTPURLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'HTTPURLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/EXIFKit/FileHandles/HTTP/HTTPFileHandle.swift:283:19: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m281 |[0;0m let size: UInt64
[0;36m282 |[0;0m let validator: HTTPValidator?
[0;36m283 |[0;0m let response: [4;39mURLResponse[0;0m
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m284 |[0;0m }
[0;36m285 |[0;0m
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/EXIFKit/FileHandles/HTTP/HTTPFileHandle.swift:283:9: [1;31merror: [1;39mstored property 'response' of 'Sendable'-conforming struct 'HTTPRangeResponse' has non-Sendable type 'AnyObject'[0;0m
[0;36m281 |[0;0m let size: UInt64
[0;36m282 |[0;0m let validator: HTTPValidator?
[0;36m283 |[0;0m let response: URLResponse
[0;36m|[0;0m `- [1;31merror: [1;39mstored property 'response' of 'Sendable'-conforming struct 'HTTPRangeResponse' has non-Sendable type 'AnyObject'[0;0m
[0;36m284 |[0;0m }
[0;36m285 |[0;0m
/host/spi-builder-workspace/Sources/EXIFKit/FileHandles/HTTP/HTTPFileHandle.swift:286:38: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m284 |[0;0m }
[0;36m285 |[0;0m
[0;36m286 |[0;0m func invalidHTTPResponse(_ response: [4;39mURLResponse[0;0m, _ detail: String) -> URLError {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m287 |[0;0m var info: [String: Any] = [NSLocalizedDescriptionKey: detail, "HTTPURLResponse": response]
[0;36m288 |[0;0m if let url = response.url {
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/EXIFKit/FileHandles/HTTP/HTTPFileHandle.swift:294:36: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m292 |[0;0m }
[0;36m293 |[0;0m
[0;36m294 |[0;0m func validateHTTPRange(_ response: [4;39mURLResponse[0;0m, offset: UInt64, count: Int, size: UInt64?, validator: HTTPValidator?) throws -> UInt64 {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m295 |[0;0m guard let http = response as? HTTPURLResponse else { throw invalidHTTPResponse(response, "Expected HTTP response") }
[0;36m296 |[0;0m if http.statusCode == 416, size == nil, http.value(forHTTPHeaderField: "Content-Range") == "bytes */0" {
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/EXIFKit/FileHandles/HTTP/HTTPFileHandle.swift:320:94: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m318 |[0;0m }
[0;36m319 |[0;0m
[0;36m320 |[0;0m func httpRangeURLRequest(url: URL, offset: UInt64, count: Int, validator: HTTPValidator?) -> [4;39mURLRequest[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m321 |[0;0m var request = URLRequest(url: url)
[0;36m322 |[0;0m request.setValue("bytes=\(offset)-\(offset + UInt64(count) - 1)", forHTTPHeaderField: "Range")
/host/spi-builder-workspace/Sources/EXIFKit/FileHandles/HTTP/HTTPFileHandle.swift:36:76: [1;31merror: [1;39mvalue of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'[0;0m
[0;36m34 |[0;0m resourceExists = true
[0;36m35 |[0;0m } catch let error as URLError
[0;36m36 |[0;0m where [4;39m(error.userInfo["HTTPURLResponse"] as? HTTPURLResponse)?[0;0m.[4;39mstatusCode[0;0m == 404
[0;36m|[0;0m `- [1;31merror: [1;39mvalue of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'[0;0m
[0;36m37 |[0;0m {
[0;36m38 |[0;0m length = 0
/host/spi-builder-workspace/Sources/EXIFKit/FileHandles/HTTP/HTTPFileUpload.swift:10:33: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m8 |[0;0m /// Errors produced by URLSession pass through unchanged.
[0;36m9 |[0;0m enum HTTPFileUpload {
[0;36m10 |[0;0m static func send(_ request: [4;39mURLRequest[0;0m, fromFile url: URL, session: HTTPSession) async throws -> HTTPURLResponse {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m11 |[0;0m try await HTTPUploadRequest.send(request, fromFile: url, session: session)
[0;36m12 |[0;0m }
/host/spi-builder-workspace/Sources/EXIFKit/FileHandles/HTTP/HTTPFileUpload.swift:10:102: [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m8 |[0;0m /// Errors produced by URLSession pass through unchanged.
[0;36m9 |[0;0m enum HTTPFileUpload {
[0;36m10 |[0;0m static func send(_ request: URLRequest, fromFile url: URL, session: HTTPSession) async throws -> [4;39mHTTPURLResponse[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m11 |[0;0m try await HTTPUploadRequest.send(request, fromFile: url, session: session)
[0;36m12 |[0;0m }
Foundation.HTTPURLResponse:2:18: [1;39mnote: [1;39m'HTTPURLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias HTTPURLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'HTTPURLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/EXIFKit/FileHandles/HTTP/HTTPFileUpload.swift:22:25: [1;31merror: [1;39mtype 'HTTPUploadRequest.State' does not conform to the 'Sendable' protocol[0;0m
[0;36m14 |[0;0m
[0;36m15 |[0;0m private final class HTTPUploadRequest: HTTPTaskHandler {
[0;36m16 |[0;0m private struct State {
[0;36m|[0;0m `- [1;39mnote: [1;39mconsider making struct 'State' conform to the 'Sendable' protocol[0;0m
[0;36m17 |[0;0m var continuation: CheckedContinuation<HTTPURLResponse, any Error>?
[0;36m18 |[0;0m var task: URLSessionUploadTask?
[0;36m:[0;0m
[0;36m20 |[0;0m }
[0;36m21 |[0;0m
[0;36m22 |[0;0m private let state = HTTPLockedState(State())
[0;36m|[0;0m `- [1;31merror: [1;39mtype 'HTTPUploadRequest.State' does not conform to the 'Sendable' protocol[0;0m
[0;36m23 |[0;0m
[0;36m24 |[0;0m static func send(_ request: URLRequest, fromFile file: URL, session: HTTPSession) async throws -> HTTPURLResponse {
/host/spi-builder-workspace/Sources/EXIFKit/FileHandles/HTTP/HTTPFileUpload.swift:22:25: [1;31merror: [1;39mtype 'HTTPUploadRequest.State' does not conform to the 'Sendable' protocol[0;0m
[0;36m14 |[0;0m
[0;36m15 |[0;0m private final class HTTPUploadRequest: HTTPTaskHandler {
[0;36m16 |[0;0m private struct State {
[0;36m|[0;0m `- [1;39mnote: [1;39mconsider making struct 'State' conform to the 'Sendable' protocol[0;0m
[0;36m17 |[0;0m var continuation: CheckedContinuation<HTTPURLResponse, any Error>?
[0;36m18 |[0;0m var task: URLSessionUploadTask?
[0;36m:[0;0m
[0;36m20 |[0;0m }
[0;36m21 |[0;0m
[0;36m22 |[0;0m private let state = HTTPLockedState(State())
[0;36m|[0;0m `- [1;31merror: [1;39mtype 'HTTPUploadRequest.State' does not conform to the 'Sendable' protocol[0;0m
[0;36m23 |[0;0m
[0;36m24 |[0;0m static func send(_ request: URLRequest, fromFile file: URL, session: HTTPSession) async throws -> HTTPURLResponse {
/host/spi-builder-workspace/Sources/EXIFKit/FileHandles/HTTP/HTTPFileUpload.swift:17:47: [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m15 |[0;0m private final class HTTPUploadRequest: HTTPTaskHandler {
[0;36m16 |[0;0m private struct State {
[0;36m17 |[0;0m var continuation: CheckedContinuation<[4;39mHTTPURLResponse[0;0m, any Error>?
[0;36m|[0;0m `- [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m18 |[0;0m var task: URLSessionUploadTask?
[0;36m19 |[0;0m var cancelled = false
Foundation.HTTPURLResponse:2:18: [1;39mnote: [1;39m'HTTPURLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias HTTPURLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'HTTPURLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/EXIFKit/FileHandles/HTTP/HTTPFileUpload.swift:18:19: [1;31merror: [1;39m'URLSessionUploadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m16 |[0;0m private struct State {
[0;36m17 |[0;0m var continuation: CheckedContinuation<HTTPURLResponse, any Error>?
[0;36m18 |[0;0m var task: [4;39mURLSessionUploadTask[0;0m?
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionUploadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m19 |[0;0m var cancelled = false
[0;36m20 |[0;0m }
Foundation.URLSessionUploadTask:2:18: [1;39mnote: [1;39m'URLSessionUploadTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionUploadTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionUploadTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/EXIFKit/FileHandles/HTTP/HTTPFileUpload.swift:22:17: [1;31merror: [1;39mtype 'HTTPUploadRequest.State' does not conform to the 'Sendable' protocol[0;0m
[0;36m14 |[0;0m
[0;36m15 |[0;0m private final class HTTPUploadRequest: HTTPTaskHandler {
[0;36m16 |[0;0m private struct State {
[0;36m|[0;0m `- [1;39mnote: [1;39mconsider making struct 'State' conform to the 'Sendable' protocol[0;0m
[0;36m17 |[0;0m var continuation: CheckedContinuation<HTTPURLResponse, any Error>?
[0;36m18 |[0;0m var task: URLSessionUploadTask?
[0;36m:[0;0m
[0;36m20 |[0;0m }
[0;36m21 |[0;0m
[0;36m22 |[0;0m private let state = HTTPLockedState(State())
[0;36m|[0;0m `- [1;31merror: [1;39mtype 'HTTPUploadRequest.State' does not conform to the 'Sendable' protocol[0;0m
[0;36m23 |[0;0m
[0;36m24 |[0;0m static func send(_ request: URLRequest, fromFile file: URL, session: HTTPSession) async throws -> HTTPURLResponse {
/host/spi-builder-workspace/Sources/EXIFKit/FileHandles/HTTP/HTTPFileUpload.swift:24:33: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m22 |[0;0m private let state = HTTPLockedState(State())
[0;36m23 |[0;0m
[0;36m24 |[0;0m static func send(_ request: [4;39mURLRequest[0;0m, fromFile file: URL, session: HTTPSession) async throws -> HTTPURLResponse {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m25 |[0;0m let delegate = HTTPUploadRequest()
[0;36m26 |[0;0m return try await withTaskCancellationHandler {
/host/spi-builder-workspace/Sources/EXIFKit/FileHandles/HTTP/HTTPFileUpload.swift:24:103: [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m22 |[0;0m private let state = HTTPLockedState(State())
[0;36m23 |[0;0m
[0;36m24 |[0;0m static func send(_ request: URLRequest, fromFile file: URL, session: HTTPSession) async throws -> [4;39mHTTPURLResponse[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m25 |[0;0m let delegate = HTTPUploadRequest()
[0;36m26 |[0;0m return try await withTaskCancellationHandler {
Foundation.HTTPURLResponse:2:18: [1;39mnote: [1;39m'HTTPURLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias HTTPURLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'HTTPURLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/EXIFKit/FileHandles/HTTP/HTTPFileUpload.swift:49:60: [1;31merror: [1;39m'ResponseDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')[0;0m
[0;36m47 |[0;0m func urlSession(
[0;36m48 |[0;0m _: URLSession, dataTask _: URLSessionDataTask, didReceive response: URLResponse,
[0;36m49 |[0;0m completionHandler: @escaping @Sendable ([4;39mURLSession[0;0m.ResponseDisposition) -> Void
[0;36m|[0;0m `- [1;31merror: [1;39m'ResponseDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')[0;0m
[0;36m50 |[0;0m ) {
[0;36m51 |[0;0m state.withLock { state in
/host/spi-builder-workspace/Sources/EXIFKit/FileHandles/HTTP/HTTPFileUpload.swift:48:12: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m46 |[0;0m
[0;36m47 |[0;0m func urlSession(
[0;36m48 |[0;0m _: [4;39mURLSession[0;0m, dataTask _: URLSessionDataTask, didReceive response: URLResponse,
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m49 |[0;0m completionHandler: @escaping @Sendable (URLSession.ResponseDisposition) -> Void
[0;36m50 |[0;0m ) {
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/EXIFKit/FileHandles/HTTP/HTTPFileUpload.swift:48:36: [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m46 |[0;0m
[0;36m47 |[0;0m func urlSession(
[0;36m48 |[0;0m _: URLSession, dataTask _: [4;39mURLSessionDataTask[0;0m, didReceive response: URLResponse,
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m49 |[0;0m completionHandler: @escaping @Sendable (URLSession.ResponseDisposition) -> Void
[0;36m50 |[0;0m ) {
Foundation.URLSessionDataTask:2:18: [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionDataTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/EXIFKit/FileHandles/HTTP/HTTPFileUpload.swift:48:77: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m46 |[0;0m
[0;36m47 |[0;0m func urlSession(
[0;36m48 |[0;0m _: URLSession, dataTask _: URLSessionDataTask, didReceive response: [4;39mURLResponse[0;0m,
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m49 |[0;0m completionHandler: @escaping @Sendable (URLSession.ResponseDisposition) -> Void
[0;36m50 |[0;0m ) {
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/EXIFKit/FileHandles/HTTP/HTTPFileUpload.swift:63:24: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m61 |[0;0m
[0;36m62 |[0;0m /// The response is cancelled at headers; its body is never retained.
[0;36m63 |[0;0m func urlSession(_: [4;39mURLSession[0;0m, dataTask _: URLSessionDataTask, didReceive _: Data) {}
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m64 |[0;0m
[0;36m65 |[0;0m func urlSession(_: URLSession, task _: URLSessionTask, didCompleteWithError error: (any Error)?) {
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/EXIFKit/FileHandles/HTTP/HTTPFileUpload.swift:63:48: [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m61 |[0;0m
[0;36m62 |[0;0m /// The response is cancelled at headers; its body is never retained.
[0;36m63 |[0;0m func urlSession(_: URLSession, dataTask _: [4;39mURLSessionDataTask[0;0m, didReceive _: Data) {}
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m64 |[0;0m
[0;36m65 |[0;0m func urlSession(_: URLSession, task _: URLSessionTask, didCompleteWithError error: (any Error)?) {
Foundation.URLSessionDataTask:2:18: [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionDataTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/EXIFKit/FileHandles/HTTP/HTTPFileUpload.swift:65:24: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m63 |[0;0m func urlSession(_: URLSession, dataTask _: URLSessionDataTask, didReceive _: Data) {}
[0;36m64 |[0;0m
[0;36m65 |[0;0m func urlSession(_: [4;39mURLSession[0;0m, task _: URLSessionTask, didCompleteWithError error: (any Error)?) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m66 |[0;0m state.withLock { state in
[0;36m67 |[0;0m defer {
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/EXIFKit/FileHandles/HTTP/HTTPFileUpload.swift:65:44: [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m63 |[0;0m func urlSession(_: URLSession, dataTask _: URLSessionDataTask, didReceive _: Data) {}
[0;36m64 |[0;0m
[0;36m65 |[0;0m func urlSession(_: URLSession, task _: [4;39mURLSessionTask[0;0m, didCompleteWithError error: (any Error)?) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m66 |[0;0m state.withLock { state in
[0;36m67 |[0;0m defer {
Foundation.URLSessionTask:2:18: [1;39mnote: [1;39m'URLSessionTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/EXIFKit/FileHandles/HTTP/HTTPFileUpload.swift:22:17: [1;31merror: [1;39mstored property 'state' of 'Sendable'-conforming class 'HTTPUploadRequest' contains non-Sendable type 'HTTPUploadRequest.State'[0;0m
[0;36m14 |[0;0m
[0;36m15 |[0;0m private final class HTTPUploadRequest: HTTPTaskHandler {
[0;36m16 |[0;0m private struct State {
[0;36m|[0;0m `- [1;39mnote: [1;39mconsider making struct 'State' conform to the 'Sendable' protocol[0;0m
[0;36m17 |[0;0m var continuation: CheckedContinuation<HTTPURLResponse, any Error>?
[0;36m18 |[0;0m var task: URLSessionUploadTask?
[0;36m:[0;0m
[0;36m20 |[0;0m }
[0;36m21 |[0;0m
[0;36m22 |[0;0m private let state = HTTPLockedState(State())
[0;36m|[0;0m `- [1;31merror: [1;39mstored property 'state' of 'Sendable'-conforming class 'HTTPUploadRequest' contains non-Sendable type 'HTTPUploadRequest.State'[0;0m
[0;36m23 |[0;0m
[0;36m24 |[0;0m static func send(_ request: URLRequest, fromFile file: URL, session: HTTPSession) async throws -> HTTPURLResponse {
/host/spi-builder-workspace/Sources/EXIFKit/FileHandles/HTTP/HTTPSession.swift:29:60: [1;31merror: [1;39m'ResponseDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')[0;0m
[0;36m27 |[0;0m func urlSession(
[0;36m28 |[0;0m _ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse,
[0;36m29 |[0;0m completionHandler: @escaping @Sendable ([4;39mURLSession[0;0m.ResponseDisposition) -> Void
[0;36m|[0;0m `- [1;31merror: [1;39m'ResponseDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')[0;0m
[0;36m30 |[0;0m )
[0;36m31 |[0;0m func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data)
/host/spi-builder-workspace/Sources/EXIFKit/FileHandles/HTTP/HTTPRangeRequest.swift:13:23: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m11 |[0;0m var continuation: CheckedContinuation<HTTPRangeResponse, any Error>?
[0;36m12 |[0;0m var bytes = Data()
[0;36m13 |[0;0m var response: [4;39mURLResponse[0;0m?
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m14 |[0;0m var responseSize: UInt64 = 0
[0;36m15 |[0;0m var failure: (any Error)?
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/EXIFKit/FileHandles/HTTP/HTTPRangeRequest.swift:16:19: [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m14 |[0;0m var responseSize: UInt64 = 0
[0;36m15 |[0;0m var failure: (any Error)?
[0;36m16 |[0;0m var task: [4;39mURLSessionDataTask[0;0m?
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m17 |[0;0m var cancelled = false
[0;36m18 |[0;0m }
Foundation.URLSessionDataTask:2:18: [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionDataTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/EXIFKit/FileHandles/HTTP/HTTPRangeRequest.swift:20:25: [1;31merror: [1;39mtype 'HTTPRangeRequest.State' does not conform to the 'Sendable' protocol[0;0m
[0;36m8 |[0;0m /// The handle's session routes this task's callbacks here.
[0;36m9 |[0;0m final class HTTPRangeRequest: HTTPTaskHandler {
[0;36m10 |[0;0m private struct State {
[0;36m|[0;0m `- [1;39mnote: [1;39mconsider making struct 'State' conform to the 'Sendable' protocol[0;0m
[0;36m11 |[0;0m var continuation: CheckedContinuation<HTTPRangeResponse, any Error>?
[0;36m12 |[0;0m var bytes = Data()
[0;36m:[0;0m
[0;36m18 |[0;0m }
[0;36m19 |[0;0m
[0;36m20 |[0;0m private let state = HTTPLockedState(State())
[0;36m|[0;0m `- [1;31merror: [1;39mtype 'HTTPRangeRequest.State' does not conform to the 'Sendable' protocol[0;0m
[0;36m21 |[0;0m private let offset: UInt64
[0;36m22 |[0;0m private let count: Int
/host/spi-builder-workspace/Sources/EXIFKit/FileHandles/HTTP/HTTPRangeRequest.swift:20:25: [1;31merror: [1;39mtype 'HTTPRangeRequest.State' does not conform to the 'Sendable' protocol[0;0m
[0;36m8 |[0;0m /// The handle's session routes this task's callbacks here.
[0;36m9 |[0;0m final class HTTPRangeRequest: HTTPTaskHandler {
[0;36m10 |[0;0m private struct State {
[0;36m|[0;0m `- [1;39mnote: [1;39mconsider making struct 'State' conform to the 'Sendable' protocol[0;0m
[0;36m11 |[0;0m var continuation: CheckedContinuation<HTTPRangeResponse, any Error>?
[0;36m12 |[0;0m var bytes = Data()
[0;36m:[0;0m
[0;36m18 |[0;0m }
[0;36m19 |[0;0m
[0;36m20 |[0;0m private let state = HTTPLockedState(State())
[0;36m|[0;0m `- [1;31merror: [1;39mtype 'HTTPRangeRequest.State' does not conform to the 'Sendable' protocol[0;0m
[0;36m21 |[0;0m private let offset: UInt64
[0;36m22 |[0;0m private let count: Int
/host/spi-builder-workspace/Sources/EXIFKit/FileHandles/HTTP/HTTPRangeRequest.swift:20:17: [1;31merror: [1;39mtype 'HTTPRangeRequest.State' does not conform to the 'Sendable' protocol[0;0m
[0;36m8 |[0;0m /// The handle's session routes this task's callbacks here.
[0;36m9 |[0;0m final class HTTPRangeRequest: HTTPTaskHandler {
[0;36m10 |[0;0m private struct State {
[0;36m|[0;0m `- [1;39mnote: [1;39mconsider making struct 'State' conform to the 'Sendable' protocol[0;0m
[0;36m11 |[0;0m var continuation: CheckedContinuation<HTTPRangeResponse, any Error>?
[0;36m12 |[0;0m var bytes = Data()
[0;36m:[0;0m
[0;36m18 |[0;0m }
[0;36m19 |[0;0m
[0;36m20 |[0;0m private let state = HTTPLockedState(State())
[0;36m|[0;0m `- [1;31merror: [1;39mtype 'HTTPRangeRequest.State' does not conform to the 'Sendable' protocol[0;0m
[0;36m21 |[0;0m private let offset: UInt64
[0;36m22 |[0;0m private let count: Int
/host/spi-builder-workspace/Sources/EXIFKit/FileHandles/HTTP/HTTPRangeRequest.swift:61:60: [1;31merror: [1;39m'ResponseDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')[0;0m
[0;36m59 |[0;0m func urlSession(
[0;36m60 |[0;0m _: URLSession, dataTask _: URLSessionDataTask, didReceive response: URLResponse,
[0;36m61 |[0;0m completionHandler: @escaping @Sendable ([4;39mURLSession[0;0m.ResponseDisposition) -> Void
[0;36m|[0;0m `- [1;31merror: [1;39m'ResponseDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')[0;0m
[0;36m62 |[0;0m ) {
[0;36m63 |[0;0m do {
/host/spi-builder-workspace/Sources/EXIFKit/FileHandles/HTTP/HTTPRangeRequest.swift:60:12: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m58 |[0;0m
[0;36m59 |[0;0m func urlSession(
[0;36m60 |[0;0m _: [4;39mURLSession[0;0m, dataTask _: URLSessionDataTask, didReceive response: URLResponse,
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m61 |[0;0m completionHandler: @escaping @Sendable (URLSession.ResponseDisposition) -> Void
[0;36m62 |[0;0m ) {
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/EXIFKit/FileHandles/HTTP/HTTPRangeRequest.swift:60:36: [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m58 |[0;0m
[0;36m59 |[0;0m func urlSession(
[0;36m60 |[0;0m _: URLSession, dataTask _: [4;39mURLSessionDataTask[0;0m, didReceive response: URLResponse,
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m61 |[0;0m completionHandler: @escaping @Sendable (URLSession.ResponseDisposition) -> Void
[0;36m62 |[0;0m ) {
Foundation.URLSessionDataTask:2:18: [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionDataTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/EXIFKit/FileHandles/HTTP/HTTPRangeRequest.swift:60:77: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m58 |[0;0m
[0;36m59 |[0;0m func urlSession(
[0;36m60 |[0;0m _: URLSession, dataTask _: URLSessionDataTask, didReceive response: [4;39mURLResponse[0;0m,
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m61 |[0;0m completionHandler: @escaping @Sendable (URLSession.ResponseDisposition) -> Void
[0;36m62 |[0;0m ) {
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/EXIFKit/FileHandles/HTTP/HTTPRangeRequest.swift:78:24: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m76 |[0;0m }
[0;36m77 |[0;0m
[0;36m78 |[0;0m func urlSession(_: [4;39mURLSession[0;0m, dataTask: URLSessionDataTask, didReceive data: Data) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m79 |[0;0m let cancel = state.withLock { state in
[0;36m80 |[0;0m guard data.count <= count - state.bytes.count else {
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/EXIFKit/FileHandles/HTTP/HTTPRangeRequest.swift:78:46: [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m76 |[0;0m }
[0;36m77 |[0;0m
[0;36m78 |[0;0m func urlSession(_: URLSession, dataTask: [4;39mURLSessionDataTask[0;0m, didReceive data: Data) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m79 |[0;0m let cancel = state.withLock { state in
[0;36m80 |[0;0m guard data.count <= count - state.bytes.count else {
Foundation.URLSessionDataTask:2:18: [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionDataTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/EXIFKit/FileHandles/HTTP/HTTPRangeRequest.swift:94:24: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m92 |[0;0m }
[0;36m93 |[0;0m
[0;36m94 |[0;0m func urlSession(_: [4;39mURLSession[0;0m, task _: URLSessionTask, didCompleteWithError error: (any Error)?) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m95 |[0;0m state.withLock { state in
[0;36m96 |[0;0m defer {
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/EXIFKit/FileHandles/HTTP/HTTPRangeRequest.swift:94:44: [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m92 |[0;0m }
[0;36m93 |[0;0m
[0;36m94 |[0;0m func urlSession(_: URLSession, task _: [4;39mURLSessionTask[0;0m, didCompleteWithError error: (any Error)?) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m95 |[0;0m state.withLock { state in
[0;36m96 |[0;0m defer {
Foundation.URLSessionTask:2:18: [1;39mnote: [1;39m'URLSessionTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/EXIFKit/FileHandles/HTTP/HTTPRangeRequest.swift:20:17: [1;31merror: [1;39mstored property 'state' of 'Sendable'-conforming class 'HTTPRangeRequest' contains non-Sendable type 'HTTPRangeRequest.State'[0;0m
[0;36m8 |[0;0m /// The handle's session routes this task's callbacks here.
[0;36m9 |[0;0m final class HTTPRangeRequest: HTTPTaskHandler {
[0;36m10 |[0;0m private struct State {
[0;36m|[0;0m `- [1;39mnote: [1;39mconsider making struct 'State' conform to the 'Sendable' protocol[0;0m
[0;36m11 |[0;0m var continuation: CheckedContinuation<HTTPRangeResponse, any Error>?
[0;36m12 |[0;0m var bytes = Data()
[0;36m:[0;0m
[0;36m18 |[0;0m }
[0;36m19 |[0;0m
[0;36m20 |[0;0m private let state = HTTPLockedState(State())
[0;36m|[0;0m `- [1;31merror: [1;39mstored property 'state' of 'Sendable'-conforming class 'HTTPRangeRequest' contains non-Sendable type 'HTTPRangeRequest.State'[0;0m
[0;36m21 |[0;0m private let offset: UInt64
[0;36m22 |[0;0m private let count: Int
/host/spi-builder-workspace/Sources/EXIFKit/FileHandles/HTTP/HTTPSession.swift:9:18: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m7 |[0;0m /// One URLSession per handle, so its requests reuse open connections instead of repeating TCP and TLS setup.
[0;36m8 |[0;0m final class HTTPSession: Sendable {
[0;36m9 |[0;0m let session: [4;39mURLSession[0;0m
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m10 |[0;0m /// Session callbacks are routed to the delegate registered for each task.
[0;36m11 |[0;0m let router = HTTPTaskRouter()
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/EXIFKit/FileHandles/HTTP/HTTPSession.swift:9:9: [1;31merror: [1;39mstored property 'session' of 'Sendable'-conforming class 'HTTPSession' has non-Sendable type 'AnyObject'[0;0m
[0;36m7 |[0;0m /// One URLSession per handle, so its requests reuse open connections instead of repeating TCP and TLS setup.
[0;36m8 |[0;0m final class HTTPSession: Sendable {
[0;36m9 |[0;0m let session: URLSession
[0;36m|[0;0m `- [1;31merror: [1;39mstored property 'session' of 'Sendable'-conforming class 'HTTPSession' has non-Sendable type 'AnyObject'[0;0m
[0;36m10 |[0;0m /// Session callbacks are routed to the delegate registered for each task.
[0;36m11 |[0;0m let router = HTTPTaskRouter()
/host/spi-builder-workspace/Sources/EXIFKit/FileHandles/HTTP/HTTPSession.swift:28:20: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m26 |[0;0m protocol HTTPTaskHandler: Sendable {
[0;36m27 |[0;0m func urlSession(
[0;36m28 |[0;0m _ session: [4;39mURLSession[0;0m, dataTask: URLSessionDataTask, didReceive response: URLResponse,
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m29 |[0;0m completionHandler: @escaping @Sendable (URLSession.ResponseDisposition) -> Void
[0;36m30 |[0;0m )
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/EXIFKit/FileHandles/HTTP/HTTPSession.swift:28:42: [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m26 |[0;0m protocol HTTPTaskHandler: Sendable {
[0;36m27 |[0;0m func urlSession(
[0;36m28 |[0;0m _ session: URLSession, dataTask: [4;39mURLSessionDataTask[0;0m, didReceive response: URLResponse,
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m29 |[0;0m completionHandler: @escaping @Sendable (URLSession.ResponseDisposition) -> Void
[0;36m30 |[0;0m )
Foundation.URLSessionDataTask:2:18: [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionDataTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/EXIFKit/FileHandles/HTTP/HTTPSession.swift:28:83: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m26 |[0;0m protocol HTTPTaskHandler: Sendable {
[0;36m27 |[0;0m func urlSession(
[0;36m28 |[0;0m _ session: URLSession, dataTask: URLSessionDataTask, didReceive response: [4;39mURLResponse[0;0m,
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m29 |[0;0m completionHandler: @escaping @Sendable (URLSession.ResponseDisposition) -> Void
[0;36m30 |[0;0m )
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/EXIFKit/FileHandles/HTTP/HTTPSession.swift:31:32: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m29 |[0;0m completionHandler: @escaping @Sendable (URLSession.ResponseDisposition) -> Void
[0;36m30 |[0;0m )
[0;36m31 |[0;0m func urlSession(_ session: [4;39mURLSession[0;0m, dataTask: URLSessionDataTask, didReceive data: Data)
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m32 |[0;0m func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: (any Error)?)
[0;36m33 |[0;0m }
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/EXIFKit/FileHandles/HTTP/HTTPSession.swift:31:54: [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m29 |[0;0m completionHandler: @escaping @Sendable (URLSession.ResponseDisposition) -> Void
[0;36m30 |[0;0m )
[0;36m31 |[0;0m func urlSession(_ session: URLSession, dataTask: [4;39mURLSessionDataTask[0;0m, didReceive data: Data)
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m32 |[0;0m func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: (any Error)?)
[0;36m33 |[0;0m }
Foundation.URLSessionDataTask:2:18: [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionDataTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/EXIFKit/FileHandles/HTTP/HTTPSession.swift:32:32: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m30 |[0;0m )
[0;36m31 |[0;0m func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data)
[0;36m32 |[0;0m func urlSession(_ session: [4;39mURLSession[0;0m, task: URLSessionTask, didCompleteWithError error: (any Error)?)
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m33 |[0;0m }
[0;36m34 |[0;0m
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/EXIFKit/FileHandles/HTTP/HTTPSession.swift:32:50: [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m30 |[0;0m )
[0;36m31 |[0;0m func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data)
[0;36m32 |[0;0m func urlSession(_ session: URLSession, task: [4;39mURLSessionTask[0;0m, didCompleteWithError error: (any Error)?)
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m33 |[0;0m }
[0;36m34 |[0;0m
Foundation.URLSessionTask:2:18: [1;39mnote: [1;39m'URLSessionTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/EXIFKit/FileHandles/HTTP/HTTPSession.swift:35:39: [1;31merror: [1;39mcannot find type 'URLSessionDataDelegate' in scope[0;0m
[0;36m33 |[0;0m }
[0;36m34 |[0;0m
[0;36m35 |[0;0m final class HTTPTaskRouter: NSObject, [4;39mURLSessionDataDelegate[0;0m, Sendable {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLSessionDataDelegate' in scope[0;0m
[0;36m36 |[0;0m private let handlers = HTTPLockedState<[Int: any HTTPTaskHandler]>([:])
[0;36m37 |[0;0m
/host/spi-builder-workspace/Sources/EXIFKit/FileHandles/HTTP/HTTPSession.swift:39:61: [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m37 |[0;0m
[0;36m38 |[0;0m /// Register before resuming the task so no callback is missed.
[0;36m39 |[0;0m func register(_ handler: any HTTPTaskHandler, for task: [4;39mURLSessionTask[0;0m) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m40 |[0;0m handlers.withLock { $0[task.taskIdentifier] = handler }
[0;36m41 |[0;0m }
Foundation.URLSessionTask:2:18: [1;39mnote: [1;39m'URLSessionTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/EXIFKit/FileHandles/HTTP/HTTPSession.swift:43:34: [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m41 |[0;0m }
[0;36m42 |[0;0m
[0;36m43 |[0;0m private func handler(_ task: [4;39mURLSessionTask[0;0m) -> (any HTTPTaskHandler)? {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m44 |[0;0m handlers.withLock { $0[task.taskIdentifier] }
[0;36m45 |[0;0m }
Foundation.URLSessionTask:2:18: [1;39mnote: [1;39m'URLSessionTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/EXIFKit/FileHandles/HTTP/HTTPSession.swift:49:60: [1;31merror: [1;39m'ResponseDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')[0;0m
[0;36m47 |[0;0m func urlSession(
[0;36m48 |[0;0m _ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse,
[0;36m49 |[0;0m completionHandler: @escaping @Sendable ([4;39mURLSession[0;0m.ResponseDisposition) -> Void
[0;36m|[0;0m `- [1;31merror: [1;39m'ResponseDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')[0;0m
[0;36m50 |[0;0m ) {
[0;36m51 |[0;0m guard let handler = handler(dataTask) else { return completionHandler(.cancel) }
/host/spi-builder-workspace/Sources/EXIFKit/FileHandles/HTTP/HTTPSession.swift:48:20: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m46 |[0;0m
[0;36m47 |[0;0m func urlSession(
[0;36m48 |[0;0m _ session: [4;39mURLSession[0;0m, dataTask: URLSessionDataTask, didReceive response: URLResponse,
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m49 |[0;0m completionHandler: @escaping @Sendable (URLSession.ResponseDisposition) -> Void
[0;36m50 |[0;0m ) {
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/EXIFKit/FileHandles/HTTP/HTTPSession.swift:48:42: [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m46 |[0;0m
[0;36m47 |[0;0m func urlSession(
[0;36m48 |[0;0m _ session: URLSession, dataTask: [4;39mURLSessionDataTask[0;0m, didReceive response: URLResponse,
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m49 |[0;0m completionHandler: @escaping @Sendable (URLSession.ResponseDisposition) -> Void
[0;36m50 |[0;0m ) {
Foundation.URLSessionDataTask:2:18: [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionDataTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/EXIFKit/FileHandles/HTTP/HTTPSession.swift:48:83: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m46 |[0;0m
[0;36m47 |[0;0m func urlSession(
[0;36m48 |[0;0m _ session: URLSession, dataTask: URLSessionDataTask, didReceive response: [4;39mURLResponse[0;0m,
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m49 |[0;0m completionHandler: @escaping @Sendable (URLSession.ResponseDisposition) -> Void
[0;36m50 |[0;0m ) {
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/EXIFKit/FileHandles/HTTP/HTTPSession.swift:55:32: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m53 |[0;0m }
[0;36m54 |[0;0m
[0;36m55 |[0;0m func urlSession(_ session: [4;39mURLSession[0;0m, dataTask: URLSessionDataTask, didReceive data: Data) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m56 |[0;0m handler(dataTask)?.urlSession(session, dataTask: dataTask, didReceive: data)
[0;36m57 |[0;0m }
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/EXIFKit/FileHandles/HTTP/HTTPSession.swift:55:54: [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m53 |[0;0m }
[0;36m54 |[0;0m
[0;36m55 |[0;0m func urlSession(_ session: URLSession, dataTask: [4;39mURLSessionDataTask[0;0m, didReceive data: Data) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m56 |[0;0m handler(dataTask)?.urlSession(session, dataTask: dataTask, didReceive: data)
[0;36m57 |[0;0m }
Foundation.URLSessionDataTask:2:18: [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionDataTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/EXIFKit/FileHandles/HTTP/HTTPSession.swift:59:32: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m57 |[0;0m }
[0;36m58 |[0;0m
[0;36m59 |[0;0m func urlSession(_ session: [4;39mURLSession[0;0m, task: URLSessionTask, didCompleteWithError error: (any Error)?) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m60 |[0;0m let handler = handlers.withLock { $0.removeValue(forKey: task.taskIdentifier) }
[0;36m61 |[0;0m handler?.urlSession(session, task: task, didCompleteWithError: error)
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/EXIFKit/FileHandles/HTTP/HTTPSession.swift:59:50: [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m57 |[0;0m }
[0;36m58 |[0;0m
[0;36m59 |[0;0m func urlSession(_ session: URLSession, task: [4;39mURLSessionTask[0;0m, didCompleteWithError error: (any Error)?) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m60 |[0;0m let handler = handlers.withLock { $0.removeValue(forKey: task.taskIdentifier) }
[0;36m61 |[0;0m handler?.urlSession(session, task: task, didCompleteWithError: error)
Foundation.URLSessionTask:2:18: [1;39mnote: [1;39m'URLSessionTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionTask' has been explicitly marked unavailable here[0;0m
Failed frontend command:
/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /host/spi-builder-workspace/Sources/EXIFKit/EXIFKit.swift /host/spi-builder-workspace/Sources/EXIFKit/FileHandles/AbstractFileHandle.swift /host/spi-builder-workspace/Sources/EXIFKit/FileHandles/HTTP/HTTPFileHandle.swift /host/spi-builder-workspace/Sources/EXIFKit/FileHandles/HTTP/HTTPFileUpload.swift /host/spi-builder-workspace/Sources/EXIFKit/FileHandles/HTTP/HTTPRangeRequest.swift /host/spi-builder-workspace/Sources/EXIFKit/FileHandles/HTTP/HTTPSession.swift /host/spi-builder-workspace/Sources/EXIFKit/FileHandles/InMemoryFileHandle.swift /host/spi-builder-workspace/Sources/EXIFKit/FileHandles/LocalFileHandle.swift /host/spi-builder-workspace/Sources/EXIFKit/Formats/ISOBaseMedia/HEIF.swift /host/spi-builder-workspace/Sources/EXIFKit/Formats/ISOBaseMedia/ISOBMFF.swift /host/spi-builder-workspace/Sources/EXIFKit/Formats/ISOBaseMedia/JXL.swift /host/spi-builder-workspace/Sources/EXIFKit/Formats/JPEG.swift /host/spi-builder-workspace/Sources/EXIFKit/Formats/PNG.swift /host/spi-builder-workspace/Sources/EXIFKit/Formats/RAW/CR3.swift /host/spi-builder-workspace/Sources/EXIFKit/Formats/RAW/RAF.swift /host/spi-builder-workspace/Sources/EXIFKit/Formats/RAW/RAWFormats.swift /host/spi-builder-workspace/Sources/EXIFKit/Formats/TIFF/CameraMake.swift /host/spi-builder-workspace/Sources/EXIFKit/Formats/TIFF/IFD.swift /host/spi-builder-workspace/Sources/EXIFKit/Formats/TIFF/ImageColorSpace.swift /host/spi-builder-workspace/Sources/EXIFKit/Formats/TIFF/ImageOrientation.swift /host/spi-builder-workspace/Sources/EXIFKit/Formats/TIFF/LensMake.swift /host/spi-builder-workspace/Sources/EXIFKit/Formats/TIFF/TIFF.swift /host/spi-builder-workspace/Sources/EXIFKit/Formats/TIFF/TIFFFile.swift /host/spi-builder-workspace/Sources/EXIFKit/Formats/TIFF/TIFFStructure+Convenience.swift /host/spi-builder-workspace/Sources/EXIFKit/Formats/TIFF/TIFFStructure+CoreLocation.swift /host/spi-builder-workspace/Sources/EXIFKit/Formats/TIFF/Tags.swift /host/spi-builder-workspace/Sources/EXIFKit/Formats/TIFF/Thumbnail.swift /host/spi-builder-workspace/Sources/EXIFKit/Formats/WebP.swift /host/spi-builder-workspace/Sources/EXIFKit/Metadata/FileEditing.swift /host/spi-builder-workspace/Sources/EXIFKit/Metadata/MetadataEditing.swift /host/spi-builder-workspace/Sources/EXIFKit/Metadata/MetadataReader.swift /host/spi-builder-workspace/Sources/EXIFKit/Support/ByteReader.swift /host/spi-builder-workspace/Sources/EXIFKit/Support/ContainerIndex.swift /host/spi-builder-workspace/Sources/EXIFKit/Types.swift -target wasm32-unknown-wasip1 -disable-objc-interop -sdk /root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk -sysroot /root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk -I /host/spi-builder-workspace/.build/out/Products/Debug-webassembly-wasm32 -module-cache-path /host/spi-builder-workspace/.build/out/ModuleCache.noindex -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 6 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -external-plugin-path /usr/lib/swift/host/plugins/testing\#/usr/bin/swift-plugin-server -validate-clang-modules-once -clang-build-session-file /host/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /host -resource-dir /root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static -use-static-resource-dir -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -resource-dir -Xcc /root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/clang -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-webassembly-wasm32/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/EXIFKit.build/Debug-webassembly-wasm32/EXIFKit-t.build/DerivedSources-normal/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/EXIFKit.build/Debug-webassembly-wasm32/EXIFKit-t.build/DerivedSources/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/EXIFKit.build/Debug-webassembly-wasm32/EXIFKit-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name EXIFKit -package-name spi_builder_workspace -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/EXIFKit.build/Debug-webassembly-wasm32/EXIFKit-t.build/Objects-normal/wasm32/EXIFKit_const_extract_protocols.json -in-process-plugin-server-path /usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -emit-module-doc-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/EXIFKit.build/Debug-webassembly-wasm32/EXIFKit-t.build/Objects-normal/wasm32/Modules/EXIFKit.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/EXIFKit.build/Debug-webassembly-wasm32/EXIFKit-t.build/Objects-normal/wasm32/Modules/EXIFKit.swiftsourceinfo -emit-objc-header-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/EXIFKit.build/Debug-webassembly-wasm32/EXIFKit-t.build/Objects-normal/wasm32/EXIFKit-Swift.h -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/EXIFKit.build/Debug-webassembly-wasm32/EXIFKit-t.build/Objects-normal/wasm32/EXIFKit-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/EXIFKit.build/Debug-webassembly-wasm32/EXIFKit-t.build/Objects-normal/wasm32/EXIFKit-primary-emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/EXIFKit.build/Debug-webassembly-wasm32/EXIFKit-t.build/Objects-normal/wasm32/Modules/EXIFKit.swiftmodule
error: Build failed
BUILD FAILURE 6.4 wasm