This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

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 GetExtensions with Swift 5.9 for Linux.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.28.9
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/binaryscraping/GetExtensions.git
Reference: 1.0.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/binaryscraping/GetExtensions
 * tag               1.0.0      -> FETCH_HEAD
HEAD is now at aa20f38 Add all delegate methods
Cloned https://github.com/binaryscraping/GetExtensions.git
Revision (git rev-parse @):
aa20f38721142eb6592b2c8f11179d32d7d70ae3
SUCCESS checkout https://github.com/binaryscraping/GetExtensions.git at 1.0.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  $workDir
https://github.com/binaryscraping/GetExtensions.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Fetching https://github.com/kean/Get
[1/2261] Fetching get
Fetched https://github.com/kean/Get (0.28s)
Computing version for https://github.com/kean/Get
Computed https://github.com/kean/Get at 2.1.5 (0.86s)
Creating working copy for https://github.com/kean/Get
Working copy of https://github.com/kean/Get resolved at 2.1.5
Building for debugging...
[1/6] Compiling Get Response.swift
[2/6] Compiling Get Request.swift
[3/6] Compiling Get DataLoader.swift
[4/6] Compiling Get APIClientDelegate.swift
[5/6] Emitting module Get
[6/6] Compiling Get APIClient.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/10] Emitting module GetExtensions
/host/spi-builder-workspace/Sources/GetExtensions/MultiAPIClientDelegate.swift:12:74: error: cannot find type 'URLRequest' in scope
  public func client(_ client: APIClient, willSendRequest request: inout URLRequest) async throws {
                                                                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/GetExtensions/MultiAPIClientDelegate.swift:20:23: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    shouldRetry task: URLSessionTask,
                      ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/GetExtensions/MultiAPIClientDelegate.swift:34:32: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    validateResponse response: HTTPURLResponse,
                               ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/GetExtensions/MultiAPIClientDelegate.swift:36:11: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    task: URLSessionTask
          ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
[10/10] Compiling GetExtensions MultiAPIClientDelegate.swift
/host/spi-builder-workspace/Sources/GetExtensions/MultiAPIClientDelegate.swift:12:74: error: cannot find type 'URLRequest' in scope
  public func client(_ client: APIClient, willSendRequest request: inout URLRequest) async throws {
                                                                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/GetExtensions/MultiAPIClientDelegate.swift:20:23: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    shouldRetry task: URLSessionTask,
                      ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/GetExtensions/MultiAPIClientDelegate.swift:34:32: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    validateResponse response: HTTPURLResponse,
                               ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/GetExtensions/MultiAPIClientDelegate.swift:36:11: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    task: URLSessionTask
          ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/GetExtensions/MultiAPIClientDelegate.swift:25:57: error: 'Foundation.URLSessionTask' (aka 'AnyObject') is not convertible to 'FoundationNetworking.URLSessionTask'
      if try await delegate.client(client, shouldRetry: task, error: error, attempts: attempts) {
                                                        ^
/host/spi-builder-workspace/Sources/GetExtensions/MultiAPIClientDelegate.swift:25:57: note: did you mean to use 'as!' to force downcast?
      if try await delegate.client(client, shouldRetry: task, error: error, attempts: attempts) {
                                                        ^
                                                             as! URLSessionTask
/host/spi-builder-workspace/Sources/GetExtensions/MultiAPIClientDelegate.swift:39:20: error: no exact matches in call to instance method 'client'
      try delegate.client(client, validateResponse: response, data: data, task: task)
                   ^
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClientDelegate.swift:33:10: note: candidate has partially matching parameter list (APIClient, validateResponse: HTTPURLResponse, data: Data, task: URLSessionTask)
    func client(_ client: APIClient, validateResponse response: HTTPURLResponse, data: Data, task: URLSessionTask) throws
         ^
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClientDelegate.swift:89:10: note: candidate has partially matching parameter list (APIClient, validateResponse: HTTPURLResponse, data: Data, task: URLSessionTask)
    func client(_ client: APIClient, validateResponse response: HTTPURLResponse, data: Data, task: URLSessionTask) throws {
         ^
error: fatalError
[0/1] Planning build
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1/2] Emitting module GetExtensions
/host/spi-builder-workspace/Sources/GetExtensions/MultiAPIClientDelegate.swift:12:74: error: cannot find type 'URLRequest' in scope
  public func client(_ client: APIClient, willSendRequest request: inout URLRequest) async throws {
                                                                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/GetExtensions/MultiAPIClientDelegate.swift:20:23: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    shouldRetry task: URLSessionTask,
                      ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/GetExtensions/MultiAPIClientDelegate.swift:34:32: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    validateResponse response: HTTPURLResponse,
                               ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/GetExtensions/MultiAPIClientDelegate.swift:36:11: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    task: URLSessionTask
          ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
[2/2] Compiling GetExtensions MultiAPIClientDelegate.swift
/host/spi-builder-workspace/Sources/GetExtensions/MultiAPIClientDelegate.swift:12:74: error: cannot find type 'URLRequest' in scope
  public func client(_ client: APIClient, willSendRequest request: inout URLRequest) async throws {
                                                                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/GetExtensions/MultiAPIClientDelegate.swift:20:23: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    shouldRetry task: URLSessionTask,
                      ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/GetExtensions/MultiAPIClientDelegate.swift:34:32: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    validateResponse response: HTTPURLResponse,
                               ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/GetExtensions/MultiAPIClientDelegate.swift:36:11: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    task: URLSessionTask
          ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/GetExtensions/MultiAPIClientDelegate.swift:25:57: error: 'Foundation.URLSessionTask' (aka 'AnyObject') is not convertible to 'FoundationNetworking.URLSessionTask'
      if try await delegate.client(client, shouldRetry: task, error: error, attempts: attempts) {
                                                        ^
/host/spi-builder-workspace/Sources/GetExtensions/MultiAPIClientDelegate.swift:25:57: note: did you mean to use 'as!' to force downcast?
      if try await delegate.client(client, shouldRetry: task, error: error, attempts: attempts) {
                                                        ^
                                                             as! URLSessionTask
/host/spi-builder-workspace/Sources/GetExtensions/MultiAPIClientDelegate.swift:39:20: error: no exact matches in call to instance method 'client'
      try delegate.client(client, validateResponse: response, data: data, task: task)
                   ^
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClientDelegate.swift:33:10: note: candidate has partially matching parameter list (APIClient, validateResponse: HTTPURLResponse, data: Data, task: URLSessionTask)
    func client(_ client: APIClient, validateResponse response: HTTPURLResponse, data: Data, task: URLSessionTask) throws
         ^
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClientDelegate.swift:89:10: note: candidate has partially matching parameter list (APIClient, validateResponse: HTTPURLResponse, data: Data, task: URLSessionTask)
    func client(_ client: APIClient, validateResponse response: HTTPURLResponse, data: Data, task: URLSessionTask) throws {
         ^
error: fatalError
BUILD FAILURE 5.9 linux
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.