The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Selfish, reference master (8267a4), with Swift 6.4 for macOS (SPM) on 16 Sep 2026 10:33:56 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/jpsim/selfish.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/jpsim/selfish
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 8267a4e Release 0.0.12
Cloned https://github.com/jpsim/selfish.git
Revision (git rev-parse @):
8267a4e26c8a0c04c2ec1cc80ae5c3a43597003a
SUCCESS checkout https://github.com/jpsim/selfish.git at master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/jpsim/selfish.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64
Building for debugging...
[Provisioning 1 / 11]
[Pre-planning 1 / 217]
[Planning deferred tasks]
[47 / 97]
[57 / 99] SourceKit
[61 / 99] SourceKit
[67 / 109]
[70 / 109]
[77 / 109] CYaml
[87 / 159]
[88 / 159]
[93 / 159]
[97 / 159]
[98 / 159]
[102 / 159]
[104 / 159]
[107 / 159]
[110 / 159]
[112 / 159]
[113 / 159]
[124 / 159] SWXMLHash
[127 / 159] Yams
[141 / 160] SWXMLHash
[141 / 160] SourceKittenFramework
[147 / 173] SourceKittenFramework
[148 / 173] SourceKittenFramework
[161 / 173] SourceKittenFramework-product
[169 / 176] SourceKittenFramework
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/jpsim/SourceKitten.git
[1/11861] Fetching yams
[2/28193] Fetching yams, sourcekitten
Fetched https://github.com/jpsim/SourceKitten.git (4.07s)
Fetched https://github.com/jpsim/Yams.git (4.07s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 2.0.0 (6.27s)
Computing version for https://github.com/jpsim/SourceKitten.git
Computed https://github.com/jpsim/SourceKitten.git at 0.29.0 (0.65s)
Fetching https://github.com/Carthage/Commandant.git
Fetching https://github.com/drmohundro/SWXMLHash.git
[1/2865] Fetching swxmlhash
[2/5194] Fetching swxmlhash, commandant
Fetched https://github.com/drmohundro/SWXMLHash.git (1.20s)
Fetched https://github.com/Carthage/Commandant.git (1.20s)
Computing version for https://github.com/Carthage/Commandant.git
Computed https://github.com/Carthage/Commandant.git at 0.17.0 (1.89s)
Fetching https://github.com/Quick/Quick.git
Fetching https://github.com/Quick/Nimble.git
[1/14925] Fetching quick
[2/34911] Fetching quick, nimble
Fetched https://github.com/Quick/Quick.git (2.30s)
Fetched https://github.com/Quick/Nimble.git (2.30s)
Computing version for https://github.com/drmohundro/SWXMLHash.git
Computed https://github.com/drmohundro/SWXMLHash.git at 5.0.2 (3.03s)
Computing version for https://github.com/Quick/Quick.git
Computed https://github.com/Quick/Quick.git at 2.2.1 (0.66s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 8.1.2 (0.69s)
Creating working copy for https://github.com/drmohundro/SWXMLHash.git
Working copy of https://github.com/drmohundro/SWXMLHash.git resolved at 5.0.2
Creating working copy for https://github.com/Quick/Nimble.git
Working copy of https://github.com/Quick/Nimble.git resolved at 8.1.2
Creating working copy for https://github.com/jpsim/SourceKitten.git
Working copy of https://github.com/jpsim/SourceKitten.git resolved at 0.29.0
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 2.0.0
Creating working copy for https://github.com/Quick/Quick.git
Working copy of https://github.com/Quick/Quick.git resolved at 2.2.1
Creating working copy for https://github.com/Carthage/Commandant.git
Working copy of https://github.com/Carthage/Commandant.git resolved at 0.17.0
error: SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/selfish/main.swift failed with a nonzero exit code. Command line:     cd /Users/admin/builder
    builtin-SwiftPerFileCompile main.swift
/Users/admin/builder/spi-builder-workspace/Sources/selfish/main.swift:294:45: error: value of type 'NSMutableString' has no member 'lineAndCharacter'
292 |         for cursorInfo in cursorsMissingExplicitSelf {
293 |             guard let byteOffset = cursorInfo["jp.offset"] as? Int64,
294 |                 let (line, char) = contents.lineAndCharacter(forByteOffset: Int(byteOffset))
    |                                             `- error: value of type 'NSMutableString' has no member 'lineAndCharacter'
295 |                 else { fatalError("couldn't convert offsets") }
296 |             print("\(compilableFile.file):\(line):\(char): error: Missing explicit reference to 'self.'")
/Users/admin/builder/spi-builder-workspace/Sources/selfish/main.swift:37:19: warning: 'scanUpTo(_:into:)' was deprecated in macOS 10.15 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
 35 |     var str = ""
 36 |     var didStart = false
 37 |     while scanner.scanUpTo("\"", into: &result), let theResult = result {
    |                   `- warning: 'scanUpTo(_:into:)' was deprecated in macOS 10.15 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
 38 |         if didStart {
 39 |             str += theResult.replacingOccurrences(of: " ", with: escapedSpacePlaceholder)
/Users/admin/builder/spi-builder-workspace/Sources/selfish/main.swift:44:17: warning: 'scanString(_:into:)' was deprecated in macOS 10.15 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
 42 |             str += theResult.bridge()
 43 |         }
 44 |         scanner.scanString("\"", into: nil)
    |                 `- warning: 'scanString(_:into:)' was deprecated in macOS 10.15 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
 45 |         didStart = !didStart
 46 |     }
/Users/admin/builder/spi-builder-workspace/Sources/selfish/main.swift:179:25: error: value of type 'String' has no member 'substringWithByteRange'
177 |                                    atByteOffsets byteOffsets: [Int]) throws -> [[String: SourceKitRepresentable]] {
178 |         return try byteOffsets.compactMap { offset in
179 |             if contents.substringWithByteRange(start: offset - 1, length: 1)! == "." { return nil }
    |                         `- error: value of type 'String' has no member 'substringWithByteRange'
180 |             var cursorInfo = try Request.cursorInfo(file: self.path!, offset: Int64(offset),
181 |                                                     arguments: compilerArguments).send()
/Users/admin/builder/spi-builder-workspace/Sources/selfish/main.swift:191:21: error: cannot find 'lines' in scope
189 |     func byteOffset(forLine line: Int, column: Int) -> Int {
190 |         var byteOffset = 0
191 |         for line in lines()[..<(line - 1)] {
    |                     `- error: cannot find 'lines' in scope
192 |             byteOffset += line.byteRange.length
193 |         }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
Failed frontend command:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -c -primary-file /Users/admin/builder/spi-builder-workspace/Sources/selfish/main.swift -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/Selfish.build/Debug/selfish-p.build/Objects-normal/arm64/main.d -emit-const-values-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/Selfish.build/Debug/selfish-p.build/Objects-normal/arm64/main.swiftconstvalues -emit-reference-dependencies-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/Selfish.build/Debug/selfish-p.build/Objects-normal/arm64/main.swiftdeps -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/Selfish.build/Debug/selfish-p.build/Objects-normal/arm64/main.dia -target arm64-apple-macos12.0 -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/ModuleCache.noindex -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 4 -Onone -D SWIFT_PACKAGE -D DEBUG -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -plugin-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -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/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 -fmodule-map-file\=/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/GeneratedModuleMaps/CYaml.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/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/checkouts/Yams/Sources/CYaml/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/Selfish.build/Debug/selfish-p.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/Selfish.build/Debug/selfish-p.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/Selfish.build/Debug/selfish-p.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name selfish -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/Selfish.build/Debug/selfish-p.build/Objects-normal/arm64/selfish_const_extract_protocols.json -disable-clang-spi -target-sdk-version 27.0 -target-sdk-name macosx27.0 -external-plugin-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/local/lib/swift/host/plugins\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server -in-process-plugin-server-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -plugin-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins -plugin-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/local/lib/swift/host/plugins -o /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/Selfish.build/Debug/selfish-p.build/Objects-normal/arm64/main.o -index-unit-output-path /Selfish.build/Debug/selfish-p.build/Objects-normal/arm64/main.o -index-store-path /Users/admin/builder/spi-builder-workspace/.build/out -index-system-modules
error: Build failed
BUILD FAILURE 6.4 macosSpm