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.0 for Linux on 31 Oct 2024 11:46:54 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.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.56.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.0
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.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/Einstore/Shout.git
Fetching https://github.com/Einstore/WebErrorKit.git
[1/28] Fetching weberrorkit
[29/440] Fetching weberrorkit, shout
Fetched https://github.com/Einstore/WebErrorKit.git from cache (0.21s)
Fetched https://github.com/Einstore/Shout.git from cache (0.22s)
[1/71106] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (5.36s)
Computing version for https://github.com/Einstore/Shout.git
Computed https://github.com/Einstore/Shout.git at 0.5.1 (2.14s)
Fetching https://github.com/jakeheis/CSSH
Fetching https://github.com/IBM-Swift/BlueSocket
[1/26] Fetching cssh
Fetched https://github.com/jakeheis/CSSH from cache (0.18s)
[1/2942] Fetching bluesocket
Fetched https://github.com/IBM-Swift/BlueSocket from cache (0.34s)
Computing version for https://github.com/Einstore/WebErrorKit.git
Computed https://github.com/Einstore/WebErrorKit.git at 0.0.1 (0.49s)
Computing version for https://github.com/jakeheis/CSSH
Computed https://github.com/jakeheis/CSSH at 1.0.3 (0.53s)
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.76.1 (0.66s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-atomics.git
[1/1569] Fetching swift-atomics
[1523/5470] Fetching swift-atomics, swift-system
[5471/20945] Fetching swift-atomics, swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (0.37s)
[2498/17044] Fetching swift-atomics, swift-collections
Fetched https://github.com/apple/swift-atomics.git from cache (1.10s)
Fetched https://github.com/apple/swift-collections.git from cache (1.12s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.0 (0.56s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (0.53s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.4 (0.72s)
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.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/jakeheis/CSSH
Working copy of https://github.com/jakeheis/CSSH resolved at 1.0.3
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-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/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.76.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
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/29] Write sources
[18/29] Compiling CNIODarwin shim.c
[19/29] Compiling _AtomicsShims.c
[20/29] Compiling CNIOWindows WSAStartup.c
[20/29] Write sources
[22/29] Compiling CNIOWindows shim.c
[23/29] Compiling CNIOLinux liburing_shims.c
[24/29] Compiling CNIOWASI CNIOWASI.c
[25/29] Compiling CNIOLinux shim.c
[26/29] Write swift-version-24593BA9C3E375BF.txt
[28/83] Emitting module InternalCollectionsUtilities
[29/85] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[30/85] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[30/85] Compiling c-nioatomics.c
[32/85] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[33/85] Compiling InternalCollectionsUtilities Specialize.swift
[34/85] Compiling _NIODataStructures _TinyArray.swift
[35/85] Emitting module Atomics
[36/87] Compiling WebErrorKit SerializableWebError.swift
[37/87] Compiling WebErrorKit WebError+Serializable.swift
[38/87] Compiling WebErrorKit String+Codify.swift
[39/87] Compiling WebErrorKit WebError+RawRepresentable.swift
[40/87] Emitting module WebErrorKit
[41/87] Compiling WebErrorKit WebError.swift
[42/87] Compiling WebErrorKit WebErrorContent.swift
[43/87] Compiling InternalCollectionsUtilities Debugging.swift
[44/87] Compiling InternalCollectionsUtilities Descriptions.swift
[45/87] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[46/87] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[49/87] Compiling InternalCollectionsUtilities _SortedCollection.swift
[52/87] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[55/87] Compiling InternalCollectionsUtilities UInt+reversed.swift
[56/87] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[57/87] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+SE-0370.swift
[58/87] Compiling InternalCollectionsUtilities UnsafeMutablePointer+SE-0370.swift
[59/87] Compiling InternalCollectionsUtilities UnsafeRawPointer extensions.swift
[60/87] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[61/87] Compiling InternalCollectionsUtilities Integer rank.swift
[62/87] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[63/88] Compiling Atomics IntegerOperations.swift
[64/88] Compiling Atomics Unmanaged extensions.swift
[66/88] Emitting module _NIOBase64
[67/88] Compiling _NIOBase64 Base64.swift
[69/89] Compiling _NIODataStructures PriorityQueue.swift
[70/104] Compiling DequeModule Deque+Extras.swift
[71/104] Compiling DequeModule Deque+Hashable.swift
[72/104] Compiling DequeModule Deque+Testing.swift
[73/104] Compiling DequeModule Deque.swift
[74/104] Compiling DequeModule _DequeBuffer.swift
[75/104] Compiling DequeModule _DequeBufferHeader.swift
[76/104] Compiling DequeModule Deque+CustomReflectable.swift
[77/104] Compiling DequeModule Deque+Descriptions.swift
[80/106] Compiling DequeModule Deque+Equatable.swift
[81/106] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[82/106] Compiling DequeModule _DequeSlot.swift
[83/106] Compiling DequeModule _UnsafeWrappedBuffer.swift
[84/106] Emitting module _NIODataStructures
[85/106] Compiling _NIODataStructures Heap.swift
[85/107] Compiling c-atomics.c
[87/107] Compiling DequeModule Deque+Codable.swift
[88/107] Compiling DequeModule Deque+Collection.swift
[93/110] Compiling DequeModule Deque._Storage.swift
[94/112] Compiling DequeModule Deque._UnsafeHandle.swift
[103/114] Compiling NIOConcurrencyHelpers NIOLock.swift
[104/114] Compiling NIOConcurrencyHelpers lock.swift
[105/114] Emitting module DequeModule
[107/115] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[108/115] Emitting module NIOConcurrencyHelpers
[109/115] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[110/115] Compiling NIOConcurrencyHelpers atomics.swift
[112/116] Compiling Socket SocketProtocols.swift
[113/116] Compiling WebErrorKit Exports.swift
[114/117] Compiling Socket SocketUtils.swift
[116/177] Compiling Socket Socket.swift
[117/177] Emitting module Socket
[119/186] Compiling NIOCore MulticastChannel.swift
[120/186] Compiling NIOCore NIOAny.swift
[121/186] Compiling NIOCore NIOCloseOnErrorHandler.swift
[122/186] Compiling NIOCore NIOLoopBound.swift
[123/186] Compiling NIOCore NIOScheduledCallback.swift
[124/186] Compiling NIOCore NIOSendable.swift
[125/186] Compiling NIOCore PointerHelpers.swift
[126/186] Compiling NIOCore RecvByteBufferAllocator.swift
[127/195] Compiling NIOCore IO.swift
[128/195] Compiling NIOCore IOData.swift
[129/195] Compiling NIOCore IPProtocol.swift
[130/195] Compiling NIOCore IntegerBitPacking.swift
[131/195] Compiling NIOCore IntegerTypes.swift
[132/195] Compiling NIOCore Interfaces.swift
[133/195] Compiling NIOCore Linux.swift
[134/195] Compiling NIOCore MarkedCircularBuffer.swift
[135/195] Compiling NIOCore EventLoopFuture+AssumeIsolated.swift
[136/195] Compiling NIOCore EventLoopFuture+Deprecated.swift
[137/195] Compiling NIOCore EventLoopFuture+WithEventLoop.swift
[138/195] Compiling NIOCore EventLoopFuture.swift
[139/195] Compiling NIOCore FileDescriptor.swift
[140/195] Compiling NIOCore FileHandle.swift
[141/195] Compiling NIOCore FileRegion.swift
[142/195] Compiling NIOCore GlobalSingletons.swift
[143/195] Compiling NIOCore SingleStepByteToMessageDecoder.swift
[144/195] Compiling NIOCore SocketAddresses.swift
[145/195] Compiling NIOCore SocketOptionProvider.swift
[146/195] Compiling NIOCore SystemCallHelpers.swift
[147/195] Compiling NIOCore TimeAmount+Duration.swift
[148/195] Compiling NIOCore TypeAssistedChannelHandler.swift
[149/195] Compiling NIOCore UniversalBootstrapSupport.swift
[150/195] Compiling NIOCore Utilities.swift
[151/195] Compiling NIOCore CircularBuffer.swift
[152/195] Compiling NIOCore Codec.swift
[153/195] Compiling NIOCore ConvenienceOptionSupport.swift
[154/195] Compiling NIOCore DeadChannel.swift
[155/195] Compiling NIOCore DispatchQueue+WithFuture.swift
[156/195] Compiling NIOCore EventLoop+Deprecated.swift
[157/195] Compiling NIOCore EventLoop+SerialExecutor.swift
[158/195] Compiling NIOCore EventLoop.swift
[159/195] 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
[160/196] 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
[161/196] 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
[162/196] 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
[163/196] 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
[164/196] 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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[165/196] 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
[166/196] 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
[167/196] 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
[170/196] Compiling NIOCore AsyncChannel.swift
[171/196] Compiling NIOCore AsyncChannelHandler.swift
[172/196] Compiling NIOCore AsyncChannelInboundStream.swift
[173/196] Compiling NIOCore AsyncChannelOutboundWriter.swift
[174/196] Compiling NIOCore NIOAsyncSequenceProducer.swift
[175/196] Compiling NIOCore NIOAsyncSequenceProducerStrategies.swift
[176/196] Compiling NIOCore NIOAsyncWriter.swift
[177/196] 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.0 linux