The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Beak, reference 0.5.1 (4a8cf5), with Swift 6.3 for Linux on 10 Apr 2026 23:30:59 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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

Build Log

========================================
RunAll
========================================
Builder version: 4.70.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.3
Building package at path:  $PWD
https://github.com/yonaskolb/Beak.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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/jpsim/SourceKitten
Fetching https://github.com/jakeheis/SwiftCLI
Fetching https://github.com/kylef/Spectre.git
Fetching https://github.com/kylef/PathKit.git
[1/1021] Fetching spectre
[247/6095] Fetching spectre, swiftcli
[2139/7547] Fetching spectre, swiftcli, pathkit
[5533/23747] Fetching spectre, swiftcli, pathkit, sourcekitten
Fetched https://github.com/kylef/PathKit.git from cache (0.35s)
Fetched https://github.com/kylef/Spectre.git from cache (0.35s)
[7504/21274] Fetching swiftcli, sourcekitten
Fetched https://github.com/jakeheis/SwiftCLI from cache (1.60s)
Fetched https://github.com/jpsim/SourceKitten from cache (1.61s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 0.9.2 (4.54s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.9.2 (0.56s)
Computing version for https://github.com/jakeheis/SwiftCLI
Computed https://github.com/jakeheis/SwiftCLI at 5.3.3 (2.88s)
Computing version for https://github.com/jpsim/SourceKitten
Computed https://github.com/jpsim/SourceKitten at 0.37.3 (0.58s)
Fetching https://github.com/drmohundro/SWXMLHash.git
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/apple/swift-argument-parser.git
[1/2858] Fetching swxmlhash
[2859/20381] Fetching swxmlhash, swift-argument-parser
[5663/31932] Fetching swxmlhash, swift-argument-parser, yams
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.18s)
[9674/14409] Fetching swxmlhash, yams
Fetched https://github.com/drmohundro/SWXMLHash.git from cache (2.29s)
Fetched https://github.com/jpsim/Yams.git from cache (2.41s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 6.2.1 (4.90s)
Computing version for https://github.com/drmohundro/SWXMLHash.git
Computed https://github.com/drmohundro/SWXMLHash.git at 7.0.2 (0.75s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.7.1 (1.21s)
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/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 6.2.1
Creating working copy for https://github.com/drmohundro/SWXMLHash.git
Working copy of https://github.com/drmohundro/SWXMLHash.git resolved at 7.0.2
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.7.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/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.9.2
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/29] Write sources
[7/29] Compiling Clang_C Clang_C.c
[8/29] Compiling writer.c
[9/29] Compiling reader.c
[10/29] Compiling SourceKit SourceKit.c
[11/29] Compiling parser.c
[12/29] Write sources
[13/29] Compiling api.c
[14/29] Write sources
[14/29] Write swift-version-24593BA9C3E375BF.txt
[17/29] Compiling emitter.c
[18/31] Compiling scanner.c
[20/96] Emitting module SWXMLHash
[21/99] Emitting module SwiftCLI
[22/101] Compiling Yams Tag.swift
[23/101] Compiling Yams YamlAnchorProviding.swift
[24/103] Compiling Yams YamlTagProviding.swift
[25/103] Compiling SwiftCLI VersionCommand.swift
[26/103] Compiling Yams Decoder.swift
[27/103] Compiling Yams Emitter.swift
[28/103] Compiling Yams Encoder.swift
[31/103] Compiling SWXMLHash XMLHash.swift
[32/103] Compiling Yams AliasDereferencingStrategy.swift
[33/103] Compiling Yams Anchor.swift
[34/103] Compiling Yams Constructor.swift
[35/103] Compiling Yams YamlError.swift
[37/103] Emitting module Yams
[41/103] Compiling Yams Parser.swift
[42/103] Compiling Yams RedundancyAliasingStrategy.swift
[43/103] Compiling Yams Representer.swift
[44/103] Compiling SWXMLHash XMLHashOptions.swift
[45/103] Compiling SWXMLHash XMLIndexer.swift
[46/103] Compiling SWXMLHash shim.swift
[54/103] Compiling Yams Mark.swift
[55/103] Compiling Yams Node.Alias.swift
[56/103] Compiling Yams Node.Mapping.swift
[57/103] Compiling Yams Resolver.swift
[58/103] Compiling Yams String+Yams.swift
[62/103] Compiling Yams Node.Scalar.swift
[63/103] Compiling Yams Node.Sequence.swift
[64/103] Compiling Yams Node.swift
[92/105] Wrapping AST for Yams for debugging
[96/106] Emitting module PathKit
[97/106] Compiling PathKit PathKit.swift
[98/107] Wrapping AST for SWXMLHash for debugging
[99/107] Wrapping AST for SwiftCLI for debugging
[100/108] Wrapping AST for PathKit 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/156] Emitting module SourceKittenFramework
[109/156] Compiling SourceKittenFramework Dictionary+Merge.swift
[110/156] Compiling SourceKittenFramework Documentation.swift
[111/156] Compiling SourceKittenFramework Exec.swift
[112/156] Compiling SourceKittenFramework File+Hashable.swift
[113/156] Compiling SourceKittenFramework File.swift
[114/156] Compiling SourceKittenFramework JSONOutput.swift
[115/156] Compiling SourceKittenFramework OffsetMap.swift
[116/156] Compiling SourceKittenFramework Parameter.swift
[117/156] Compiling SourceKittenFramework Request.swift
[118/156] Compiling SourceKittenFramework SourceDeclaration.swift
[119/156] Compiling SourceKittenFramework SourceKitObject.swift
[120/156] Compiling SourceKittenFramework SourceLocation.swift
[121/156] Compiling SourceKittenFramework SyntaxToken.swift
[122/156] Compiling SourceKittenFramework Text.swift
[123/156] Compiling SourceKittenFramework UID.swift
[124/156] Compiling SourceKittenFramework UIDRepresentable.swift
[125/156] Compiling SourceKittenFramework UncheckedSendable.swift
[126/156] Compiling SourceKittenFramework Version.swift
[127/156] Compiling SourceKittenFramework SwiftDeclarationKind.swift
[128/156] Compiling SourceKittenFramework SwiftDocKey.swift
[129/156] Compiling SourceKittenFramework SwiftDocs.swift
[130/156] Compiling SourceKittenFramework SwiftVersion.swift
[131/156] Compiling SourceKittenFramework SyntaxKind.swift
[132/156] Compiling SourceKittenFramework SyntaxMap.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 Language.swift
[140/156] Compiling SourceKittenFramework LibraryWrapperGenerator.swift
[141/156] Compiling SourceKittenFramework Line.swift
[142/156] Compiling SourceKittenFramework LinuxCompatibility.swift
[143/156] Compiling SourceKittenFramework Module.swift
[144/156] Compiling SourceKittenFramework ObjCDeclarationKind.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 String.swift
[154/166] Compiling BeakCore PackageManager.swift
[155/166] 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 | }
[156/167] Compiling BeakCore FunctionParser.swift
[157/167] Emitting module BeakCore
[158/167] Compiling BeakCore Dependency.swift
[159/167] Compiling BeakCore Function.swift
[160/167] Compiling BeakCore BeakError.swift
[161/167] Compiling BeakCore BeakFile.swift
[162/167] Compiling BeakCore SwiftParser.swift
BUILD FAILURE 6.3 linux