The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build ZipPinch with Swift 5.9 for Linux.

Build Command

docker run --rm -v "checkouts-4609320-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.23.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/buh/ZipPinch.git
Reference: 1.4.0
Cloned https://github.com/buh/ZipPinch.git into spi-builder-workspace
SUCCESS checkout https://github.com/buh/ZipPinch.git at 1.4.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4609320-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1/7] Compiling ZipPinch ZIPFolder.swift
[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 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)
                                   ~^~~~
[4/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?
                  ^~~~~~~~~~~~~~~~~~~~~~
[5/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?
                  ^~~~~~~~~~~~~~~~~~~~~~
[6/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,
                  ^~~~~~~~~~~~~~~~~~~~~~
[7/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?,
                  ^~~~~~~~~~~~~~~~~~~~~~
error: fatalError
BUILD FAILURE 5.9 linux