Build Information
Failed to build Flock, reference master (d61e7f
), with Swift 6.1 for Linux on 25 Apr 2025 10:40:24 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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: 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/jakeheis/flock
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at d61e7fd Update README
Cloned https://github.com/jakeheis/flock.git
Revision (git rev-parse @):
d61e7fd3ef4f731382fca192976682953784be13
SUCCESS checkout https://github.com/jakeheis/flock.git at master
========================================
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-0":/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/yonaskolb/Beak
Fetching https://github.com/onevcat/Rainbow
[1/1196] Fetching rainbow
[408/6270] Fetching rainbow, swiftcli
[1224/7004] Fetching rainbow, swiftcli, shout
[5382/12130] Fetching rainbow, swiftcli, shout, beak
Fetched https://github.com/onevcat/Rainbow from cache (0.46s)
[5410/10934] Fetching swiftcli, shout, beak
Fetched https://github.com/jakeheis/Shout from cache (7.17s)
Fetched https://github.com/jakeheis/SwiftCLI from cache (7.17s)
Fetched https://github.com/yonaskolb/Beak from cache (7.39s)
Computing version for https://github.com/yonaskolb/Beak
Computed https://github.com/yonaskolb/Beak at 0.5.1 (10.31s)
Fetching https://github.com/kylef/PathKit.git
Fetching https://github.com/kylef/Spectre.git
Fetching https://github.com/jpsim/SourceKitten
[1/1021] Fetching spectre
[757/2432] Fetching spectre, pathkit
[2433/18544] Fetching spectre, pathkit, sourcekitten
Fetched https://github.com/kylef/Spectre.git from cache (1.39s)
Fetched https://github.com/kylef/PathKit.git from cache (1.39s)
Fetched https://github.com/jpsim/SourceKitten from cache (1.40s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 0.9.2 (3.66s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.9.2 (0.47s)
Computing version for https://github.com/jakeheis/SwiftCLI
Computed https://github.com/jakeheis/SwiftCLI at 5.3.3 (0.49s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 3.2.0 (0.52s)
Computing version for https://github.com/jakeheis/Shout
Computed https://github.com/jakeheis/Shout at 0.5.7 (1.20s)
Fetching https://github.com/IBM-Swift/BlueSocket
[1/2942] Fetching bluesocket
Fetched https://github.com/IBM-Swift/BlueSocket from cache (0.54s)
Computing version for https://github.com/IBM-Swift/BlueSocket
Computed https://github.com/IBM-Swift/BlueSocket at 1.0.200 (1.68s)
Computing version for https://github.com/jpsim/SourceKitten
Computed https://github.com/jpsim/SourceKitten at 0.37.0 (0.65s)
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
[2483/13109] Fetching swxmlhash, yams
[8480/28022] Fetching swxmlhash, yams, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.14s)
Fetched https://github.com/drmohundro/SWXMLHash.git from cache (1.49s)
Fetched https://github.com/jpsim/Yams.git from cache (1.55s)
Computing version for https://github.com/drmohundro/SWXMLHash.git
Computed https://github.com/drmohundro/SWXMLHash.git at 7.0.2 (2.52s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.5.0 (0.89s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.3.1 (0.86s)
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/jpsim/SourceKitten
Working copy of https://github.com/jpsim/SourceKitten resolved at 0.37.0
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/onevcat/Rainbow
Working copy of https://github.com/onevcat/Rainbow resolved at 3.2.0
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/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/IBM-Swift/BlueSocket
Working copy of https://github.com/IBM-Swift/BlueSocket resolved at 1.0.200
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/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.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 Clang_C Clang_C.c
[12/31] Write sources
[13/31] Compiling SourceKit SourceKit.c
[14/31] Compiling writer.c
[15/31] Compiling api.c
[16/31] Compiling reader.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 SWXMLHash
[23/115] Emitting module SwiftCLI
[24/117] Compiling SwiftCLI ValueBox.swift
[25/117] Compiling SwiftCLI VersionCommand.swift
[26/117] Compiling Yams Tag.swift
[27/117] Compiling Yams YamlAnchorProviding.swift
[28/119] Compiling Yams Node.Alias.swift
[29/119] Compiling Yams Node.Mapping.swift
[30/119] Compiling Yams Node.Scalar.swift
[31/119] Emitting module Rainbow
[32/119] Compiling Yams Anchor.swift
[33/119] Compiling Yams Constructor.swift
[34/120] Compiling Rainbow Style.swift
[35/120] Compiling Rainbow StringGenerator.swift
[36/120] Compiling Rainbow String+Rainbow.swift
[37/120] Compiling Rainbow XcodeColorsSupport.swift
[38/120] Compiling Yams YamlError.swift
[39/120] Compiling Yams YamlTagProviding.swift
[40/120] Compiling Yams Emitter.swift
[41/120] Compiling Yams Encoder.swift
[42/120] Compiling Yams Mark.swift
[43/120] Emitting module PathKit
[44/120] Compiling PathKit PathKit.swift
[45/120] Compiling Yams Resolver.swift
[46/120] Compiling Yams String+Yams.swift
[47/120] Compiling Yams RedundancyAliasingStrategy.swift
[48/120] Compiling Yams Representer.swift
[50/121] Compiling Socket SocketUtils.swift
[51/121] Compiling Yams Node.Sequence.swift
[52/121] Compiling Yams Node.swift
[53/121] Compiling Yams Parser.swift
[66/121] Compiling Yams Decoder.swift
[66/121] Wrapping AST for PathKit for debugging
[80/121] Compiling Socket SocketProtocols.swift
[87/122] Emitting module Yams
[98/123] Compiling SWXMLHash XMLHash.swift
[105/123] Compiling Rainbow Rainbow.swift
[110/124] Compiling SWXMLHash XMLHashOptions.swift
[111/124] Compiling SWXMLHash XMLIndexer.swift
[112/124] Compiling SWXMLHash shim.swift
[114/125] Wrapping AST for SwiftCLI for debugging
[115/125] Wrapping AST for Yams for debugging
[116/125] Wrapping AST for Rainbow for debugging
[118/125] Emitting module Socket
[119/125] Compiling Socket Socket.swift
[119/126] Wrapping AST for SWXMLHash for debugging
[122/180] 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
[123/180] 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
[124/181] 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
[125/181] 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
[126/181] 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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[127/181] 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
[128/181] 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
[129/181] 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
[130/181] Emitting module SourceKittenFramework
[131/187] Compiling SourceKittenFramework ByteCount.swift
[132/187] Compiling SourceKittenFramework ByteRange.swift
[133/187] Compiling SourceKittenFramework Clang+SourceKitten.swift
[134/187] Compiling SourceKittenFramework ClangTranslationUnit.swift
[135/187] Compiling SourceKittenFramework CodeCompletionItem.swift
[136/187] Compiling SourceKittenFramework CursorInfo+Parsing.swift
[141/187] Compiling Shout FileType.swift
[142/187] Compiling Shout ReadWrite.swift
[143/187] Compiling SourceKittenFramework StatementKind.swift
[144/187] Compiling SourceKittenFramework String+SourceKitten.swift
[145/187] Compiling SourceKittenFramework StringView+SourceKitten.swift
[146/187] Compiling SourceKittenFramework StringView.swift
[147/187] Compiling SourceKittenFramework Structure.swift
[148/187] Compiling SourceKittenFramework SwiftDeclarationAttributeKind.swift
[149/187] 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
[150/187] Compiling SourceKittenFramework SwiftDeclarationKind.swift
[151/187] Compiling SourceKittenFramework SwiftDocKey.swift
[152/187] Compiling SourceKittenFramework SwiftDocs.swift
[153/187] Compiling SourceKittenFramework SwiftVersion.swift
[154/187] Compiling SourceKittenFramework SyntaxKind.swift
[155/187] Compiling SourceKittenFramework SyntaxMap.swift
[156/187] Compiling SourceKittenFramework OffsetMap.swift
[157/187] Compiling SourceKittenFramework Parameter.swift
[158/187] Compiling SourceKittenFramework Request.swift
[159/187] Compiling SourceKittenFramework SourceDeclaration.swift
[160/187] Compiling SourceKittenFramework SourceKitObject.swift
[161/187] Compiling SourceKittenFramework SourceLocation.swift
[162/187] Compiling SourceKittenFramework Language.swift
[163/187] Compiling SourceKittenFramework LibraryWrapperGenerator.swift
[164/187] Compiling SourceKittenFramework Line.swift
[165/187] Compiling SourceKittenFramework LinuxCompatibility.swift
[166/187] Compiling SourceKittenFramework Module.swift
[167/187] Compiling SourceKittenFramework ObjCDeclarationKind.swift
[168/187] Compiling SourceKittenFramework SyntaxToken.swift
[169/187] Compiling SourceKittenFramework Text.swift
[170/187] Compiling SourceKittenFramework UID.swift
[171/187] Compiling SourceKittenFramework UIDRepresentable.swift
[172/187] Compiling SourceKittenFramework UncheckedSendable.swift
[173/187] Compiling SourceKittenFramework Version.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 Function.swift
[183/197] Compiling BeakCore Dependency.swift
[184/198] Compiling BeakCore String.swift
[185/198] 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 | }
[186/198] Compiling BeakCore PackageManager.swift
[187/198] Compiling BeakCore FunctionParser.swift
[188/198] Compiling BeakCore SwiftParser.swift
[189/198] Emitting module BeakCore
[190/198] Compiling BeakCore BeakError.swift
[191/198] Compiling BeakCore BeakFile.swift
[192/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
<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
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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 Rainbow Style.swift
[4/94] Compiling SwiftCLI CompletionGenerator.swift
[5/94] Compiling SwiftCLI ArgumentList.swift
[6/94] Compiling Rainbow XcodeColorsSupport.swift
[7/94] Emitting module Rainbow
[8/94] Compiling SwiftCLI Command.swift
[9/94] Compiling SwiftCLI Compatibility.swift
[10/94] Emitting module SwiftCLI
[11/96] Compiling Socket SocketUtils.swift
[12/96] Compiling Socket SocketProtocols.swift
[13/96] Compiling Rainbow StringGenerator.swift
[14/96] Compiling SwiftCLI Term.swift
[15/96] Compiling SwiftCLI Validation.swift
[16/96] Compiling SwiftCLI HelpMessageGenerator.swift
[17/96] Compiling SwiftCLI OptionRegistry.swift
[18/96] Compiling SwiftCLI Parameter.swift
[19/99] Compiling SwiftCLI ArgumentListManipulator.swift
[20/99] Compiling SwiftCLI CLI.swift
[21/99] Compiling SwiftCLI Error.swift
[22/99] Compiling SwiftCLI HelpCommand.swift
[23/99] Compiling SwiftCLI Stream.swift
[24/99] Compiling SwiftCLI Task.swift
[25/101] Compiling Rainbow Rainbow.swift
[28/101] Compiling Rainbow String+Rainbow.swift
[29/101] Compiling SwiftCLI OptionGroup.swift
[30/101] Compiling SwiftCLI Path.swift
[32/102] Compiling Yams YamlError.swift
[33/102] Compiling Yams YamlTagProviding.swift
[34/102] Compiling SwiftCLI ValueBox.swift
[35/102] Compiling SwiftCLI VersionCommand.swift
[36/102] Compiling SWXMLHash XMLHash.swift
[41/102] Compiling SwiftCLI Parser.swift
[42/102] Compiling SwiftCLI Input.swift
[43/102] Compiling SwiftCLI Option.swift
[45/102] Emitting module SWXMLHash
[63/102] Emitting module PathKit
[64/102] Compiling PathKit PathKit.swift
[76/102] Compiling SWXMLHash XMLHashOptions.swift
[77/102] Compiling SWXMLHash XMLIndexer.swift
[78/102] Compiling SWXMLHash shim.swift
[82/103] Wrapping AST for PathKit for debugging
[91/104] Emitting module Yams
[94/105] Wrapping AST for SWXMLHash for debugging
[96/104] Wrapping AST for Yams for debugging
[98/104] Emitting module Socket
[99/104] Compiling Socket Socket.swift
[101/153] Compiling SourceKittenFramework ByteCount.swift
[102/153] Compiling SourceKittenFramework ByteRange.swift
[103/153] Compiling SourceKittenFramework Clang+SourceKitten.swift
[104/153] Compiling SourceKittenFramework ClangTranslationUnit.swift
[105/153] Compiling SourceKittenFramework CodeCompletionItem.swift
[106/153] Compiling SourceKittenFramework CursorInfo+Parsing.swift
[107/155] Compiling SourceKittenFramework SyntaxToken.swift
[108/155] Compiling SourceKittenFramework Text.swift
[109/155] Compiling SourceKittenFramework UID.swift
[110/155] Compiling SourceKittenFramework UIDRepresentable.swift
[111/155] Compiling SourceKittenFramework UncheckedSendable.swift
[112/155] Compiling SourceKittenFramework Version.swift
[113/163] Compiling Shout Agent.swift
[114/163] Compiling Shout Channel.swift
[115/163] Compiling Shout FileAttributes.swift
[116/163] Compiling Shout FilePermissions.swift
[117/163] Compiling Shout FileType.swift
[118/163] Compiling Shout ReadWrite.swift
[119/165] Compiling SourceKittenFramework SwiftDeclarationKind.swift
[120/165] Compiling SourceKittenFramework SwiftDocKey.swift
[121/165] Compiling SourceKittenFramework SwiftDocs.swift
[122/165] Compiling SourceKittenFramework SwiftVersion.swift
[123/165] Compiling SourceKittenFramework SyntaxKind.swift
[124/165] Compiling SourceKittenFramework SyntaxMap.swift
[125/165] Emitting module SourceKittenFramework
[126/165] Compiling SourceKittenFramework Dictionary+Merge.swift
[127/165] Compiling SourceKittenFramework Documentation.swift
[128/165] Compiling SourceKittenFramework Exec.swift
[129/165] Compiling SourceKittenFramework File+Hashable.swift
[130/165] Compiling SourceKittenFramework File.swift
[131/165] Compiling SourceKittenFramework JSONOutput.swift
[132/165] 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
[133/165] 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
<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
<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
[138/166] 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
[139/166] Compiling SourceKittenFramework OffsetMap.swift
[140/166] Compiling SourceKittenFramework Parameter.swift
[141/166] Compiling SourceKittenFramework Request.swift
[142/166] Compiling SourceKittenFramework SourceDeclaration.swift
[143/166] Compiling SourceKittenFramework SourceKitObject.swift
[144/166] Compiling SourceKittenFramework SourceLocation.swift
[145/166] Compiling SourceKittenFramework StatementKind.swift
[146/166] Compiling SourceKittenFramework String+SourceKitten.swift
[147/166] Compiling SourceKittenFramework StringView+SourceKitten.swift
[148/166] Compiling SourceKittenFramework StringView.swift
[149/166] Compiling SourceKittenFramework Structure.swift
[150/166] Compiling SourceKittenFramework SwiftDeclarationAttributeKind.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[151/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
<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
[154/166] Compiling SourceKittenFramework WindowsError.swift
[155/166] Compiling SourceKittenFramework Xcode.swift
[156/166] Compiling SourceKittenFramework XcodeBuildSetting.swift
[157/166] Compiling SourceKittenFramework library_wrapper.swift
[158/166] Compiling SourceKittenFramework library_wrapper_Clang_C.swift
[159/166] Compiling SourceKittenFramework library_wrapper_SourceKit.swift
[161/167] 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
[162/175] Compiling BeakCore String.swift
[163/175] Compiling BeakCore FunctionParser.swift
[164/175] Compiling BeakCore PackageManager.swift
[165/176] 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 | }
[166/176] Compiling BeakCore Dependency.swift
[167/176] Compiling BeakCore Function.swift
[168/176] Compiling BeakCore SwiftParser.swift
[169/176] Compiling BeakCore BeakError.swift
[170/176] Compiling BeakCore BeakFile.swift
[171/176] Emitting module BeakCore
<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