Build Information
Failed to build Beak, reference 0.5.1 (4a8cf5
), with Swift 6.1 for Linux on 25 Apr 2025 13:32:33 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/yonaskolb/Beak.git
Reference: 0.5.1
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/yonaskolb/Beak
* tag 0.5.1 -> FETCH_HEAD
HEAD is now at 4a8cf57 Updated to 0.5.1
Cloned https://github.com/yonaskolb/Beak.git
Revision (git rev-parse @):
4a8cf570e9aa30e803e98b9c5a68ba4716a6719d
SUCCESS checkout https://github.com/yonaskolb/Beak.git at 0.5.1
========================================
Build
========================================
Selected platform: linux
Swift version: 6.1
Building package at path: $PWD
https://github.com/yonaskolb/Beak.git
https://github.com/yonaskolb/Beak.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "sourcekitten",
"requirement" : {
"range" : [
{
"lower_bound" : "0.19.1",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/jpsim/SourceKitten"
},
{
"identity" : "pathkit",
"requirement" : {
"range" : [
{
"lower_bound" : "0.8.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/kylef/PathKit.git"
},
{
"identity" : "spectre",
"requirement" : {
"range" : [
{
"lower_bound" : "0.8.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/kylef/Spectre.git"
},
{
"identity" : "swiftcli",
"requirement" : {
"range" : [
{
"lower_bound" : "5.1.0",
"upper_bound" : "6.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/jakeheis/SwiftCLI"
}
],
"manifest_display_name" : "Beak",
"name" : "Beak",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "beak",
"targets" : [
"Beak"
],
"type" : {
"executable" : null
}
},
{
"name" : "BeakCore",
"targets" : [
"BeakCore"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "BeakTests",
"module_type" : "SwiftTarget",
"name" : "BeakTests",
"path" : "Tests/BeakTests",
"product_dependencies" : [
"Spectre",
"PathKit"
],
"sources" : [
"BeakTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"BeakCore"
],
"type" : "test"
},
{
"c99name" : "BeakCore",
"module_type" : "SwiftTarget",
"name" : "BeakCore",
"path" : "Sources/BeakCore",
"product_dependencies" : [
"SourceKittenFramework",
"PathKit",
"SwiftCLI"
],
"product_memberships" : [
"beak",
"BeakCore"
],
"sources" : [
"BeakError.swift",
"BeakFile.swift",
"Dependency.swift",
"Function.swift",
"FunctionParser.swift",
"PackageManager.swift",
"SourceKit.swift",
"String.swift",
"SwiftParser.swift"
],
"type" : "library"
},
{
"c99name" : "BeakCLI",
"module_type" : "SwiftTarget",
"name" : "BeakCLI",
"path" : "Sources/BeakCLI",
"product_dependencies" : [
"SwiftCLI"
],
"product_memberships" : [
"beak"
],
"sources" : [
"BeakCLI.swift",
"BeakError.swift",
"BeakOptions.swift",
"Commands/BeakCommand.swift",
"Commands/EditCommand.swift",
"Commands/FunctionCommand.swift",
"Commands/ListCommand.swift",
"Commands/RunCommand.swift"
],
"target_dependencies" : [
"BeakCore"
],
"type" : "library"
},
{
"c99name" : "Beak",
"module_type" : "SwiftTarget",
"name" : "Beak",
"path" : "Sources/Beak",
"product_memberships" : [
"beak"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"BeakCLI"
],
"type" : "executable"
}
],
"tools_version" : "5.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/kylef/PathKit.git
Fetching https://github.com/jpsim/SourceKitten
Fetching https://github.com/jakeheis/SwiftCLI
Fetching https://github.com/kylef/Spectre.git
[1/1021] Fetching spectre
[1022/6095] Fetching spectre, swiftcli
[1378/22207] Fetching spectre, swiftcli, sourcekitten
[3503/23618] Fetching spectre, swiftcli, sourcekitten, pathkit
Fetched https://github.com/kylef/Spectre.git from cache (0.27s)
[7592/22597] Fetching swiftcli, sourcekitten, pathkit
Fetched https://github.com/jakeheis/SwiftCLI from cache (0.38s)
[7373/17523] Fetching sourcekitten, pathkit
Fetched https://github.com/kylef/PathKit.git from cache (0.99s)
Fetched https://github.com/jpsim/SourceKitten from cache (1.01s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 0.9.2 (3.08s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.9.2 (0.55s)
Computing version for https://github.com/jakeheis/SwiftCLI
Computed https://github.com/jakeheis/SwiftCLI at 5.3.3 (2.29s)
Computing version for https://github.com/jpsim/SourceKitten
Computed https://github.com/jpsim/SourceKitten at 0.37.0 (0.65s)
Fetching https://github.com/drmohundro/SWXMLHash.git
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/apple/swift-argument-parser.git
[1/2820] Fetching swxmlhash
[424/13109] Fetching swxmlhash, yams
[6320/28022] Fetching swxmlhash, yams, swift-argument-parser
Fetched https://github.com/drmohundro/SWXMLHash.git from cache (1.26s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.27s)
Fetched https://github.com/jpsim/Yams.git from cache (1.29s)
Computing version for https://github.com/drmohundro/SWXMLHash.git
Computed https://github.com/drmohundro/SWXMLHash.git at 7.0.2 (1.85s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.5.0 (1.57s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.3.1 (0.82s)
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/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/drmohundro/SWXMLHash.git
Working copy of https://github.com/drmohundro/SWXMLHash.git resolved at 7.0.2
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/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/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 5.3.1
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/28] Write sources
[8/28] Compiling SourceKit SourceKit.c
[9/28] Compiling Clang_C Clang_C.c
[10/28] Write sources
[11/28] Compiling writer.c
[12/28] Compiling reader.c
[13/28] Compiling api.c
[14/28] Compiling parser.c
[15/28] Compiling emitter.c
[16/28] Compiling scanner.c
[17/28] Write swift-version-24593BA9C3E375BF.txt
[19/94] Emitting module SWXMLHash
[20/97] Compiling SwiftCLI Error.swift
[21/97] Compiling SwiftCLI HelpCommand.swift
[22/97] Compiling SwiftCLI HelpMessageGenerator.swift
[23/99] Compiling SwiftCLI ValueBox.swift
[24/99] Compiling SwiftCLI VersionCommand.swift
[25/99] Compiling SWXMLHash XMLHashOptions.swift
[26/99] Compiling SWXMLHash XMLIndexer.swift
[27/99] Compiling SWXMLHash shim.swift
[28/99] Compiling SwiftCLI OptionRegistry.swift
[29/99] Compiling SwiftCLI Parameter.swift
[30/99] Compiling SwiftCLI Parser.swift
[33/101] Compiling SwiftCLI Command.swift
[34/101] Compiling SwiftCLI Path.swift
[35/101] Compiling Yams YamlError.swift
[36/101] Compiling SwiftCLI Compatibility.swift
[37/101] Compiling Yams YamlTagProviding.swift
[38/101] Compiling SwiftCLI CompletionGenerator.swift
[43/101] Compiling SwiftCLI Term.swift
[44/101] Compiling SwiftCLI Validation.swift
[45/101] Compiling SwiftCLI OptionGroup.swift
[48/101] Emitting module SwiftCLI
[49/101] Emitting module Yams
[52/101] Compiling SwiftCLI ArgumentList.swift
[53/101] Compiling SwiftCLI ArgumentListManipulator.swift
[54/101] Compiling SwiftCLI CLI.swift
[55/101] Compiling SwiftCLI Input.swift
[56/101] Compiling SwiftCLI Option.swift
[62/101] Compiling SWXMLHash XMLHash.swift
[66/102] Emitting module PathKit
[67/102] Compiling PathKit PathKit.swift
[92/104] Wrapping AST for SwiftCLI for debugging
[95/104] Wrapping AST for SWXMLHash for debugging
[95/104] Wrapping AST for PathKit for debugging
[98/105] Wrapping AST for Yams for debugging
[100/148] Compiling SourceKittenFramework SyntaxToken.swift
[101/148] Compiling SourceKittenFramework Text.swift
[102/148] Compiling SourceKittenFramework UID.swift
[103/148] Compiling SourceKittenFramework UIDRepresentable.swift
[104/148] Compiling SourceKittenFramework UncheckedSendable.swift
[105/148] Compiling SourceKittenFramework Version.swift
[106/154] Emitting module SourceKittenFramework
[107/154] Compiling SourceKittenFramework SwiftDeclarationKind.swift
[108/154] Compiling SourceKittenFramework SwiftDocKey.swift
[109/154] Compiling SourceKittenFramework SwiftDocs.swift
[110/154] Compiling SourceKittenFramework SwiftVersion.swift
[111/154] Compiling SourceKittenFramework SyntaxKind.swift
[112/154] Compiling SourceKittenFramework SyntaxMap.swift
[113/154] Compiling SourceKittenFramework ByteCount.swift
[114/154] Compiling SourceKittenFramework ByteRange.swift
[115/154] Compiling SourceKittenFramework Clang+SourceKitten.swift
[116/154] Compiling SourceKittenFramework ClangTranslationUnit.swift
[117/154] Compiling SourceKittenFramework CodeCompletionItem.swift
[118/154] Compiling SourceKittenFramework CursorInfo+Parsing.swift
[119/154] Compiling SourceKittenFramework Language.swift
[120/154] Compiling SourceKittenFramework LibraryWrapperGenerator.swift
[121/154] Compiling SourceKittenFramework Line.swift
[122/154] Compiling SourceKittenFramework LinuxCompatibility.swift
[123/154] Compiling SourceKittenFramework Module.swift
[124/154] Compiling SourceKittenFramework ObjCDeclarationKind.swift
[125/154] Compiling SourceKittenFramework OffsetMap.swift
[126/154] Compiling SourceKittenFramework Parameter.swift
[127/154] Compiling SourceKittenFramework Request.swift
[128/154] Compiling SourceKittenFramework SourceDeclaration.swift
[129/154] Compiling SourceKittenFramework SourceKitObject.swift
[130/154] Compiling SourceKittenFramework SourceLocation.swift
[131/154] Compiling SourceKittenFramework Dictionary+Merge.swift
[132/154] Compiling SourceKittenFramework Documentation.swift
[133/154] Compiling SourceKittenFramework Exec.swift
[134/154] Compiling SourceKittenFramework File+Hashable.swift
[135/154] Compiling SourceKittenFramework File.swift
[136/154] Compiling SourceKittenFramework JSONOutput.swift
[137/154] Compiling SourceKittenFramework StatementKind.swift
[138/154] Compiling SourceKittenFramework String+SourceKitten.swift
[139/154] Compiling SourceKittenFramework StringView+SourceKitten.swift
[140/154] Compiling SourceKittenFramework StringView.swift
[141/154] Compiling SourceKittenFramework Structure.swift
[142/154] Compiling SourceKittenFramework SwiftDeclarationAttributeKind.swift
[143/154] Compiling SourceKittenFramework WindowsError.swift
[144/154] Compiling SourceKittenFramework Xcode.swift
[145/154] Compiling SourceKittenFramework XcodeBuildSetting.swift
[146/154] Compiling SourceKittenFramework library_wrapper.swift
[147/154] Compiling SourceKittenFramework library_wrapper_Clang_C.swift
[148/154] Compiling SourceKittenFramework library_wrapper_SourceKit.swift
[149/155] Wrapping AST for SourceKittenFramework for debugging
[151/164] Compiling BeakCore String.swift
[152/165] Compiling BeakCore SourceKit.swift
/host/spi-builder-workspace/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/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 | }
[153/165] Compiling BeakCore PackageManager.swift
[154/165] Compiling BeakCore FunctionParser.swift
[155/165] Compiling BeakCore Function.swift
[156/165] Compiling BeakCore Dependency.swift
[157/165] Compiling BeakCore SwiftParser.swift
[158/165] Emitting module BeakCore
/host/spi-builder-workspace/Sources/BeakCore/BeakError.swift:7:10: warning: associated value 'missingRequiredParam' of 'Sendable'-conforming enum 'BeakError' has non-sendable type 'Function.Param'; this is an error in the Swift 6 language mode
5 | case compileError(String)
6 | case invalidFunction(String)
7 | case missingRequiredParam(Function.Param)
| `- warning: associated value 'missingRequiredParam' of 'Sendable'-conforming enum 'BeakError' has non-sendable type 'Function.Param'; this is an error in the Swift 6 language mode
8 | case parsingError(SwiftStructure)
9 | case conversionError(Function.Param, String)
/host/spi-builder-workspace/Sources/BeakCore/Function.swift:24:19: note: consider making struct 'Param' conform to the 'Sendable' protocol
22 | }
23 |
24 | public struct Param: Equatable {
| `- note: consider making struct 'Param' conform to the 'Sendable' protocol
25 | public let name: String
26 | public let type: ParamType
/host/spi-builder-workspace/Sources/BeakCore/BeakError.swift:8:10: warning: associated value 'parsingError' of 'Sendable'-conforming enum 'BeakError' has non-sendable type 'any SourceKitRepresentable'; this is an error in the Swift 6 language mode
6 | case invalidFunction(String)
7 | case missingRequiredParam(Function.Param)
8 | case parsingError(SwiftStructure)
| `- warning: associated value 'parsingError' of 'Sendable'-conforming enum 'BeakError' has non-sendable type 'any SourceKitRepresentable'; this is an error in the Swift 6 language mode
9 | case conversionError(Function.Param, String)
10 |
/host/spi-builder-workspace/.build/checkouts/SourceKitten/Source/SourceKittenFramework/Request.swift:10:17: note: protocol 'SourceKitRepresentable' does not conform to the 'Sendable' protocol
8 | // This file could easily be split up
9 |
10 | public protocol SourceKitRepresentable {
| `- note: protocol 'SourceKitRepresentable' does not conform to the 'Sendable' protocol
11 | func isEqualTo(_ rhs: SourceKitRepresentable) -> Bool
12 | }
/host/spi-builder-workspace/Sources/BeakCore/BeakError.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SourceKittenFramework'
1 | import SourceKittenFramework
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SourceKittenFramework'
2 |
3 | public enum BeakError: Error, CustomStringConvertible {
/host/spi-builder-workspace/Sources/BeakCore/BeakError.swift:9:10: warning: associated value 'conversionError' of 'Sendable'-conforming enum 'BeakError' has non-sendable type 'Function.Param'; this is an error in the Swift 6 language mode
7 | case missingRequiredParam(Function.Param)
8 | case parsingError(SwiftStructure)
9 | case conversionError(Function.Param, String)
| `- warning: associated value 'conversionError' of 'Sendable'-conforming enum 'BeakError' has non-sendable type 'Function.Param'; this is an error in the Swift 6 language mode
10 |
11 | public var description: String {
/host/spi-builder-workspace/Sources/BeakCore/Function.swift:24:19: note: consider making struct 'Param' conform to the 'Sendable' protocol
22 | }
23 |
24 | public struct Param: Equatable {
| `- note: consider making struct 'Param' conform to the 'Sendable' protocol
25 | public let name: String
26 | public let type: ParamType
[159/165] Compiling BeakCore BeakError.swift
/host/spi-builder-workspace/Sources/BeakCore/BeakError.swift:7:10: warning: associated value 'missingRequiredParam' of 'Sendable'-conforming enum 'BeakError' has non-sendable type 'Function.Param'; this is an error in the Swift 6 language mode
5 | case compileError(String)
6 | case invalidFunction(String)
7 | case missingRequiredParam(Function.Param)
| `- warning: associated value 'missingRequiredParam' of 'Sendable'-conforming enum 'BeakError' has non-sendable type 'Function.Param'; this is an error in the Swift 6 language mode
8 | case parsingError(SwiftStructure)
9 | case conversionError(Function.Param, String)
/host/spi-builder-workspace/Sources/BeakCore/Function.swift:24:19: note: consider making struct 'Param' conform to the 'Sendable' protocol
22 | }
23 |
24 | public struct Param: Equatable {
| `- note: consider making struct 'Param' conform to the 'Sendable' protocol
25 | public let name: String
26 | public let type: ParamType
/host/spi-builder-workspace/Sources/BeakCore/BeakError.swift:8:10: warning: associated value 'parsingError' of 'Sendable'-conforming enum 'BeakError' has non-sendable type 'any SourceKitRepresentable'; this is an error in the Swift 6 language mode
6 | case invalidFunction(String)
7 | case missingRequiredParam(Function.Param)
8 | case parsingError(SwiftStructure)
| `- warning: associated value 'parsingError' of 'Sendable'-conforming enum 'BeakError' has non-sendable type 'any SourceKitRepresentable'; this is an error in the Swift 6 language mode
9 | case conversionError(Function.Param, String)
10 |
/host/spi-builder-workspace/.build/checkouts/SourceKitten/Source/SourceKittenFramework/Request.swift:10:17: note: protocol 'SourceKitRepresentable' does not conform to the 'Sendable' protocol
8 | // This file could easily be split up
9 |
10 | public protocol SourceKitRepresentable {
| `- note: protocol 'SourceKitRepresentable' does not conform to the 'Sendable' protocol
11 | func isEqualTo(_ rhs: SourceKitRepresentable) -> Bool
12 | }
/host/spi-builder-workspace/Sources/BeakCore/BeakError.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SourceKittenFramework'
1 | import SourceKittenFramework
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SourceKittenFramework'
2 |
3 | public enum BeakError: Error, CustomStringConvertible {
/host/spi-builder-workspace/Sources/BeakCore/BeakError.swift:9:10: warning: associated value 'conversionError' of 'Sendable'-conforming enum 'BeakError' has non-sendable type 'Function.Param'; this is an error in the Swift 6 language mode
7 | case missingRequiredParam(Function.Param)
8 | case parsingError(SwiftStructure)
9 | case conversionError(Function.Param, String)
| `- warning: associated value 'conversionError' of 'Sendable'-conforming enum 'BeakError' has non-sendable type 'Function.Param'; this is an error in the Swift 6 language mode
10 |
11 | public var description: String {
/host/spi-builder-workspace/Sources/BeakCore/Function.swift:24:19: note: consider making struct 'Param' conform to the 'Sendable' protocol
22 | }
23 |
24 | public struct Param: Equatable {
| `- note: consider making struct 'Param' conform to the 'Sendable' protocol
25 | public let name: String
26 | public let type: ParamType
[160/165] Compiling BeakCore BeakFile.swift
/host/spi-builder-workspace/Sources/BeakCore/BeakError.swift:7:10: warning: associated value 'missingRequiredParam' of 'Sendable'-conforming enum 'BeakError' has non-sendable type 'Function.Param'; this is an error in the Swift 6 language mode
5 | case compileError(String)
6 | case invalidFunction(String)
7 | case missingRequiredParam(Function.Param)
| `- warning: associated value 'missingRequiredParam' of 'Sendable'-conforming enum 'BeakError' has non-sendable type 'Function.Param'; this is an error in the Swift 6 language mode
8 | case parsingError(SwiftStructure)
9 | case conversionError(Function.Param, String)
/host/spi-builder-workspace/Sources/BeakCore/Function.swift:24:19: note: consider making struct 'Param' conform to the 'Sendable' protocol
22 | }
23 |
24 | public struct Param: Equatable {
| `- note: consider making struct 'Param' conform to the 'Sendable' protocol
25 | public let name: String
26 | public let type: ParamType
/host/spi-builder-workspace/Sources/BeakCore/BeakError.swift:8:10: warning: associated value 'parsingError' of 'Sendable'-conforming enum 'BeakError' has non-sendable type 'any SourceKitRepresentable'; this is an error in the Swift 6 language mode
6 | case invalidFunction(String)
7 | case missingRequiredParam(Function.Param)
8 | case parsingError(SwiftStructure)
| `- warning: associated value 'parsingError' of 'Sendable'-conforming enum 'BeakError' has non-sendable type 'any SourceKitRepresentable'; this is an error in the Swift 6 language mode
9 | case conversionError(Function.Param, String)
10 |
/host/spi-builder-workspace/.build/checkouts/SourceKitten/Source/SourceKittenFramework/Request.swift:10:17: note: protocol 'SourceKitRepresentable' does not conform to the 'Sendable' protocol
8 | // This file could easily be split up
9 |
10 | public protocol SourceKitRepresentable {
| `- note: protocol 'SourceKitRepresentable' does not conform to the 'Sendable' protocol
11 | func isEqualTo(_ rhs: SourceKitRepresentable) -> Bool
12 | }
/host/spi-builder-workspace/Sources/BeakCore/BeakError.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SourceKittenFramework'
1 | import SourceKittenFramework
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SourceKittenFramework'
2 |
3 | public enum BeakError: Error, CustomStringConvertible {
/host/spi-builder-workspace/Sources/BeakCore/BeakError.swift:9:10: warning: associated value 'conversionError' of 'Sendable'-conforming enum 'BeakError' has non-sendable type 'Function.Param'; this is an error in the Swift 6 language mode
7 | case missingRequiredParam(Function.Param)
8 | case parsingError(SwiftStructure)
9 | case conversionError(Function.Param, String)
| `- warning: associated value 'conversionError' of 'Sendable'-conforming enum 'BeakError' has non-sendable type 'Function.Param'; this is an error in the Swift 6 language mode
10 |
11 | public var description: String {
/host/spi-builder-workspace/Sources/BeakCore/Function.swift:24:19: note: consider making struct 'Param' conform to the 'Sendable' protocol
22 | }
23 |
24 | public struct Param: Equatable {
| `- note: consider making struct 'Param' conform to the 'Sendable' protocol
25 | public let name: String
26 | public let type: ParamType
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
[0/1] Planning build
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/12] Write swift-version-24593BA9C3E375BF.txt
[3/78] Emitting module SWXMLHash
[4/81] Compiling SwiftCLI HelpCommand.swift
[5/81] Compiling SwiftCLI HelpMessageGenerator.swift
[6/81] Compiling SwiftCLI Input.swift
[7/81] Compiling SwiftCLI Option.swift
[8/81] Compiling SwiftCLI Term.swift
[9/81] Compiling SwiftCLI Validation.swift
[10/83] Compiling SwiftCLI Task.swift
[14/83] Compiling SwiftCLI OptionRegistry.swift
[15/85] Emitting module SwiftCLI
[18/85] Compiling SwiftCLI ValueBox.swift
[19/85] Compiling SwiftCLI VersionCommand.swift
[20/85] Compiling SWXMLHash XMLHash.swift
[21/85] Compiling SWXMLHash XMLHashOptions.swift
[22/85] Compiling SWXMLHash XMLIndexer.swift
[23/85] Compiling SWXMLHash shim.swift
[25/85] Compiling Yams YamlError.swift
[26/85] Compiling Yams YamlTagProviding.swift
[27/85] Compiling SwiftCLI CLI.swift
[28/85] Compiling SwiftCLI Path.swift
[29/85] Compiling SwiftCLI Stream.swift
[30/85] Compiling SwiftCLI OptionGroup.swift
[31/85] Compiling SwiftCLI ArgumentList.swift
[32/85] Compiling SwiftCLI ArgumentListManipulator.swift
[33/85] Emitting module PathKit
[34/85] Compiling PathKit PathKit.swift
[36/86] Compiling SwiftCLI Command.swift
[37/86] Compiling SwiftCLI Compatibility.swift
[38/86] Compiling SwiftCLI CompletionGenerator.swift
[39/86] Compiling SwiftCLI Error.swift
[64/88] Wrapping AST for PathKit for debugging
[65/88] Wrapping AST for SWXMLHash for debugging
[77/87] Emitting module Yams
[81/88] Wrapping AST for Yams for debugging
[83/131] Emitting module SourceKittenFramework
[84/137] Compiling SourceKittenFramework SyntaxToken.swift
[85/137] Compiling SourceKittenFramework Text.swift
[86/137] Compiling SourceKittenFramework UID.swift
[87/137] Compiling SourceKittenFramework UIDRepresentable.swift
[88/137] Compiling SourceKittenFramework UncheckedSendable.swift
[89/137] Compiling SourceKittenFramework Version.swift
[90/137] Compiling SourceKittenFramework SwiftDeclarationKind.swift
[91/137] Compiling SourceKittenFramework SwiftDocKey.swift
[92/137] Compiling SourceKittenFramework SwiftDocs.swift
[93/137] Compiling SourceKittenFramework SwiftVersion.swift
[94/137] Compiling SourceKittenFramework SyntaxKind.swift
[95/137] Compiling SourceKittenFramework SyntaxMap.swift
[96/137] Compiling SourceKittenFramework Language.swift
[97/137] Compiling SourceKittenFramework LibraryWrapperGenerator.swift
[98/137] Compiling SourceKittenFramework Line.swift
[99/137] Compiling SourceKittenFramework LinuxCompatibility.swift
[100/137] Compiling SourceKittenFramework Module.swift
[101/137] Compiling SourceKittenFramework ObjCDeclarationKind.swift
[102/137] Compiling SourceKittenFramework Dictionary+Merge.swift
[103/137] Compiling SourceKittenFramework Documentation.swift
[104/137] Compiling SourceKittenFramework Exec.swift
[105/137] Compiling SourceKittenFramework File+Hashable.swift
[106/137] Compiling SourceKittenFramework File.swift
[107/137] Compiling SourceKittenFramework JSONOutput.swift
[108/137] Compiling SourceKittenFramework ByteCount.swift
[109/137] Compiling SourceKittenFramework ByteRange.swift
[110/137] Compiling SourceKittenFramework Clang+SourceKitten.swift
[111/137] Compiling SourceKittenFramework ClangTranslationUnit.swift
[112/137] Compiling SourceKittenFramework CodeCompletionItem.swift
[113/137] Compiling SourceKittenFramework CursorInfo+Parsing.swift
[114/137] Compiling SourceKittenFramework OffsetMap.swift
[115/137] Compiling SourceKittenFramework Parameter.swift
[116/137] Compiling SourceKittenFramework Request.swift
[117/137] Compiling SourceKittenFramework SourceDeclaration.swift
[118/137] Compiling SourceKittenFramework SourceKitObject.swift
[119/137] Compiling SourceKittenFramework SourceLocation.swift
[120/137] Compiling SourceKittenFramework StatementKind.swift
[121/137] Compiling SourceKittenFramework String+SourceKitten.swift
[122/137] Compiling SourceKittenFramework StringView+SourceKitten.swift
[123/137] Compiling SourceKittenFramework StringView.swift
[124/137] Compiling SourceKittenFramework Structure.swift
[125/137] Compiling SourceKittenFramework SwiftDeclarationAttributeKind.swift
[126/137] Compiling SourceKittenFramework WindowsError.swift
[127/137] Compiling SourceKittenFramework Xcode.swift
[128/137] Compiling SourceKittenFramework XcodeBuildSetting.swift
[129/137] Compiling SourceKittenFramework library_wrapper.swift
[130/137] Compiling SourceKittenFramework library_wrapper_Clang_C.swift
[131/137] Compiling SourceKittenFramework library_wrapper_SourceKit.swift
[133/146] Compiling BeakCore FunctionParser.swift
[134/147] Compiling BeakCore PackageManager.swift
[135/147] Compiling BeakCore String.swift
[136/147] Compiling BeakCore SourceKit.swift
/host/spi-builder-workspace/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/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 | }
[137/147] Compiling BeakCore Function.swift
[138/147] Compiling BeakCore Dependency.swift
[139/147] Compiling BeakCore BeakError.swift
[140/147] Compiling BeakCore BeakFile.swift
[141/147] Emitting module BeakCore
[142/147] Compiling BeakCore SwiftParser.swift
BUILD FAILURE 6.1 linux