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 Flock, reference 0.5.0 (e7ebcd), with Swift 6.2 (beta) for Linux on 17 Jun 2025 13:13:41 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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/jakeheis/flock.git
Reference: 0.5.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/jakeheis/flock
 * tag               0.5.0      -> FETCH_HEAD
HEAD is now at e7ebcd5 Check command
Cloned https://github.com/jakeheis/flock.git
Revision (git rev-parse @):
e7ebcd5279bfb95b0e66b15d07a868b244ab4883
SUCCESS checkout https://github.com/jakeheis/flock.git at 0.5.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.2
Building package at path:  $PWD
https://github.com/jakeheis/flock.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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/jakeheis/Shout
Fetching https://github.com/onevcat/Rainbow
Fetching https://github.com/yonaskolb/Beak
Fetching https://github.com/jakeheis/SwiftCLI
[1/5074] Fetching swiftcli
[2336/5808] Fetching swiftcli, shout
[2366/10934] Fetching swiftcli, shout, beak
[5107/12130] Fetching swiftcli, shout, beak, rainbow
Fetched https://github.com/jakeheis/Shout from cache (6.29s)
Fetched https://github.com/onevcat/Rainbow from cache (6.29s)
Fetched https://github.com/jakeheis/SwiftCLI from cache (6.30s)
Fetched https://github.com/yonaskolb/Beak from cache (6.55s)
Computing version for https://github.com/yonaskolb/Beak
Computed https://github.com/yonaskolb/Beak at 0.5.1 (9.36s)
Fetching https://github.com/kylef/Spectre.git
Fetching https://github.com/kylef/PathKit.git
Fetching https://github.com/jpsim/SourceKitten
[1/1411] Fetching pathkit
[1412/2432] Fetching pathkit, spectre
[1617/18576] Fetching pathkit, spectre, sourcekitten
Fetched https://github.com/kylef/Spectre.git from cache (0.32s)
[3672/17555] Fetching pathkit, sourcekitten
Fetched https://github.com/kylef/PathKit.git from cache (1.55s)
Fetched https://github.com/jpsim/SourceKitten from cache (1.57s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 0.9.2 (4.49s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.9.2 (0.84s)
Computing version for https://github.com/jakeheis/SwiftCLI
Computed https://github.com/jakeheis/SwiftCLI at 5.3.3 (0.47s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 3.2.0 (0.47s)
Computing version for https://github.com/jakeheis/Shout
Computed https://github.com/jakeheis/Shout at 0.5.7 (0.48s)
Fetching https://github.com/IBM-Swift/BlueSocket
[1/2942] Fetching bluesocket
Fetched https://github.com/IBM-Swift/BlueSocket from cache (0.63s)
Computing version for https://github.com/IBM-Swift/BlueSocket
Computed https://github.com/IBM-Swift/BlueSocket at 1.0.200 (1.48s)
Computing version for https://github.com/jpsim/SourceKitten
Computed https://github.com/jpsim/SourceKitten at 0.37.2 (0.87s)
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/drmohundro/SWXMLHash.git
Fetching https://github.com/jpsim/Yams.git
[1/2820] Fetching swxmlhash
[2821/13679] Fetching swxmlhash, yams
[3473/29059] Fetching swxmlhash, yams, swift-argument-parser
Fetched https://github.com/drmohundro/SWXMLHash.git from cache (0.70s)
[1838/26239] Fetching yams, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (2.79s)
Fetched https://github.com/jpsim/Yams.git from cache (2.86s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 6.0.1 (3.53s)
Computing version for https://github.com/drmohundro/SWXMLHash.git
Computed https://github.com/drmohundro/SWXMLHash.git at 7.0.2 (0.58s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.5.1 (0.57s)
Creating working copy for https://github.com/drmohundro/SWXMLHash.git
Working copy of https://github.com/drmohundro/SWXMLHash.git resolved at 7.0.2
Creating working copy for https://github.com/jpsim/SourceKitten
Working copy of https://github.com/jpsim/SourceKitten resolved at 0.37.2
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/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 6.0.1
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.5.1
Creating working copy for https://github.com/jakeheis/SwiftCLI
Working copy of https://github.com/jakeheis/SwiftCLI resolved at 5.3.3
Creating working copy for https://github.com/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.9.2
Creating working copy for https://github.com/yonaskolb/Beak
Working copy of https://github.com/yonaskolb/Beak resolved at 0.5.1
Creating working copy for https://github.com/onevcat/Rainbow
Working copy of https://github.com/onevcat/Rainbow resolved at 3.2.0
Creating working copy for https://github.com/kylef/PathKit.git
Working copy of https://github.com/kylef/PathKit.git resolved at 0.9.2
Creating working copy for https://github.com/jakeheis/Shout
Working copy of https://github.com/jakeheis/Shout resolved at 0.5.7
warning: couldn't find pc file for libssh2
warning: couldn't find pc file for libssh2
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/31] Write sources
[11/31] Compiling SourceKit SourceKit.c
[12/31] Compiling Clang_C Clang_C.c
[13/31] Write sources
[14/31] Compiling writer.c
[15/31] Compiling reader.c
[16/31] Write swift-version-24593BA9C3E375BF.txt
[17/31] Compiling parser.c
[18/31] Compiling api.c
[19/93] Compiling emitter.c
[20/93] Compiling scanner.c
[22/113] Emitting module Yams
[23/115] Compiling Yams Encoder.swift
[24/115] Compiling Yams Tag.swift
[25/115] Compiling Rainbow StringGenerator.swift
[26/115] Compiling Rainbow String+Rainbow.swift
[27/116] Emitting module Rainbow
[28/116] Compiling Yams Decoder.swift
[29/116] Compiling Yams Emitter.swift
[30/116] Compiling Yams Mark.swift
[31/116] Compiling Yams Node.Alias.swift
[32/116] Compiling Yams Node.Mapping.swift
[33/116] Compiling Rainbow XcodeColorsSupport.swift
[34/116] Compiling Yams Representer.swift
[35/116] Compiling Yams YamlError.swift
[36/118] Emitting module SwiftCLI
[37/118] Emitting module SWXMLHash
[45/121] Compiling Yams YamlAnchorProviding.swift
[46/121] Compiling Yams Node.Scalar.swift
[47/121] Compiling Rainbow Style.swift
[48/121] Compiling Rainbow Rainbow.swift
[50/122] Compiling SwiftCLI ValueBox.swift
[51/122] Compiling Yams RedundancyAliasingStrategy.swift
[55/122] Compiling SwiftCLI VersionCommand.swift
[56/122] Compiling SWXMLHash XMLHash.swift
[58/122] Compiling Yams String+Yams.swift
[62/122] Compiling Yams Parser.swift
[64/122] Compiling Socket SocketProtocols.swift
[65/122] Compiling Socket SocketUtils.swift
[71/122] Compiling Yams Node.Sequence.swift
[72/122] Compiling Yams Node.swift
[75/122] Compiling Yams AliasDereferencingStrategy.swift
[79/122] Compiling Yams Anchor.swift
[80/122] Compiling Yams Constructor.swift
[81/122] Compiling Yams Resolver.swift
[104/123] Wrapping AST for Rainbow for debugging
[107/124] Wrapping AST for Yams for debugging
[109/124] Wrapping AST for SwiftCLI for debugging
[111/124] Compiling SWXMLHash XMLHashOptions.swift
[112/124] Compiling SWXMLHash XMLIndexer.swift
[113/124] Compiling SWXMLHash shim.swift
[115/125] Emitting module Socket
[116/125] Compiling Socket Socket.swift
[118/126] Emitting module PathKit
[119/126] Compiling PathKit PathKit.swift
[119/126] Wrapping AST for SWXMLHash for debugging
[121/181] Wrapping AST for PathKit for debugging
[123/181] Compiling Shout FileType.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/Shout/Sources/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/181] 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/Shout/Sources/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/182] Compiling Shout FileAttributes.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/Shout/Sources/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/182] 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/Shout/Sources/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
[127/182] 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/Shout/Sources/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/182] 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/Shout/Sources/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/182] 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/Shout/Sources/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)
[130/182] 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/Shout/Sources/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/182] 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/Shout/Sources/CSSH/shim.h:4:10: error: 'libssh2.h' file not found
2 | #define __CLIBSSH_SHIM_H__
3 |
4 | #include <libssh2.h>
  |          `- error: 'libssh2.h' file not found
5 | #include <libssh2_sftp.h>
6 | #include <libssh2_publickey.h>
/host/spi-builder-workspace/.build/checkouts/Shout/Sources/Shout/Agent.swift:8:8: error: could not build C module 'CSSH'
 6 | //
 7 |
 8 | import CSSH
   |        `- error: could not build C module 'CSSH'
 9 |
10 | /// Direct bindings to libssh2_agent
[132/182] 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/Shout/Sources/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/182] Compiling SourceKittenFramework SyntaxToken.swift
[134/182] Compiling SourceKittenFramework Text.swift
[135/182] Compiling SourceKittenFramework UID.swift
[136/182] Compiling SourceKittenFramework UIDRepresentable.swift
[137/182] Compiling SourceKittenFramework UncheckedSendable.swift
[138/182] Compiling SourceKittenFramework Version.swift
[139/188] 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/Shout/Sources/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/188] Compiling SourceKittenFramework SwiftDeclarationKind.swift
[141/188] Compiling SourceKittenFramework SwiftDocKey.swift
[142/188] Compiling SourceKittenFramework SwiftDocs.swift
[143/188] Compiling SourceKittenFramework SwiftVersion.swift
[144/188] Compiling SourceKittenFramework SyntaxKind.swift
[145/188] Compiling SourceKittenFramework SyntaxMap.swift
[146/188] Emitting module SourceKittenFramework
[153/188] Compiling SourceKittenFramework Language.swift
[154/188] Compiling SourceKittenFramework LibraryWrapperGenerator.swift
[155/188] Compiling SourceKittenFramework Line.swift
[156/188] Compiling SourceKittenFramework LinuxCompatibility.swift
[157/188] Compiling SourceKittenFramework Module.swift
[158/188] Compiling SourceKittenFramework ObjCDeclarationKind.swift
[159/188] Compiling SourceKittenFramework StatementKind.swift
[160/188] Compiling SourceKittenFramework String+SourceKitten.swift
[161/188] Compiling SourceKittenFramework StringView+SourceKitten.swift
[162/188] Compiling SourceKittenFramework StringView.swift
[163/188] Compiling SourceKittenFramework Structure.swift
[164/188] Compiling SourceKittenFramework SwiftDeclarationAttributeKind.swift
[165/188] Compiling SourceKittenFramework WindowsError.swift
[166/188] Compiling SourceKittenFramework Xcode.swift
[167/188] Compiling SourceKittenFramework XcodeBuildSetting.swift
[168/188] Compiling SourceKittenFramework library_wrapper.swift
[169/188] Compiling SourceKittenFramework library_wrapper_Clang_C.swift
[170/188] Compiling SourceKittenFramework library_wrapper_SourceKit.swift
[171/188] Compiling SourceKittenFramework Dictionary+Merge.swift
[172/188] Compiling SourceKittenFramework Documentation.swift
[173/188] Compiling SourceKittenFramework Exec.swift
[174/188] Compiling SourceKittenFramework File+Hashable.swift
[175/188] Compiling SourceKittenFramework File.swift
[176/188] Compiling SourceKittenFramework JSONOutput.swift
[177/188] Compiling SourceKittenFramework OffsetMap.swift
[178/188] Compiling SourceKittenFramework Parameter.swift
[179/188] Compiling SourceKittenFramework Request.swift
[180/188] Compiling SourceKittenFramework SourceDeclaration.swift
[181/188] Compiling SourceKittenFramework SourceKitObject.swift
[182/188] Compiling SourceKittenFramework SourceLocation.swift
[183/198] Wrapping AST for SourceKittenFramework for debugging
[185/198] 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/Shout/Sources/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