Build Information
Failed to build ShellKit, reference master (da8dcb
), with Swift 6.2 (beta) for Linux on 18 Jun 2025 01:23:25 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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: 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: 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-0":/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/WebErrorKit.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/Einstore/Shout.git
[1/412] Fetching shout
[39/440] Fetching shout, weberrorkit
Fetched https://github.com/Einstore/WebErrorKit.git from cache (0.48s)
Fetched https://github.com/Einstore/Shout.git from cache (0.48s)
[1/76327] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (5.60s)
Computing version for https://github.com/Einstore/Shout.git
Computed https://github.com/Einstore/Shout.git at 0.5.1 (9.11s)
Fetching https://github.com/IBM-Swift/BlueSocket
Fetching https://github.com/jakeheis/CSSH
[1/26] Fetching cssh
[27/2968] Fetching cssh, bluesocket
Fetched https://github.com/jakeheis/CSSH from cache (0.26s)
[2501/2942] Fetching bluesocket
Fetched https://github.com/IBM-Swift/BlueSocket from cache (0.90s)
Computing version for https://github.com/Einstore/WebErrorKit.git
Computed https://github.com/Einstore/WebErrorKit.git at 0.0.1 (1.65s)
Computing version for https://github.com/jakeheis/CSSH
Computed https://github.com/jakeheis/CSSH at 1.0.3 (0.45s)
Computing version for https://github.com/IBM-Swift/BlueSocket
Computed https://github.com/IBM-Swift/BlueSocket at 1.0.200 (0.45s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.83.0 (0.89s)
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/4428] Fetching swift-system
[2/21050] Fetching swift-system, swift-collections
[3/22847] Fetching swift-system, swift-collections, swift-atomics
Fetched https://github.com/apple/swift-system.git from cache (1.64s)
Fetched https://github.com/apple/swift-atomics.git from cache (1.65s)
Fetched https://github.com/apple/swift-collections.git from cache (1.67s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (2.79s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.5.0 (0.44s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (0.70s)
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/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/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/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.200
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 shim.c
[19/29] Compiling CNIOWASI CNIOWASI.c
[20/29] Compiling CNIOWindows WSAStartup.c
[21/29] Write sources
[22/29] Compiling CNIOLinux liburing_shims.c
[23/29] Compiling _AtomicsShims.c
[24/29] Compiling CNIODarwin shim.c
[25/29] Write swift-version-24593BA9C3E375BF.txt
[26/29] Compiling CNIOLinux shim.c
[28/79] Emitting module InternalCollectionsUtilities
[28/80] Compiling c-nioatomics.c
[29/80] Compiling c-atomics.c
[31/86] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[32/86] Compiling InternalCollectionsUtilities Descriptions.swift
[33/86] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[34/86] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[35/86] Compiling InternalCollectionsUtilities _SortedCollection.swift
[36/86] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[37/86] Compiling InternalCollectionsUtilities Debugging.swift
[39/86] Compiling Atomics UnsafeAtomic.swift
[40/86] Compiling Atomics UnsafeAtomicLazyReference.swift
[42/88] Compiling Atomics DoubleWord.swift
[45/88] Compiling Atomics ManagedAtomic.swift
[46/88] Compiling Atomics ManagedAtomicLazyReference.swift
[47/88] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[48/88] Compiling InternalCollectionsUtilities Integer rank.swift
[51/88] Compiling _NIOBase64 Base64.swift
[52/88] Emitting module _NIOBase64
[53/89] Compiling WebErrorKit String+Codify.swift
[54/89] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[55/89] Compiling InternalCollectionsUtilities UInt+reversed.swift
[56/89] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[57/89] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[58/89] Compiling WebErrorKit WebError.swift
[59/89] Compiling WebErrorKit WebErrorContent.swift
[60/89] Compiling WebErrorKit WebError+Serializable.swift
[61/89] Compiling WebErrorKit WebError+RawRepresentable.swift
[62/89] Compiling WebErrorKit SerializableWebError.swift
[63/89] Emitting module Atomics
[64/89] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[67/92] Compiling DequeModule Deque+Codable.swift
[73/101] Compiling _NIODataStructures _TinyArray.swift
[74/101] Compiling _NIODataStructures PriorityQueue.swift
[75/105] Compiling Atomics IntegerOperations.swift
[76/105] Compiling Atomics Unmanaged extensions.swift
[78/106] Compiling DequeModule _DequeBuffer.swift
[79/106] Compiling DequeModule _DequeBufferHeader.swift
[80/108] Compiling DequeModule Deque+Extras.swift
[81/108] Compiling DequeModule Deque+Hashable.swift
[82/108] Compiling DequeModule Deque+Equatable.swift
[83/108] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[84/108] Compiling DequeModule Deque+CustomReflectable.swift
[85/108] Compiling DequeModule Deque+Descriptions.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
[95/109] Compiling DequeModule Deque+Collection.swift
[96/109] Compiling DequeModule Deque._UnsafeHandle.swift
[97/109] Compiling DequeModule Deque.swift
[98/109] Emitting module WebErrorKit
[99/109] Compiling WebErrorKit Exports.swift
[101/110] Compiling Socket SocketProtocols.swift
[102/110] Compiling NIOConcurrencyHelpers NIOLock.swift
[103/110] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[104/110] Compiling NIOConcurrencyHelpers atomics.swift
[105/110] Emitting module NIOConcurrencyHelpers
[106/110] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[108/111] Emitting module DequeModule
[110/112] Compiling Socket SocketUtils.swift
[111/172] Emitting module Socket
[112/172] Compiling Socket Socket.swift
[114/182] Compiling NIOCore MulticastChannel.swift
[115/182] Compiling NIOCore NIOAny.swift
[116/182] Compiling NIOCore NIOCloseOnErrorHandler.swift
[117/182] Compiling NIOCore NIOLoopBound.swift
[118/182] Compiling NIOCore NIOPooledRecvBufferAllocator.swift
[119/182] Compiling NIOCore NIOScheduledCallback.swift
[120/182] Compiling NIOCore NIOSendable.swift
[121/182] Compiling NIOCore RecvByteBufferAllocator.swift
[122/190] Compiling NIOCore IO.swift
[123/190] Compiling NIOCore IOData.swift
[124/190] Compiling NIOCore IPProtocol.swift
[125/190] Compiling NIOCore IntegerBitPacking.swift
[126/190] Compiling NIOCore IntegerTypes.swift
[127/190] Compiling NIOCore Interfaces.swift
[128/190] Compiling NIOCore Linux.swift
[129/190] Compiling NIOCore MarkedCircularBuffer.swift
[130/190] 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
[131/190] 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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[132/190] 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
[133/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
[134/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
[135/191] 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
[136/191] 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
[137/191] 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
[138/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
[139/191] Compiling NIOCore EventLoopFuture+AssumeIsolated.swift
[140/191] Compiling NIOCore EventLoopFuture+Deprecated.swift
[141/191] Compiling NIOCore EventLoopFuture+WithEventLoop.swift
[142/191] Compiling NIOCore EventLoopFuture.swift
[143/191] Compiling NIOCore FileDescriptor.swift
[144/191] Compiling NIOCore FileHandle.swift
[145/191] Compiling NIOCore FileRegion.swift
[146/191] Compiling NIOCore GlobalSingletons.swift
[147/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