The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build ShellKit, reference 1.6.0 (2b8a0d), with Swift 6.1 for Linux on 25 Apr 2025 13:36:44 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/einstore/shellkit.git
Reference: 1.6.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/einstore/shellkit
 * tag               1.6.0      -> FETCH_HEAD
HEAD is now at 2b8a0df mocking capability
Cloned https://github.com/einstore/shellkit.git
Revision (git rev-parse @):
2b8a0df6edcf9b9d55474e92baef4ea61baca1cb
SUCCESS checkout https://github.com/einstore/shellkit.git at 1.6.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/einstore/shellkit.git
https://github.com/einstore/shellkit.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-nio",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.3.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-nio.git"
    },
    {
      "identity" : "weberrorkit",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.0.1",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Einstore/WebErrorKit.git"
    },
    {
      "identity" : "shout",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.5.1",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Einstore/Shout.git"
    }
  ],
  "manifest_display_name" : "ShellKit",
  "name" : "ShellKit",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "ShellKit",
      "targets" : [
        "ShellKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "SSHShell",
      "targets" : [
        "SSHShell"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "LocalShell",
      "targets" : [
        "LocalShell"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "CommandKit",
      "targets" : [
        "CommandKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "ExecutorMocks",
      "targets" : [
        "ExecutorMocks"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ShellKit",
      "module_type" : "SwiftTarget",
      "name" : "ShellKit",
      "path" : "Sources/ShellKit",
      "product_dependencies" : [
        "NIO"
      ],
      "product_memberships" : [
        "ShellKit",
        "CommandKit"
      ],
      "sources" : [
        "Exports.swift",
        "Extensions/EventLoopFuture+Async.swift",
        "FlagsConvertible.swift",
        "MasterExecutor.swift",
        "Property.swift",
        "Shell.swift"
      ],
      "target_dependencies" : [
        "SSHShell",
        "LocalShell"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SSHShell",
      "module_type" : "SwiftTarget",
      "name" : "SSHShell",
      "path" : "Sources/SSHShell",
      "product_dependencies" : [
        "Shout",
        "NIO"
      ],
      "product_memberships" : [
        "ShellKit",
        "SSHShell",
        "CommandKit"
      ],
      "sources" : [
        "Exports.swift",
        "Extensions/String+Tools.swift",
        "SSHExecutor.swift"
      ],
      "target_dependencies" : [
        "ExecutorKit"
      ],
      "type" : "library"
    },
    {
      "c99name" : "LocalShellTests",
      "module_type" : "SwiftTarget",
      "name" : "LocalShellTests",
      "path" : "Tests/LocalShellTests",
      "product_dependencies" : [
        "NIO"
      ],
      "sources" : [
        "Tests.swift"
      ],
      "target_dependencies" : [
        "LocalShell"
      ],
      "type" : "test"
    },
    {
      "c99name" : "LocalShell",
      "module_type" : "SwiftTarget",
      "name" : "LocalShell",
      "path" : "Sources/LocalShell",
      "product_dependencies" : [
        "NIO",
        "WebErrorKit"
      ],
      "product_memberships" : [
        "ShellKit",
        "LocalShell",
        "CommandKit"
      ],
      "sources" : [
        "Exports.swift",
        "LocalExecutor.swift"
      ],
      "target_dependencies" : [
        "ExecutorKit"
      ],
      "type" : "library"
    },
    {
      "c99name" : "ExecutorMocksTests",
      "module_type" : "SwiftTarget",
      "name" : "ExecutorMocksTests",
      "path" : "Tests/ExecutorMocksTests",
      "sources" : [
        "Tests.swift"
      ],
      "target_dependencies" : [
        "ExecutorMocks",
        "CommandKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ExecutorMocks",
      "module_type" : "SwiftTarget",
      "name" : "ExecutorMocks",
      "path" : "Sources/ExecutorMocks",
      "product_memberships" : [
        "ExecutorMocks"
      ],
      "sources" : [
        "ExecutorMock.swift",
        "Exports.swift"
      ],
      "target_dependencies" : [
        "ExecutorKit"
      ],
      "type" : "library"
    },
    {
      "c99name" : "ExecutorKit",
      "module_type" : "SwiftTarget",
      "name" : "ExecutorKit",
      "path" : "Sources/ExecutorKit",
      "product_dependencies" : [
        "Shout",
        "NIO",
        "WebErrorKit"
      ],
      "product_memberships" : [
        "ShellKit",
        "SSHShell",
        "LocalShell",
        "CommandKit",
        "ExecutorMocks"
      ],
      "sources" : [
        "Executor.swift",
        "Exit.swift",
        "Exports.swift",
        "Extensions/ProcessFuture+NIO.swift",
        "ProcessFuture.swift",
        "ShellError.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CommandKitTests",
      "module_type" : "SwiftTarget",
      "name" : "CommandKitTests",
      "path" : "Tests/CommandKitTests",
      "product_dependencies" : [
        "NIO"
      ],
      "sources" : [
        "Tests.swift"
      ],
      "target_dependencies" : [
        "CommandKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "CommandKit",
      "module_type" : "SwiftTarget",
      "name" : "CommandKit",
      "path" : "Sources/CommandKit",
      "product_dependencies" : [
        "WebErrorKit"
      ],
      "product_memberships" : [
        "CommandKit"
      ],
      "sources" : [
        "Commands/File+Cmd.swift",
        "Commands/Platform+Cmd.swift",
        "Commands/System+Cmd.swift",
        "Commands/Tools+Install.swift",
        "Exports.swift",
        "Extensions/EventLoopFuture+Async.swift",
        "Property categories/Cmd.swift",
        "Property categories/Install.swift"
      ],
      "target_dependencies" : [
        "ShellKit"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.1"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/Einstore/WebErrorKit.git
Fetching https://github.com/Einstore/Shout.git
[1/28] Fetching weberrorkit
[29/440] Fetching weberrorkit, shout
Fetching https://github.com/apple/swift-nio.git
Fetched https://github.com/Einstore/WebErrorKit.git from cache (0.36s)
Fetched https://github.com/Einstore/Shout.git from cache (0.36s)
[1/75431] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (6.83s)
Computing version for https://github.com/Einstore/Shout.git
Computed https://github.com/Einstore/Shout.git at 0.5.1 (9.54s)
Fetching https://github.com/jakeheis/CSSH
Fetching https://github.com/IBM-Swift/BlueSocket
[1/26] Fetching cssh
[27/2968] Fetching cssh, bluesocket
Fetched https://github.com/jakeheis/CSSH from cache (0.35s)
Fetched https://github.com/IBM-Swift/BlueSocket from cache (0.35s)
Computing version for https://github.com/Einstore/WebErrorKit.git
Computed https://github.com/Einstore/WebErrorKit.git at 0.0.1 (0.97s)
Computing version for https://github.com/jakeheis/CSSH
Computed https://github.com/jakeheis/CSSH at 1.0.3 (0.63s)
Computing version for https://github.com/IBM-Swift/BlueSocket
Computed https://github.com/IBM-Swift/BlueSocket at 1.0.200 (0.60s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.82.0 (0.93s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-atomics.git
[1/4353] Fetching swift-system
[1133/6058] Fetching swift-system, swift-atomics
[2620/22300] Fetching swift-system, swift-atomics, swift-collections
Fetched https://github.com/apple/swift-atomics.git from cache (0.48s)
[8576/20595] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (1.23s)
Fetched https://github.com/apple/swift-collections.git from cache (1.26s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (2.69s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.2 (1.18s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.4 (1.81s)
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.82.0
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.2.0
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.4.2
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.1.4
Creating working copy for https://github.com/IBM-Swift/BlueSocket
Working copy of https://github.com/IBM-Swift/BlueSocket resolved at 1.0.200
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/Einstore/Shout.git
Working copy of https://github.com/Einstore/Shout.git resolved at 0.5.1
Creating working copy for https://github.com/jakeheis/CSSH
Working copy of https://github.com/jakeheis/CSSH resolved at 1.0.3
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
warning: you may be able to install libssh2 using your system-packager:
    apt-get install libssh2-1-dev
Building for debugging...
[0/29] Write sources
[18/29] Compiling CNIOWindows WSAStartup.c
[19/29] Compiling CNIOLinux liburing_shims.c
[19/29] Compiling CNIODarwin shim.c
[19/29] Write sources
[22/29] Compiling CNIOWindows shim.c
[22/29] Compiling _AtomicsShims.c
[24/29] Compiling CNIOWASI CNIOWASI.c
[25/29] Compiling CNIOLinux shim.c
[26/29] Write swift-version-24593BA9C3E375BF.txt
[28/83] Emitting module _NIOBase64
[28/83] Compiling c-nioatomics.c
[30/83] Compiling WebErrorKit WebErrorContent.swift
[31/83] Compiling WebErrorKit String+Codify.swift
[32/83] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[33/83] Compiling InternalCollectionsUtilities Specialize.swift
[33/85] Compiling c-atomics.c
[35/85] Compiling _NIODataStructures _TinyArray.swift
[36/85] Compiling _NIODataStructures PriorityQueue.swift
[37/91] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[38/91] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[39/91] Emitting module InternalCollectionsUtilities
[40/91] Compiling Atomics OptionalRawRepresentable.swift
[41/91] Compiling Atomics RawRepresentable.swift
[42/91] Compiling Atomics AtomicBool.swift
[43/91] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[44/91] Compiling WebErrorKit WebError.swift
[45/91] Compiling InternalCollectionsUtilities Debugging.swift
[46/91] Compiling InternalCollectionsUtilities Descriptions.swift
[47/91] Compiling InternalCollectionsUtilities _SortedCollection.swift
[48/91] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[49/91] Compiling WebErrorKit SerializableWebError.swift
[50/91] Compiling WebErrorKit WebError+Serializable.swift
[51/91] Compiling WebErrorKit WebError+RawRepresentable.swift
[52/91] Compiling _NIOBase64 Base64.swift
[53/91] Compiling InternalCollectionsUtilities UInt+reversed.swift
[54/91] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[58/94] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[62/94] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[68/94] Emitting module _NIODataStructures
[69/94] Compiling _NIODataStructures Heap.swift
[70/95] Compiling Atomics IntegerConformances.swift
[71/95] Compiling Atomics PointerConformances.swift
[72/95] Compiling Atomics Primitives.native.swift
[75/95] Compiling NIOConcurrencyHelpers lock.swift
[76/95] Compiling Atomics IntegerOperations.swift
[77/95] Compiling Atomics Unmanaged extensions.swift
[78/95] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[79/95] Compiling NIOConcurrencyHelpers NIOLock.swift
[80/96] Emitting module NIOConcurrencyHelpers
[87/96] Emitting module Atomics
[88/96] Compiling NIOConcurrencyHelpers atomics.swift
[91/98] Emitting module WebErrorKit
[92/98] Compiling WebErrorKit Exports.swift
[96/114] Emitting module Socket
[97/114] Compiling Socket Socket.swift
[98/114] Compiling Socket SocketProtocols.swift
[99/114] Compiling Socket SocketUtils.swift
[100/115] Compiling DequeModule Deque+CustomReflectable.swift
[101/115] Compiling DequeModule Deque+Descriptions.swift
[103/117] Compiling DequeModule Deque+Equatable.swift
[104/117] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[105/117] Compiling DequeModule _DequeBuffer.swift
[106/117] Compiling DequeModule _DequeBufferHeader.swift
[107/125] Compiling DequeModule Deque+Extras.swift
[108/125] Compiling DequeModule Deque+Hashable.swift
[109/126] Compiling DequeModule _DequeSlot.swift
[110/126] Compiling DequeModule _UnsafeWrappedBuffer.swift
[111/126] Compiling DequeModule Deque+Testing.swift
[112/126] Compiling DequeModule Deque._Storage.swift
[113/126] Compiling DequeModule Deque._UnsafeHandle.swift
[114/126] Compiling DequeModule Deque.swift
[115/126] Compiling DequeModule Deque+Codable.swift
[116/126] Compiling DequeModule Deque+Collection.swift
[117/126] Emitting module DequeModule
[119/186] Compiling Shout SSHError.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/CSSH/shim.h:4:10: error: 'libssh2.h' file not found
2 | #define __CLIBSSH_SHIM_H__
3 |
4 | #include <libssh2.h>
  |          `- error: 'libssh2.h' file not found
5 | #include <libssh2_sftp.h>
6 | #include <libssh2_publickey.h>
/host/spi-builder-workspace/.build/checkouts/Shout/Sources/Shout/Agent.swift:8:8: error: could not build C module 'CSSH'
 6 | //
 7 |
 8 | import CSSH
   |        `- error: could not build C module 'CSSH'
 9 |
10 | /// Direct bindings to libssh2_agent
[120/186] Compiling Shout ReadWrite.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/CSSH/shim.h:4:10: error: 'libssh2.h' file not found
2 | #define __CLIBSSH_SHIM_H__
3 |
4 | #include <libssh2.h>
  |          `- error: 'libssh2.h' file not found
5 | #include <libssh2_sftp.h>
6 | #include <libssh2_publickey.h>
/host/spi-builder-workspace/.build/checkouts/Shout/Sources/Shout/Agent.swift:8:8: error: could not build C module 'CSSH'
 6 | //
 7 |
 8 | import CSSH
   |        `- error: could not build C module 'CSSH'
 9 |
10 | /// Direct bindings to libssh2_agent
[121/187] Compiling Shout SSHAuthMethod.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/CSSH/shim.h:4:10: error: 'libssh2.h' file not found
2 | #define __CLIBSSH_SHIM_H__
3 |
4 | #include <libssh2.h>
  |          `- error: 'libssh2.h' file not found
5 | #include <libssh2_sftp.h>
6 | #include <libssh2_publickey.h>
/host/spi-builder-workspace/.build/checkouts/Shout/Sources/Shout/Agent.swift:8:8: error: could not build C module 'CSSH'
 6 | //
 7 |
 8 | import CSSH
   |        `- error: could not build C module 'CSSH'
 9 |
10 | /// Direct bindings to libssh2_agent
[122/187] Compiling Shout FilePermissions.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/CSSH/shim.h:4:10: error: 'libssh2.h' file not found
2 | #define __CLIBSSH_SHIM_H__
3 |
4 | #include <libssh2.h>
  |          `- error: 'libssh2.h' file not found
5 | #include <libssh2_sftp.h>
6 | #include <libssh2_publickey.h>
/host/spi-builder-workspace/.build/checkouts/Shout/Sources/Shout/Agent.swift:8:8: error: could not build C module 'CSSH'
 6 | //
 7 |
 8 | import CSSH
   |        `- error: could not build C module 'CSSH'
 9 |
10 | /// Direct bindings to libssh2_agent
[123/187] Compiling NIOCore MarkedCircularBuffer.swift
[124/187] Compiling NIOCore MulticastChannel.swift
[125/187] Compiling NIOCore NIOAny.swift
[126/187] Compiling NIOCore NIOCloseOnErrorHandler.swift
[127/187] Compiling NIOCore NIOLoopBound.swift
[128/187] Compiling NIOCore NIOScheduledCallback.swift
[129/187] Compiling NIOCore NIOSendable.swift
[130/187] Compiling NIOCore RecvByteBufferAllocator.swift
[131/191] Compiling Shout SFTP.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/CSSH/shim.h:4:10: error: 'libssh2.h' file not found
2 | #define __CLIBSSH_SHIM_H__
3 |
4 | #include <libssh2.h>
  |          `- error: 'libssh2.h' file not found
5 | #include <libssh2_sftp.h>
6 | #include <libssh2_publickey.h>
/host/spi-builder-workspace/.build/checkouts/Shout/Sources/Shout/Agent.swift:8:8: error: could not build C module 'CSSH'
 6 | //
 7 |
 8 | import CSSH
   |        `- error: could not build C module 'CSSH'
 9 |
10 | /// Direct bindings to libssh2_agent
[132/195] Compiling Shout SSH.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/CSSH/shim.h:4:10: error: 'libssh2.h' file not found
2 | #define __CLIBSSH_SHIM_H__
3 |
4 | #include <libssh2.h>
  |          `- error: 'libssh2.h' file not found
5 | #include <libssh2_sftp.h>
6 | #include <libssh2_publickey.h>
/host/spi-builder-workspace/.build/checkouts/Shout/Sources/Shout/Agent.swift:8:8: error: could not build C module 'CSSH'
 6 | //
 7 |
 8 | import CSSH
   |        `- error: could not build C module 'CSSH'
 9 |
10 | /// Direct bindings to libssh2_agent
error: emit-module command failed with exit code 1 (use -v to see invocation)
[133/195] Emitting module Shout
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/CSSH/shim.h:4:10: error: 'libssh2.h' file not found
2 | #define __CLIBSSH_SHIM_H__
3 |
4 | #include <libssh2.h>
  |          `- error: 'libssh2.h' file not found
5 | #include <libssh2_sftp.h>
6 | #include <libssh2_publickey.h>
/host/spi-builder-workspace/.build/checkouts/Shout/Sources/Shout/Agent.swift:8:8: error: could not build C module 'CSSH'
 6 | //
 7 |
 8 | import CSSH
   |        `- error: could not build C module 'CSSH'
 9 |
10 | /// Direct bindings to libssh2_agent
[134/195] Compiling NIOCore ByteBuffer-multi-int.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/CSSH/shim.h:4:10: error: 'libssh2.h' file not found
2 | #define __CLIBSSH_SHIM_H__
3 |
4 | #include <libssh2.h>
  |          `- error: 'libssh2.h' file not found
5 | #include <libssh2_sftp.h>
6 | #include <libssh2_publickey.h>
/host/spi-builder-workspace/.build/checkouts/Shout/Sources/Shout/Agent.swift:8:8: error: could not build C module 'CSSH'
 6 | //
 7 |
 8 | import CSSH
   |        `- error: could not build C module 'CSSH'
 9 |
10 | /// Direct bindings to libssh2_agent
[135/195] Compiling NIOCore ByteBuffer-quicBinaryEncodingStrategy.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/CSSH/shim.h:4:10: error: 'libssh2.h' file not found
2 | #define __CLIBSSH_SHIM_H__
3 |
4 | #include <libssh2.h>
  |          `- error: 'libssh2.h' file not found
5 | #include <libssh2_sftp.h>
6 | #include <libssh2_publickey.h>
/host/spi-builder-workspace/.build/checkouts/Shout/Sources/Shout/Agent.swift:8:8: error: could not build C module 'CSSH'
 6 | //
 7 |
 8 | import CSSH
   |        `- error: could not build C module 'CSSH'
 9 |
10 | /// Direct bindings to libssh2_agent
[136/195] Compiling Shout Session.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/CSSH/shim.h:4:10: error: 'libssh2.h' file not found
2 | #define __CLIBSSH_SHIM_H__
3 |
4 | #include <libssh2.h>
  |          `- error: 'libssh2.h' file not found
5 | #include <libssh2_sftp.h>
6 | #include <libssh2_publickey.h>
/host/spi-builder-workspace/.build/checkouts/Shout/Sources/Shout/Agent.swift:8:8: error: could not build C module 'CSSH'
 6 | //
 7 |
 8 | import CSSH
   |        `- error: could not build C module 'CSSH'
 9 |
10 | /// Direct bindings to libssh2_agent
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
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
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/38] Emitting module WebErrorKit
[3/59] Compiling WebErrorKit WebErrorContent.swift
[4/61] Compiling WebErrorKit Exports.swift
[5/61] Compiling WebErrorKit String+Codify.swift
[6/61] Compiling WebErrorKit WebError+Serializable.swift
[7/61] Compiling WebErrorKit WebError.swift
[8/61] Compiling WebErrorKit SerializableWebError.swift
[9/61] Compiling WebErrorKit WebError+RawRepresentable.swift
[10/62] Compiling InternalCollectionsUtilities Debugging.swift
[11/62] Compiling InternalCollectionsUtilities Descriptions.swift
[12/62] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[13/62] Compiling InternalCollectionsUtilities Specialize.swift
[17/66] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[18/66] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[19/66] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[20/66] Compiling InternalCollectionsUtilities _SortedCollection.swift
[21/66] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[24/66] Compiling NIOConcurrencyHelpers NIOLock.swift
[25/66] Compiling NIOConcurrencyHelpers lock.swift
[26/66] Compiling _NIODataStructures PriorityQueue.swift
[27/66] Compiling _NIODataStructures _TinyArray.swift
[30/66] Compiling Atomics IntegerOperations.swift
[31/66] Compiling Atomics Unmanaged extensions.swift
[32/66] Compiling _NIODataStructures Heap.swift
[33/66] Compiling NIOConcurrencyHelpers atomics.swift
[34/66] Compiling Socket SocketProtocols.swift
[35/66] Compiling Socket SocketUtils.swift
[36/66] Compiling _NIOBase64 Base64.swift
[37/66] Emitting module _NIOBase64
[38/67] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[41/67] Compiling InternalCollectionsUtilities Integer rank.swift
[42/67] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[43/67] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[44/67] Emitting module _NIODataStructures
[45/68] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[46/68] Emitting module NIOConcurrencyHelpers
[50/69] Emitting module InternalCollectionsUtilities
[51/69] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+SE-0370.swift
[52/69] Compiling InternalCollectionsUtilities UnsafeMutablePointer+SE-0370.swift
[53/69] Compiling InternalCollectionsUtilities UnsafeRawPointer extensions.swift
[54/69] Compiling InternalCollectionsUtilities UInt+reversed.swift
[55/69] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[56/69] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[62/85] Compiling DequeModule _DequeBuffer.swift
[63/85] Compiling DequeModule _DequeBufferHeader.swift
[64/87] Compiling DequeModule Deque+CustomReflectable.swift
[65/87] Compiling DequeModule Deque+Descriptions.swift
[66/87] Compiling DequeModule Deque+Equatable.swift
[67/87] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[68/87] Compiling DequeModule Deque+Extras.swift
[69/87] Compiling DequeModule Deque+Hashable.swift
[70/87] Emitting module Atomics
[71/87] Compiling DequeModule _DequeSlot.swift
[72/87] Compiling DequeModule _UnsafeWrappedBuffer.swift
[73/87] Compiling DequeModule Deque+Testing.swift
[74/87] Compiling DequeModule Deque._Storage.swift
[75/87] Compiling DequeModule Deque._UnsafeHandle.swift
[76/87] Compiling DequeModule Deque.swift
[77/87] Compiling DequeModule Deque+Codable.swift
[78/87] Compiling DequeModule Deque+Collection.swift
[84/88] Emitting module DequeModule
[88/148] Compiling Socket Socket.swift
[89/148] Emitting module Socket
[91/158] Compiling Shout FilePermissions.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/CSSH/shim.h:4:10: error: 'libssh2.h' file not found
2 | #define __CLIBSSH_SHIM_H__
3 |
4 | #include <libssh2.h>
  |          `- error: 'libssh2.h' file not found
5 | #include <libssh2_sftp.h>
6 | #include <libssh2_publickey.h>
/host/spi-builder-workspace/.build/checkouts/Shout/Sources/Shout/Agent.swift:8:8: error: could not build C module 'CSSH'
 6 | //
 7 |
 8 | import CSSH
   |        `- error: could not build C module 'CSSH'
 9 |
10 | /// Direct bindings to libssh2_agent
[92/159] Compiling Shout ReadWrite.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/CSSH/shim.h:4:10: error: 'libssh2.h' file not found
2 | #define __CLIBSSH_SHIM_H__
3 |
4 | #include <libssh2.h>
  |          `- error: 'libssh2.h' file not found
5 | #include <libssh2_sftp.h>
6 | #include <libssh2_publickey.h>
/host/spi-builder-workspace/.build/checkouts/Shout/Sources/Shout/Agent.swift:8:8: error: could not build C module 'CSSH'
 6 | //
 7 |
 8 | import CSSH
   |        `- error: could not build C module 'CSSH'
 9 |
10 | /// Direct bindings to libssh2_agent
error: emit-module command failed with exit code 1 (use -v to see invocation)
[93/159] Emitting module Shout
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/CSSH/shim.h:4:10: error: 'libssh2.h' file not found
2 | #define __CLIBSSH_SHIM_H__
3 |
4 | #include <libssh2.h>
  |          `- error: 'libssh2.h' file not found
5 | #include <libssh2_sftp.h>
6 | #include <libssh2_publickey.h>
/host/spi-builder-workspace/.build/checkouts/Shout/Sources/Shout/Agent.swift:8:8: error: could not build C module 'CSSH'
 6 | //
 7 |
 8 | import CSSH
   |        `- error: could not build C module 'CSSH'
 9 |
10 | /// Direct bindings to libssh2_agent
[94/159] Compiling Shout Agent.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/CSSH/shim.h:4:10: error: 'libssh2.h' file not found
2 | #define __CLIBSSH_SHIM_H__
3 |
4 | #include <libssh2.h>
  |          `- error: 'libssh2.h' file not found
5 | #include <libssh2_sftp.h>
6 | #include <libssh2_publickey.h>
/host/spi-builder-workspace/.build/checkouts/Shout/Sources/Shout/Agent.swift:8:8: error: could not build C module 'CSSH'
 6 | //
 7 |
 8 | import CSSH
   |        `- error: could not build C module 'CSSH'
 9 |
10 | /// Direct bindings to libssh2_agent
[95/159] Compiling Shout Channel.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/CSSH/shim.h:4:10: error: 'libssh2.h' file not found
2 | #define __CLIBSSH_SHIM_H__
3 |
4 | #include <libssh2.h>
  |          `- error: 'libssh2.h' file not found
5 | #include <libssh2_sftp.h>
6 | #include <libssh2_publickey.h>
/host/spi-builder-workspace/.build/checkouts/Shout/Sources/Shout/Agent.swift:8:8: error: could not build C module 'CSSH'
 6 | //
 7 |
 8 | import CSSH
   |        `- error: could not build C module 'CSSH'
 9 |
10 | /// Direct bindings to libssh2_agent
[96/159] Compiling Shout SFTP.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/CSSH/shim.h:4:10: error: 'libssh2.h' file not found
2 | #define __CLIBSSH_SHIM_H__
3 |
4 | #include <libssh2.h>
  |          `- error: 'libssh2.h' file not found
5 | #include <libssh2_sftp.h>
6 | #include <libssh2_publickey.h>
/host/spi-builder-workspace/.build/checkouts/Shout/Sources/Shout/Agent.swift:8:8: error: could not build C module 'CSSH'
 6 | //
 7 |
 8 | import CSSH
   |        `- error: could not build C module 'CSSH'
 9 |
10 | /// Direct bindings to libssh2_agent
[97/159] Compiling Shout SSH.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/CSSH/shim.h:4:10: error: 'libssh2.h' file not found
2 | #define __CLIBSSH_SHIM_H__
3 |
4 | #include <libssh2.h>
  |          `- error: 'libssh2.h' file not found
5 | #include <libssh2_sftp.h>
6 | #include <libssh2_publickey.h>
/host/spi-builder-workspace/.build/checkouts/Shout/Sources/Shout/Agent.swift:8:8: error: could not build C module 'CSSH'
 6 | //
 7 |
 8 | import CSSH
   |        `- error: could not build C module 'CSSH'
 9 |
10 | /// Direct bindings to libssh2_agent
[98/159] Compiling Shout SSHAuthMethod.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/CSSH/shim.h:4:10: error: 'libssh2.h' file not found
2 | #define __CLIBSSH_SHIM_H__
3 |
4 | #include <libssh2.h>
  |          `- error: 'libssh2.h' file not found
5 | #include <libssh2_sftp.h>
6 | #include <libssh2_publickey.h>
/host/spi-builder-workspace/.build/checkouts/Shout/Sources/Shout/Agent.swift:8:8: error: could not build C module 'CSSH'
 6 | //
 7 |
 8 | import CSSH
   |        `- error: could not build C module 'CSSH'
 9 |
10 | /// Direct bindings to libssh2_agent
[99/159] Compiling Shout SSHError.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/CSSH/shim.h:4:10: error: 'libssh2.h' file not found
2 | #define __CLIBSSH_SHIM_H__
3 |
4 | #include <libssh2.h>
  |          `- error: 'libssh2.h' file not found
5 | #include <libssh2_sftp.h>
6 | #include <libssh2_publickey.h>
/host/spi-builder-workspace/.build/checkouts/Shout/Sources/Shout/Agent.swift:8:8: error: could not build C module 'CSSH'
 6 | //
 7 |
 8 | import CSSH
   |        `- error: could not build C module 'CSSH'
 9 |
10 | /// Direct bindings to libssh2_agent
[100/159] Compiling NIOCore MarkedCircularBuffer.swift
[101/159] Compiling NIOCore MulticastChannel.swift
[102/159] Compiling NIOCore NIOAny.swift
[103/159] Compiling NIOCore NIOCloseOnErrorHandler.swift
[104/159] Compiling NIOCore NIOLoopBound.swift
[105/159] Compiling NIOCore NIOScheduledCallback.swift
[106/159] Compiling NIOCore NIOSendable.swift
[107/159] Compiling NIOCore RecvByteBufferAllocator.swift
[108/167] Compiling Shout Session.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/CSSH/shim.h:4:10: error: 'libssh2.h' file not found
2 | #define __CLIBSSH_SHIM_H__
3 |
4 | #include <libssh2.h>
  |          `- error: 'libssh2.h' file not found
5 | #include <libssh2_sftp.h>
6 | #include <libssh2_publickey.h>
/host/spi-builder-workspace/.build/checkouts/Shout/Sources/Shout/Agent.swift:8:8: error: could not build C module 'CSSH'
 6 | //
 7 |
 8 | import CSSH
   |        `- error: could not build C module 'CSSH'
 9 |
10 | /// Direct bindings to libssh2_agent
BUILD FAILURE 6.1 linux