Build Information
Failed to build Beak, reference 0.5.1 (4a8cf5
), with Swift 6.2 (beta) for Linux on 18 Jun 2025 01:23:23 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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: 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.2
Building package at path: $PWD
https://github.com/yonaskolb/Beak.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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/kylef/Spectre.git
Fetching https://github.com/jakeheis/SwiftCLI
Fetching https://github.com/kylef/PathKit.git
Fetching https://github.com/jpsim/SourceKitten
[1/1021] Fetching spectre
[747/2432] Fetching spectre, pathkit
[2403/7506] Fetching spectre, pathkit, swiftcli
[4738/23650] Fetching spectre, pathkit, swiftcli, sourcekitten
Fetched https://github.com/kylef/Spectre.git from cache (0.28s)
[6509/22629] Fetching pathkit, swiftcli, sourcekitten
Fetched https://github.com/kylef/PathKit.git from cache (1.15s)
Fetched https://github.com/jakeheis/SwiftCLI from cache (1.16s)
Fetched https://github.com/jpsim/SourceKitten from cache (1.17s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 0.9.2 (4.14s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.9.2 (0.43s)
Computing version for https://github.com/jakeheis/SwiftCLI
Computed https://github.com/jakeheis/SwiftCLI at 5.3.3 (3.05s)
Computing version for https://github.com/jpsim/SourceKitten
Computed https://github.com/jpsim/SourceKitten at 0.37.2 (0.44s)
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
[2821/13679] Fetching swxmlhash, yams
[8577/29059] Fetching swxmlhash, yams, swift-argument-parser
Fetched https://github.com/drmohundro/SWXMLHash.git from cache (1.44s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.45s)
Fetched https://github.com/jpsim/Yams.git from cache (1.48s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 6.0.1 (2.41s)
Computing version for https://github.com/drmohundro/SWXMLHash.git
Computed https://github.com/drmohundro/SWXMLHash.git at 7.0.2 (0.44s)
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.37s)
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/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/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 6.0.1
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/jpsim/SourceKitten
Working copy of https://github.com/jpsim/SourceKitten resolved at 0.37.2
Creating working copy for https://github.com/jakeheis/SwiftCLI
Working copy of https://github.com/jakeheis/SwiftCLI resolved at 5.3.3
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/28] Write sources
[8/28] Compiling Clang_C Clang_C.c
[9/28] Write sources
[10/28] Compiling SourceKit SourceKit.c
[11/28] Compiling writer.c
[12/28] Compiling reader.c
[13/28] Write swift-version-24593BA9C3E375BF.txt
[14/28] Compiling parser.c
[15/34] Compiling api.c
[16/49] Compiling emitter.c
[17/75] Compiling scanner.c
[19/95] Emitting module Yams
[20/97] Compiling Yams Tag.swift
[21/97] Compiling Yams YamlAnchorProviding.swift
[22/97] Compiling Yams Mark.swift
[23/97] Compiling Yams Node.Alias.swift
[24/97] Compiling Yams Node.Mapping.swift
[25/99] Compiling SwiftCLI ValueBox.swift
[26/99] Compiling SwiftCLI VersionCommand.swift
[27/99] Compiling Yams Decoder.swift
[28/99] Compiling Yams Emitter.swift
[29/99] Compiling Yams Encoder.swift
[31/102] Compiling Yams YamlError.swift
[32/102] Compiling Yams Node.swift
[33/102] Compiling Yams Parser.swift
[34/102] Compiling Yams RedundancyAliasingStrategy.swift
[35/102] Compiling Yams Representer.swift
[36/102] Compiling Yams Resolver.swift
[37/102] Compiling Yams String+Yams.swift
[40/102] Compiling SWXMLHash XMLHash.swift
[44/102] Compiling Yams Node.Scalar.swift
[45/102] Compiling Yams Node.Sequence.swift
[58/102] Compiling Yams AliasDereferencingStrategy.swift
[59/102] Compiling Yams Anchor.swift
[60/102] Compiling Yams Constructor.swift
[74/102] Emitting module SWXMLHash
[75/102] Emitting module SwiftCLI
[90/104] Compiling PathKit PathKit.swift
[91/104] Emitting module PathKit
[91/105] Wrapping AST for SwiftCLI for debugging
[93/105] Wrapping AST for Yams for debugging
[95/105] Compiling SWXMLHash XMLHashOptions.swift
[96/105] Compiling SWXMLHash XMLIndexer.swift
[97/105] Compiling SWXMLHash shim.swift
[98/106] Wrapping AST for PathKit for debugging
[99/106] Wrapping AST for SWXMLHash for debugging
[101/149] Compiling SourceKittenFramework SyntaxToken.swift
[102/149] Compiling SourceKittenFramework Text.swift
[103/149] Compiling SourceKittenFramework UID.swift
[104/149] Compiling SourceKittenFramework UIDRepresentable.swift
[105/149] Compiling SourceKittenFramework UncheckedSendable.swift
[106/149] Compiling SourceKittenFramework Version.swift
[107/155] Compiling SourceKittenFramework SwiftDeclarationKind.swift
[108/155] Compiling SourceKittenFramework SwiftDocKey.swift
[109/155] Compiling SourceKittenFramework SwiftDocs.swift
[110/155] Compiling SourceKittenFramework SwiftVersion.swift
[111/155] Compiling SourceKittenFramework SyntaxKind.swift
[112/155] Compiling SourceKittenFramework SyntaxMap.swift
[113/155] Compiling SourceKittenFramework OffsetMap.swift
[114/155] Compiling SourceKittenFramework Parameter.swift
[115/155] Compiling SourceKittenFramework Request.swift
[116/155] Compiling SourceKittenFramework SourceDeclaration.swift
[117/155] Compiling SourceKittenFramework SourceKitObject.swift
[118/155] Compiling SourceKittenFramework SourceLocation.swift
[119/155] Emitting module SourceKittenFramework
[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 Dictionary+Merge.swift
[127/155] Compiling SourceKittenFramework Documentation.swift
[128/155] Compiling SourceKittenFramework Exec.swift
[129/155] Compiling SourceKittenFramework File+Hashable.swift
[130/155] Compiling SourceKittenFramework File.swift
[131/155] Compiling SourceKittenFramework JSONOutput.swift
[132/155] Compiling SourceKittenFramework StatementKind.swift
[133/155] Compiling SourceKittenFramework String+SourceKitten.swift
[134/155] Compiling SourceKittenFramework StringView+SourceKitten.swift
[135/155] Compiling SourceKittenFramework StringView.swift
[136/155] Compiling SourceKittenFramework Structure.swift
[137/155] Compiling SourceKittenFramework SwiftDeclarationAttributeKind.swift
[138/155] Compiling SourceKittenFramework ByteCount.swift
[139/155] Compiling SourceKittenFramework ByteRange.swift
[140/155] Compiling SourceKittenFramework Clang+SourceKitten.swift
[141/155] Compiling SourceKittenFramework ClangTranslationUnit.swift
[142/155] Compiling SourceKittenFramework CodeCompletionItem.swift
[143/155] Compiling SourceKittenFramework CursorInfo+Parsing.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/166] Compiling BeakCore PackageManager.swift
[154/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 | }
[155/166] Compiling BeakCore FunctionParser.swift
[156/166] Compiling BeakCore Dependency.swift
[157/166] Compiling BeakCore Function.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