Build Information
Failed to build ZipPinch, reference 1.4.0 (24c92b
), with Swift 6.0 for Linux on 30 Nov 2024 03:13:14 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.58.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/buh/ZipPinch.git
Reference: 1.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/buh/ZipPinch
* tag 1.4.0 -> FETCH_HEAD
HEAD is now at 24c92bc Sendable progress callback.
Cloned https://github.com/buh/ZipPinch.git
Revision (git rev-parse @):
24c92bcc25074af4777df009af4558e7b00e5fe8
SUCCESS checkout https://github.com/buh/ZipPinch.git at 1.4.0
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/buh/ZipPinch.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/9] Compiling ZipPinch ZipFileFormat.swift
/host/spi-builder-workspace/Sources/ZipPinch/ZipFileFormat.swift:33:23: warning: static property 'decompress' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
31 | public struct ZIPEntry: Identifiable, Hashable, Codable {
32 | /// Decompressor.
33 | public static var decompress: @Sendable (_ compressedData: NSData) throws -> NSData = {
| |- warning: static property 'decompress' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'decompress' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'decompress' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | try $0.decompressed(using: .zlib)
35 | }
/host/spi-builder-workspace/Sources/ZipPinch/ZipFileFormat.swift:34:16: error: value of type 'NSData' has no member 'decompressed'
32 | /// Decompressor.
33 | public static var decompress: @Sendable (_ compressedData: NSData) throws -> NSData = {
34 | try $0.decompressed(using: .zlib)
| `- error: value of type 'NSData' has no member 'decompressed'
35 | }
36 |
/host/spi-builder-workspace/Sources/ZipPinch/ZipFileFormat.swift:34:37: error: cannot infer contextual base in reference to member 'zlib'
32 | /// Decompressor.
33 | public static var decompress: @Sendable (_ compressedData: NSData) throws -> NSData = {
34 | try $0.decompressed(using: .zlib)
| `- error: cannot infer contextual base in reference to member 'zlib'
35 | }
36 |
[4/9] Compiling ZipPinch ZIPFolder.swift
/host/spi-builder-workspace/Sources/ZipPinch/ZIPFolder.swift:26:23: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'ZIPFolder' may have shared mutable state; this is an error in the Swift 6 language mode
23 | import Foundation
24 |
25 | public struct ZIPFolder: Identifiable, Hashable, Equatable {
| `- note: consider making struct 'ZIPFolder' conform to the 'Sendable' protocol
26 | public static let empty = ZIPFolder(name: "")
| |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'ZIPFolder' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'empty' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |
28 | public let id = UUID()
[5/9] Compiling ZipPinch URLSession+ZIPRange.swift
/host/spi-builder-workspace/Sources/ZipPinch/URLSession+ZIPRange.swift:25:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
23 | import Foundation
24 |
25 | extension URLSession {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
26 | /// Retrieves a part of the contents of a URL and delivers the data asynchronously.
27 | func rangedData(
/host/spi-builder-workspace/Sources/ZipPinch/URLSession+ZIPRange.swift:53:1: error: non-nominal type 'URLResponse' (aka 'AnyObject') cannot be extended
51 | }
52 |
53 | extension URLResponse {
| `- error: non-nominal type 'URLResponse' (aka 'AnyObject') cannot be extended
54 | func checkStatusCodeOK() throws {
55 | let httpStatusCode = (self as? HTTPURLResponse)?.statusCode ?? 0
/host/spi-builder-workspace/Sources/ZipPinch/URLSession+ZIPRange.swift:28:22: error: cannot find type 'URLRequest' in scope
26 | /// Retrieves a part of the contents of a URL and delivers the data asynchronously.
27 | func rangedData(
28 | for request: URLRequest,
| `- error: cannot find type 'URLRequest' in scope
29 | bytesRange: ClosedRange<Int64>,
30 | delegate: URLSessionTaskDelegate?
/host/spi-builder-workspace/Sources/ZipPinch/URLSession+ZIPRange.swift:30:19: error: cannot find type 'URLSessionTaskDelegate' in scope
28 | for request: URLRequest,
29 | bytesRange: ClosedRange<Int64>,
30 | delegate: URLSessionTaskDelegate?
| `- error: cannot find type 'URLSessionTaskDelegate' in scope
31 | ) async throws -> Data {
32 | var request = request
/host/spi-builder-workspace/Sources/ZipPinch/URLSession+ZIPRange.swift:45:24: error: cannot find type 'AsyncBytes' in scope
43 | bytesRange: ClosedRange<Int64>,
44 | delegate: URLSessionTaskDelegate?
45 | ) async throws -> (AsyncBytes, URLResponse) {
| `- error: cannot find type 'AsyncBytes' in scope
46 | var request = request
47 | request.httpMethod = "GET"
/host/spi-builder-workspace/Sources/ZipPinch/URLSession+ZIPRange.swift:42:22: error: cannot find type 'URLRequest' in scope
40 | /// Retrieves a part of the contents as bytes of a URL and delivers the data asynchronously.
41 | func rangedAsyncBytes(
42 | for request: URLRequest,
| `- error: cannot find type 'URLRequest' in scope
43 | bytesRange: ClosedRange<Int64>,
44 | delegate: URLSessionTaskDelegate?
/host/spi-builder-workspace/Sources/ZipPinch/URLSession+ZIPRange.swift:44:19: error: cannot find type 'URLSessionTaskDelegate' in scope
42 | for request: URLRequest,
43 | bytesRange: ClosedRange<Int64>,
44 | delegate: URLSessionTaskDelegate?
| `- error: cannot find type 'URLSessionTaskDelegate' in scope
45 | ) async throws -> (AsyncBytes, URLResponse) {
46 | var request = request
[6/9] Compiling ZipPinch URLSession+ZIPEntry.swift
/host/spi-builder-workspace/Sources/ZipPinch/URLSession+ZIPEntry.swift:45:8: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
43 | }
44 |
45 | public extension URLSession {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
46 | /// Retrieves the contents of the ZIP entry.
47 | func zipEntryData(
/host/spi-builder-workspace/Sources/ZipPinch/URLSession+ZIPEntry.swift:133:9: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
131 | // MARK: - Private
132 |
133 | private extension URLSession {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
134 | func zipEntryDataWithProgress(
135 | for request: URLRequest,
/host/spi-builder-workspace/Sources/ZipPinch/URLSession+ZIPEntry.swift:50:22: error: cannot find type 'URLRequest' in scope
48 | _ entry: ZIPEntry,
49 | from url: URL,
50 | cachePolicy: URLRequest.CachePolicy = .reloadRevalidatingCacheData,
| `- error: cannot find type 'URLRequest' in scope
51 | delegate: URLSessionTaskDelegate? = nil,
52 | progress: ZIPProgress? = nil
/host/spi-builder-workspace/Sources/ZipPinch/URLSession+ZIPEntry.swift:51:19: error: cannot find type 'URLSessionTaskDelegate' in scope
49 | from url: URL,
50 | cachePolicy: URLRequest.CachePolicy = .reloadRevalidatingCacheData,
51 | delegate: URLSessionTaskDelegate? = nil,
| `- error: cannot find type 'URLSessionTaskDelegate' in scope
52 | progress: ZIPProgress? = nil
53 | ) async throws -> Data {
/host/spi-builder-workspace/Sources/ZipPinch/URLSession+ZIPEntry.swift:65:22: error: cannot find type 'URLRequest' in scope
63 | func zipEntryData(
64 | _ entry: ZIPEntry,
65 | for request: URLRequest,
| `- error: cannot find type 'URLRequest' in scope
66 | delegate: URLSessionTaskDelegate? = nil,
67 | progress: ZIPProgress? = nil
/host/spi-builder-workspace/Sources/ZipPinch/URLSession+ZIPEntry.swift:66:19: error: cannot find type 'URLSessionTaskDelegate' in scope
64 | _ entry: ZIPEntry,
65 | for request: URLRequest,
66 | delegate: URLSessionTaskDelegate? = nil,
| `- error: cannot find type 'URLSessionTaskDelegate' in scope
67 | progress: ZIPProgress? = nil
68 | ) async throws -> Data {
/host/spi-builder-workspace/Sources/ZipPinch/URLSession+ZIPEntry.swift:135:22: error: cannot find type 'URLRequest' in scope
133 | private extension URLSession {
134 | func zipEntryDataWithProgress(
135 | for request: URLRequest,
| `- error: cannot find type 'URLRequest' in scope
136 | bytesRange: ClosedRange<Int64>,
137 | delegate: URLSessionTaskDelegate?,
/host/spi-builder-workspace/Sources/ZipPinch/URLSession+ZIPEntry.swift:137:19: error: cannot find type 'URLSessionTaskDelegate' in scope
135 | for request: URLRequest,
136 | bytesRange: ClosedRange<Int64>,
137 | delegate: URLSessionTaskDelegate?,
| `- error: cannot find type 'URLSessionTaskDelegate' in scope
138 | progress: ZIPProgress
139 | ) async throws -> Data {
[7/9] Compiling ZipPinch URLSession+ZIPFolder.swift
/host/spi-builder-workspace/Sources/ZipPinch/URLSession+ZIPFolder.swift:25:8: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
23 | import Foundation
24 |
25 | public extension URLSession {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
26 | /// Retrieves the contents of the ZIP folder.
27 | func zipFolderData(
/host/spi-builder-workspace/Sources/ZipPinch/URLSession+ZIPFolder.swift:30:22: error: cannot find type 'URLRequest' in scope
28 | _ folder: ZIPFolder,
29 | from url: URL,
30 | cachePolicy: URLRequest.CachePolicy = .reloadRevalidatingCacheData,
| `- error: cannot find type 'URLRequest' in scope
31 | delegate: URLSessionTaskDelegate? = nil,
32 | progress: ZIPProgress? = nil
/host/spi-builder-workspace/Sources/ZipPinch/URLSession+ZIPFolder.swift:31:19: error: cannot find type 'URLSessionTaskDelegate' in scope
29 | from url: URL,
30 | cachePolicy: URLRequest.CachePolicy = .reloadRevalidatingCacheData,
31 | delegate: URLSessionTaskDelegate? = nil,
| `- error: cannot find type 'URLSessionTaskDelegate' in scope
32 | progress: ZIPProgress? = nil
33 | ) async throws -> [(entry: ZIPEntry, data: Data)] {
/host/spi-builder-workspace/Sources/ZipPinch/URLSession+ZIPFolder.swift:45:22: error: cannot find type 'URLRequest' in scope
43 | func zipFolderData(
44 | _ folder: ZIPFolder,
45 | for request: URLRequest,
| `- error: cannot find type 'URLRequest' in scope
46 | delegate: URLSessionTaskDelegate? = nil,
47 | progress: ZIPProgress? = nil
/host/spi-builder-workspace/Sources/ZipPinch/URLSession+ZIPFolder.swift:46:19: error: cannot find type 'URLSessionTaskDelegate' in scope
44 | _ folder: ZIPFolder,
45 | for request: URLRequest,
46 | delegate: URLSessionTaskDelegate? = nil,
| `- error: cannot find type 'URLSessionTaskDelegate' in scope
47 | progress: ZIPProgress? = nil
48 | ) async throws -> [(entry: ZIPEntry, data: Data)] {
/host/spi-builder-workspace/Sources/ZipPinch/URLSession+ZIPFolder.swift:61:22: error: cannot find type 'URLRequest' in scope
59 | _ entries: [ZIPEntry],
60 | from url: URL,
61 | cachePolicy: URLRequest.CachePolicy = .reloadRevalidatingCacheData,
| `- error: cannot find type 'URLRequest' in scope
62 | delegate: URLSessionTaskDelegate? = nil,
63 | progress: ZIPProgress? = nil
/host/spi-builder-workspace/Sources/ZipPinch/URLSession+ZIPFolder.swift:62:19: error: cannot find type 'URLSessionTaskDelegate' in scope
60 | from url: URL,
61 | cachePolicy: URLRequest.CachePolicy = .reloadRevalidatingCacheData,
62 | delegate: URLSessionTaskDelegate? = nil,
| `- error: cannot find type 'URLSessionTaskDelegate' in scope
63 | progress: ZIPProgress? = nil
64 | ) async throws -> [(entry: ZIPEntry, data: Data)] {
/host/spi-builder-workspace/Sources/ZipPinch/URLSession+ZIPFolder.swift:76:22: error: cannot find type 'URLRequest' in scope
74 | func zipEntriesData(
75 | _ entries: [ZIPEntry],
76 | for request: URLRequest,
| `- error: cannot find type 'URLRequest' in scope
77 | delegate: URLSessionTaskDelegate? = nil,
78 | progress: ZIPProgress? = nil
/host/spi-builder-workspace/Sources/ZipPinch/URLSession+ZIPFolder.swift:77:19: error: cannot find type 'URLSessionTaskDelegate' in scope
75 | _ entries: [ZIPEntry],
76 | for request: URLRequest,
77 | delegate: URLSessionTaskDelegate? = nil,
| `- error: cannot find type 'URLSessionTaskDelegate' in scope
78 | progress: ZIPProgress? = nil
79 | ) async throws -> [(entry: ZIPEntry, data: Data)] {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/9] Emitting module ZipPinch
/host/spi-builder-workspace/Sources/ZipPinch/URLSession+ZIPEntries.swift:25:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
23 | import Foundation
24 |
25 | extension URLSession {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
26 | /// Retrieves the ZIP entries.
27 | public func zipEntries(
/host/spi-builder-workspace/Sources/ZipPinch/URLSession+ZIPEntries.swift:126:9: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
124 | // MARK: - Extracting ZIP Entries
125 |
126 | private extension URLSession {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
127 | func findCentralDirectory<T: ZIPEndRecordProtocol>(
128 | for request: URLRequest,
/host/spi-builder-workspace/Sources/ZipPinch/URLSession+ZIPEntry.swift:45:8: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
43 | }
44 |
45 | public extension URLSession {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
46 | /// Retrieves the contents of the ZIP entry.
47 | func zipEntryData(
/host/spi-builder-workspace/Sources/ZipPinch/URLSession+ZIPEntry.swift:133:9: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
131 | // MARK: - Private
132 |
133 | private extension URLSession {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
134 | func zipEntryDataWithProgress(
135 | for request: URLRequest,
/host/spi-builder-workspace/Sources/ZipPinch/URLSession+ZIPFolder.swift:25:8: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
23 | import Foundation
24 |
25 | public extension URLSession {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
26 | /// Retrieves the contents of the ZIP folder.
27 | func zipFolderData(
/host/spi-builder-workspace/Sources/ZipPinch/URLSession+ZIPRange.swift:25:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
23 | import Foundation
24 |
25 | extension URLSession {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
26 | /// Retrieves a part of the contents of a URL and delivers the data asynchronously.
27 | func rangedData(
/host/spi-builder-workspace/Sources/ZipPinch/URLSession+ZIPRange.swift:53:1: error: non-nominal type 'URLResponse' (aka 'AnyObject') cannot be extended
51 | }
52 |
53 | extension URLResponse {
| `- error: non-nominal type 'URLResponse' (aka 'AnyObject') cannot be extended
54 | func checkStatusCodeOK() throws {
55 | let httpStatusCode = (self as? HTTPURLResponse)?.statusCode ?? 0
/host/spi-builder-workspace/Sources/ZipPinch/ZIPFolder.swift:26:23: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'ZIPFolder' may have shared mutable state; this is an error in the Swift 6 language mode
23 | import Foundation
24 |
25 | public struct ZIPFolder: Identifiable, Hashable, Equatable {
| `- note: consider making struct 'ZIPFolder' conform to the 'Sendable' protocol
26 | public static let empty = ZIPFolder(name: "")
| |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'ZIPFolder' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'empty' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |
28 | public let id = UUID()
/host/spi-builder-workspace/Sources/ZipPinch/ZipFileFormat.swift:33:23: warning: static property 'decompress' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
31 | public struct ZIPEntry: Identifiable, Hashable, Codable {
32 | /// Decompressor.
33 | public static var decompress: @Sendable (_ compressedData: NSData) throws -> NSData = {
| |- warning: static property 'decompress' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'decompress' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'decompress' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | try $0.decompressed(using: .zlib)
35 | }
/host/spi-builder-workspace/Sources/ZipPinch/ZipFileFormat.swift:34:16: error: value of type 'NSData' has no member 'decompressed'
32 | /// Decompressor.
33 | public static var decompress: @Sendable (_ compressedData: NSData) throws -> NSData = {
34 | try $0.decompressed(using: .zlib)
| `- error: value of type 'NSData' has no member 'decompressed'
35 | }
36 |
/host/spi-builder-workspace/Sources/ZipPinch/ZipFileFormat.swift:34:37: error: cannot infer contextual base in reference to member 'zlib'
32 | /// Decompressor.
33 | public static var decompress: @Sendable (_ compressedData: NSData) throws -> NSData = {
34 | try $0.decompressed(using: .zlib)
| `- error: cannot infer contextual base in reference to member 'zlib'
35 | }
36 |
[9/9] Compiling ZipPinch URLSession+ZIPEntries.swift
/host/spi-builder-workspace/Sources/ZipPinch/URLSession+ZIPEntries.swift:25:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
23 | import Foundation
24 |
25 | extension URLSession {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
26 | /// Retrieves the ZIP entries.
27 | public func zipEntries(
/host/spi-builder-workspace/Sources/ZipPinch/URLSession+ZIPEntries.swift:126:9: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
124 | // MARK: - Extracting ZIP Entries
125 |
126 | private extension URLSession {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
127 | func findCentralDirectory<T: ZIPEndRecordProtocol>(
128 | for request: URLRequest,
/host/spi-builder-workspace/Sources/ZipPinch/URLSession+ZIPEntries.swift:29:22: error: cannot find type 'URLRequest' in scope
27 | public func zipEntries(
28 | from url: URL,
29 | cachePolicy: URLRequest.CachePolicy = .reloadRevalidatingCacheData,
| `- error: cannot find type 'URLRequest' in scope
30 | delegate: URLSessionTaskDelegate? = nil
31 | ) async throws -> [ZIPEntry] {
/host/spi-builder-workspace/Sources/ZipPinch/URLSession+ZIPEntries.swift:30:19: error: cannot find type 'URLSessionTaskDelegate' in scope
28 | from url: URL,
29 | cachePolicy: URLRequest.CachePolicy = .reloadRevalidatingCacheData,
30 | delegate: URLSessionTaskDelegate? = nil
| `- error: cannot find type 'URLSessionTaskDelegate' in scope
31 | ) async throws -> [ZIPEntry] {
32 | try await zipEntries(for: URLRequest(url: url, cachePolicy: cachePolicy), delegate: delegate)
/host/spi-builder-workspace/Sources/ZipPinch/URLSession+ZIPEntries.swift:37:22: error: cannot find type 'URLRequest' in scope
35 | /// Retrieves the ZIP entries.
36 | public func zipEntries(
37 | for request: URLRequest,
| `- error: cannot find type 'URLRequest' in scope
38 | delegate: URLSessionTaskDelegate? = nil
39 | ) async throws -> [ZIPEntry] {
/host/spi-builder-workspace/Sources/ZipPinch/URLSession+ZIPEntries.swift:38:19: error: cannot find type 'URLSessionTaskDelegate' in scope
36 | public func zipEntries(
37 | for request: URLRequest,
38 | delegate: URLSessionTaskDelegate? = nil
| `- error: cannot find type 'URLSessionTaskDelegate' in scope
39 | ) async throws -> [ZIPEntry] {
40 | let zipContentLength = try await zipContentLength(for: request, delegate: delegate)
/host/spi-builder-workspace/Sources/ZipPinch/URLSession+ZIPEntries.swift:49:22: error: cannot find type 'URLRequest' in scope
47 | public func zipContentLength(
48 | from url: URL,
49 | cachePolicy: URLRequest.CachePolicy = .reloadRevalidatingCacheData,
| `- error: cannot find type 'URLRequest' in scope
50 | delegate: URLSessionTaskDelegate? = nil
51 | ) async throws -> Int64 {
/host/spi-builder-workspace/Sources/ZipPinch/URLSession+ZIPEntries.swift:50:19: error: cannot find type 'URLSessionTaskDelegate' in scope
48 | from url: URL,
49 | cachePolicy: URLRequest.CachePolicy = .reloadRevalidatingCacheData,
50 | delegate: URLSessionTaskDelegate? = nil
| `- error: cannot find type 'URLSessionTaskDelegate' in scope
51 | ) async throws -> Int64 {
52 | try await zipContentLength(for: .init(url: url, cachePolicy: cachePolicy), delegate: delegate)
/host/spi-builder-workspace/Sources/ZipPinch/URLSession+ZIPEntries.swift:59:22: error: cannot find type 'URLRequest' in scope
57 | /// To have the zip file content length is useful for caching requests.
58 | public func zipContentLength(
59 | for request: URLRequest,
| `- error: cannot find type 'URLRequest' in scope
60 | delegate: URLSessionTaskDelegate? = nil
61 | ) async throws -> Int64 {
/host/spi-builder-workspace/Sources/ZipPinch/URLSession+ZIPEntries.swift:60:19: error: cannot find type 'URLSessionTaskDelegate' in scope
58 | public func zipContentLength(
59 | for request: URLRequest,
60 | delegate: URLSessionTaskDelegate? = nil
| `- error: cannot find type 'URLSessionTaskDelegate' in scope
61 | ) async throws -> Int64 {
62 | var headRequest = request
/host/spi-builder-workspace/Sources/ZipPinch/URLSession+ZIPEntries.swift:84:22: error: cannot find type 'URLRequest' in scope
82 | from url: URL,
83 | contentLength: Int64,
84 | cachePolicy: URLRequest.CachePolicy = .reloadRevalidatingCacheData,
| `- error: cannot find type 'URLRequest' in scope
85 | delegate: URLSessionTaskDelegate? = nil
86 | ) async throws -> [ZIPEntry] {
/host/spi-builder-workspace/Sources/ZipPinch/URLSession+ZIPEntries.swift:85:19: error: cannot find type 'URLSessionTaskDelegate' in scope
83 | contentLength: Int64,
84 | cachePolicy: URLRequest.CachePolicy = .reloadRevalidatingCacheData,
85 | delegate: URLSessionTaskDelegate? = nil
| `- error: cannot find type 'URLSessionTaskDelegate' in scope
86 | ) async throws -> [ZIPEntry] {
87 | try await zipEntries(
/host/spi-builder-workspace/Sources/ZipPinch/URLSession+ZIPEntries.swift:96:22: error: cannot find type 'URLRequest' in scope
94 | /// Retrieves the ZIP entries with a known length of the zip file contents.
95 | public func zipEntries(
96 | for request: URLRequest,
| `- error: cannot find type 'URLRequest' in scope
97 | contentLength: Int64,
98 | delegate: URLSessionTaskDelegate? = nil
/host/spi-builder-workspace/Sources/ZipPinch/URLSession+ZIPEntries.swift:98:19: error: cannot find type 'URLSessionTaskDelegate' in scope
96 | for request: URLRequest,
97 | contentLength: Int64,
98 | delegate: URLSessionTaskDelegate? = nil
| `- error: cannot find type 'URLSessionTaskDelegate' in scope
99 | ) async throws -> [ZIPEntry] {
100 | let entries: [ZIPEntry]
/host/spi-builder-workspace/Sources/ZipPinch/URLSession+ZIPEntries.swift:128:22: error: cannot find type 'URLRequest' in scope
126 | private extension URLSession {
127 | func findCentralDirectory<T: ZIPEndRecordProtocol>(
128 | for request: URLRequest,
| `- error: cannot find type 'URLRequest' in scope
129 | contentLength: Int64,
130 | endRecordType: T.Type,
/host/spi-builder-workspace/Sources/ZipPinch/URLSession+ZIPEntries.swift:131:19: error: cannot find type 'URLSessionTaskDelegate' in scope
129 | contentLength: Int64,
130 | endRecordType: T.Type,
131 | delegate: URLSessionTaskDelegate?
| `- error: cannot find type 'URLSessionTaskDelegate' in scope
132 | ) async throws -> [ZIPEntry] {
133 | let endRecordData = try await rangedData(
/host/spi-builder-workspace/Sources/ZipPinch/URLSession+ZIPEntries.swift:168:22: error: cannot find type 'URLRequest' in scope
166 |
167 | func parseCentralDirectory(
168 | for request: URLRequest,
| `- error: cannot find type 'URLRequest' in scope
169 | endRecord: some ZIPEndRecordProtocol,
170 | delegate: URLSessionTaskDelegate?
/host/spi-builder-workspace/Sources/ZipPinch/URLSession+ZIPEntries.swift:170:19: error: cannot find type 'URLSessionTaskDelegate' in scope
168 | for request: URLRequest,
169 | endRecord: some ZIPEndRecordProtocol,
170 | delegate: URLSessionTaskDelegate?
| `- error: cannot find type 'URLSessionTaskDelegate' in scope
171 | ) async throws -> [ZIPEntry] {
172 | let directoryRecordData = try await rangedData(
BUILD FAILURE 6.0 linux