The Swift Package Index logo.Swift Package Index

Build Information

Failed to build AllCache with Swift 5.9 for Linux.

Build Command

docker run --rm -v "checkouts-4609320-1":/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.19.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/JuanjoArreola/AllCache.git
Reference: 3.8.1
Cloned https://github.com/JuanjoArreola/AllCache.git into spi-builder-workspace
SUCCESS checkout https://github.com/JuanjoArreola/AllCache.git at 3.8.1
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4609320-1":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Fetching https://github.com/JuanjoArreola/AsyncRequest.git
Fetching https://github.com/JuanjoArreola/Logg.git
[1/159] Fetching logg
[160/296] Fetching logg, asyncrequest
Fetched https://github.com/JuanjoArreola/Logg.git (0.22s)
Fetched https://github.com/JuanjoArreola/AsyncRequest.git (0.23s)
Computing version for https://github.com/JuanjoArreola/AsyncRequest.git
Computed https://github.com/JuanjoArreola/AsyncRequest.git at 2.3.0 (0.30s)
Computing version for https://github.com/JuanjoArreola/Logg.git
Computed https://github.com/JuanjoArreola/Logg.git at 2.4.0 (0.31s)
Creating working copy for https://github.com/JuanjoArreola/AsyncRequest.git
Working copy of https://github.com/JuanjoArreola/AsyncRequest.git resolved at 2.3.0
Creating working copy for https://github.com/JuanjoArreola/Logg.git
Working copy of https://github.com/JuanjoArreola/Logg.git resolved at 2.4.0
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1/18] Emitting module AsyncRequest
/host/spi-builder-workspace/.build/checkouts/AsyncRequest/Sources/URLSessionRequest.swift:5:24: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    open var dataTask: URLSessionTask?
                       ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
[2/19] Compiling AsyncRequest URLSessionRequest.swift
/host/spi-builder-workspace/.build/checkouts/AsyncRequest/Sources/URLSessionRequest.swift:5:24: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    open var dataTask: URLSessionTask?
                       ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/AsyncRequest/Sources/URLSessionRequest.swift:8:19: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'cancel'
        dataTask?.cancel()
        ~~~~~~~~~ ^~~~~~
[3/19] Compiling AsyncRequest UUIDTimeoutRequest.swift
[4/19] Compiling Logg LogLevel.swift
[5/20] Compiling Logg Logger.swift
[6/20] Compiling AsyncRequest TimeoutRequest.swift
[7/20] Compiling AsyncRequest RequestGroup.swift
[8/20] Compiling AsyncRequest RequestError.swift
[9/20] Compiling AsyncRequest RequestHandlers.swift
[10/20] Compiling Logg CompositeLogger.swift
[11/20] Compiling Logg ConsoleFormatter.swift
[12/20] Emitting module Logg
[13/20] Compiling AsyncRequest Request.swift
[16/20] Compiling Logg ConsoleLogger.swift
[17/20] Compiling Logg DefaultFormatter.swift
error: fatalError
[18/20] Compiling Logg LogFormatter.swift
[19/20] Compiling Logg FileLogger.swift
[20/20] Compiling Logg LogContext.swift
BUILD FAILURE 5.9 linux

Build Machine: Linux 2