Build Information
Failed to build Beak, reference master (c3af65
), with Swift 6.1 for Linux on 25 Apr 2025 13:32:51 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/yonaskolb/Beak.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/yonaskolb/Beak
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at c3af652 Update README.md (#48)
Cloned https://github.com/yonaskolb/Beak.git
Revision (git rev-parse @):
c3af652abe63902f2f68296ce1e10757c9e59c13
SUCCESS checkout https://github.com/yonaskolb/Beak.git at master
========================================
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-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/jpsim/SourceKitten
Fetching https://github.com/kylef/Spectre.git
Fetching https://github.com/kylef/PathKit.git
Fetching https://github.com/jakeheis/SwiftCLI
[1/1021] Fetching spectre
[165/2432] Fetching spectre, pathkit
[570/7506] Fetching spectre, pathkit, swiftcli
[1646/23618] Fetching spectre, pathkit, swiftcli, sourcekitten
Fetched https://github.com/kylef/PathKit.git from cache (0.26s)
[7101/22207] Fetching spectre, swiftcli, sourcekitten
Fetched https://github.com/jakeheis/SwiftCLI from cache (0.37s)
[7305/17133] Fetching spectre, sourcekitten
Fetched https://github.com/kylef/Spectre.git from cache (1.53s)
Fetched https://github.com/jpsim/SourceKitten from cache (1.55s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 0.9.2 (4.31s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.9.2 (0.63s)
Computing version for https://github.com/jakeheis/SwiftCLI
Computed https://github.com/jakeheis/SwiftCLI at 5.3.3 (4.43s)
Computing version for https://github.com/jpsim/SourceKitten
Computed https://github.com/jpsim/SourceKitten at 0.37.0 (1.22s)
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
[1524/13109] Fetching swxmlhash, yams
[7863/28022] Fetching swxmlhash, yams, swift-argument-parser
Fetched https://github.com/drmohundro/SWXMLHash.git from cache (1.54s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.55s)
Fetched https://github.com/jpsim/Yams.git from cache (1.59s)
Computing version for https://github.com/drmohundro/SWXMLHash.git
Computed https://github.com/drmohundro/SWXMLHash.git at 7.0.2 (2.66s)
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.85s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.3.1 (0.88s)
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/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/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/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 5.3.1
Creating working copy for https://github.com/jakeheis/SwiftCLI
Working copy of https://github.com/jakeheis/SwiftCLI resolved at 5.3.3
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.5.0
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/28] Write sources
[6/28] Compiling Clang_C Clang_C.c
[7/28] Compiling SourceKit SourceKit.c
[8/28] Write sources
[11/28] Compiling reader.c
[11/28] Compiling writer.c
[13/28] Compiling parser.c
[14/28] Compiling emitter.c
[15/28] Compiling scanner.c
[16/28] Compiling api.c
[16/28] Write swift-version-24593BA9C3E375BF.txt
[19/94] Emitting module SWXMLHash
[20/97] Emitting module SwiftCLI
[21/99] Compiling SwiftCLI ValueBox.swift
[22/99] Compiling SwiftCLI VersionCommand.swift
[23/99] Compiling Yams Resolver.swift
[24/99] Compiling Yams String+Yams.swift
[25/99] Compiling Yams Tag.swift
[27/99] Compiling Yams YamlAnchorProviding.swift
[30/101] Compiling SWXMLHash XMLHashOptions.swift
[31/101] Compiling SWXMLHash XMLIndexer.swift
[32/101] Compiling SWXMLHash shim.swift
[33/101] Compiling Yams Emitter.swift
[34/101] Compiling Yams Encoder.swift
[35/101] Compiling Yams Mark.swift
[36/101] Compiling Yams Anchor.swift
[37/101] Compiling Yams Constructor.swift
[38/101] Compiling Yams Decoder.swift
[39/101] Compiling Yams Node.Alias.swift
[40/101] Compiling Yams Node.Mapping.swift
[41/101] Compiling Yams Node.Scalar.swift
[42/101] Compiling Yams Node.Sequence.swift
[43/101] Compiling Yams Node.swift
[44/101] Compiling Yams Parser.swift
[45/101] Compiling Yams RedundancyAliasingStrategy.swift
[46/101] Compiling Yams Representer.swift
[55/101] Compiling Yams YamlError.swift
[56/101] Compiling Yams YamlTagProviding.swift
[60/101] Emitting module Yams
[89/103] Compiling SWXMLHash XMLHash.swift
[92/104] Emitting module PathKit
[93/104] Compiling PathKit PathKit.swift
[95/105] Wrapping AST for SWXMLHash for debugging
[96/105] Wrapping AST for Yams for debugging
[97/105] Wrapping AST for PathKit for debugging
[98/105] Wrapping AST for SwiftCLI for debugging
[100/148] Compiling SourceKittenFramework ByteCount.swift
[101/148] Compiling SourceKittenFramework ByteRange.swift
[102/148] Compiling SourceKittenFramework Clang+SourceKitten.swift
[103/148] Compiling SourceKittenFramework ClangTranslationUnit.swift
[104/148] Compiling SourceKittenFramework CodeCompletionItem.swift
[105/148] Compiling SourceKittenFramework CursorInfo+Parsing.swift
[106/154] Emitting module SourceKittenFramework
[107/154] Compiling SourceKittenFramework Language.swift
[108/154] Compiling SourceKittenFramework LibraryWrapperGenerator.swift
[109/154] Compiling SourceKittenFramework Line.swift
[110/154] Compiling SourceKittenFramework LinuxCompatibility.swift
[111/154] Compiling SourceKittenFramework Module.swift
[112/154] Compiling SourceKittenFramework ObjCDeclarationKind.swift
[113/154] Compiling SourceKittenFramework Dictionary+Merge.swift
[114/154] Compiling SourceKittenFramework Documentation.swift
[115/154] Compiling SourceKittenFramework Exec.swift
[116/154] Compiling SourceKittenFramework File+Hashable.swift
[117/154] Compiling SourceKittenFramework File.swift
[118/154] Compiling SourceKittenFramework JSONOutput.swift
[119/154] Compiling SourceKittenFramework OffsetMap.swift
[120/154] Compiling SourceKittenFramework Parameter.swift
[121/154] Compiling SourceKittenFramework Request.swift
[122/154] Compiling SourceKittenFramework SourceDeclaration.swift
[123/154] Compiling SourceKittenFramework SourceKitObject.swift
[124/154] Compiling SourceKittenFramework SourceLocation.swift
[125/154] Compiling SourceKittenFramework SwiftDeclarationKind.swift
[126/154] Compiling SourceKittenFramework SwiftDocKey.swift
[127/154] Compiling SourceKittenFramework SwiftDocs.swift
[128/154] Compiling SourceKittenFramework SwiftVersion.swift
[129/154] Compiling SourceKittenFramework SyntaxKind.swift
[130/154] Compiling SourceKittenFramework SyntaxMap.swift
[131/154] Compiling SourceKittenFramework SyntaxToken.swift
[132/154] Compiling SourceKittenFramework Text.swift
[133/154] Compiling SourceKittenFramework UID.swift
[134/154] Compiling SourceKittenFramework UIDRepresentable.swift
[135/154] Compiling SourceKittenFramework UncheckedSendable.swift
[136/154] Compiling SourceKittenFramework Version.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/164] 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 FunctionParser.swift
[154/165] Compiling BeakCore PackageManager.swift
[155/165] Compiling BeakCore Dependency.swift
[156/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
[157/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
[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 Function.swift
[160/165] Compiling BeakCore SwiftParser.swift
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
[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 Yams Anchor.swift
[5/81] Compiling Yams Constructor.swift
[6/81] Compiling Yams Decoder.swift
[7/81] Compiling Yams Node.Alias.swift
[8/81] Compiling Yams Tag.swift
[9/81] Compiling Yams YamlAnchorProviding.swift
[10/83] Compiling Yams Resolver.swift
[11/83] Compiling Yams String+Yams.swift
[17/85] Compiling Yams Parser.swift
[18/85] Compiling Yams RedundancyAliasingStrategy.swift
[19/85] Compiling Yams Representer.swift
[20/85] Compiling SwiftCLI ValueBox.swift
[21/85] Compiling SwiftCLI VersionCommand.swift
[22/85] Compiling SWXMLHash FullXMLParser.swift
[23/85] Compiling Yams Encoder.swift
[24/85] Compiling Yams Mark.swift
[25/85] Compiling Yams Node.Sequence.swift
[26/85] Compiling Yams Node.swift
[27/85] Compiling Yams Node.Mapping.swift
[28/85] Compiling Yams Node.Scalar.swift
[29/85] Compiling Yams Emitter.swift
[31/85] Compiling Yams YamlError.swift
[32/85] Compiling Yams YamlTagProviding.swift
[33/85] Compiling PathKit PathKit.swift
[34/85] Emitting module PathKit
[36/86] Emitting module Yams
[37/86] Compiling SWXMLHash XMLHashOptions.swift
[38/86] Compiling SWXMLHash XMLIndexer.swift
[39/86] Compiling SWXMLHash shim.swift
[54/87] Emitting module SwiftCLI
[59/87] Wrapping AST for PathKit for debugging
[67/88] Wrapping AST for SWXMLHash for debugging
[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 OffsetMap.swift
[97/137] Compiling SourceKittenFramework Parameter.swift
[98/137] Compiling SourceKittenFramework Request.swift
[99/137] Compiling SourceKittenFramework SourceDeclaration.swift
[100/137] Compiling SourceKittenFramework SourceKitObject.swift
[101/137] Compiling SourceKittenFramework SourceLocation.swift
[102/137] Compiling SourceKittenFramework Language.swift
[103/137] Compiling SourceKittenFramework LibraryWrapperGenerator.swift
[104/137] Compiling SourceKittenFramework Line.swift
[105/137] Compiling SourceKittenFramework LinuxCompatibility.swift
[106/137] Compiling SourceKittenFramework Module.swift
[107/137] Compiling SourceKittenFramework ObjCDeclarationKind.swift
[108/137] Compiling SourceKittenFramework Dictionary+Merge.swift
[109/137] Compiling SourceKittenFramework Documentation.swift
[110/137] Compiling SourceKittenFramework Exec.swift
[111/137] Compiling SourceKittenFramework File+Hashable.swift
[112/137] Compiling SourceKittenFramework File.swift
[113/137] Compiling SourceKittenFramework JSONOutput.swift
[114/137] Compiling SourceKittenFramework ByteCount.swift
[115/137] Compiling SourceKittenFramework ByteRange.swift
[116/137] Compiling SourceKittenFramework Clang+SourceKitten.swift
[117/137] Compiling SourceKittenFramework ClangTranslationUnit.swift
[118/137] Compiling SourceKittenFramework CodeCompletionItem.swift
[119/137] Compiling SourceKittenFramework CursorInfo+Parsing.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/146] Compiling BeakCore String.swift
[135/147] Compiling BeakCore PackageManager.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] Emitting module BeakCore
[140/147] Compiling BeakCore BeakError.swift
[141/147] Compiling BeakCore BeakFile.swift
[142/147] Compiling BeakCore SwiftParser.swift
BUILD FAILURE 6.1 linux