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 AllCache with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/JuanjoArreola/AllCache.git
Reference: 3.8.1
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/JuanjoArreola/AllCache
 * tag               3.8.1      -> FETCH_HEAD
HEAD is now at 9153c55 Fix log warn
Cloned https://github.com/JuanjoArreola/AllCache.git
Revision (git rev-parse @):
9153c553d51b85b0b49fef18464b54f417668b8c
SUCCESS checkout https://github.com/JuanjoArreola/AllCache.git at 3.8.1
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/JuanjoArreola/AllCache.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-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/AsyncRequest.git from cache (0.22s)
Fetched https://github.com/JuanjoArreola/Logg.git from cache (0.22s)
Computing version for https://github.com/JuanjoArreola/AsyncRequest.git
Computed https://github.com/JuanjoArreola/AsyncRequest.git at 2.3.0 (0.38s)
Computing version for https://github.com/JuanjoArreola/Logg.git
Computed https://github.com/JuanjoArreola/Logg.git at 2.4.0 (0.38s)
Creating working copy for https://github.com/JuanjoArreola/Logg.git
Working copy of https://github.com/JuanjoArreola/Logg.git resolved at 2.4.0
Creating working copy for https://github.com/JuanjoArreola/AsyncRequest.git
Working copy of https://github.com/JuanjoArreola/AsyncRequest.git resolved at 2.3.0
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/22] Compiling AsyncRequest TimeoutRequest.swift
[6/23] 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()
        ~~~~~~~~~ ^~~~~~
[7/23] Compiling Logg DefaultFormatter.swift
[8/23] Compiling AsyncRequest Cancellable.swift
[9/23] Compiling AsyncRequest GroupRequestHandlers.swift
[10/23] Compiling Logg FileLogger.swift
[11/23] Compiling Logg ConsoleLogger.swift
[12/23] Emitting module Logg
[13/24] Compiling AsyncRequest RequestError.swift
[14/24] Compiling AsyncRequest RequestHandlers.swift
[15/24] Compiling AsyncRequest RequestGroup.swift
[16/24] Compiling Logg LogLevel.swift
[17/24] Compiling Logg LogContext.swift
[18/24] Compiling Logg LogFormatter.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[19/24] 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
                 ^
[22/24] Compiling AsyncRequest Request.swift
[23/24] Compiling Logg Logger.swift
[24/25] Compiling AsyncRequest UUIDTimeoutRequest.swift
error: fatalError
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/4] 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
                 ^
[3/4] 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()
        ~~~~~~~~~ ^~~~~~
error: fatalError
BUILD FAILURE 5.10 linux