The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SKRTMAPI with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4609320-1":/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/pvzig/SKRTMAPI.git
Reference: 4.1.2
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/pvzig/SKRTMAPI
 * tag               4.1.2      -> FETCH_HEAD
HEAD is now at c46f78c Merge pull request #10 from NoRespect/master
Cloned https://github.com/pvzig/SKRTMAPI.git
Revision (git rev-parse @):
c46f78c588e619c0d547ecae264d77dfaff5c0f0
SUCCESS checkout https://github.com/pvzig/SKRTMAPI.git at 4.1.2
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/pvzig/SKRTMAPI.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/SlackKit/SKWebAPI
Fetching https://github.com/SlackKit/SKCore
Fetching https://github.com/vapor/engine
[1/294] Fetching skwebapi
[295/582] Fetching skwebapi, skcore
[583/26049] Fetching skwebapi, skcore, engine
Fetched https://github.com/SlackKit/SKCore from cache (0.27s)
[3605/25761] Fetching skwebapi, engine
Fetched https://github.com/SlackKit/SKWebAPI from cache (0.91s)
Fetched https://github.com/vapor/engine from cache (0.92s)
Computing version for https://github.com/vapor/engine
Computed https://github.com/vapor/engine at 2.2.5 (0.48s)
Fetching https://github.com/vapor/random.git
Fetching https://github.com/vapor/sockets.git
Fetching https://github.com/vapor/core.git
Fetching https://github.com/vapor/crypto.git
Fetching https://github.com/vapor/tls.git
[1/3312] Fetching sockets
[498/23455] Fetching sockets, core
[1597/23603] Fetching sockets, core, random
[6080/24747] Fetching sockets, core, random, tls
[9424/27533] Fetching sockets, core, random, tls, crypto
Fetched https://github.com/vapor/random.git from cache (0.33s)
[14293/27385] Fetching sockets, core, tls, crypto
Fetched https://github.com/vapor/tls.git from cache (0.35s)
[14760/26241] Fetching sockets, core, crypto
Fetched https://github.com/vapor/sockets.git from cache (0.35s)
[11851/22929] Fetching core, crypto
Fetched https://github.com/vapor/crypto.git from cache (0.38s)
[14906/20143] Fetching core
Fetched https://github.com/vapor/core.git from cache (0.86s)
Computing version for https://github.com/vapor/random.git
Computed https://github.com/vapor/random.git at 1.2.0 (0.44s)
Computing version for https://github.com/vapor/core.git
Computed https://github.com/vapor/core.git at 2.2.1 (0.45s)
Fetching https://github.com/vapor/debugging.git
Fetching https://github.com/vapor/bits.git
[1/358] Fetching bits
[359/618] Fetching bits, debugging
Fetched https://github.com/vapor/bits.git from cache (0.31s)
Fetched https://github.com/vapor/debugging.git from cache (0.31s)
Computing version for https://github.com/vapor/debugging.git
Computed https://github.com/vapor/debugging.git at 1.1.1 (0.43s)
Computing version for https://github.com/vapor/bits.git
Computed https://github.com/vapor/bits.git at 1.1.1 (0.43s)
Computing version for https://github.com/vapor/tls.git
Computed https://github.com/vapor/tls.git at 2.1.3 (0.45s)
Fetching https://github.com/vapor/ctls.git
[1/71] Fetching ctls
Fetched https://github.com/vapor/ctls.git from cache (0.24s)
Computing version for https://github.com/vapor/crypto.git
Computed https://github.com/vapor/crypto.git at 2.1.3 (0.44s)
Computing version for https://github.com/vapor/ctls.git
Computed https://github.com/vapor/ctls.git at 1.1.3 (0.43s)
Computing version for https://github.com/vapor/sockets.git
Computed https://github.com/vapor/sockets.git at 2.2.3 (0.45s)
Computing version for https://github.com/SlackKit/SKCore
Computed https://github.com/SlackKit/SKCore at 4.1.3 (0.42s)
Computing version for https://github.com/SlackKit/SKWebAPI
Computed https://github.com/SlackKit/SKWebAPI at 4.1.3 (0.43s)
Creating working copy for https://github.com/vapor/engine
Working copy of https://github.com/vapor/engine resolved at 2.2.5
Creating working copy for https://github.com/SlackKit/SKCore
Working copy of https://github.com/SlackKit/SKCore resolved at 4.1.3
Creating working copy for https://github.com/SlackKit/SKWebAPI
Working copy of https://github.com/SlackKit/SKWebAPI resolved at 4.1.3
Creating working copy for https://github.com/vapor/random.git
Working copy of https://github.com/vapor/random.git resolved at 1.2.0
Creating working copy for https://github.com/vapor/sockets.git
Working copy of https://github.com/vapor/sockets.git resolved at 2.2.3
Creating working copy for https://github.com/vapor/crypto.git
Working copy of https://github.com/vapor/crypto.git resolved at 2.1.3
Creating working copy for https://github.com/vapor/debugging.git
Working copy of https://github.com/vapor/debugging.git resolved at 1.1.1
Creating working copy for https://github.com/vapor/core.git
Working copy of https://github.com/vapor/core.git resolved at 2.2.1
Creating working copy for https://github.com/vapor/ctls.git
Working copy of https://github.com/vapor/ctls.git resolved at 1.1.3
Creating working copy for https://github.com/vapor/bits.git
Working copy of https://github.com/vapor/bits.git resolved at 1.1.1
Creating working copy for https://github.com/vapor/tls.git
Working copy of https://github.com/vapor/tls.git resolved at 2.1.3
warning: 'ctls': ignoring declared target(s) 'CTLS' in the system package
warning: you may be able to install ctls using your system-packager:
    apt-get install libssl-dev
Building for debugging...
[0/17] Write sources
[15/17] Compiling CHTTP http_parser.c
[15/17] Write swift-version-24593BA9C3E375BF.txt
[18/64] Emitting module libc
[19/64] Emitting module Bits
[20/66] Emitting module SKCore
[21/69] Compiling Bits Bytes+Percent.swift
[22/69] Compiling Bits BytesConvertible.swift
[23/69] Compiling Bits Bytes+Base64.swift
[24/69] Compiling SKCore Topic.swift
[25/69] Compiling SKCore User.swift
[26/69] Compiling SKCore UserGroup.swift
[27/69] Compiling Bits UnsignedInteger+Shifting.swift
[28/69] Compiling SKCore Reply.swift
[29/69] Compiling SKCore Scope.swift
[30/69] Compiling Bits UnsignedInteger+BytesConvertible.swift
[32/69] Compiling Bits Byte+UTF8Numbers.swift
[33/69] Compiling Bits ByteSequence+Conversions.swift
[34/69] Compiling Bits Data+BytesConvertible.swift
[35/69] Compiling Bits HexEncoder.swift
[36/69] Compiling Bits Byte+ControlCharacters.swift
[37/69] Compiling Bits Byte+Convenience.swift
[38/69] Compiling Bits Byte+PatternMatching.swift
[39/69] Compiling Bits Byte+Random.swift
[40/69] Emitting module Debugging
[41/69] Compiling Debugging Debuggable.swift
[43/70] Compiling Bits Operators.swift
[44/70] Compiling Bits String+BytesConvertible.swift
[45/70] Compiling Bits Aliases.swift
[46/70] Compiling Bits Base64Encoder.swift
[47/70] Compiling Bits Byte+Alphabet.swift
[50/70] Compiling libc libc.swift
[51/71] Compiling SKCore File.swift
[52/71] Compiling SKCore History.swift
[53/71] Compiling SKCore Item.swift
[54/71] Compiling Bits Bytes+Hex.swift
[74/99] Emitting module Core
[75/101] Compiling Core Array.swift
[76/101] Compiling Core Bits.swift
[77/101] Compiling Core Cache.swift
[78/101] Compiling Core String.swift
[79/101] Compiling Core WorkingDirectory.swift
[80/101] Compiling Core Extendable.swift
[81/101] Compiling Core FileProtocol.swift
[82/101] Compiling Core Int+Hex.swift
[83/101] Compiling Core DispatchTime+Utilities.swift
[84/101] Compiling Core EmptyInitializable.swift
[85/101] Compiling Core Exports.swift
[86/101] Compiling Core Result.swift
[87/101] Compiling Core Semaphore.swift
[88/101] Compiling Core Sequence.swift
[89/101] Compiling Core Lock.swift
[90/101] Compiling Core Portal.swift
[91/101] Compiling Core RFC1123.swift
[92/101] Compiling Core Collection+Safe.swift
[93/101] Compiling Core DataFile.swift
[94/101] Compiling Core Dispatch.swift
[95/101] Compiling Core StaticDataBuffer.swift
[96/101] Compiling Core String+CaseInsensitiveCompare.swift
[97/101] Compiling Core String+Polymorphic.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[98/102] Compiling SKWebAPI Endpoint.swift
[99/102] Compiling SKWebAPI NetworkInterface.swift
/host/spi-builder-workspace/.build/checkouts/SKWebAPI/Sources/NetworkInterface.swift:33:27: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
    private let session = URLSession(configuration: .default)
                          ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SKWebAPI/Sources/NetworkInterface.swift:33:54: error: cannot infer contextual base in reference to member 'default'
    private let session = URLSession(configuration: .default)
                                                    ~^~~~~~~
/host/spi-builder-workspace/.build/checkouts/SKWebAPI/Sources/NetworkInterface.swift:133:66: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    internal static func handleResponse(_ data: Data?, response: URLResponse?, publicError: Error?) throws -> [String: Any] {
                                                                 ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/SKWebAPI/Sources/NetworkInterface.swift:47:23: error: cannot find 'URLRequest' in scope
        let request = URLRequest(url: url)
                      ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SKWebAPI/Sources/NetworkInterface.swift:51:68: error: cannot convert value of type '_' to expected argument type 'Data?'
                successClosure(try NetworkInterface.handleResponse(data, response: response, publicError: publicError))
                                                                   ^
/host/spi-builder-workspace/.build/checkouts/SKWebAPI/Sources/NetworkInterface.swift:51:84: error: argument type '_' expected to be an instance of a class or class-constrained type
                successClosure(try NetworkInterface.handleResponse(data, response: response, publicError: publicError))
                                                                                   ^
/host/spi-builder-workspace/.build/checkouts/SKWebAPI/Sources/NetworkInterface.swift:63:23: error: cannot find 'URLRequest' in scope
        let request = URLRequest(url: url)
                      ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SKWebAPI/Sources/NetworkInterface.swift:65:23: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        var response: URLResponse? = nil
                      ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/SKWebAPI/Sources/NetworkInterface.swift:69:18: error: cannot assign value of type '_' to type 'Data?'
            data = reqData
                 ^
/host/spi-builder-workspace/.build/checkouts/SKWebAPI/Sources/NetworkInterface.swift:89:23: error: cannot find 'URLRequest' in scope
        var request = URLRequest(url:url)
                      ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SKWebAPI/Sources/NetworkInterface.swift:117:23: error: cannot find 'URLRequest' in scope
        var request = URLRequest(url:url)
                      ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SKWebAPI/Sources/NetworkInterface.swift:126:68: error: cannot convert value of type '_' to expected argument type 'Data?'
                successClosure(try NetworkInterface.handleResponse(data, response: response, publicError: publicError))
                                                                   ^
/host/spi-builder-workspace/.build/checkouts/SKWebAPI/Sources/NetworkInterface.swift:126:84: error: argument type '_' expected to be an instance of a class or class-constrained type
                successClosure(try NetworkInterface.handleResponse(data, response: response, publicError: publicError))
                                                                                   ^
/host/spi-builder-workspace/.build/checkouts/SKWebAPI/Sources/NetworkInterface.swift:134:60: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        guard let data = data, let response = response as? HTTPURLResponse else {
                                                           ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/SKWebAPI/Sources/NetworkInterface.swift:142:29: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
            switch response.statusCode {
                   ~~~~~~~~ ^~~~~~~~~~
[100/102] Emitting module SKWebAPI
/host/spi-builder-workspace/.build/checkouts/SKWebAPI/Sources/NetworkInterface.swift:33:27: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
    private let session = URLSession(configuration: .default)
                          ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SKWebAPI/Sources/NetworkInterface.swift:33:54: error: cannot infer contextual base in reference to member 'default'
    private let session = URLSession(configuration: .default)
                                                    ~^~~~~~~
/host/spi-builder-workspace/.build/checkouts/SKWebAPI/Sources/NetworkInterface.swift:133:66: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    internal static func handleResponse(_ data: Data?, response: URLResponse?, publicError: Error?) throws -> [String: Any] {
                                                                 ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
[101/102] Compiling SKWebAPI WebAPI.swift
/host/spi-builder-workspace/.build/checkouts/SKWebAPI/Sources/NetworkInterface.swift:33:27: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
    private let session = URLSession(configuration: .default)
                          ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SKWebAPI/Sources/NetworkInterface.swift:33:54: error: cannot infer contextual base in reference to member 'default'
    private let session = URLSession(configuration: .default)
                                                    ~^~~~~~~
error: fatalError
warning: 'ctls': ignoring declared target(s) 'CTLS' in the system package
warning: you may be able to install ctls using your system-packager:
    apt-get install libssl-dev
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/5] Emitting module Core
[4/23] Compiling Transport Stream.swift
[5/24] Compiling Transport FoundationStream.swift
[6/24] Compiling Transport ReadableStream.swift
[7/24] Compiling Transport StreamError.swift
[8/24] Compiling Random EmptyInitializable.swift
[9/24] Compiling Transport WriteableStream.swift
[10/24] Compiling Transport ServerStream.swift
[11/24] Compiling Transport Exports.swift
[12/24] Compiling Transport ClientStream.swift
[13/24] Emitting module Transport
[14/24] Compiling Transport InternetStream.swift
[15/24] Compiling Transport Port.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[16/25] Emitting module SKWebAPI
/host/spi-builder-workspace/.build/checkouts/SKWebAPI/Sources/NetworkInterface.swift:33:27: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
    private let session = URLSession(configuration: .default)
                          ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SKWebAPI/Sources/NetworkInterface.swift:33:54: error: cannot infer contextual base in reference to member 'default'
    private let session = URLSession(configuration: .default)
                                                    ~^~~~~~~
/host/spi-builder-workspace/.build/checkouts/SKWebAPI/Sources/NetworkInterface.swift:133:66: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    internal static func handleResponse(_ data: Data?, response: URLResponse?, publicError: Error?) throws -> [String: Any] {
                                                                 ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
[17/25] Compiling SKWebAPI WebAPI.swift
/host/spi-builder-workspace/.build/checkouts/SKWebAPI/Sources/NetworkInterface.swift:33:27: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
    private let session = URLSession(configuration: .default)
                          ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SKWebAPI/Sources/NetworkInterface.swift:33:54: error: cannot infer contextual base in reference to member 'default'
    private let session = URLSession(configuration: .default)
                                                    ~^~~~~~~
[18/25] Compiling SKWebAPI NetworkInterface.swift
/host/spi-builder-workspace/.build/checkouts/SKWebAPI/Sources/NetworkInterface.swift:33:27: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
    private let session = URLSession(configuration: .default)
                          ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SKWebAPI/Sources/NetworkInterface.swift:33:54: error: cannot infer contextual base in reference to member 'default'
    private let session = URLSession(configuration: .default)
                                                    ~^~~~~~~
/host/spi-builder-workspace/.build/checkouts/SKWebAPI/Sources/NetworkInterface.swift:133:66: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    internal static func handleResponse(_ data: Data?, response: URLResponse?, publicError: Error?) throws -> [String: Any] {
                                                                 ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/SKWebAPI/Sources/NetworkInterface.swift:47:23: error: cannot find 'URLRequest' in scope
        let request = URLRequest(url: url)
                      ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SKWebAPI/Sources/NetworkInterface.swift:51:68: error: cannot convert value of type '_' to expected argument type 'Data?'
                successClosure(try NetworkInterface.handleResponse(data, response: response, publicError: publicError))
                                                                   ^
/host/spi-builder-workspace/.build/checkouts/SKWebAPI/Sources/NetworkInterface.swift:51:84: error: argument type '_' expected to be an instance of a class or class-constrained type
                successClosure(try NetworkInterface.handleResponse(data, response: response, publicError: publicError))
                                                                                   ^
/host/spi-builder-workspace/.build/checkouts/SKWebAPI/Sources/NetworkInterface.swift:63:23: error: cannot find 'URLRequest' in scope
        let request = URLRequest(url: url)
                      ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SKWebAPI/Sources/NetworkInterface.swift:65:23: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        var response: URLResponse? = nil
                      ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/SKWebAPI/Sources/NetworkInterface.swift:69:18: error: cannot assign value of type '_' to type 'Data?'
            data = reqData
                 ^
/host/spi-builder-workspace/.build/checkouts/SKWebAPI/Sources/NetworkInterface.swift:89:23: error: cannot find 'URLRequest' in scope
        var request = URLRequest(url:url)
                      ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SKWebAPI/Sources/NetworkInterface.swift:117:23: error: cannot find 'URLRequest' in scope
        var request = URLRequest(url:url)
                      ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SKWebAPI/Sources/NetworkInterface.swift:126:68: error: cannot convert value of type '_' to expected argument type 'Data?'
                successClosure(try NetworkInterface.handleResponse(data, response: response, publicError: publicError))
                                                                   ^
/host/spi-builder-workspace/.build/checkouts/SKWebAPI/Sources/NetworkInterface.swift:126:84: error: argument type '_' expected to be an instance of a class or class-constrained type
                successClosure(try NetworkInterface.handleResponse(data, response: response, publicError: publicError))
                                                                                   ^
/host/spi-builder-workspace/.build/checkouts/SKWebAPI/Sources/NetworkInterface.swift:134:60: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        guard let data = data, let response = response as? HTTPURLResponse else {
                                                           ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/SKWebAPI/Sources/NetworkInterface.swift:142:29: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
            switch response.statusCode {
                   ~~~~~~~~ ^~~~~~~~~~
error: fatalError
BUILD FAILURE 5.10 linux

Build Machine: Linux 2