Build Information
Failed to build Flock, reference 0.5.0 (e7ebcd
), with Swift 6.1 for Linux on 25 Apr 2025 10:39:55 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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/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.1
Building package at path: $PWD
https://github.com/jakeheis/flock.git
https://github.com/jakeheis/flock.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "beak",
"requirement" : {
"range" : [
{
"lower_bound" : "0.4.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/yonaskolb/Beak"
},
{
"identity" : "rainbow",
"requirement" : {
"range" : [
{
"lower_bound" : "3.0.0",
"upper_bound" : "4.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/onevcat/Rainbow"
},
{
"identity" : "shout",
"requirement" : {
"range" : [
{
"lower_bound" : "0.2.3",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/jakeheis/Shout"
},
{
"identity" : "swiftcli",
"requirement" : {
"range" : [
{
"lower_bound" : "5.1.1",
"upper_bound" : "6.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/jakeheis/SwiftCLI"
}
],
"manifest_display_name" : "Flock",
"name" : "Flock",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "flock",
"targets" : [
"FlockCLI"
],
"type" : {
"executable" : null
}
},
{
"name" : "FlockKit",
"targets" : [
"FlockKit"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "FlockKit",
"module_type" : "SwiftTarget",
"name" : "FlockKit",
"path" : "Sources/FlockKit",
"product_dependencies" : [
"Rainbow",
"Shout"
],
"product_memberships" : [
"FlockKit"
],
"sources" : [
"Environment.swift",
"Flock.swift",
"Server.swift",
"TaskError.swift"
],
"type" : "library"
},
{
"c99name" : "FlockCLI",
"module_type" : "SwiftTarget",
"name" : "FlockCLI",
"path" : "Sources/FlockCLI",
"product_dependencies" : [
"BeakCore",
"Rainbow",
"SwiftCLI"
],
"product_memberships" : [
"flock"
],
"sources" : [
"Beak.swift",
"CheckCommand.swift",
"CleanCommand.swift",
"FlockCommand.swift",
"FlockError.swift",
"ForwardCommand.swift",
"HelpMessageGenerator.swift",
"InitCommand.swift",
"ListCommand.swift",
"Router.swift",
"main.swift"
],
"type" : "executable"
}
],
"tools_version" : "4.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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/jakeheis/Shout
Fetching https://github.com/jakeheis/SwiftCLI
Fetching https://github.com/onevcat/Rainbow
Fetching https://github.com/yonaskolb/Beak
[1/5074] Fetching swiftcli
[560/5808] Fetching swiftcli, shout
[742/7004] Fetching swiftcli, shout, rainbow
[7005/12130] Fetching swiftcli, shout, rainbow, beak
Fetched https://github.com/jakeheis/Shout from cache (0.79s)
Fetched https://github.com/onevcat/Rainbow from cache (0.79s)
[6817/10200] Fetching swiftcli, beak
Fetched https://github.com/jakeheis/SwiftCLI from cache (0.79s)
[1795/5126] Fetching beak
Fetched https://github.com/yonaskolb/Beak from cache (7.52s)
Computing version for https://github.com/yonaskolb/Beak
Computed https://github.com/yonaskolb/Beak at 0.5.1 (10.49s)
Fetching https://github.com/kylef/PathKit.git
Fetching https://github.com/jpsim/SourceKitten
Fetching https://github.com/kylef/Spectre.git
[1/1411] Fetching pathkit
[114/2432] Fetching pathkit, spectre
[2433/18544] Fetching pathkit, spectre, sourcekitten
Fetched https://github.com/kylef/Spectre.git from cache (1.44s)
Fetched https://github.com/kylef/PathKit.git from cache (1.73s)
Fetched https://github.com/jpsim/SourceKitten from cache (1.75s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 0.9.2 (4.22s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.9.2 (0.93s)
Computing version for https://github.com/jakeheis/SwiftCLI
Computed https://github.com/jakeheis/SwiftCLI at 5.3.3 (0.82s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 3.2.0 (1.14s)
Computing version for https://github.com/jakeheis/Shout
Computed https://github.com/jakeheis/Shout at 0.5.7 (0.90s)
Fetching https://github.com/IBM-Swift/BlueSocket
[1/2942] Fetching bluesocket
Fetched https://github.com/IBM-Swift/BlueSocket from cache (0.45s)
Computing version for https://github.com/IBM-Swift/BlueSocket
Computed https://github.com/IBM-Swift/BlueSocket at 1.0.200 (1.22s)
Computing version for https://github.com/jpsim/SourceKitten
Computed https://github.com/jpsim/SourceKitten at 0.37.0 (0.81s)
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/drmohundro/SWXMLHash.git
[1/2820] Fetching swxmlhash
[847/13109] Fetching swxmlhash, yams
[7760/28022] Fetching swxmlhash, yams, swift-argument-parser
Fetched https://github.com/drmohundro/SWXMLHash.git from cache (0.51s)
[6554/25202] Fetching yams, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.10s)
[9466/10289] Fetching yams
Fetched https://github.com/jpsim/Yams.git from cache (1.50s)
Computing version for https://github.com/drmohundro/SWXMLHash.git
Computed https://github.com/drmohundro/SWXMLHash.git at 7.0.2 (2.07s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.5.0 (2.84s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.3.1 (0.61s)
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/onevcat/Rainbow
Working copy of https://github.com/onevcat/Rainbow resolved at 3.2.0
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/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.5.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/SwiftCLI
Working copy of https://github.com/jakeheis/SwiftCLI resolved at 5.3.3
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/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 5.3.1
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/jakeheis/Shout
Working copy of https://github.com/jakeheis/Shout resolved at 0.5.7
Creating working copy for https://github.com/jpsim/SourceKitten
Working copy of https://github.com/jpsim/SourceKitten resolved at 0.37.0
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
[12/31] Compiling SourceKit SourceKit.c
[13/31] Compiling Clang_C Clang_C.c
[14/31] Compiling reader.c
[15/31] Compiling writer.c
[16/31] Compiling api.c
[17/31] Compiling parser.c
[18/31] Compiling emitter.c
[19/31] Write swift-version-24593BA9C3E375BF.txt
[20/31] Compiling scanner.c
[22/112] Emitting module SwiftCLI
[23/114] Emitting module Rainbow
[24/115] Compiling Yams Tag.swift
[25/115] Compiling Yams YamlAnchorProviding.swift
[26/117] Compiling Rainbow String+Rainbow.swift
[27/117] Compiling SwiftCLI ValueBox.swift
[28/117] Compiling SwiftCLI VersionCommand.swift
[29/117] Compiling Rainbow Style.swift
[30/117] Compiling Rainbow StringGenerator.swift
[31/117] Compiling Rainbow XcodeColorsSupport.swift
[32/117] Compiling Rainbow Rainbow.swift
[33/117] Compiling Yams Anchor.swift
[34/117] Compiling Yams Constructor.swift
[35/117] Compiling Yams Decoder.swift
[36/117] Compiling SwiftCLI Term.swift
[38/117] Compiling Yams Encoder.swift
[39/117] Compiling Yams Mark.swift
[40/117] Compiling SwiftCLI Error.swift
[41/117] Compiling SwiftCLI HelpCommand.swift
[45/120] Compiling Yams Emitter.swift
[46/120] Emitting module SWXMLHash
[50/120] Compiling Socket SocketUtils.swift
[51/120] Compiling SwiftCLI Parser.swift
[53/120] Emitting module Socket
[54/120] Compiling Socket SocketProtocols.swift
[55/120] Compiling Socket Socket.swift
[62/122] Compiling SwiftCLI OptionRegistry.swift
[63/122] Compiling SwiftCLI Parameter.swift
[66/122] Compiling Yams YamlError.swift
[67/122] Compiling Yams YamlTagProviding.swift
[68/122] Emitting module PathKit
[69/122] Compiling PathKit PathKit.swift
[73/122] Emitting module Yams
[74/122] Compiling SwiftCLI HelpMessageGenerator.swift
[75/122] Compiling SwiftCLI Input.swift
[76/122] Compiling SwiftCLI Option.swift
[80/123] Compiling SwiftCLI OptionGroup.swift
[100/124] Compiling SWXMLHash XMLHash.swift
[111/125] Wrapping AST for Rainbow for debugging
[113/125] Wrapping AST for SwiftCLI for debugging
[115/136] Compiling SWXMLHash XMLHashOptions.swift
[116/136] Compiling SWXMLHash XMLIndexer.swift
[117/136] Compiling SWXMLHash shim.swift
[117/137] Wrapping AST for PathKit for debugging
[119/137] Wrapping AST for Yams for debugging
[121/137] 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
[122/137] 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
[122/138] Wrapping AST for SWXMLHash for debugging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[124/138] 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
[125/138] 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
[126/138] 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
[127/138] 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
[128/138] 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
[129/164] 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
[130/181] 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
[131/181] Compiling SourceKittenFramework SyntaxToken.swift
[132/181] Compiling SourceKittenFramework Text.swift
[133/181] Compiling SourceKittenFramework UID.swift
[134/181] Compiling SourceKittenFramework UIDRepresentable.swift
[135/181] Compiling SourceKittenFramework UncheckedSendable.swift
[136/181] Compiling SourceKittenFramework Version.swift
[137/181] Compiling SourceKittenFramework ByteCount.swift
[138/181] Compiling SourceKittenFramework ByteRange.swift
[139/181] Compiling SourceKittenFramework Clang+SourceKitten.swift
[140/181] Compiling SourceKittenFramework ClangTranslationUnit.swift
[141/181] Compiling SourceKittenFramework CodeCompletionItem.swift
[142/181] Compiling SourceKittenFramework CursorInfo+Parsing.swift
[143/187] Emitting module SourceKittenFramework
[144/187] Compiling SourceKittenFramework Dictionary+Merge.swift
[145/187] Compiling SourceKittenFramework Documentation.swift
[146/187] Compiling SourceKittenFramework Exec.swift
[147/187] Compiling SourceKittenFramework File+Hashable.swift
[148/187] Compiling SourceKittenFramework File.swift
[149/187] Compiling SourceKittenFramework JSONOutput.swift
[150/187] Compiling SourceKittenFramework OffsetMap.swift
[151/187] Compiling SourceKittenFramework Parameter.swift
[152/187] Compiling SourceKittenFramework Request.swift
[153/187] Compiling SourceKittenFramework SourceDeclaration.swift
[154/187] Compiling SourceKittenFramework SourceKitObject.swift
[155/187] Compiling SourceKittenFramework SourceLocation.swift
[156/187] Compiling SourceKittenFramework Language.swift
[157/187] Compiling SourceKittenFramework LibraryWrapperGenerator.swift
[158/187] Compiling SourceKittenFramework Line.swift
[159/187] Compiling SourceKittenFramework LinuxCompatibility.swift
[160/187] Compiling SourceKittenFramework Module.swift
[161/187] Compiling SourceKittenFramework ObjCDeclarationKind.swift
[162/187] Compiling SourceKittenFramework SwiftDeclarationKind.swift
[163/187] Compiling SourceKittenFramework SwiftDocKey.swift
[164/187] Compiling SourceKittenFramework SwiftDocs.swift
[165/187] Compiling SourceKittenFramework SwiftVersion.swift
[166/187] Compiling SourceKittenFramework SyntaxKind.swift
[167/187] Compiling SourceKittenFramework SyntaxMap.swift
[168/187] Compiling SourceKittenFramework StatementKind.swift
[169/187] Compiling SourceKittenFramework String+SourceKitten.swift
[170/187] Compiling SourceKittenFramework StringView+SourceKitten.swift
[171/187] Compiling SourceKittenFramework StringView.swift
[172/187] Compiling SourceKittenFramework Structure.swift
[173/187] Compiling SourceKittenFramework SwiftDeclarationAttributeKind.swift
[174/187] Compiling SourceKittenFramework WindowsError.swift
[175/187] Compiling SourceKittenFramework Xcode.swift
[176/187] Compiling SourceKittenFramework XcodeBuildSetting.swift
[177/187] Compiling SourceKittenFramework library_wrapper.swift
[178/187] Compiling SourceKittenFramework library_wrapper_Clang_C.swift
[179/187] Compiling SourceKittenFramework library_wrapper_SourceKit.swift
[180/188] Wrapping AST for SourceKittenFramework for debugging
[182/197] Compiling BeakCore SourceKit.swift
/host/spi-builder-workspace/.build/checkouts/Beak/Sources/BeakCore/SourceKit.swift:86:72: error: reference to member 'substringWithByteRange' cannot be resolved without a contextual type
84 |
85 | func extract(from source: [String: SourceKitRepresentable], contents: String) -> String? {
86 | let substring = range(for: source).flatMap { contents.bridge().substringWithByteRange(start: Int($0.offset), length: Int($0.length)) }
| `- error: reference to member 'substringWithByteRange' cannot be resolved without a contextual type
87 | return substring?.isEmpty == true ? nil : substring?.trimmingCharacters(in: .whitespacesAndNewlines)
88 | }
/host/spi-builder-workspace/.build/checkouts/Beak/Sources/BeakCore/SourceKit.swift:87:86: error: cannot infer contextual base in reference to member 'whitespacesAndNewlines'
85 | func extract(from source: [String: SourceKitRepresentable], contents: String) -> String? {
86 | let substring = range(for: source).flatMap { contents.bridge().substringWithByteRange(start: Int($0.offset), length: Int($0.length)) }
87 | return substring?.isEmpty == true ? nil : substring?.trimmingCharacters(in: .whitespacesAndNewlines)
| `- error: cannot infer contextual base in reference to member 'whitespacesAndNewlines'
88 | }
89 | }
[183/197] Compiling BeakCore String.swift
[184/198] Compiling BeakCore PackageManager.swift
[185/198] Compiling BeakCore FunctionParser.swift
[186/198] Compiling BeakCore Function.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
<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
[189/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
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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: couldn't find pc file for libssh2
warning: couldn't find pc file for libssh2
[0/1] Planning build
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/12] Write swift-version-24593BA9C3E375BF.txt
[3/93] Compiling SwiftCLI Option.swift
[4/93] Compiling SwiftCLI OptionGroup.swift
[5/93] Compiling SwiftCLI Term.swift
[6/93] Compiling SwiftCLI Validation.swift
[7/95] Compiling Rainbow Style.swift
[8/97] Emitting module Rainbow
[9/97] Compiling Rainbow StringGenerator.swift
[10/98] Compiling SwiftCLI Parser.swift
[11/98] Compiling SwiftCLI Path.swift
[12/98] Compiling SwiftCLI Stream.swift
[13/98] Compiling SwiftCLI ValueBox.swift
[14/98] Compiling SwiftCLI VersionCommand.swift
[15/98] Compiling SWXMLHash XMLHash.swift
[16/98] Emitting module SWXMLHash
[17/98] Compiling SwiftCLI ArgumentListManipulator.swift
[18/98] Compiling SwiftCLI CLI.swift
[19/98] Compiling SwiftCLI Error.swift
[20/98] Compiling SwiftCLI HelpCommand.swift
[21/101] Compiling Rainbow Rainbow.swift
[22/101] Compiling Rainbow String+Rainbow.swift
[23/101] Compiling SwiftCLI HelpMessageGenerator.swift
[24/101] Compiling SwiftCLI Input.swift
[26/101] Compiling SwiftCLI Command.swift
[27/101] Compiling SwiftCLI Compatibility.swift
[30/101] Compiling SwiftCLI CompletionGenerator.swift
[31/101] Compiling SwiftCLI ArgumentList.swift
[32/101] Emitting module Yams
[33/101] Compiling Socket SocketUtils.swift
[34/101] Compiling Socket SocketProtocols.swift
[36/101] Compiling SwiftCLI OptionRegistry.swift
[37/101] Compiling SwiftCLI Parameter.swift
[38/101] Compiling SwiftCLI Task.swift
[39/101] Compiling Yams YamlError.swift
[40/101] Compiling Yams YamlTagProviding.swift
[41/101] Emitting module PathKit
[42/101] Compiling PathKit PathKit.swift
[50/102] Compiling Rainbow XcodeColorsSupport.swift
[61/103] Emitting module SwiftCLI
[67/102] Compiling SWXMLHash XMLHashOptions.swift
[68/102] Compiling SWXMLHash XMLIndexer.swift
[69/102] Compiling SWXMLHash shim.swift
[69/103] Wrapping AST for PathKit for debugging
[95/104] Wrapping AST for SWXMLHash for debugging
[96/104] Wrapping AST for Yams for debugging
[98/134] Emitting module Socket
[99/134] Compiling Socket Socket.swift
[101/148] Compiling SourceKittenFramework SyntaxToken.swift
[102/148] Compiling SourceKittenFramework Text.swift
[103/148] Compiling SourceKittenFramework UID.swift
[104/148] Compiling SourceKittenFramework UIDRepresentable.swift
[105/148] Compiling SourceKittenFramework UncheckedSendable.swift
[106/148] Compiling SourceKittenFramework Version.swift
[107/154] Compiling SourceKittenFramework ByteCount.swift
[108/154] Compiling SourceKittenFramework ByteRange.swift
[109/154] Compiling SourceKittenFramework Clang+SourceKitten.swift
[110/154] Compiling SourceKittenFramework ClangTranslationUnit.swift
[111/154] Compiling SourceKittenFramework CodeCompletionItem.swift
[112/154] Compiling SourceKittenFramework CursorInfo+Parsing.swift
[113/165] Emitting module SourceKittenFramework
[114/165] Compiling SourceKittenFramework Dictionary+Merge.swift
[115/165] Compiling SourceKittenFramework Documentation.swift
[116/165] Compiling SourceKittenFramework Exec.swift
[117/165] Compiling SourceKittenFramework File+Hashable.swift
[118/165] Compiling SourceKittenFramework File.swift
[119/165] Compiling SourceKittenFramework JSONOutput.swift
[120/165] 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
[121/165] 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
[122/166] Compiling SourceKittenFramework OffsetMap.swift
[123/166] Compiling SourceKittenFramework Parameter.swift
[124/166] Compiling SourceKittenFramework Request.swift
[125/166] Compiling SourceKittenFramework SourceDeclaration.swift
[126/166] Compiling SourceKittenFramework SourceKitObject.swift
[127/166] Compiling SourceKittenFramework SourceLocation.swift
[128/166] 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
[129/166] 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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[130/166] 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/166] 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/166] 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/166] Compiling SourceKittenFramework WindowsError.swift
[134/166] Compiling SourceKittenFramework Xcode.swift
[135/166] Compiling SourceKittenFramework XcodeBuildSetting.swift
[136/166] Compiling SourceKittenFramework library_wrapper.swift
[137/166] Compiling SourceKittenFramework library_wrapper_Clang_C.swift
[138/166] Compiling SourceKittenFramework library_wrapper_SourceKit.swift
[139/166] Compiling SourceKittenFramework Language.swift
[140/166] Compiling SourceKittenFramework LibraryWrapperGenerator.swift
[141/166] Compiling SourceKittenFramework Line.swift
[142/166] Compiling SourceKittenFramework LinuxCompatibility.swift
[143/166] Compiling SourceKittenFramework Module.swift
[144/166] Compiling SourceKittenFramework ObjCDeclarationKind.swift
[145/166] Compiling SourceKittenFramework SwiftDeclarationKind.swift
[146/166] Compiling SourceKittenFramework SwiftDocKey.swift
[147/166] Compiling SourceKittenFramework SwiftDocs.swift
[148/166] Compiling SourceKittenFramework SwiftVersion.swift
[149/166] Compiling SourceKittenFramework SyntaxKind.swift
[150/166] Compiling SourceKittenFramework SyntaxMap.swift
[151/166] Compiling SourceKittenFramework StatementKind.swift
[152/166] Compiling SourceKittenFramework String+SourceKitten.swift
[153/166] Compiling SourceKittenFramework StringView+SourceKitten.swift
[154/166] Compiling SourceKittenFramework StringView.swift
[155/166] Compiling SourceKittenFramework Structure.swift
[156/166] Compiling SourceKittenFramework SwiftDeclarationAttributeKind.swift
[158/166] 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
[159/175] Compiling BeakCore String.swift
[160/175] Compiling BeakCore SourceKit.swift
/host/spi-builder-workspace/.build/checkouts/Beak/Sources/BeakCore/SourceKit.swift:86:72: error: reference to member 'substringWithByteRange' cannot be resolved without a contextual type
84 |
85 | func extract(from source: [String: SourceKitRepresentable], contents: String) -> String? {
86 | let substring = range(for: source).flatMap { contents.bridge().substringWithByteRange(start: Int($0.offset), length: Int($0.length)) }
| `- error: reference to member 'substringWithByteRange' cannot be resolved without a contextual type
87 | return substring?.isEmpty == true ? nil : substring?.trimmingCharacters(in: .whitespacesAndNewlines)
88 | }
/host/spi-builder-workspace/.build/checkouts/Beak/Sources/BeakCore/SourceKit.swift:87:86: error: cannot infer contextual base in reference to member 'whitespacesAndNewlines'
85 | func extract(from source: [String: SourceKitRepresentable], contents: String) -> String? {
86 | let substring = range(for: source).flatMap { contents.bridge().substringWithByteRange(start: Int($0.offset), length: Int($0.length)) }
87 | return substring?.isEmpty == true ? nil : substring?.trimmingCharacters(in: .whitespacesAndNewlines)
| `- error: cannot infer contextual base in reference to member 'whitespacesAndNewlines'
88 | }
89 | }
[161/176] Compiling BeakCore Dependency.swift
[162/176] Compiling BeakCore PackageManager.swift
[163/176] Compiling BeakCore FunctionParser.swift
[164/176] Compiling BeakCore Function.swift
[165/176] Compiling BeakCore BeakError.swift
[166/176] Compiling BeakCore BeakFile.swift
[167/176] Emitting module BeakCore
[168/176] Compiling BeakCore SwiftParser.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>
BUILD FAILURE 6.1 linux