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: master
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
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at eb7c2eb Update README.md
Cloned https://github.com/pvzig/SKRTMAPI.git
Revision (git rev-parse @):
eb7c2ebd2f7fbd7a7bb6fd719fd9f9eac061fcb0
SUCCESS checkout https://github.com/pvzig/SKRTMAPI.git at master
========================================
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/pvzig/SKWebAPI
Fetching https://github.com/vapor/engine
Fetching https://github.com/pvzig/SKCore
[1/288] Fetching skcore
[64/582] Fetching skcore, skwebapi
[583/26049] Fetching skcore, skwebapi, engine
Fetched https://github.com/pvzig/SKWebAPI from cache (0.26s)
[2071/25755] Fetching skcore, engine
Fetched https://github.com/pvzig/SKCore from cache (0.90s)
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/tls.git
Fetching https://github.com/vapor/crypto.git
Fetching https://github.com/vapor/core.git
[1/1144] Fetching tls
[2/4456] Fetching tls, sockets
[2714/4604] Fetching tls, sockets, random
[3372/24747] Fetching tls, sockets, random, core
[4251/27533] Fetching tls, sockets, random, core, crypto
Fetched https://github.com/vapor/tls.git from cache (0.34s)
Fetched https://github.com/vapor/sockets.git from cache (0.34s)
Fetched https://github.com/vapor/crypto.git from cache (0.34s)
[7199/20291] Fetching random, core
Fetched https://github.com/vapor/random.git from cache (0.89s)
Fetched https://github.com/vapor/core.git from cache (0.90s)
Computing version for https://github.com/vapor/random.git
Computed https://github.com/vapor/random.git at 1.2.0 (0.43s)
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
[116/618] Fetching bits, debugging
Fetched https://github.com/vapor/debugging.git from cache (0.26s)
Fetched https://github.com/vapor/bits.git from cache (0.26s)
Computing version for https://github.com/vapor/debugging.git
Computed https://github.com/vapor/debugging.git at 1.1.1 (0.44s)
Computing version for https://github.com/vapor/bits.git
Computed https://github.com/vapor/bits.git at 1.1.1 (0.45s)
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.23s)
Computing version for https://github.com/vapor/crypto.git
Computed https://github.com/vapor/crypto.git at 2.1.3 (0.43s)
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.43s)
Computing version for https://github.com/pvzig/SKCore
Computed https://github.com/pvzig/SKCore at 4.1.3 (0.43s)
Computing version for https://github.com/pvzig/SKWebAPI
Computed https://github.com/pvzig/SKWebAPI at 4.1.3 (0.43s)
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/pvzig/SKCore
Working copy of https://github.com/pvzig/SKCore resolved at 4.1.3
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/pvzig/SKWebAPI
Working copy of https://github.com/pvzig/SKWebAPI resolved at 4.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/sockets.git
Working copy of https://github.com/vapor/sockets.git resolved at 2.2.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/random.git
Working copy of https://github.com/vapor/random.git resolved at 1.2.0
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/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: 'skwebapi': 'skwebapi' dependency on 'https://github.com/SlackKit/SKCore' conflicts with dependency on 'https://github.com/pvzig/SKCore' which has the same identity 'skcore'. this will be escalated to an error in future versions of SwiftPM.
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] Compiling SKCore Message.swift
[19/64] Compiling SKCore OAuthConfig.swift
[20/66] Emitting module Debugging
[21/66] Compiling Debugging Debuggable.swift
[23/67] Compiling SKCore SlackError.swift
[24/67] Compiling SKCore Team.swift
[25/67] Compiling SKCore TeamIcon.swift
[26/70] Compiling SKCore Action.swift
[27/70] Compiling SKCore Attachment.swift
[28/70] Compiling Bits Bytes+Base64.swift
[29/70] Compiling Bits Bytes+Hex.swift
[30/70] Compiling Bits UnsignedInteger+BytesConvertible.swift
[31/70] Compiling Bits UnsignedInteger+Shifting.swift
[32/70] Compiling SKCore Topic.swift
[33/70] Compiling SKCore User.swift
[34/70] Compiling SKCore UserGroup.swift
[35/70] Emitting module libc
[36/70] Compiling libc libc.swift
[37/71] Compiling SKCore Channel.swift
[38/71] Compiling SKCore Comment.swift
[39/71] Compiling SKCore CustomProfile.swift
[40/71] Compiling SKCore CustomProfileField.swift
[41/71] Emitting module SKCore
[43/71] Compiling SKCore DoNotDisturbStatus.swift
[44/71] Compiling SKCore Edited.swift
[45/71] Compiling SKCore Event.swift
[46/71] Compiling SKCore Extensions.swift
[50/71] Compiling SKCore RTMOptions.swift
[51/71] Compiling SKCore Reaction.swift
[52/71] Compiling SKCore Reply.swift
[57/71] Compiling SKCore History.swift
[58/71] Compiling SKCore Item.swift
[69/72] Emitting module Bits
[74/99] Emitting module Core
[75/99] Compiling Core Lock.swift
[76/99] Compiling Core Portal.swift
[77/99] Compiling Core RFC1123.swift
[78/101] Compiling Core Collection+Safe.swift
[79/101] Compiling Core DataFile.swift
[80/101] Compiling Core Dispatch.swift
[81/101] Compiling Core String.swift
[82/101] Compiling Core WorkingDirectory.swift
[83/101] Compiling Core DispatchTime+Utilities.swift
[84/101] Compiling Core EmptyInitializable.swift
[85/101] Compiling Core Exports.swift
[86/101] Compiling Core Extendable.swift
[87/101] Compiling Core FileProtocol.swift
[88/101] Compiling Core Int+Hex.swift
[89/101] Compiling Core Result.swift
[90/101] Compiling Core Semaphore.swift
[91/101] Compiling Core Sequence.swift
[92/101] Compiling Core StaticDataBuffer.swift
[93/101] Compiling Core String+CaseInsensitiveCompare.swift
[94/101] Compiling Core String+Polymorphic.swift
[95/101] Compiling Core Array.swift
[96/101] Compiling Core Bits.swift
[97/101] Compiling Core Cache.swift
[99/119] Compiling SKWebAPI Endpoint.swift
[100/119] 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: emit-module command failed with exit code 1 (use -v to see invocation)
[101/119] 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 {
                   ~~~~~~~~ ^~~~~~~~~~
[102/119] 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
                 ^
[103/119] Compiling Random Array+Random.swift
[104/119] Emitting module Random
[105/119] Compiling Random EmptyInitializable.swift
[106/119] Emitting module Transport
[107/119] Compiling Transport ServerStream.swift
[108/120] Compiling Transport FoundationStream.swift
[109/120] Compiling Transport ReadableStream.swift
error: fatalError
[110/120] Compiling Random Exports.swift
warning: 'ctls': ignoring declared target(s) 'CTLS' in the system package
warning: 'skwebapi': 'skwebapi' dependency on 'https://github.com/SlackKit/SKCore' conflicts with dependency on 'https://github.com/pvzig/SKCore' which has the same identity 'skcore'. this will be escalated to an error in future versions of SwiftPM.
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/17] Emitting module Transport
[3/18] Compiling Random URandom.swift
[4/18] Compiling Transport InternetStream.swift
[5/18] Compiling Transport Exports.swift
[6/18] Compiling Transport ClientStream.swift
[7/18] Compiling Transport Stream.swift
[8/18] Compiling Transport ReadableStream.swift
[9/18] Compiling Transport FoundationStream.swift
[10/19] Compiling Transport Port.swift
[11/19] Compiling Transport StreamError.swift
[12/19] Compiling Random RandomProtocol.swift
[13/21] Emitting module Random
[14/21] Compiling Random OSRandom.swift
[15/21] Compiling Transport ServerStream.swift
[16/21] Compiling Transport WriteableStream.swift
[17/22] Compiling Random EmptyInitializable.swift
[19/22] Compiling Random Array+Random.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[21/64] 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
                 ^
[22/64] 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 {
                   ~~~~~~~~ ^~~~~~~~~~
[23/64] 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
[24/64] Compiling URI URI+Ports.swift
BUILD FAILURE 5.10 linux

Build Machine: Linux 2