Build Information
Failed to build Beak, reference 0.5.1 (4a8cf5), with Swift 6.4 for macOS (SPM) on 16 Sep 2026 11:53:54 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/yonaskolb/Beak.git
Reference: 0.5.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
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: macosSpm
Swift version: 6.4
Building package at path: $PWD
https://github.com/yonaskolb/Beak.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 364]
[Planning deferred tasks]
[66 / 153] BeakCLI
[70 / 153]
[84 / 168] SourceKit
[86 / 170] SourceKit
[99 / 180]
[100 / 180] Yams
[104 / 271]
[107 / 271]
[110 / 271]
[113 / 271]
[116 / 271]
[119 / 271]
[121 / 271]
[124 / 271]
[126 / 271]
[127 / 271] PathKit
[145 / 271]
[151 / 271]
[156 / 271]
[159 / 271]
[164 / 271] SwiftCLI-product
[167 / 271] SwiftCLI
[170 / 271]
[174 / 271]
[178 / 271]
[182 / 271]
[185 / 271]
[188 / 271]
[191 / 271]
[192 / 271]
[194 / 271]
[195 / 271]
[200 / 271] PathKit
[201 / 271]
[211 / 271] Yams
[212 / 271] SWXMLHash
[217 / 271] SWXMLHash
[229 / 271] SWXMLHash
[236 / 272] SWXMLHash
[240 / 272] SourceKittenFramework
[254 / 286] SourceKittenFramework
[261 / 287] SourceKittenFramework
[261 / 287] BeakCore
[271 / 297] BeakCore
Fetching https://github.com/kylef/PathKit.git
Fetching https://github.com/jakeheis/SwiftCLI
Fetching https://github.com/kylef/Spectre.git
Fetching https://github.com/jpsim/SourceKitten
[1/5080] Fetching swiftcli
[2/6101] Fetching swiftcli, spectre
[23/7561] Fetching swiftcli, spectre, pathkit
[3203/23893] Fetching swiftcli, spectre, pathkit, sourcekitten
Fetched https://github.com/jpsim/SourceKitten (2.18s)
Fetched https://github.com/kylef/Spectre.git (2.18s)
Fetched https://github.com/kylef/PathKit.git (2.18s)
Fetched https://github.com/jakeheis/SwiftCLI (2.18s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 0.9.2 (4.41s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.9.2 (0.66s)
Computing version for https://github.com/jakeheis/SwiftCLI
Computed https://github.com/jakeheis/SwiftCLI at 5.3.3 (2.25s)
Computing version for https://github.com/jpsim/SourceKitten
Computed https://github.com/jpsim/SourceKitten at 0.38.0 (0.70s)
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/drmohundro/SWXMLHash.git
Fetching https://github.com/jpsim/Yams.git
[1/2865] Fetching swxmlhash
[231/14726] Fetching swxmlhash, yams
[1206/33585] Fetching swxmlhash, yams, swift-argument-parser
Fetched https://github.com/jpsim/Yams.git (3.46s)
Fetched https://github.com/drmohundro/SWXMLHash.git (3.46s)
Fetched https://github.com/apple/swift-argument-parser.git (3.46s)
Computing version for https://github.com/drmohundro/SWXMLHash.git
Computed https://github.com/drmohundro/SWXMLHash.git at 7.0.2 (4.17s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 6.2.2 (0.59s)
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.56s)
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/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/SourceKitten
Working copy of https://github.com/jpsim/SourceKitten resolved at 0.38.0
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/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/kylef/PathKit.git
Working copy of https://github.com/kylef/PathKit.git resolved at 0.9.2
error: SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/BeakCore/SourceKit.swift failed with a nonzero exit code. Command line: cd /Users/admin/builder
builtin-SwiftPerFileCompile SourceKit.swift
/Users/admin/builder/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:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -c /Users/admin/builder/spi-builder-workspace/Sources/BeakCore/BeakError.swift /Users/admin/builder/spi-builder-workspace/Sources/BeakCore/BeakFile.swift /Users/admin/builder/spi-builder-workspace/Sources/BeakCore/Dependency.swift /Users/admin/builder/spi-builder-workspace/Sources/BeakCore/Function.swift /Users/admin/builder/spi-builder-workspace/Sources/BeakCore/FunctionParser.swift /Users/admin/builder/spi-builder-workspace/Sources/BeakCore/PackageManager.swift -primary-file /Users/admin/builder/spi-builder-workspace/Sources/BeakCore/SourceKit.swift /Users/admin/builder/spi-builder-workspace/Sources/BeakCore/String.swift /Users/admin/builder/spi-builder-workspace/Sources/BeakCore/SwiftParser.swift -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/Beak.build/Debug/BeakCore-t.build/Objects-normal/arm64/SourceKit.d -emit-const-values-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/Beak.build/Debug/BeakCore-t.build/Objects-normal/arm64/SourceKit.swiftconstvalues -emit-reference-dependencies-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/Beak.build/Debug/BeakCore-t.build/Objects-normal/arm64/SourceKit.swiftdeps -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/Beak.build/Debug/BeakCore-t.build/Objects-normal/arm64/SourceKit.dia -target arm64-apple-macos12.0 -disable-cross-import-overlay-search -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -disable-implicit-swift-modules -Xcc -fno-implicit-modules -Xcc -fno-implicit-module-maps -explicit-swift-module-map-file /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/Beak.build/Debug/BeakCore-t.build/Objects-normal/arm64/BeakCore-dependencies-1.json -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug/PackageFrameworks -F /Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftExplicitPrecompiledModules -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 -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder -Xcc -fmodule-map-file\=/Users/admin/builder/spi-builder-workspace/.build/checkouts/Yams/Sources/CYaml/include/module.modulemap -Xcc -fmodule-map-file\=/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/GeneratedModuleMaps/SourceKit.modulemap -Xcc -fmodule-map-file\=/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/GeneratedModuleMaps/Clang_C.modulemap -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.build/out/SDKStatCaches.noindex/macosx27.0-26A425-80c5bbf1d171475443272936d42f90a36a22442a12e9d48fe1a705f55a1adfc4.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/checkouts/Yams/Sources/CYaml/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/checkouts/SourceKitten/Source/SourceKit/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/checkouts/SourceKitten/Source/Clang_C/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/Beak.build/Debug/BeakCore-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/Beak.build/Debug/BeakCore-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/Beak.build/Debug/BeakCore-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name BeakCore -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/Beak.build/Debug/BeakCore-t.build/Objects-normal/arm64/BeakCore_const_extract_protocols.json -disable-clang-spi -clang-target arm64-apple-macos27.0 -target-sdk-version 27.0 -target-sdk-name macosx27.0 -in-process-plugin-server-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/Beak.build/Debug/BeakCore-t.build/Objects-normal/arm64/SourceKit.o -debug-module-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/Beak.build/Debug/BeakCore-t.build/Objects-normal/arm64/BeakCore.swiftmodule -index-unit-output-path /Beak.build/Debug/BeakCore-t.build/Objects-normal/arm64/SourceKit.o -index-store-path /Users/admin/builder/spi-builder-workspace/.build/out -index-system-modules
error: Build failed
BUILD FAILURE 6.4 macosSpm