Build Information
Failed to build Beak, reference master (c3af65), with Swift 6.4 for Linux on 16 Sep 2026 11:37:39 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886770-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.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.4
Building package at path: $PWD
https://github.com/yonaskolb/Beak.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886770-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:c77fcce225e223ac0fafed844619173fc6de8d62dd560eeb28db3182af6a282b
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest
Fetching https://github.com/jakeheis/SwiftCLI
Fetching https://github.com/kylef/Spectre.git
Fetching https://github.com/jpsim/SourceKitten
Fetching https://github.com/kylef/PathKit.git
[1/5080] Fetching swiftcli
[5081/6101] Fetching swiftcli, spectre
[5357/7561] Fetching swiftcli, spectre, pathkit
Fetched https://github.com/jakeheis/SwiftCLI (0.46s)
[1182/2481] Fetching spectre, pathkit
Fetched https://github.com/kylef/PathKit.git (0.51s)
[1/16332] Fetching sourcekitten
Fetched https://github.com/kylef/Spectre.git (2.16s)
Fetched https://github.com/jpsim/SourceKitten (2.17s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 0.9.2 (3.23s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.9.2 (0.18s)
Computing version for https://github.com/jakeheis/SwiftCLI
Computed https://github.com/jakeheis/SwiftCLI at 5.3.3 (1.08s)
Computing version for https://github.com/jpsim/SourceKitten
Computed https://github.com/jpsim/SourceKitten at 0.38.0 (0.19s)
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/drmohundro/SWXMLHash.git
[1/11861] Fetching yams
[2/30720] Fetching yams, swift-argument-parser
[428/33585] Fetching yams, swift-argument-parser, swxmlhash
Fetched https://github.com/drmohundro/SWXMLHash.git (1.07s)
Fetched https://github.com/apple/swift-argument-parser.git (1.07s)
Fetched https://github.com/jpsim/Yams.git (1.08s)
Computing version for https://github.com/drmohundro/SWXMLHash.git
Computed https://github.com/drmohundro/SWXMLHash.git at 7.0.2 (1.27s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 6.2.2 (0.16s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.8.2 (0.17s)
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.8.2
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 6.2.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
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
Creating working copy for https://github.com/jpsim/SourceKitten
Working copy of https://github.com/jpsim/SourceKitten resolved at 0.38.0
Creating working copy for https://github.com/kylef/PathKit.git
Working copy of https://github.com/kylef/PathKit.git resolved at 0.9.2
Building for debugging...
[Computing dependencies]
[Constructing description]
[Pre-planning 1 / 364]
[Planning deferred tasks]
[77 / 137] CYaml
[85 / 166] SWXMLHash
[87 / 166] CYaml
[92 / 166] Yams
[105 / 166] SWXMLHash
[115 / 166] Yams-product
[116 / 166] Yams-product
[120 / 166] SwiftCLI
[123 / 167] Yams
[124 / 167] Yams
[125 / 168] SwiftCLI
[128 / 168] SWXMLHash
[132 / 168] SourceKittenFramework
[135 / 168] PathKit
[143 / 178] Yams
[147 / 179] SourceKittenFramework
[149 / 180] SwiftCLI
[152 / 180] SwiftCLI
[160 / 181] BeakCore
[164 / 190] BeakCore
error: SwiftCompile normal x86_64 /host/spi-builder-workspace/Sources/BeakCore/SourceKit.swift failed with a nonzero exit code. Command line: cd /host
builtin-SwiftPerFileCompile SourceKit.swift
/host/spi-builder-workspace/Sources/BeakCore/SourceKit.swift:86:72: [1;31merror: [1;39mreference to member 'substringWithByteRange' cannot be resolved without a contextual type[0;0m
[0;36m84 |[0;0m
[0;36m85 |[0;0m func extract(from source: [String: SourceKitRepresentable], contents: String) -> String? {
[0;36m86 |[0;0m let substring = range(for: source).flatMap { contents.bridge().substringWithByteRange(start: Int($0.offset), length: Int($0.length)) }
[0;36m|[0;0m `- [1;31merror: [1;39mreference to member 'substringWithByteRange' cannot be resolved without a contextual type[0;0m
[0;36m87 |[0;0m return substring?.isEmpty == true ? nil : substring?.trimmingCharacters(in: .whitespacesAndNewlines)
[0;36m88 |[0;0m }
Failed frontend command:
/usr/bin/swift-frontend -frontend -c /host/spi-builder-workspace/Sources/BeakCore/BeakError.swift /host/spi-builder-workspace/Sources/BeakCore/BeakFile.swift /host/spi-builder-workspace/Sources/BeakCore/Dependency.swift /host/spi-builder-workspace/Sources/BeakCore/Function.swift /host/spi-builder-workspace/Sources/BeakCore/FunctionParser.swift /host/spi-builder-workspace/Sources/BeakCore/PackageManager.swift -primary-file /host/spi-builder-workspace/Sources/BeakCore/SourceKit.swift /host/spi-builder-workspace/Sources/BeakCore/String.swift /host/spi-builder-workspace/Sources/BeakCore/SwiftParser.swift -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Beak.build/Debug-linux-x86_64/BeakCore-t.build/Objects-normal/x86_64/SourceKit.d -emit-const-values-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Beak.build/Debug-linux-x86_64/BeakCore-t.build/Objects-normal/x86_64/SourceKit.swiftconstvalues -emit-reference-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Beak.build/Debug-linux-x86_64/BeakCore-t.build/Objects-normal/x86_64/SourceKit.swiftdeps -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Beak.build/Debug-linux-x86_64/BeakCore-t.build/Objects-normal/x86_64/SourceKit.dia -target x86_64-unknown-linux-gnu -disable-objc-interop -I /host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64 -module-cache-path /host/spi-builder-workspace/.build/out/ModuleCache.noindex -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -external-plugin-path /usr/lib/swift/host/plugins/testing\#/usr/bin/swift-plugin-server -validate-clang-modules-once -clang-build-session-file /host/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /host -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/checkouts/Yams/Sources/CYaml/include/module.modulemap -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/out/Intermediates.noindex/GeneratedModuleMaps-linux-x86_64/SourceKit.modulemap -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/out/Intermediates.noindex/GeneratedModuleMaps-linux-x86_64/Clang_C.modulemap -Xcc -fno-omit-frame-pointer -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/host/spi-builder-workspace/.build/checkouts/Yams/Sources/CYaml/include -Xcc -I/host/spi-builder-workspace/.build/checkouts/SourceKitten/Source/SourceKit/include -Xcc -I/host/spi-builder-workspace/.build/checkouts/SourceKitten/Source/Clang_C/include -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/Beak.build/Debug-linux-x86_64/BeakCore-t.build/DerivedSources-normal/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/Beak.build/Debug-linux-x86_64/BeakCore-t.build/DerivedSources/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/Beak.build/Debug-linux-x86_64/BeakCore-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name BeakCore -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/Beak.build/Debug-linux-x86_64/BeakCore-t.build/Objects-normal/x86_64/BeakCore_const_extract_protocols.json -in-process-plugin-server-path /usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/Beak.build/Debug-linux-x86_64/BeakCore-t.build/Objects-normal/x86_64/SourceKit.o -index-unit-output-path /Beak.build/Debug-linux-x86_64/BeakCore-t.build/Objects-normal/x86_64/SourceKit.o -index-store-path /host/spi-builder-workspace/.build/out -index-system-modules
error: Build failed
BUILD FAILURE 6.4 linux