Build Information
Failed to build Beak, reference master (c3af65), with Swift 6.3 for Linux on 10 Apr 2026 23:31:27 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.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.3
Building package at path: $PWD
https://github.com/yonaskolb/Beak.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:5a7d791d2ead8a924b1292cb31bf3288eabcfe8880e0b005b00b45b71a5bc36a
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest
Fetching https://github.com/kylef/Spectre.git
Fetching https://github.com/jakeheis/SwiftCLI
Fetching https://github.com/jpsim/SourceKitten
Fetching https://github.com/kylef/PathKit.git
[1/1021] Fetching spectre
[441/6095] Fetching spectre, swiftcli
[1042/7547] Fetching spectre, swiftcli, pathkit
[7548/23747] Fetching spectre, swiftcli, pathkit, sourcekitten
Fetched https://github.com/kylef/Spectre.git from cache (0.91s)
[12196/22726] Fetching swiftcli, pathkit, sourcekitten
Fetched https://github.com/kylef/PathKit.git from cache (0.91s)
[11068/21274] Fetching swiftcli, sourcekitten
Fetched https://github.com/jakeheis/SwiftCLI from cache (2.52s)
Fetched https://github.com/jpsim/SourceKitten from cache (2.54s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 0.9.2 (6.86s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.9.2 (0.70s)
Computing version for https://github.com/jakeheis/SwiftCLI
Computed https://github.com/jakeheis/SwiftCLI at 5.3.3 (3.82s)
Computing version for https://github.com/jpsim/SourceKitten
Computed https://github.com/jpsim/SourceKitten at 0.37.3 (4.26s)
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/drmohundro/SWXMLHash.git
[1/2858] Fetching swxmlhash
[259/20381] Fetching swxmlhash, swift-argument-parser
[6539/31932] Fetching swxmlhash, swift-argument-parser, yams
Fetched https://github.com/drmohundro/SWXMLHash.git from cache (2.61s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (2.63s)
Fetched https://github.com/jpsim/Yams.git from cache (2.69s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 6.2.1 (3.96s)
Computing version for https://github.com/drmohundro/SWXMLHash.git
Computed https://github.com/drmohundro/SWXMLHash.git at 7.0.2 (0.56s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.7.1 (0.83s)
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/drmohundro/SWXMLHash.git
Working copy of https://github.com/drmohundro/SWXMLHash.git resolved at 7.0.2
Creating working copy for https://github.com/jpsim/SourceKitten
Working copy of https://github.com/jpsim/SourceKitten resolved at 0.37.3
Creating working copy for https://github.com/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.9.2
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 6.2.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.7.1
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/29] Write sources
[10/29] Compiling SourceKit SourceKit.c
[11/29] Compiling Clang_C Clang_C.c
[12/29] Compiling writer.c
[13/29] Compiling reader.c
[14/29] Write swift-version-24593BA9C3E375BF.txt
[15/29] Compiling api.c
[15/29] Compiling parser.c
[17/44] Compiling scanner.c
[18/62] Compiling emitter.c
[20/96] Emitting module SWXMLHash
[21/96] Emitting module SwiftCLI
[22/98] Emitting module Yams
[23/103] Compiling Yams YamlTagProviding.swift
[24/103] Compiling SwiftCLI VersionCommand.swift
[25/103] Compiling Yams Node.Sequence.swift
[26/103] Compiling Yams Node.swift
[27/103] Compiling Yams Parser.swift
[28/103] Compiling Yams Mark.swift
[29/103] Compiling Yams Node.Alias.swift
[30/103] Compiling Yams Node.Mapping.swift
[31/103] Compiling SWXMLHash XMLHashOptions.swift
[32/103] Compiling SWXMLHash XMLIndexer.swift
[33/103] Compiling SWXMLHash shim.swift
[34/103] Compiling Yams AliasDereferencingStrategy.swift
[35/103] Compiling Yams Anchor.swift
[36/103] Compiling Yams Constructor.swift
[37/103] Compiling Yams Node.Scalar.swift
[40/103] Compiling Yams Resolver.swift
[41/103] Compiling Yams String+Yams.swift
[45/103] Compiling Yams RedundancyAliasingStrategy.swift
[46/103] Compiling Yams Representer.swift
[47/103] Compiling Yams Decoder.swift
[51/103] Compiling PathKit PathKit.swift
[52/103] Emitting module PathKit
[53/103] Compiling Yams YamlError.swift
[60/104] Compiling Yams Emitter.swift
[61/104] Compiling Yams Encoder.swift
[63/104] Compiling Yams Tag.swift
[64/104] Compiling Yams YamlAnchorProviding.swift
[78/105] Compiling SWXMLHash IndexingError.swift
[96/107] Wrapping AST for PathKit for debugging
[98/107] Wrapping AST for SwiftCLI for debugging
[99/107] Wrapping AST for SWXMLHash for debugging
[100/107] Wrapping AST for Yams for debugging
[102/150] Compiling SourceKittenFramework ByteCount.swift
[103/150] Compiling SourceKittenFramework ByteRange.swift
[104/150] Compiling SourceKittenFramework Clang+SourceKitten.swift
[105/150] Compiling SourceKittenFramework ClangTranslationUnit.swift
[106/150] Compiling SourceKittenFramework CodeCompletionItem.swift
[107/150] Compiling SourceKittenFramework CursorInfo+Parsing.swift
[108/150] Compiling SourceKittenFramework SwiftDeclarationKind.swift
[109/150] Compiling SourceKittenFramework SwiftDocKey.swift
[110/150] Compiling SourceKittenFramework SwiftDocs.swift
[111/150] Compiling SourceKittenFramework SwiftVersion.swift
[112/150] Compiling SourceKittenFramework SyntaxKind.swift
[113/150] Compiling SourceKittenFramework SyntaxMap.swift
[114/156] Emitting module SourceKittenFramework
[115/156] Compiling SourceKittenFramework Language.swift
[116/156] Compiling SourceKittenFramework LibraryWrapperGenerator.swift
[117/156] Compiling SourceKittenFramework Line.swift
[118/156] Compiling SourceKittenFramework LinuxCompatibility.swift
[119/156] Compiling SourceKittenFramework Module.swift
[120/156] Compiling SourceKittenFramework ObjCDeclarationKind.swift
[121/156] Compiling SourceKittenFramework Dictionary+Merge.swift
[122/156] Compiling SourceKittenFramework Documentation.swift
[123/156] Compiling SourceKittenFramework Exec.swift
[124/156] Compiling SourceKittenFramework File+Hashable.swift
[125/156] Compiling SourceKittenFramework File.swift
[126/156] Compiling SourceKittenFramework JSONOutput.swift
[127/156] Compiling SourceKittenFramework SyntaxToken.swift
[128/156] Compiling SourceKittenFramework Text.swift
[129/156] Compiling SourceKittenFramework UID.swift
[130/156] Compiling SourceKittenFramework UIDRepresentable.swift
[131/156] Compiling SourceKittenFramework UncheckedSendable.swift
[132/156] Compiling SourceKittenFramework Version.swift
[133/156] Compiling SourceKittenFramework StatementKind.swift
[134/156] Compiling SourceKittenFramework String+SourceKitten.swift
[135/156] Compiling SourceKittenFramework StringView+SourceKitten.swift
[136/156] Compiling SourceKittenFramework StringView.swift
[137/156] Compiling SourceKittenFramework Structure.swift
[138/156] Compiling SourceKittenFramework SwiftDeclarationAttributeKind.swift
[139/156] Compiling SourceKittenFramework OffsetMap.swift
[140/156] Compiling SourceKittenFramework Parameter.swift
[141/156] Compiling SourceKittenFramework Request.swift
[142/156] Compiling SourceKittenFramework SourceDeclaration.swift
[143/156] Compiling SourceKittenFramework SourceKitObject.swift
[144/156] Compiling SourceKittenFramework SourceLocation.swift
[145/156] Compiling SourceKittenFramework WindowsError.swift
[146/156] Compiling SourceKittenFramework Xcode.swift
[147/156] Compiling SourceKittenFramework XcodeBuildSetting.swift
[148/156] Compiling SourceKittenFramework library_wrapper.swift
[149/156] Compiling SourceKittenFramework library_wrapper_Clang_C.swift
[150/156] Compiling SourceKittenFramework library_wrapper_SourceKit.swift
[151/157] Wrapping AST for SourceKittenFramework for debugging
[153/166] Compiling BeakCore Dependency.swift
[154/167] Compiling BeakCore String.swift
[155/167] Compiling BeakCore PackageManager.swift
[156/167] 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 | }
[157/167] Compiling BeakCore FunctionParser.swift
[158/167] Compiling BeakCore Function.swift
[159/167] Compiling BeakCore BeakError.swift
[160/167] Compiling BeakCore BeakFile.swift
[161/167] Emitting module BeakCore
[162/167] Compiling BeakCore SwiftParser.swift
BUILD FAILURE 6.3 linux