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 master (da8dcb), with Swift 6.1 for Linux on 25 Apr 2025 13:38:09 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-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: 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.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-4609320-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
Fetching https://github.com/apple/swift-nio.git
[1/412] Fetching shout
[315/440] Fetching shout, weberrorkit
Fetched https://github.com/Einstore/Shout.git from cache (0.31s)
[29/75459] Fetching weberrorkit, swift-nio
Fetched https://github.com/Einstore/WebErrorKit.git from cache (7.04s)
Fetched https://github.com/apple/swift-nio.git from cache (7.15s)
Computing version for https://github.com/Einstore/Shout.git
Computed https://github.com/Einstore/Shout.git at 0.5.1 (11.25s)
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 (1.49s)
Fetched https://github.com/IBM-Swift/BlueSocket from cache (1.50s)
Computing version for https://github.com/Einstore/WebErrorKit.git
Computed https://github.com/Einstore/WebErrorKit.git at 0.0.1 (2.98s)
Computing version for https://github.com/jakeheis/CSSH
Computed https://github.com/jakeheis/CSSH at 1.0.3 (0.49s)
Computing version for https://github.com/IBM-Swift/BlueSocket
Computed https://github.com/IBM-Swift/BlueSocket at 1.0.200 (0.53s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.82.0 (0.79s)
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/1705] Fetching swift-atomics
[1672/6058] Fetching swift-atomics, swift-system
[3970/22300] Fetching swift-atomics, swift-system, swift-collections
Fetched https://github.com/apple/swift-atomics.git from cache (0.44s)
Fetched https://github.com/apple/swift-system.git from cache (0.45s)
[4386/16242] Fetching swift-collections
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 (5.70s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.2 (1.81s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.4 (2.39s)
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/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-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.2.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/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/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
[16/29] Compiling CNIOLinux liburing_shims.c
[16/29] Compiling CNIODarwin shim.c
[18/29] Write sources
[20/29] Compiling CNIOWindows WSAStartup.c
[21/29] Compiling CNIOWindows shim.c
[22/29] Write sources
[23/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 InternalCollectionsUtilities
[28/85] Compiling c-nioatomics.c
[30/85] Emitting module Socket
[30/85] Compiling c-atomics.c
[32/85] Compiling InternalCollectionsUtilities Debugging.swift
[33/85] Compiling InternalCollectionsUtilities Descriptions.swift
[34/85] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[35/85] Compiling InternalCollectionsUtilities Specialize.swift
[36/91] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[37/91] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[38/91] Compiling WebErrorKit SerializableWebError.swift
[39/91] Compiling WebErrorKit WebError.swift
[40/91] Compiling WebErrorKit WebErrorContent.swift
[43/91] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[45/93] Emitting module Atomics
[46/93] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+SE-0370.swift
[47/93] Compiling WebErrorKit WebError+Serializable.swift
[48/93] Compiling InternalCollectionsUtilities UnsafeMutablePointer+SE-0370.swift
[49/93] Compiling InternalCollectionsUtilities UnsafeRawPointer extensions.swift
[50/93] Compiling WebErrorKit String+Codify.swift
[51/93] Compiling WebErrorKit WebError+RawRepresentable.swift
[55/93] Emitting module _NIOBase64
[56/93] Compiling _NIOBase64 Base64.swift
[57/93] Compiling InternalCollectionsUtilities _SortedCollection.swift
[59/94] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[60/94] Compiling InternalCollectionsUtilities Integer rank.swift
[61/94] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[62/94] Compiling _NIODataStructures PriorityQueue.swift
[63/94] Compiling _NIODataStructures _TinyArray.swift
[70/94] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[73/94] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[75/94] Compiling InternalCollectionsUtilities UInt+reversed.swift
[76/94] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[78/95] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[79/95] Compiling Atomics IntegerOperations.swift
[80/95] Compiling Atomics Unmanaged extensions.swift
[81/95] Compiling _NIODataStructures Heap.swift
[82/95] Emitting module _NIODataStructures
[83/95] Compiling NIOConcurrencyHelpers lock.swift
[84/95] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[85/95] Compiling NIOConcurrencyHelpers NIOLock.swift
[86/95] Compiling NIOConcurrencyHelpers atomics.swift
[87/95] Emitting module NIOConcurrencyHelpers
[94/113] Compiling Socket SocketUtils.swift
[95/113] Compiling Socket SocketProtocols.swift
[96/113] Compiling Socket Socket.swift
[97/114] Compiling DequeModule Deque+CustomReflectable.swift
[98/114] Compiling DequeModule Deque+Descriptions.swift
[99/114] Compiling DequeModule _DequeBuffer.swift
[100/114] Compiling DequeModule _DequeBufferHeader.swift
[101/116] Emitting module WebErrorKit
[102/116] Compiling WebErrorKit Exports.swift
[104/117] Compiling DequeModule Deque+Equatable.swift
[105/117] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[106/117] Compiling DequeModule Deque+Extras.swift
[107/117] Compiling DequeModule Deque+Hashable.swift
[108/117] Compiling DequeModule Deque+Testing.swift
[109/117] Compiling DequeModule Deque._Storage.swift
[111/117] Compiling DequeModule _DequeSlot.swift
[112/117] Compiling DequeModule _UnsafeWrappedBuffer.swift
[113/117] Compiling DequeModule Deque._UnsafeHandle.swift
[114/117] Compiling DequeModule Deque.swift
[115/117] Compiling DequeModule Deque+Codable.swift
[116/117] Compiling DequeModule Deque+Collection.swift
[117/117] Emitting module DequeModule
[119/186] Compiling NIOCore MarkedCircularBuffer.swift
[120/186] Compiling NIOCore MulticastChannel.swift
[121/186] Compiling NIOCore NIOAny.swift
[122/186] Compiling NIOCore NIOCloseOnErrorHandler.swift
[123/186] Compiling NIOCore NIOLoopBound.swift
[124/186] Compiling NIOCore NIOScheduledCallback.swift
[125/186] Compiling NIOCore NIOSendable.swift
[126/186] Compiling NIOCore RecvByteBufferAllocator.swift
[127/194] Compiling NIOCore GlobalSingletons.swift
[128/194] Compiling NIOCore IO.swift
[129/194] Compiling NIOCore IOData.swift
[130/194] Compiling NIOCore IPProtocol.swift
[131/194] Compiling NIOCore IntegerBitPacking.swift
[132/194] Compiling NIOCore IntegerTypes.swift
[133/194] Compiling NIOCore Interfaces.swift
[134/194] Compiling NIOCore Linux.swift
[135/194] 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
[136/194] 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
[137/194] 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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[138/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
[139/195] Compiling NIOCore AddressedEnvelope.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
[140/195] Compiling NIOCore AsyncAwaitSupport.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
[141/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
[142/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
[143/195] 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
[144/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
[145/195] Compiling NIOCore SingleStepByteToMessageDecoder.swift
[146/195] Compiling NIOCore SocketAddresses.swift
[147/195] Compiling NIOCore SocketOptionProvider.swift
[148/195] Compiling NIOCore SystemCallHelpers.swift
[149/195] Compiling NIOCore TimeAmount+Duration.swift
[150/195] Compiling NIOCore TypeAssistedChannelHandler.swift
[151/195] Compiling NIOCore UniversalBootstrapSupport.swift
[152/195] Compiling NIOCore Utilities.swift
[153/195] Compiling NIOCore ChannelPipeline.swift
[154/195] Compiling NIOCore CircularBuffer.swift
[155/195] Compiling NIOCore Codec.swift
[156/195] Compiling NIOCore ConvenienceOptionSupport.swift
[157/195] Compiling NIOCore DeadChannel.swift
[158/195] Compiling NIOCore DispatchQueue+WithFuture.swift
[159/195] Compiling NIOCore EventLoop+Deprecated.swift
[160/195] Compiling NIOCore EventLoop+SerialExecutor.swift
[161/195] Compiling NIOCore EventLoop.swift
[162/195] Compiling NIOCore EventLoopFuture+AssumeIsolated.swift
[163/195] Compiling NIOCore EventLoopFuture+Deprecated.swift
[164/195] Compiling NIOCore EventLoopFuture+WithEventLoop.swift
[165/195] Compiling NIOCore EventLoopFuture.swift
[166/195] Compiling NIOCore FileDescriptor.swift
[167/195] Compiling NIOCore FileHandle.swift
[168/195] Compiling NIOCore FileRegion.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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/61] Emitting module WebErrorKit
[3/61] Emitting module _NIODataStructures
[4/61] Emitting module InternalCollectionsUtilities
[5/63] Compiling InternalCollectionsUtilities _SortedCollection.swift
[6/63] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[7/63] Compiling WebErrorKit WebErrorContent.swift
[8/63] Compiling NIOConcurrencyHelpers lock.swift
[9/63] Compiling NIOConcurrencyHelpers atomics.swift
[10/63] Compiling Socket SocketUtils.swift
[11/63] Compiling Socket SocketProtocols.swift
[12/63] Compiling InternalCollectionsUtilities Debugging.swift
[13/63] Compiling InternalCollectionsUtilities Descriptions.swift
[14/63] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[15/63] Compiling InternalCollectionsUtilities Specialize.swift
[16/63] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[17/63] Compiling WebErrorKit SerializableWebError.swift
[18/63] Compiling WebErrorKit WebError+Serializable.swift
[19/63] Compiling WebErrorKit WebError+RawRepresentable.swift
[20/63] Compiling WebErrorKit Exports.swift
[21/63] Compiling WebErrorKit String+Codify.swift
[22/63] Compiling WebErrorKit WebError.swift
[23/63] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[24/63] Compiling NIOConcurrencyHelpers NIOLock.swift
[25/63] Emitting module NIOConcurrencyHelpers
[26/65] Compiling _NIOBase64 Base64.swift
[27/65] Emitting module _NIOBase64
[30/68] Compiling _NIODataStructures PriorityQueue.swift
[31/68] Compiling _NIODataStructures Heap.swift
[32/68] Compiling _NIODataStructures _TinyArray.swift
[39/69] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[42/69] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[43/69] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[44/69] Compiling InternalCollectionsUtilities UInt+reversed.swift
[45/69] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[46/69] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[51/69] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[52/69] Compiling InternalCollectionsUtilities Integer rank.swift
[53/69] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[54/69] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+SE-0370.swift
[55/69] Compiling InternalCollectionsUtilities UnsafeMutablePointer+SE-0370.swift
[56/69] Compiling InternalCollectionsUtilities UnsafeRawPointer extensions.swift
[60/70] Compiling Atomics IntegerOperations.swift
[61/70] Compiling Atomics Unmanaged extensions.swift
[62/70] Emitting module Socket
[63/70] Compiling Socket Socket.swift
[68/71] Emitting module Atomics
[73/96] Compiling DequeModule Deque+Equatable.swift
[74/96] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[75/96] Compiling DequeModule Deque+CustomReflectable.swift
[76/96] Compiling DequeModule Deque+Descriptions.swift
[77/98] Compiling DequeModule _DequeBuffer.swift
[78/98] Compiling DequeModule _DequeBufferHeader.swift
[79/98] 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
[80/98] 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)
[81/98] 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
[82/98] 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
[83/99] 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
[84/99] 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
[85/99] 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
[86/99] 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
[87/99] 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
[88/99] Compiling DequeModule Deque+Testing.swift
[89/99] Compiling DequeModule Deque._Storage.swift
[90/99] Compiling DequeModule _DequeSlot.swift
[91/99] Compiling DequeModule _UnsafeWrappedBuffer.swift
[92/99] Compiling DequeModule Deque+Extras.swift
[93/99] Compiling DequeModule Deque+Hashable.swift
[94/99] Compiling DequeModule Deque._UnsafeHandle.swift
[95/99] Compiling DequeModule Deque.swift
[96/99] 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
[97/99] Emitting module DequeModule
BUILD FAILURE 6.1 linux