Build Information
Failed to build ZipPinch with Swift 5.8 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$PWD/checkout" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.25.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/buh/ZipPinch.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/buh/ZipPinch
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at f6ea0e2 Add SPI documentation
Cloned https://github.com/buh/ZipPinch.git
Revision (git rev-parse @):
f6ea0e2d4fc657cbc0ad623b7d602a10203e2bed
SPI manifest file found: $PWD/checkout/.spi.yml
SUCCESS checkout https://github.com/buh/ZipPinch.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 5.8
Building package at path: $PWD/checkout
Running build ...
bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$PWD/checkout" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build 2>&1
Building for debugging...
[1/7] 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
extension URLSession {
^ ~~~~~~~~~~
/host/spi-builder-workspace/Sources/ZipPinch/URLSession+ZIPRange.swift:53:1: error: non-nominal type 'URLResponse' (aka 'AnyObject') cannot be extended
extension URLResponse {
^ ~~~~~~~~~~~
/host/spi-builder-workspace/Sources/ZipPinch/URLSession+ZIPRange.swift:28:22: error: cannot find type 'URLRequest' in scope
for request: URLRequest,
^~~~~~~~~~
/host/spi-builder-workspace/Sources/ZipPinch/URLSession+ZIPRange.swift:30:19: error: cannot find type 'URLSessionTaskDelegate' in scope
delegate: URLSessionTaskDelegate?
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/ZipPinch/URLSession+ZIPRange.swift:45:24: error: cannot find type 'AsyncBytes' in scope
) async throws -> (AsyncBytes, URLResponse) {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/ZipPinch/URLSession+ZIPRange.swift:42:22: error: cannot find type 'URLRequest' in scope
for request: URLRequest,
^~~~~~~~~~
/host/spi-builder-workspace/Sources/ZipPinch/URLSession+ZIPRange.swift:44:19: error: cannot find type 'URLSessionTaskDelegate' in scope
delegate: URLSessionTaskDelegate?
^~~~~~~~~~~~~~~~~~~~~~
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/7] Emitting module ZipPinch
/host/spi-builder-workspace/Sources/ZipPinch/URLSession+ZIPEntries.swift:25:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
extension URLSession {
^ ~~~~~~~~~~
/host/spi-builder-workspace/Sources/ZipPinch/URLSession+ZIPEntries.swift:126:9: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
private extension URLSession {
^ ~~~~~~~~~~
/host/spi-builder-workspace/Sources/ZipPinch/URLSession+ZIPEntry.swift:45:8: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
public extension URLSession {
^ ~~~~~~~~~~
/host/spi-builder-workspace/Sources/ZipPinch/URLSession+ZIPEntry.swift:133:9: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
private extension URLSession {
^ ~~~~~~~~~~
/host/spi-builder-workspace/Sources/ZipPinch/URLSession+ZIPFolder.swift:25:8: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
public extension URLSession {
^ ~~~~~~~~~~
/host/spi-builder-workspace/Sources/ZipPinch/URLSession+ZIPRange.swift:25:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
extension URLSession {
^ ~~~~~~~~~~
/host/spi-builder-workspace/Sources/ZipPinch/URLSession+ZIPRange.swift:53:1: error: non-nominal type 'URLResponse' (aka 'AnyObject') cannot be extended
extension URLResponse {
^ ~~~~~~~~~~~
/host/spi-builder-workspace/Sources/ZipPinch/ZipFileFormat.swift:34:16: error: value of type 'NSData' has no member 'decompressed'
try $0.decompressed(using: .zlib)
~~ ^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/ZipPinch/ZipFileFormat.swift:34:37: error: cannot infer contextual base in reference to member 'zlib'
try $0.decompressed(using: .zlib)
~^~~~
[3/7] 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
extension URLSession {
^ ~~~~~~~~~~
/host/spi-builder-workspace/Sources/ZipPinch/URLSession+ZIPEntries.swift:126:9: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
private extension URLSession {
^ ~~~~~~~~~~
/host/spi-builder-workspace/Sources/ZipPinch/URLSession+ZIPEntries.swift:29:22: error: cannot find type 'URLRequest' in scope
cachePolicy: URLRequest.CachePolicy = .reloadRevalidatingCacheData,
^~~~~~~~~~
/host/spi-builder-workspace/Sources/ZipPinch/URLSession+ZIPEntries.swift:30:19: error: cannot find type 'URLSessionTaskDelegate' in scope
delegate: URLSessionTaskDelegate? = nil
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/ZipPinch/URLSession+ZIPEntries.swift:37:22: error: cannot find type 'URLRequest' in scope
for request: URLRequest,
^~~~~~~~~~
/host/spi-builder-workspace/Sources/ZipPinch/URLSession+ZIPEntries.swift:38:19: error: cannot find type 'URLSessionTaskDelegate' in scope
delegate: URLSessionTaskDelegate? = nil
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/ZipPinch/URLSession+ZIPEntries.swift:49:22: error: cannot find type 'URLRequest' in scope
cachePolicy: URLRequest.CachePolicy = .reloadRevalidatingCacheData,
^~~~~~~~~~
/host/spi-builder-workspace/Sources/ZipPinch/URLSession+ZIPEntries.swift:50:19: error: cannot find type 'URLSessionTaskDelegate' in scope
delegate: URLSessionTaskDelegate? = nil
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/ZipPinch/URLSession+ZIPEntries.swift:59:22: error: cannot find type 'URLRequest' in scope
for request: URLRequest,
^~~~~~~~~~
/host/spi-builder-workspace/Sources/ZipPinch/URLSession+ZIPEntries.swift:60:19: error: cannot find type 'URLSessionTaskDelegate' in scope
delegate: URLSessionTaskDelegate? = nil
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/ZipPinch/URLSession+ZIPEntries.swift:84:22: error: cannot find type 'URLRequest' in scope
cachePolicy: URLRequest.CachePolicy = .reloadRevalidatingCacheData,
^~~~~~~~~~
/host/spi-builder-workspace/Sources/ZipPinch/URLSession+ZIPEntries.swift:85:19: error: cannot find type 'URLSessionTaskDelegate' in scope
delegate: URLSessionTaskDelegate? = nil
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/ZipPinch/URLSession+ZIPEntries.swift:96:22: error: cannot find type 'URLRequest' in scope
for request: URLRequest,
^~~~~~~~~~
/host/spi-builder-workspace/Sources/ZipPinch/URLSession+ZIPEntries.swift:98:19: error: cannot find type 'URLSessionTaskDelegate' in scope
delegate: URLSessionTaskDelegate? = nil
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/ZipPinch/URLSession+ZIPEntries.swift:128:22: error: cannot find type 'URLRequest' in scope
for request: URLRequest,
^~~~~~~~~~
/host/spi-builder-workspace/Sources/ZipPinch/URLSession+ZIPEntries.swift:131:19: error: cannot find type 'URLSessionTaskDelegate' in scope
delegate: URLSessionTaskDelegate?
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/ZipPinch/URLSession+ZIPEntries.swift:168:22: error: cannot find type 'URLRequest' in scope
for request: URLRequest,
^~~~~~~~~~
/host/spi-builder-workspace/Sources/ZipPinch/URLSession+ZIPEntries.swift:170:19: error: cannot find type 'URLSessionTaskDelegate' in scope
delegate: URLSessionTaskDelegate?
^~~~~~~~~~~~~~~~~~~~~~
[4/7] 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
public extension URLSession {
^ ~~~~~~~~~~
/host/spi-builder-workspace/Sources/ZipPinch/URLSession+ZIPFolder.swift:30:22: error: cannot find type 'URLRequest' in scope
cachePolicy: URLRequest.CachePolicy = .reloadRevalidatingCacheData,
^~~~~~~~~~
/host/spi-builder-workspace/Sources/ZipPinch/URLSession+ZIPFolder.swift:31:19: error: cannot find type 'URLSessionTaskDelegate' in scope
delegate: URLSessionTaskDelegate? = nil,
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/ZipPinch/URLSession+ZIPFolder.swift:45:22: error: cannot find type 'URLRequest' in scope
for request: URLRequest,
^~~~~~~~~~
/host/spi-builder-workspace/Sources/ZipPinch/URLSession+ZIPFolder.swift:46:19: error: cannot find type 'URLSessionTaskDelegate' in scope
delegate: URLSessionTaskDelegate? = nil,
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/ZipPinch/URLSession+ZIPFolder.swift:61:22: error: cannot find type 'URLRequest' in scope
cachePolicy: URLRequest.CachePolicy = .reloadRevalidatingCacheData,
^~~~~~~~~~
/host/spi-builder-workspace/Sources/ZipPinch/URLSession+ZIPFolder.swift:62:19: error: cannot find type 'URLSessionTaskDelegate' in scope
delegate: URLSessionTaskDelegate? = nil,
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/ZipPinch/URLSession+ZIPFolder.swift:76:22: error: cannot find type 'URLRequest' in scope
for request: URLRequest,
^~~~~~~~~~
/host/spi-builder-workspace/Sources/ZipPinch/URLSession+ZIPFolder.swift:77:19: error: cannot find type 'URLSessionTaskDelegate' in scope
delegate: URLSessionTaskDelegate? = nil,
^~~~~~~~~~~~~~~~~~~~~~
[5/7] 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
public extension URLSession {
^ ~~~~~~~~~~
/host/spi-builder-workspace/Sources/ZipPinch/URLSession+ZIPEntry.swift:133:9: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
private extension URLSession {
^ ~~~~~~~~~~
/host/spi-builder-workspace/Sources/ZipPinch/URLSession+ZIPEntry.swift:50:22: error: cannot find type 'URLRequest' in scope
cachePolicy: URLRequest.CachePolicy = .reloadRevalidatingCacheData,
^~~~~~~~~~
/host/spi-builder-workspace/Sources/ZipPinch/URLSession+ZIPEntry.swift:51:19: error: cannot find type 'URLSessionTaskDelegate' in scope
delegate: URLSessionTaskDelegate? = nil,
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/ZipPinch/URLSession+ZIPEntry.swift:65:22: error: cannot find type 'URLRequest' in scope
for request: URLRequest,
^~~~~~~~~~
/host/spi-builder-workspace/Sources/ZipPinch/URLSession+ZIPEntry.swift:66:19: error: cannot find type 'URLSessionTaskDelegate' in scope
delegate: URLSessionTaskDelegate? = nil,
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/ZipPinch/URLSession+ZIPEntry.swift:135:22: error: cannot find type 'URLRequest' in scope
for request: URLRequest,
^~~~~~~~~~
/host/spi-builder-workspace/Sources/ZipPinch/URLSession+ZIPEntry.swift:137:19: error: cannot find type 'URLSessionTaskDelegate' in scope
delegate: URLSessionTaskDelegate?,
^~~~~~~~~~~~~~~~~~~~~~
[6/7] Compiling ZipPinch ZIPFolder.swift
[7/7] Compiling ZipPinch ZipFileFormat.swift
/host/spi-builder-workspace/Sources/ZipPinch/ZipFileFormat.swift:34:16: error: value of type 'NSData' has no member 'decompressed'
try $0.decompressed(using: .zlib)
~~ ^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/ZipPinch/ZipFileFormat.swift:34:37: error: cannot infer contextual base in reference to member 'zlib'
try $0.decompressed(using: .zlib)
~^~~~
[0/1] Planning build
Building for debugging...
[1/6] 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
extension URLSession {
^ ~~~~~~~~~~
/host/spi-builder-workspace/Sources/ZipPinch/URLSession+ZIPEntries.swift:126:9: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
private extension URLSession {
^ ~~~~~~~~~~
/host/spi-builder-workspace/Sources/ZipPinch/URLSession+ZIPEntries.swift:29:22: error: cannot find type 'URLRequest' in scope
cachePolicy: URLRequest.CachePolicy = .reloadRevalidatingCacheData,
^~~~~~~~~~
/host/spi-builder-workspace/Sources/ZipPinch/URLSession+ZIPEntries.swift:30:19: error: cannot find type 'URLSessionTaskDelegate' in scope
delegate: URLSessionTaskDelegate? = nil
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/ZipPinch/URLSession+ZIPEntries.swift:37:22: error: cannot find type 'URLRequest' in scope
for request: URLRequest,
^~~~~~~~~~
/host/spi-builder-workspace/Sources/ZipPinch/URLSession+ZIPEntries.swift:38:19: error: cannot find type 'URLSessionTaskDelegate' in scope
delegate: URLSessionTaskDelegate? = nil
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/ZipPinch/URLSession+ZIPEntries.swift:49:22: error: cannot find type 'URLRequest' in scope
cachePolicy: URLRequest.CachePolicy = .reloadRevalidatingCacheData,
^~~~~~~~~~
/host/spi-builder-workspace/Sources/ZipPinch/URLSession+ZIPEntries.swift:50:19: error: cannot find type 'URLSessionTaskDelegate' in scope
delegate: URLSessionTaskDelegate? = nil
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/ZipPinch/URLSession+ZIPEntries.swift:59:22: error: cannot find type 'URLRequest' in scope
for request: URLRequest,
^~~~~~~~~~
/host/spi-builder-workspace/Sources/ZipPinch/URLSession+ZIPEntries.swift:60:19: error: cannot find type 'URLSessionTaskDelegate' in scope
delegate: URLSessionTaskDelegate? = nil
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/ZipPinch/URLSession+ZIPEntries.swift:84:22: error: cannot find type 'URLRequest' in scope
cachePolicy: URLRequest.CachePolicy = .reloadRevalidatingCacheData,
^~~~~~~~~~
/host/spi-builder-workspace/Sources/ZipPinch/URLSession+ZIPEntries.swift:85:19: error: cannot find type 'URLSessionTaskDelegate' in scope
delegate: URLSessionTaskDelegate? = nil
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/ZipPinch/URLSession+ZIPEntries.swift:96:22: error: cannot find type 'URLRequest' in scope
for request: URLRequest,
^~~~~~~~~~
/host/spi-builder-workspace/Sources/ZipPinch/URLSession+ZIPEntries.swift:98:19: error: cannot find type 'URLSessionTaskDelegate' in scope
delegate: URLSessionTaskDelegate? = nil
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/ZipPinch/URLSession+ZIPEntries.swift:128:22: error: cannot find type 'URLRequest' in scope
for request: URLRequest,
^~~~~~~~~~
/host/spi-builder-workspace/Sources/ZipPinch/URLSession+ZIPEntries.swift:131:19: error: cannot find type 'URLSessionTaskDelegate' in scope
delegate: URLSessionTaskDelegate?
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/ZipPinch/URLSession+ZIPEntries.swift:168:22: error: cannot find type 'URLRequest' in scope
for request: URLRequest,
^~~~~~~~~~
/host/spi-builder-workspace/Sources/ZipPinch/URLSession+ZIPEntries.swift:170:19: error: cannot find type 'URLSessionTaskDelegate' in scope
delegate: URLSessionTaskDelegate?
^~~~~~~~~~~~~~~~~~~~~~
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/6] Emitting module ZipPinch
/host/spi-builder-workspace/Sources/ZipPinch/URLSession+ZIPEntries.swift:25:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
extension URLSession {
^ ~~~~~~~~~~
/host/spi-builder-workspace/Sources/ZipPinch/URLSession+ZIPEntries.swift:126:9: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
private extension URLSession {
^ ~~~~~~~~~~
/host/spi-builder-workspace/Sources/ZipPinch/URLSession+ZIPEntry.swift:45:8: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
public extension URLSession {
^ ~~~~~~~~~~
/host/spi-builder-workspace/Sources/ZipPinch/URLSession+ZIPEntry.swift:133:9: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
private extension URLSession {
^ ~~~~~~~~~~
/host/spi-builder-workspace/Sources/ZipPinch/URLSession+ZIPFolder.swift:25:8: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
public extension URLSession {
^ ~~~~~~~~~~
/host/spi-builder-workspace/Sources/ZipPinch/URLSession+ZIPRange.swift:25:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
extension URLSession {
^ ~~~~~~~~~~
/host/spi-builder-workspace/Sources/ZipPinch/URLSession+ZIPRange.swift:53:1: error: non-nominal type 'URLResponse' (aka 'AnyObject') cannot be extended
extension URLResponse {
^ ~~~~~~~~~~~
/host/spi-builder-workspace/Sources/ZipPinch/ZipFileFormat.swift:34:16: error: value of type 'NSData' has no member 'decompressed'
try $0.decompressed(using: .zlib)
~~ ^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/ZipPinch/ZipFileFormat.swift:34:37: error: cannot infer contextual base in reference to member 'zlib'
try $0.decompressed(using: .zlib)
~^~~~
[3/6] 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
extension URLSession {
^ ~~~~~~~~~~
/host/spi-builder-workspace/Sources/ZipPinch/URLSession+ZIPRange.swift:53:1: error: non-nominal type 'URLResponse' (aka 'AnyObject') cannot be extended
extension URLResponse {
^ ~~~~~~~~~~~
/host/spi-builder-workspace/Sources/ZipPinch/URLSession+ZIPRange.swift:28:22: error: cannot find type 'URLRequest' in scope
for request: URLRequest,
^~~~~~~~~~
/host/spi-builder-workspace/Sources/ZipPinch/URLSession+ZIPRange.swift:30:19: error: cannot find type 'URLSessionTaskDelegate' in scope
delegate: URLSessionTaskDelegate?
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/ZipPinch/URLSession+ZIPRange.swift:45:24: error: cannot find type 'AsyncBytes' in scope
) async throws -> (AsyncBytes, URLResponse) {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/ZipPinch/URLSession+ZIPRange.swift:42:22: error: cannot find type 'URLRequest' in scope
for request: URLRequest,
^~~~~~~~~~
/host/spi-builder-workspace/Sources/ZipPinch/URLSession+ZIPRange.swift:44:19: error: cannot find type 'URLSessionTaskDelegate' in scope
delegate: URLSessionTaskDelegate?
^~~~~~~~~~~~~~~~~~~~~~
[4/6] 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
public extension URLSession {
^ ~~~~~~~~~~
/host/spi-builder-workspace/Sources/ZipPinch/URLSession+ZIPFolder.swift:30:22: error: cannot find type 'URLRequest' in scope
cachePolicy: URLRequest.CachePolicy = .reloadRevalidatingCacheData,
^~~~~~~~~~
/host/spi-builder-workspace/Sources/ZipPinch/URLSession+ZIPFolder.swift:31:19: error: cannot find type 'URLSessionTaskDelegate' in scope
delegate: URLSessionTaskDelegate? = nil,
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/ZipPinch/URLSession+ZIPFolder.swift:45:22: error: cannot find type 'URLRequest' in scope
for request: URLRequest,
^~~~~~~~~~
/host/spi-builder-workspace/Sources/ZipPinch/URLSession+ZIPFolder.swift:46:19: error: cannot find type 'URLSessionTaskDelegate' in scope
delegate: URLSessionTaskDelegate? = nil,
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/ZipPinch/URLSession+ZIPFolder.swift:61:22: error: cannot find type 'URLRequest' in scope
cachePolicy: URLRequest.CachePolicy = .reloadRevalidatingCacheData,
^~~~~~~~~~
/host/spi-builder-workspace/Sources/ZipPinch/URLSession+ZIPFolder.swift:62:19: error: cannot find type 'URLSessionTaskDelegate' in scope
delegate: URLSessionTaskDelegate? = nil,
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/ZipPinch/URLSession+ZIPFolder.swift:76:22: error: cannot find type 'URLRequest' in scope
for request: URLRequest,
^~~~~~~~~~
/host/spi-builder-workspace/Sources/ZipPinch/URLSession+ZIPFolder.swift:77:19: error: cannot find type 'URLSessionTaskDelegate' in scope
delegate: URLSessionTaskDelegate? = nil,
^~~~~~~~~~~~~~~~~~~~~~
[5/6] Compiling ZipPinch ZipFileFormat.swift
/host/spi-builder-workspace/Sources/ZipPinch/ZipFileFormat.swift:34:16: error: value of type 'NSData' has no member 'decompressed'
try $0.decompressed(using: .zlib)
~~ ^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/ZipPinch/ZipFileFormat.swift:34:37: error: cannot infer contextual base in reference to member 'zlib'
try $0.decompressed(using: .zlib)
~^~~~
[6/6] 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
public extension URLSession {
^ ~~~~~~~~~~
/host/spi-builder-workspace/Sources/ZipPinch/URLSession+ZIPEntry.swift:133:9: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
private extension URLSession {
^ ~~~~~~~~~~
/host/spi-builder-workspace/Sources/ZipPinch/URLSession+ZIPEntry.swift:50:22: error: cannot find type 'URLRequest' in scope
cachePolicy: URLRequest.CachePolicy = .reloadRevalidatingCacheData,
^~~~~~~~~~
/host/spi-builder-workspace/Sources/ZipPinch/URLSession+ZIPEntry.swift:51:19: error: cannot find type 'URLSessionTaskDelegate' in scope
delegate: URLSessionTaskDelegate? = nil,
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/ZipPinch/URLSession+ZIPEntry.swift:65:22: error: cannot find type 'URLRequest' in scope
for request: URLRequest,
^~~~~~~~~~
/host/spi-builder-workspace/Sources/ZipPinch/URLSession+ZIPEntry.swift:66:19: error: cannot find type 'URLSessionTaskDelegate' in scope
delegate: URLSessionTaskDelegate? = nil,
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/ZipPinch/URLSession+ZIPEntry.swift:135:22: error: cannot find type 'URLRequest' in scope
for request: URLRequest,
^~~~~~~~~~
/host/spi-builder-workspace/Sources/ZipPinch/URLSession+ZIPEntry.swift:137:19: error: cannot find type 'URLSessionTaskDelegate' in scope
delegate: URLSessionTaskDelegate?,
^~~~~~~~~~~~~~~~~~~~~~
BUILD FAILURE 5.8 linux