The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build Beak, reference master (c3af65), with Swift 6.2 (beta) for Linux on 18 Jun 2025 01:23:40 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.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.2
Building package at path:  $PWD
https://github.com/yonaskolb/Beak.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Fetching https://github.com/jakeheis/SwiftCLI
Fetching https://github.com/kylef/PathKit.git
Fetching https://github.com/kylef/Spectre.git
Fetching https://github.com/jpsim/SourceKitten
[1/1021] Fetching spectre
[583/6095] Fetching spectre, swiftcli
[1378/7506] Fetching spectre, swiftcli, pathkit
[1379/23650] Fetching spectre, swiftcli, pathkit, sourcekitten
Fetched https://github.com/kylef/Spectre.git from cache (0.87s)
[7436/22629] Fetching swiftcli, pathkit, sourcekitten
Fetched https://github.com/kylef/PathKit.git from cache (1.09s)
Fetched https://github.com/jakeheis/SwiftCLI from cache (1.09s)
[11947/16144] Fetching sourcekitten
Fetched https://github.com/jpsim/SourceKitten from cache (1.73s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 0.9.2 (4.44s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.9.2 (0.46s)
Computing version for https://github.com/jakeheis/SwiftCLI
Computed https://github.com/jakeheis/SwiftCLI at 5.3.3 (3.29s)
Computing version for https://github.com/jpsim/SourceKitten
Computed https://github.com/jpsim/SourceKitten at 0.37.2 (0.78s)
Fetching https://github.com/drmohundro/SWXMLHash.git
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/jpsim/Yams.git
[1/2820] Fetching swxmlhash
[1468/13679] Fetching swxmlhash, yams
[5753/29059] Fetching swxmlhash, yams, swift-argument-parser
Fetched https://github.com/drmohundro/SWXMLHash.git from cache (2.58s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (2.60s)
Fetched https://github.com/jpsim/Yams.git from cache (2.66s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 6.0.1 (3.35s)
Computing version for https://github.com/drmohundro/SWXMLHash.git
Computed https://github.com/drmohundro/SWXMLHash.git at 7.0.2 (0.77s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.5.1 (0.78s)
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.1
Creating working copy for https://github.com/jpsim/SourceKitten
Working copy of https://github.com/jpsim/SourceKitten resolved at 0.37.2
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 6.0.1
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/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.9.2
Creating working copy for https://github.com/drmohundro/SWXMLHash.git
Working copy of https://github.com/drmohundro/SWXMLHash.git resolved at 7.0.2
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/28] Write sources
[6/28] Compiling Clang_C Clang_C.c
[6/28] Compiling SourceKit SourceKit.c
[6/28] Write sources
[11/28] Write swift-version-24593BA9C3E375BF.txt
[11/28] Compiling writer.c
[13/28] Compiling reader.c
[14/28] Compiling parser.c
[15/75] Compiling api.c
[16/75] Compiling emitter.c
[17/75] Compiling scanner.c
[19/95] Emitting module SWXMLHash
[20/98] Emitting module SwiftCLI
[21/100] Compiling Yams Tag.swift
[22/100] Compiling Yams YamlAnchorProviding.swift
[23/102] Compiling Yams AliasDereferencingStrategy.swift
[24/102] Compiling Yams Anchor.swift
[25/102] Compiling Yams Constructor.swift
[26/102] Compiling Yams YamlTagProviding.swift
[27/102] Compiling SwiftCLI VersionCommand.swift
[28/102] Compiling Yams Decoder.swift
[29/102] Compiling Yams Emitter.swift
[30/102] Compiling Yams Encoder.swift
[31/102] Compiling SWXMLHash XMLHashOptions.swift
[32/102] Compiling SWXMLHash XMLIndexer.swift
[33/102] Compiling SWXMLHash shim.swift
[34/102] Compiling Yams Mark.swift
[35/102] Compiling Yams Node.Alias.swift
[36/102] Compiling Yams Node.Mapping.swift
[39/102] Compiling Yams YamlError.swift
[40/102] Compiling Yams Node.Scalar.swift
[41/102] Compiling Yams Node.Sequence.swift
[42/102] Compiling Yams Node.swift
[45/102] Compiling Yams Parser.swift
[46/102] Compiling Yams RedundancyAliasingStrategy.swift
[47/102] Compiling Yams Representer.swift
[59/102] Compiling SWXMLHash XMLHash.swift
[63/102] Compiling Yams Resolver.swift
[64/102] Compiling Yams String+Yams.swift
[85/103] Emitting module Yams
[93/105] Wrapping AST for SWXMLHash for debugging
[94/105] Wrapping AST for Yams for debugging
[95/105] Wrapping AST for SwiftCLI for debugging
[97/148] Emitting module PathKit
[98/148] Compiling PathKit PathKit.swift
[99/149] Wrapping AST for PathKit for debugging
[101/149] Compiling SourceKittenFramework ByteCount.swift
[102/149] Compiling SourceKittenFramework ByteRange.swift
[103/149] Compiling SourceKittenFramework Clang+SourceKitten.swift
[104/149] Compiling SourceKittenFramework ClangTranslationUnit.swift
[105/149] Compiling SourceKittenFramework CodeCompletionItem.swift
[106/149] Compiling SourceKittenFramework CursorInfo+Parsing.swift
[107/155] Emitting module SourceKittenFramework
[108/155] Compiling SourceKittenFramework Dictionary+Merge.swift
[109/155] Compiling SourceKittenFramework Documentation.swift
[110/155] Compiling SourceKittenFramework Exec.swift
[111/155] Compiling SourceKittenFramework File+Hashable.swift
[112/155] Compiling SourceKittenFramework File.swift
[113/155] Compiling SourceKittenFramework JSONOutput.swift
[114/155] Compiling SourceKittenFramework StatementKind.swift
[115/155] Compiling SourceKittenFramework String+SourceKitten.swift
[116/155] Compiling SourceKittenFramework StringView+SourceKitten.swift
[117/155] Compiling SourceKittenFramework StringView.swift
[118/155] Compiling SourceKittenFramework Structure.swift
[119/155] Compiling SourceKittenFramework SwiftDeclarationAttributeKind.swift
[120/155] Compiling SourceKittenFramework Language.swift
[121/155] Compiling SourceKittenFramework LibraryWrapperGenerator.swift
[122/155] Compiling SourceKittenFramework Line.swift
[123/155] Compiling SourceKittenFramework LinuxCompatibility.swift
[124/155] Compiling SourceKittenFramework Module.swift
[125/155] Compiling SourceKittenFramework ObjCDeclarationKind.swift
[126/155] Compiling SourceKittenFramework SyntaxToken.swift
[127/155] Compiling SourceKittenFramework Text.swift
[128/155] Compiling SourceKittenFramework UID.swift
[129/155] Compiling SourceKittenFramework UIDRepresentable.swift
[130/155] Compiling SourceKittenFramework UncheckedSendable.swift
[131/155] Compiling SourceKittenFramework Version.swift
[132/155] Compiling SourceKittenFramework SwiftDeclarationKind.swift
[133/155] Compiling SourceKittenFramework SwiftDocKey.swift
[134/155] Compiling SourceKittenFramework SwiftDocs.swift
[135/155] Compiling SourceKittenFramework SwiftVersion.swift
[136/155] Compiling SourceKittenFramework SyntaxKind.swift
[137/155] Compiling SourceKittenFramework SyntaxMap.swift
[138/155] Compiling SourceKittenFramework OffsetMap.swift
[139/155] Compiling SourceKittenFramework Parameter.swift
[140/155] Compiling SourceKittenFramework Request.swift
[141/155] Compiling SourceKittenFramework SourceDeclaration.swift
[142/155] Compiling SourceKittenFramework SourceKitObject.swift
[143/155] Compiling SourceKittenFramework SourceLocation.swift
[144/155] Compiling SourceKittenFramework WindowsError.swift
[145/155] Compiling SourceKittenFramework Xcode.swift
[146/155] Compiling SourceKittenFramework XcodeBuildSetting.swift
[147/155] Compiling SourceKittenFramework library_wrapper.swift
[148/155] Compiling SourceKittenFramework library_wrapper_Clang_C.swift
[149/155] Compiling SourceKittenFramework library_wrapper_SourceKit.swift
[150/156] Wrapping AST for SourceKittenFramework for debugging
[152/165] Compiling BeakCore String.swift
[153/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 | }
[154/166] Compiling BeakCore FunctionParser.swift
[155/166] Compiling BeakCore Function.swift
[156/166] Compiling BeakCore PackageManager.swift
[157/166] Compiling BeakCore Dependency.swift
[158/166] Emitting module BeakCore
[159/166] Compiling BeakCore BeakError.swift
[160/166] Compiling BeakCore BeakFile.swift
[161/166] Compiling BeakCore SwiftParser.swift
BUILD FAILURE 6.2 linux