The Swift Package Index logo.Swift Package Index

Build Information

Failed to build ShellKit 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/einstore/shellkit.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/einstore/shellkit
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at da8dcb4 formatting
Cloned https://github.com/einstore/shellkit.git
Revision (git rev-parse @):
da8dcb4252a5cb479094559d111d3a221689ae2b
SUCCESS checkout https://github.com/einstore/shellkit.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/einstore/shellkit.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/jakeheis/CSSH
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/IBM-Swift/BlueSocket
Fetching https://github.com/Einstore/WebErrorKit.git
Fetching https://github.com/Einstore/Shout.git
[1/28] Fetching weberrorkit
[29/440] Fetching weberrorkit, shout
[441/466] Fetching weberrorkit, shout, cssh
[467/3408] Fetching weberrorkit, shout, cssh, bluesocket
Fetched https://github.com/Einstore/WebErrorKit.git from cache (0.33s)
[1/64439] Fetching swift-nio
Fetched https://github.com/jakeheis/CSSH from cache (4.26s)
Fetched https://github.com/Einstore/Shout.git from cache (4.26s)
Fetched https://github.com/IBM-Swift/BlueSocket from cache (4.26s)
Fetched https://github.com/apple/swift-nio.git from cache (4.35s)
Computing version for https://github.com/Einstore/Shout.git
Computed https://github.com/Einstore/Shout.git at 0.5.1 (1.04s)
Computing version for https://github.com/Einstore/WebErrorKit.git
Computed https://github.com/Einstore/WebErrorKit.git at 0.0.1 (6.52s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.7.0 (0.49s)
Computing version for https://github.com/jakeheis/CSSH
Computed https://github.com/jakeheis/CSSH at 1.0.3 (0.55s)
Computing version for https://github.com/IBM-Swift/BlueSocket
Computed https://github.com/IBM-Swift/BlueSocket at 1.0.48 (0.46s)
Creating working copy for https://github.com/Einstore/WebErrorKit.git
Working copy of https://github.com/Einstore/WebErrorKit.git resolved at 0.0.1
Creating working copy for https://github.com/jakeheis/CSSH
Working copy of https://github.com/jakeheis/CSSH resolved at 1.0.3
Creating working copy for https://github.com/IBM-Swift/BlueSocket
Working copy of https://github.com/IBM-Swift/BlueSocket resolved at 1.0.48
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.7.0
Creating working copy for https://github.com/Einstore/Shout.git
Working copy of https://github.com/Einstore/Shout.git resolved at 0.5.1
warning: 'cssh': ignoring declared target(s) 'CSSH' in the system package
warning: you may be able to install libssh2 using your system-packager:
    apt-get install libssh2-1-dev
Building for debugging...
[0/17] Write sources
[11/17] Compiling CNIODarwin shim.c
[12/17] Compiling CNIOLinux ifaddrs-android.c
[13/17] Compiling CNIOSHA1 c_nio_sha1.c
[14/17] Compiling CNIOLinux shim.c
[15/17] Write swift-version-24593BA9C3E375BF.txt
[16/29] Compiling c-atomics.c
[18/32] Compiling WebErrorKit WebError.swift
[19/32] Compiling WebErrorKit WebErrorContent.swift
[20/32] Compiling WebErrorKit WebError+RawRepresentable.swift
[21/32] Compiling WebErrorKit WebError+Serializable.swift
[22/32] Compiling WebErrorKit SerializableWebError.swift
[23/32] Compiling WebErrorKit String+Codify.swift
[24/32] Emitting module NIOConcurrencyHelpers
[25/32] Compiling WebErrorKit Exports.swift
[26/32] Emitting module WebErrorKit
[28/33] Compiling NIOConcurrencyHelpers atomics.swift
[29/33] Compiling NIOConcurrencyHelpers lock.swift
[31/84] Emitting module Socket
[32/84] Compiling Socket SocketUtils.swift
[33/84] Compiling Socket SocketProtocols.swift
[34/84] Compiling Socket Socket.swift
[36/85] Compiling NIO IOData.swift
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/MarkedCircularBuffer.swift:132:1: error: type 'MarkedCircularBuffer<Element>' does not conform to protocol 'MutableCollection'
extension MarkedCircularBuffer: Collection, MutableCollection {
^
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/MarkedCircularBuffer.swift:132:1: error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'MutableCollection'
extension MarkedCircularBuffer: Collection, MutableCollection {
^
Swift.MutableCollection:8:12: note: 'subscript(_:)' declared here
    public subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get set }
           ^
Swift.MutableCollection:6:14: note: requirement 'subscript(_:)' declared here
    override subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get set }
             ^
[37/85] Compiling NIO IntegerTypes.swift
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/MarkedCircularBuffer.swift:132:1: error: type 'MarkedCircularBuffer<Element>' does not conform to protocol 'MutableCollection'
extension MarkedCircularBuffer: Collection, MutableCollection {
^
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/MarkedCircularBuffer.swift:132:1: error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'MutableCollection'
extension MarkedCircularBuffer: Collection, MutableCollection {
^
Swift.MutableCollection:8:12: note: 'subscript(_:)' declared here
    public subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get set }
           ^
Swift.MutableCollection:6:14: note: requirement 'subscript(_:)' declared here
    override subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get set }
             ^
[38/85] Compiling NIO Interfaces.swift
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/MarkedCircularBuffer.swift:132:1: error: type 'MarkedCircularBuffer<Element>' does not conform to protocol 'MutableCollection'
extension MarkedCircularBuffer: Collection, MutableCollection {
^
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/MarkedCircularBuffer.swift:132:1: error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'MutableCollection'
extension MarkedCircularBuffer: Collection, MutableCollection {
^
Swift.MutableCollection:8:12: note: 'subscript(_:)' declared here
    public subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get set }
           ^
Swift.MutableCollection:6:14: note: requirement 'subscript(_:)' declared here
    override subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get set }
             ^
[39/85] Compiling NIO Linux.swift
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/MarkedCircularBuffer.swift:132:1: error: type 'MarkedCircularBuffer<Element>' does not conform to protocol 'MutableCollection'
extension MarkedCircularBuffer: Collection, MutableCollection {
^
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/MarkedCircularBuffer.swift:132:1: error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'MutableCollection'
extension MarkedCircularBuffer: Collection, MutableCollection {
^
Swift.MutableCollection:8:12: note: 'subscript(_:)' declared here
    public subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get set }
           ^
Swift.MutableCollection:6:14: note: requirement 'subscript(_:)' declared here
    override subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get set }
             ^
[40/85] Compiling NIO LinuxCPUSet.swift
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/MarkedCircularBuffer.swift:132:1: error: type 'MarkedCircularBuffer<Element>' does not conform to protocol 'MutableCollection'
extension MarkedCircularBuffer: Collection, MutableCollection {
^
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/MarkedCircularBuffer.swift:132:1: error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'MutableCollection'
extension MarkedCircularBuffer: Collection, MutableCollection {
^
Swift.MutableCollection:8:12: note: 'subscript(_:)' declared here
    public subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get set }
           ^
Swift.MutableCollection:6:14: note: requirement 'subscript(_:)' declared here
    override subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get set }
             ^
[41/85] Compiling NIO MarkedCircularBuffer.swift
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/MarkedCircularBuffer.swift:132:1: error: type 'MarkedCircularBuffer<Element>' does not conform to protocol 'MutableCollection'
extension MarkedCircularBuffer: Collection, MutableCollection {
^
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/MarkedCircularBuffer.swift:132:1: error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'MutableCollection'
extension MarkedCircularBuffer: Collection, MutableCollection {
^
Swift.MutableCollection:8:12: note: 'subscript(_:)' declared here
    public subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get set }
           ^
Swift.MutableCollection:6:14: note: requirement 'subscript(_:)' declared here
    override subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get set }
             ^
[42/85] Compiling NIO MulticastChannel.swift
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/MarkedCircularBuffer.swift:132:1: error: type 'MarkedCircularBuffer<Element>' does not conform to protocol 'MutableCollection'
extension MarkedCircularBuffer: Collection, MutableCollection {
^
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/MarkedCircularBuffer.swift:132:1: error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'MutableCollection'
extension MarkedCircularBuffer: Collection, MutableCollection {
^
Swift.MutableCollection:8:12: note: 'subscript(_:)' declared here
    public subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get set }
           ^
Swift.MutableCollection:6:14: note: requirement 'subscript(_:)' declared here
    override subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get set }
             ^
[43/100] Compiling NIO FileDescriptor.swift
[44/100] Compiling NIO FileHandle.swift
[45/100] Compiling NIO FileRegion.swift
[46/100] Compiling NIO GetaddrinfoResolver.swift
[47/100] Compiling NIO HappyEyeballs.swift
[48/100] Compiling NIO Heap.swift
[49/100] Compiling NIO IO.swift
[50/100] Compiling NIO CircularBuffer.swift
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/CircularBuffer.swift:106:1: error: type 'CircularBuffer<Element>' does not conform to protocol 'MutableCollection'
extension CircularBuffer: Collection, MutableCollection {
^
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/CircularBuffer.swift:106:1: error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'MutableCollection'
extension CircularBuffer: Collection, MutableCollection {
^
Swift.MutableCollection:8:12: note: 'subscript(_:)' declared here
    public subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get set }
           ^
Swift.MutableCollection:6:14: note: requirement 'subscript(_:)' declared here
    override subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get set }
             ^
[51/100] Compiling NIO Codec.swift
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/CircularBuffer.swift:106:1: error: type 'CircularBuffer<Element>' does not conform to protocol 'MutableCollection'
extension CircularBuffer: Collection, MutableCollection {
^
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/CircularBuffer.swift:106:1: error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'MutableCollection'
extension CircularBuffer: Collection, MutableCollection {
^
Swift.MutableCollection:8:12: note: 'subscript(_:)' declared here
    public subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get set }
           ^
Swift.MutableCollection:6:14: note: requirement 'subscript(_:)' declared here
    override subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get set }
             ^
[52/100] Compiling NIO DatagramVectorReadManager.swift
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/CircularBuffer.swift:106:1: error: type 'CircularBuffer<Element>' does not conform to protocol 'MutableCollection'
extension CircularBuffer: Collection, MutableCollection {
^
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/CircularBuffer.swift:106:1: error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'MutableCollection'
extension CircularBuffer: Collection, MutableCollection {
^
Swift.MutableCollection:8:12: note: 'subscript(_:)' declared here
    public subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get set }
           ^
Swift.MutableCollection:6:14: note: requirement 'subscript(_:)' declared here
    override subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get set }
             ^
[53/100] Compiling NIO DeadChannel.swift
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/CircularBuffer.swift:106:1: error: type 'CircularBuffer<Element>' does not conform to protocol 'MutableCollection'
extension CircularBuffer: Collection, MutableCollection {
^
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/CircularBuffer.swift:106:1: error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'MutableCollection'
extension CircularBuffer: Collection, MutableCollection {
^
Swift.MutableCollection:8:12: note: 'subscript(_:)' declared here
    public subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get set }
           ^
Swift.MutableCollection:6:14: note: requirement 'subscript(_:)' declared here
    override subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get set }
             ^
[54/100] Compiling NIO Embedded.swift
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/CircularBuffer.swift:106:1: error: type 'CircularBuffer<Element>' does not conform to protocol 'MutableCollection'
extension CircularBuffer: Collection, MutableCollection {
^
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/CircularBuffer.swift:106:1: error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'MutableCollection'
extension CircularBuffer: Collection, MutableCollection {
^
Swift.MutableCollection:8:12: note: 'subscript(_:)' declared here
    public subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get set }
           ^
Swift.MutableCollection:6:14: note: requirement 'subscript(_:)' declared here
    override subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get set }
             ^
[55/100] Compiling NIO EventLoop.swift
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/CircularBuffer.swift:106:1: error: type 'CircularBuffer<Element>' does not conform to protocol 'MutableCollection'
extension CircularBuffer: Collection, MutableCollection {
^
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/CircularBuffer.swift:106:1: error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'MutableCollection'
extension CircularBuffer: Collection, MutableCollection {
^
Swift.MutableCollection:8:12: note: 'subscript(_:)' declared here
    public subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get set }
           ^
Swift.MutableCollection:6:14: note: requirement 'subscript(_:)' declared here
    override subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get set }
             ^
[56/100] Compiling NIO EventLoopFuture.swift
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/CircularBuffer.swift:106:1: error: type 'CircularBuffer<Element>' does not conform to protocol 'MutableCollection'
extension CircularBuffer: Collection, MutableCollection {
^
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/CircularBuffer.swift:106:1: error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'MutableCollection'
extension CircularBuffer: Collection, MutableCollection {
^
Swift.MutableCollection:8:12: note: 'subscript(_:)' declared here
    public subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get set }
           ^
Swift.MutableCollection:6:14: note: requirement 'subscript(_:)' declared here
    override subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get set }
             ^
[57/100] Compiling Shout SSHError.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/.build/checkouts/CSSH/shim.h:4:10: error: 'libssh2.h' file not found
#include <libssh2.h>
         ^
/host/spi-builder-workspace/.build/checkouts/Shout/Sources/Shout/Agent.swift:8:8: error: could not build C module 'CSSH'
import CSSH
       ^
[58/100] Compiling Shout FilePermissions.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/.build/checkouts/CSSH/shim.h:4:10: error: 'libssh2.h' file not found
#include <libssh2.h>
         ^
/host/spi-builder-workspace/.build/checkouts/Shout/Sources/Shout/Agent.swift:8:8: error: could not build C module 'CSSH'
import CSSH
       ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[59/101] Emitting module Shout
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/.build/checkouts/CSSH/shim.h:4:10: error: 'libssh2.h' file not found
#include <libssh2.h>
         ^
/host/spi-builder-workspace/.build/checkouts/Shout/Sources/Shout/Agent.swift:8:8: error: could not build C module 'CSSH'
import CSSH
       ^
[60/101] Compiling Shout Agent.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/.build/checkouts/CSSH/shim.h:4:10: error: 'libssh2.h' file not found
#include <libssh2.h>
         ^
/host/spi-builder-workspace/.build/checkouts/Shout/Sources/Shout/Agent.swift:8:8: error: could not build C module 'CSSH'
import CSSH
       ^
[61/101] Compiling Shout Channel.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/.build/checkouts/CSSH/shim.h:4:10: error: 'libssh2.h' file not found
#include <libssh2.h>
         ^
/host/spi-builder-workspace/.build/checkouts/Shout/Sources/Shout/Agent.swift:8:8: error: could not build C module 'CSSH'
import CSSH
       ^
[62/101] Compiling Shout ReadWrite.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/.build/checkouts/CSSH/shim.h:4:10: error: 'libssh2.h' file not found
#include <libssh2.h>
         ^
/host/spi-builder-workspace/.build/checkouts/Shout/Sources/Shout/Agent.swift:8:8: error: could not build C module 'CSSH'
import CSSH
       ^
[63/101] Compiling Shout SFTP.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/.build/checkouts/CSSH/shim.h:4:10: error: 'libssh2.h' file not found
#include <libssh2.h>
         ^
/host/spi-builder-workspace/.build/checkouts/Shout/Sources/Shout/Agent.swift:8:8: error: could not build C module 'CSSH'
import CSSH
       ^
[64/101] Compiling Shout SSHAuthMethod.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/.build/checkouts/CSSH/shim.h:4:10: error: 'libssh2.h' file not found
#include <libssh2.h>
         ^
/host/spi-builder-workspace/.build/checkouts/Shout/Sources/Shout/Agent.swift:8:8: error: could not build C module 'CSSH'
import CSSH
       ^
[65/101] Compiling Shout SSH.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/.build/checkouts/CSSH/shim.h:4:10: error: 'libssh2.h' file not found
#include <libssh2.h>
         ^
/host/spi-builder-workspace/.build/checkouts/Shout/Sources/Shout/Agent.swift:8:8: error: could not build C module 'CSSH'
import CSSH
       ^
[68/101] Compiling NIO ChannelHandler.swift
[69/101] Compiling NIO ChannelHandlers.swift
[70/101] Compiling NIO ChannelInvoker.swift
[71/101] Compiling NIO ChannelOption.swift
[72/101] Compiling NIO ChannelPipeline.swift
[73/101] Compiling Shout Session.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/.build/checkouts/CSSH/shim.h:4:10: error: 'libssh2.h' file not found
#include <libssh2.h>
         ^
/host/spi-builder-workspace/.build/checkouts/Shout/Sources/Shout/Agent.swift:8:8: error: could not build C module 'CSSH'
import CSSH
       ^
error: fatalError
[74/101] Compiling NIO NIOAny.swift
[75/101] Compiling NIO NIOCloseOnErrorHandler.swift
[76/101] Compiling NIO NIOThreadPool.swift
[77/101] Compiling NIO NonBlockingFileIO.swift
[78/101] Compiling NIO PendingDatagramWritesManager.swift
[79/101] Compiling NIO PendingWritesManager.swift
[80/101] Compiling NIO PriorityQueue.swift
warning: 'cssh': ignoring declared target(s) 'CSSH' in the system package
warning: you may be able to install libssh2 using your system-packager:
    apt-get install libssh2-1-dev
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/41] Compiling Shout SSHError.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/.build/checkouts/CSSH/shim.h:4:10: error: 'libssh2.h' file not found
#include <libssh2.h>
         ^
/host/spi-builder-workspace/.build/checkouts/Shout/Sources/Shout/Agent.swift:8:8: error: could not build C module 'CSSH'
import CSSH
       ^
[3/42] Compiling Shout SSHAuthMethod.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/.build/checkouts/CSSH/shim.h:4:10: error: 'libssh2.h' file not found
#include <libssh2.h>
         ^
/host/spi-builder-workspace/.build/checkouts/Shout/Sources/Shout/Agent.swift:8:8: error: could not build C module 'CSSH'
import CSSH
       ^
[4/42] Compiling Shout FilePermissions.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/.build/checkouts/CSSH/shim.h:4:10: error: 'libssh2.h' file not found
#include <libssh2.h>
         ^
/host/spi-builder-workspace/.build/checkouts/Shout/Sources/Shout/Agent.swift:8:8: error: could not build C module 'CSSH'
import CSSH
       ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/42] Emitting module Shout
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/.build/checkouts/CSSH/shim.h:4:10: error: 'libssh2.h' file not found
#include <libssh2.h>
         ^
/host/spi-builder-workspace/.build/checkouts/Shout/Sources/Shout/Agent.swift:8:8: error: could not build C module 'CSSH'
import CSSH
       ^
[6/42] Compiling NIO DeadChannel.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/.build/checkouts/CSSH/shim.h:4:10: error: 'libssh2.h' file not found
#include <libssh2.h>
         ^
/host/spi-builder-workspace/.build/checkouts/Shout/Sources/Shout/Agent.swift:8:8: error: could not build C module 'CSSH'
import CSSH
       ^
[7/42] Compiling NIO Embedded.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/.build/checkouts/CSSH/shim.h:4:10: error: 'libssh2.h' file not found
#include <libssh2.h>
         ^
/host/spi-builder-workspace/.build/checkouts/Shout/Sources/Shout/Agent.swift:8:8: error: could not build C module 'CSSH'
import CSSH
       ^
[8/42] Compiling Shout SSH.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/.build/checkouts/CSSH/shim.h:4:10: error: 'libssh2.h' file not found
#include <libssh2.h>
         ^
/host/spi-builder-workspace/.build/checkouts/Shout/Sources/Shout/Agent.swift:8:8: error: could not build C module 'CSSH'
import CSSH
       ^
[9/42] Compiling Shout ReadWrite.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/.build/checkouts/CSSH/shim.h:4:10: error: 'libssh2.h' file not found
#include <libssh2.h>
         ^
/host/spi-builder-workspace/.build/checkouts/Shout/Sources/Shout/Agent.swift:8:8: error: could not build C module 'CSSH'
import CSSH
       ^
[10/42] Compiling Shout SFTP.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/.build/checkouts/CSSH/shim.h:4:10: error: 'libssh2.h' file not found
#include <libssh2.h>
         ^
/host/spi-builder-workspace/.build/checkouts/Shout/Sources/Shout/Agent.swift:8:8: error: could not build C module 'CSSH'
import CSSH
       ^
[11/42] Compiling NIO LinuxCPUSet.swift
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/MarkedCircularBuffer.swift:132:1: error: type 'MarkedCircularBuffer<Element>' does not conform to protocol 'MutableCollection'
extension MarkedCircularBuffer: Collection, MutableCollection {
^
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/MarkedCircularBuffer.swift:132:1: error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'MutableCollection'
extension MarkedCircularBuffer: Collection, MutableCollection {
^
Swift.MutableCollection:8:12: note: 'subscript(_:)' declared here
    public subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get set }
           ^
Swift.MutableCollection:6:14: note: requirement 'subscript(_:)' declared here
    override subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get set }
             ^
[12/42] Compiling NIO MarkedCircularBuffer.swift
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/MarkedCircularBuffer.swift:132:1: error: type 'MarkedCircularBuffer<Element>' does not conform to protocol 'MutableCollection'
extension MarkedCircularBuffer: Collection, MutableCollection {
^
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/MarkedCircularBuffer.swift:132:1: error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'MutableCollection'
extension MarkedCircularBuffer: Collection, MutableCollection {
^
Swift.MutableCollection:8:12: note: 'subscript(_:)' declared here
    public subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get set }
           ^
Swift.MutableCollection:6:14: note: requirement 'subscript(_:)' declared here
    override subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get set }
             ^
[13/42] Compiling NIO MulticastChannel.swift
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/MarkedCircularBuffer.swift:132:1: error: type 'MarkedCircularBuffer<Element>' does not conform to protocol 'MutableCollection'
extension MarkedCircularBuffer: Collection, MutableCollection {
^
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/MarkedCircularBuffer.swift:132:1: error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'MutableCollection'
extension MarkedCircularBuffer: Collection, MutableCollection {
^
Swift.MutableCollection:8:12: note: 'subscript(_:)' declared here
    public subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get set }
           ^
Swift.MutableCollection:6:14: note: requirement 'subscript(_:)' declared here
    override subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get set }
             ^
[14/42] Compiling NIO RecvByteBufferAllocator.swift
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/MarkedCircularBuffer.swift:132:1: error: type 'MarkedCircularBuffer<Element>' does not conform to protocol 'MutableCollection'
extension MarkedCircularBuffer: Collection, MutableCollection {
^
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/MarkedCircularBuffer.swift:132:1: error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'MutableCollection'
extension MarkedCircularBuffer: Collection, MutableCollection {
^
Swift.MutableCollection:8:12: note: 'subscript(_:)' declared here
    public subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get set }
           ^
Swift.MutableCollection:6:14: note: requirement 'subscript(_:)' declared here
    override subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get set }
             ^
[15/46] Compiling Shout Session.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/.build/checkouts/CSSH/shim.h:4:10: error: 'libssh2.h' file not found
#include <libssh2.h>
         ^
/host/spi-builder-workspace/.build/checkouts/Shout/Sources/Shout/Agent.swift:8:8: error: could not build C module 'CSSH'
import CSSH
       ^
error: fatalError
BUILD FAILURE 5.10 linux

Build Machine: Linux 1