The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Selfish, reference 0.0.12 (8267a4), with Swift 6.4 for macOS (SPM) on 16 Sep 2026 10:34:27 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: 0.0.12
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/jpsim/selfish
 * tag               0.0.12     -> FETCH_HEAD
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 0.0.12
========================================
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...
[Constructing description]
[Planning deferred tasks]
[47 / 97]
[57 / 99] Clang_C
[59 / 99] Clang_C
[66 / 109]
[69 / 109]
[77 / 109] CYaml
[87 / 159] CYaml
[88 / 159]
[93 / 159]
[97 / 159]
[98 / 159]
[102 / 159]
[104 / 159]
[107 / 159]
[110 / 159]
[112 / 159]
[113 / 159]
[124 / 159] Yams
[125 / 159] SWXMLHash
[138 / 159] Yams-product
[140 / 159] SWXMLHash-product
[141 / 160] SourceKittenFramework
[147 / 173] SourceKittenFramework
[148 / 173] SourceKittenFramework
[162 / 173] selfish-product
[169 / 176] selfish-product
[169 / 176] SourceKittenFramework
[171 / 176] SourceKittenFramework
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/jpsim/SourceKitten.git
[1/11861] Fetching yams
[832/28193] Fetching yams, sourcekitten
Fetched https://github.com/jpsim/Yams.git (11.49s)
Fetched https://github.com/jpsim/SourceKitten.git (11.49s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 2.0.0 (13.68s)
Computing version for https://github.com/jpsim/SourceKitten.git
Computed https://github.com/jpsim/SourceKitten.git at 0.29.0 (0.63s)
Fetching https://github.com/drmohundro/SWXMLHash.git
Fetching https://github.com/Carthage/Commandant.git
[1/2329] Fetching commandant
[2330/5194] Fetching commandant, swxmlhash
Fetched https://github.com/drmohundro/SWXMLHash.git (1.62s)
Fetched https://github.com/Carthage/Commandant.git (1.62s)
Computing version for https://github.com/Carthage/Commandant.git
Computed https://github.com/Carthage/Commandant.git at 0.17.0 (2.28s)
Fetching https://github.com/Quick/Quick.git
Fetching https://github.com/Quick/Nimble.git
[1/14925] Fetching quick
[1494/34911] Fetching quick, nimble
Fetched https://github.com/Quick/Quick.git (1.65s)
[400/19986] Fetching nimble
Fetched https://github.com/Quick/Nimble.git (18.63s)
Computing version for https://github.com/drmohundro/SWXMLHash.git
Computed https://github.com/drmohundro/SWXMLHash.git at 5.0.2 (19.31s)
Computing version for https://github.com/Quick/Quick.git
Computed https://github.com/Quick/Quick.git at 2.2.1 (0.64s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 8.1.2 (0.64s)
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
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/drmohundro/SWXMLHash.git
Working copy of https://github.com/drmohundro/SWXMLHash.git resolved at 5.0.2
error: SwiftCompile normal arm64 failed with a nonzero exit code. Command line:     cd /Users/admin/builder

/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.'")
Failed frontend command:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /Users/admin/builder/spi-builder-workspace/Sources/selfish/main.swift -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 -emit-module-doc-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/Selfish.build/Debug/selfish-p.build/Objects-normal/arm64/selfish.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/Selfish.build/Debug/selfish-p.build/Objects-normal/arm64/selfish.swiftsourceinfo -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/Selfish.build/Debug/selfish-p.build/Objects-normal/arm64/selfish-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/Selfish.build/Debug/selfish-p.build/Objects-normal/arm64/selfish-primary-emit-module.d -o /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/Selfish.build/Debug/selfish-p.build/Objects-normal/arm64/selfish.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/Selfish.build/Debug/selfish-p.build/Objects-normal/arm64/selfish.abi.json
error: Build failed
BUILD FAILURE 6.4 macosSpm