The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Mu 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/Nirma/Mu.git
Reference: 0.2.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/Nirma/Mu
 * tag               0.2.0      -> FETCH_HEAD
HEAD is now at 1a3bc68 Merge pull request #1 from Nirma/expand_HTTP_Methods
Cloned https://github.com/Nirma/Mu.git
Revision (git rev-parse @):
1a3bc684c3cb830c85aad62a398ca1c0f9ab855e
SUCCESS checkout https://github.com/Nirma/Mu.git at 0.2.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/Nirma/Mu.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
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/15] Compiling Mu HTTPRequest.swift
/host/spi-builder-workspace/Sources/Mu/HTTPRequest.swift:35:30: error: cannot find type 'URLRequest' in scope
    func composeRequest() -> URLRequest?
                             ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Mu/HTTPRequest.swift:59:30: error: cannot find type 'URLRequest' in scope
    func composeRequest() -> URLRequest? {
                             ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Mu/HTTPRequest.swift:62:23: error: cannot find 'URLRequest' in scope
        var request = URLRequest(url: url)
                      ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Mu/HTTPRequester.swift:25:87: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func send<T: HTTPRequest, R>(request: T, expect type: R.Type) async throws -> (R, HTTPURLResponse) where R: Decodable
                                                                                      ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
[4/15] Compiling Mu HTTPRequester.swift
/host/spi-builder-workspace/Sources/Mu/HTTPRequest.swift:35:30: error: cannot find type 'URLRequest' in scope
    func composeRequest() -> URLRequest?
                             ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Mu/HTTPRequest.swift:59:30: error: cannot find type 'URLRequest' in scope
    func composeRequest() -> URLRequest? {
                             ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Mu/HTTPRequest.swift:62:23: error: cannot find 'URLRequest' in scope
        var request = URLRequest(url: url)
                      ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Mu/HTTPRequester.swift:25:87: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func send<T: HTTPRequest, R>(request: T, expect type: R.Type) async throws -> (R, HTTPURLResponse) where R: Decodable
                                                                                      ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
[5/16] Compiling Mu JSONDecoder+AbstractDecoder.swift
[6/16] Compiling Mu JSONEncoder+AbstractEncoder.swift
[7/16] Compiling Mu HTTPBody.swift
[8/16] Compiling Mu HTTPMethod.swift
[9/16] Compiling Mu Request.swift
/host/spi-builder-workspace/Sources/Mu/HTTPRequest.swift:35:30: error: cannot find type 'URLRequest' in scope
    func composeRequest() -> URLRequest?
                             ^~~~~~~~~~
[10/16] Compiling Mu RequestError.swift
/host/spi-builder-workspace/Sources/Mu/HTTPRequest.swift:35:30: error: cannot find type 'URLRequest' in scope
    func composeRequest() -> URLRequest?
                             ^~~~~~~~~~
[11/16] Compiling Mu Response.swift
/host/spi-builder-workspace/Sources/Mu/Response.swift:27:23: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    var httpResponse: HTTPURLResponse { get }
                      ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
[12/16] Compiling Mu Requester.swift
/host/spi-builder-workspace/Sources/Mu/Requester.swift:25:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    let session: URLSession
                 ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Mu/Requester.swift:29:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        session: URLSession = URLSession.shared,
                 ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Mu/Requester.swift:29:42: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
        session: URLSession = URLSession.shared,
                              ~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/Mu/Requester.swift:36:92: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    open func send<T: HTTPRequest, R>(request: T, expect type: R.Type) async throws -> (R, HTTPURLResponse) where R: Decodable {
                                                                                           ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Mu/HTTPRequest.swift:35:30: error: cannot find type 'URLRequest' in scope
    func composeRequest() -> URLRequest?
                             ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Mu/HTTPRequest.swift:59:30: error: cannot find type 'URLRequest' in scope
    func composeRequest() -> URLRequest? {
                             ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Mu/Requester.swift:42:50: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
        let (data, response) = try await session.data(for: urlRequest)
                                         ~~~~~~~ ^~~~
error: emit-module command failed with exit code 1 (use -v to see invocation)
[13/16] Compiling Mu AbstractDecoder.swift
[14/16] Compiling Mu AbstractEncoder.swift
[15/16] Emitting module Mu
/host/spi-builder-workspace/Sources/Mu/HTTPRequest.swift:35:30: error: cannot find type 'URLRequest' in scope
    func composeRequest() -> URLRequest?
                             ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Mu/HTTPRequest.swift:59:30: error: cannot find type 'URLRequest' in scope
    func composeRequest() -> URLRequest? {
                             ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Mu/HTTPRequester.swift:25:87: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func send<T: HTTPRequest, R>(request: T, expect type: R.Type) async throws -> (R, HTTPURLResponse) where R: Decodable
                                                                                      ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Mu/Requester.swift:25:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    let session: URLSession
                 ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Mu/Requester.swift:29:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        session: URLSession = URLSession.shared,
                 ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Mu/Requester.swift:29:42: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
        session: URLSession = URLSession.shared,
                              ~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/Mu/Requester.swift:36:92: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    open func send<T: HTTPRequest, R>(request: T, expect type: R.Type) async throws -> (R, HTTPURLResponse) where R: Decodable {
                                                                                           ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Mu/Response.swift:27:23: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    var httpResponse: HTTPURLResponse { get }
                      ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
[16/16] Compiling Mu Scheme.swift
error: fatalError
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/8] Compiling Mu Requester.swift
/host/spi-builder-workspace/Sources/Mu/Requester.swift:25:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    let session: URLSession
                 ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Mu/Requester.swift:29:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        session: URLSession = URLSession.shared,
                 ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Mu/Requester.swift:29:42: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
        session: URLSession = URLSession.shared,
                              ~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/Mu/Requester.swift:36:92: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    open func send<T: HTTPRequest, R>(request: T, expect type: R.Type) async throws -> (R, HTTPURLResponse) where R: Decodable {
                                                                                           ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Mu/HTTPRequest.swift:35:30: error: cannot find type 'URLRequest' in scope
    func composeRequest() -> URLRequest?
                             ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Mu/HTTPRequest.swift:59:30: error: cannot find type 'URLRequest' in scope
    func composeRequest() -> URLRequest? {
                             ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Mu/Requester.swift:42:50: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
        let (data, response) = try await session.data(for: urlRequest)
                                         ~~~~~~~ ^~~~
[3/8] Compiling Mu Request.swift
/host/spi-builder-workspace/Sources/Mu/HTTPRequest.swift:35:30: error: cannot find type 'URLRequest' in scope
    func composeRequest() -> URLRequest?
                             ^~~~~~~~~~
[4/8] Compiling Mu HTTPRequester.swift
/host/spi-builder-workspace/Sources/Mu/HTTPRequester.swift:25:87: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func send<T: HTTPRequest, R>(request: T, expect type: R.Type) async throws -> (R, HTTPURLResponse) where R: Decodable
                                                                                      ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
[5/8] Compiling Mu HTTPRequest.swift
/host/spi-builder-workspace/Sources/Mu/HTTPRequest.swift:35:30: error: cannot find type 'URLRequest' in scope
    func composeRequest() -> URLRequest?
                             ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Mu/HTTPRequest.swift:59:30: error: cannot find type 'URLRequest' in scope
    func composeRequest() -> URLRequest? {
                             ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Mu/HTTPRequest.swift:62:23: error: cannot find 'URLRequest' in scope
        var request = URLRequest(url: url)
                      ^~~~~~~~~~
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/8] Emitting module Mu
/host/spi-builder-workspace/Sources/Mu/HTTPRequest.swift:35:30: error: cannot find type 'URLRequest' in scope
    func composeRequest() -> URLRequest?
                             ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Mu/HTTPRequest.swift:59:30: error: cannot find type 'URLRequest' in scope
    func composeRequest() -> URLRequest? {
                             ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Mu/HTTPRequester.swift:25:87: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func send<T: HTTPRequest, R>(request: T, expect type: R.Type) async throws -> (R, HTTPURLResponse) where R: Decodable
                                                                                      ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Mu/Requester.swift:25:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    let session: URLSession
                 ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Mu/Requester.swift:29:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        session: URLSession = URLSession.shared,
                 ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Mu/Requester.swift:29:42: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
        session: URLSession = URLSession.shared,
                              ~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/Mu/Requester.swift:36:92: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    open func send<T: HTTPRequest, R>(request: T, expect type: R.Type) async throws -> (R, HTTPURLResponse) where R: Decodable {
                                                                                           ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Mu/Response.swift:27:23: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    var httpResponse: HTTPURLResponse { get }
                      ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
[7/8] Compiling Mu RequestError.swift
[8/8] Compiling Mu Response.swift
/host/spi-builder-workspace/Sources/Mu/Response.swift:27:23: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    var httpResponse: HTTPURLResponse { get }
                      ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
error: fatalError
BUILD FAILURE 5.10 linux

Build Machine: Linux 1