The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build ShellKit, reference 1.6.0 (2b8a0d), with Swift 6.2 (beta) for Linux on 18 Jun 2025 01:21:37 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.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.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.2
Building package at path:  $PWD
https://github.com/einstore/shellkit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Fetching https://github.com/Einstore/Shout.git
Fetching https://github.com/Einstore/WebErrorKit.git
Fetching https://github.com/apple/swift-nio.git
[1/28] Fetching weberrorkit
[29/440] Fetching weberrorkit, shout
Fetched https://github.com/Einstore/WebErrorKit.git from cache (0.25s)
Fetched https://github.com/Einstore/Shout.git from cache (0.27s)
[1/76327] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (5.89s)
Computing version for https://github.com/Einstore/Shout.git
Computed https://github.com/Einstore/Shout.git at 0.5.1 (10.87s)
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.64s)
Fetched https://github.com/IBM-Swift/BlueSocket from cache (0.65s)
Computing version for https://github.com/Einstore/WebErrorKit.git
Computed https://github.com/Einstore/WebErrorKit.git at 0.0.1 (1.74s)
Computing version for https://github.com/jakeheis/CSSH
Computed https://github.com/jakeheis/CSSH at 1.0.3 (0.73s)
Computing version for https://github.com/IBM-Swift/BlueSocket
Computed https://github.com/IBM-Swift/BlueSocket at 1.0.200 (0.77s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.83.0 (4.13s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-collections.git
[1/1797] Fetching swift-atomics
[702/18419] Fetching swift-atomics, swift-collections
[703/22847] Fetching swift-atomics, swift-collections, swift-system
Fetched https://github.com/apple/swift-atomics.git from cache (2.38s)
Fetched https://github.com/apple/swift-system.git from cache (2.43s)
Fetched https://github.com/apple/swift-collections.git from cache (2.43s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (3.12s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.5.0 (0.65s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (1.41s)
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.2.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.3.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.5.0
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/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.83.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
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
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 _AtomicsShims.c
[19/29] Compiling CNIOWindows shim.c
[20/29] Compiling CNIOWASI CNIOWASI.c
[20/29] Write sources
[20/29] Compiling CNIOLinux liburing_shims.c
[20/29] Compiling CNIOWindows WSAStartup.c
[24/29] Compiling CNIODarwin shim.c
[25/29] Write swift-version-24593BA9C3E375BF.txt
[26/29] Compiling CNIOLinux shim.c
[27/79] Compiling c-nioatomics.c
[28/79] Compiling c-atomics.c
[30/85] Compiling Atomics AtomicBool.swift
[31/85] Compiling Atomics IntegerConformances.swift
[32/86] Compiling Atomics AtomicStorage.swift
[33/86] Compiling Atomics AtomicValue.swift
[34/88] Compiling WebErrorKit WebError+Serializable.swift
[35/88] Compiling WebErrorKit WebError.swift
[36/88] Compiling Atomics ManagedAtomic.swift
[37/88] Compiling Atomics ManagedAtomicLazyReference.swift
[38/88] Compiling InternalCollectionsUtilities Descriptions.swift
[39/88] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[40/88] Compiling WebErrorKit SerializableWebError.swift
[41/88] Compiling WebErrorKit WebErrorContent.swift
[42/88] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[43/88] Compiling Atomics AtomicMemoryOrderings.swift
[44/88] Compiling Atomics DoubleWord.swift
[45/88] Compiling Atomics AtomicInteger.swift
[46/88] Compiling Atomics AtomicOptionalWrappable.swift
[47/88] Compiling Atomics AtomicReference.swift
[48/88] Compiling Atomics OptionalRawRepresentable.swift
[49/88] Compiling Atomics RawRepresentable.swift
[50/88] Compiling Atomics PointerConformances.swift
[51/88] Compiling Atomics Primitives.native.swift
[58/88] Emitting module InternalCollectionsUtilities
[59/88] Compiling WebErrorKit String+Codify.swift
[60/88] Compiling WebErrorKit WebError+RawRepresentable.swift
[61/88] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[62/88] Emitting module _NIOBase64
[63/88] Compiling _NIOBase64 Base64.swift
[67/90] Emitting module Atomics
[73/90] Compiling _NIODataStructures PriorityQueue.swift
[74/90] Compiling _NIODataStructures _TinyArray.swift
[75/105] Compiling Atomics IntegerOperations.swift
[76/105] Compiling Atomics Unmanaged extensions.swift
[78/106] Compiling DequeModule Deque+CustomReflectable.swift
[79/106] Compiling DequeModule Deque+Descriptions.swift
[80/108] Compiling DequeModule _DequeBuffer.swift
[81/108] Compiling DequeModule _DequeBufferHeader.swift
[82/108] Compiling DequeModule Deque+Equatable.swift
[83/108] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[84/108] Compiling DequeModule Deque+Extras.swift
[85/108] Compiling DequeModule Deque+Hashable.swift
[86/108] Compiling DequeModule Deque+Testing.swift
[87/108] Compiling DequeModule Deque._Storage.swift
[88/108] Compiling DequeModule _DequeSlot.swift
[89/108] Compiling DequeModule _UnsafeWrappedBuffer.swift
[90/108] Compiling _NIODataStructures Heap.swift
[91/108] Emitting module _NIODataStructures
[92/109] Compiling NIOConcurrencyHelpers lock.swift
[93/109] Compiling Socket SocketProtocols.swift
[94/109] Compiling Socket SocketUtils.swift
[95/109] Emitting module WebErrorKit
[96/109] Compiling WebErrorKit Exports.swift
[99/110] Compiling NIOConcurrencyHelpers NIOLock.swift
[100/110] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[101/110] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[102/110] Compiling NIOConcurrencyHelpers atomics.swift
[103/110] Emitting module NIOConcurrencyHelpers
[104/110] Compiling DequeModule Deque._UnsafeHandle.swift
[105/110] Compiling DequeModule Deque.swift
[107/111] Compiling DequeModule Deque+Codable.swift
[108/111] Compiling DequeModule Deque+Collection.swift
[109/111] Emitting module DequeModule
[111/172] Emitting module Socket
[112/172] Compiling Socket Socket.swift
[114/182] Compiling NIOCore IO.swift
[115/182] Compiling NIOCore IOData.swift
[116/182] Compiling NIOCore IPProtocol.swift
[117/182] Compiling NIOCore IntegerBitPacking.swift
[118/182] Compiling NIOCore IntegerTypes.swift
[119/182] Compiling NIOCore Interfaces.swift
[120/182] Compiling NIOCore Linux.swift
[121/182] Compiling NIOCore MarkedCircularBuffer.swift
[122/190] 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
[123/190] 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
[124/190] 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
[125/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
[126/191] 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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[127/191] 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
[128/191] 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
[129/191] 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
[130/191] 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
[131/191] Compiling NIOCore EventLoopFuture+AssumeIsolated.swift
[132/191] Compiling NIOCore EventLoopFuture+Deprecated.swift
[133/191] Compiling NIOCore EventLoopFuture+WithEventLoop.swift
[134/191] Compiling NIOCore EventLoopFuture.swift
[135/191] Compiling NIOCore FileDescriptor.swift
[136/191] Compiling NIOCore FileHandle.swift
[137/191] Compiling NIOCore FileRegion.swift
[138/191] Compiling NIOCore GlobalSingletons.swift
[139/191] 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.2 linux