The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build Selfish, reference 0.0.12 (8267a4), with Swift 6.2 (beta) for macOS (SPM) on 18 Jun 2025 00:32:06 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.64.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.2
Building package at path:  $PWD
https://github.com/jpsim/selfish.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/17] Write sources
[0/17] Write selfish-entitlement.plist
[0/17] Write sources
[5/17] Write swift-version-1EA4D86E10B52AF.txt
[6/21] Compiling Clang_C Clang_C.m
[6/21] Compiling SourceKit SourceKit.m
[8/21] Compiling reader.c
[9/21] Compiling parser.c
[10/21] Compiling writer.c
[11/21] Compiling emitter.c
[12/21] Compiling api.c
[13/21] Compiling scanner.c
[15/37] Compiling SWXMLHash shim.swift
[16/37] Compiling Yams YamlError.swift
[17/38] Compiling Yams Node.Scalar.swift
[18/38] Compiling Yams Node.Sequence.swift
[19/38] Compiling Yams Mark.swift
[20/38] Compiling Yams Node.Mapping.swift
[21/38] Compiling Yams shim.swift
[22/38] Compiling Yams Emitter.swift
[23/38] Compiling Yams Encoder.swift
[24/38] Compiling Yams Node.swift
[25/38] Compiling Yams Parser.swift
[26/38] Compiling Yams Tag.swift
[27/38] Compiling Yams Representer.swift
[28/38] Compiling Yams Resolver.swift
[29/38] Compiling Yams String+Yams.swift
[30/38] Emitting module Yams
[31/38] Compiling Yams Constructor.swift
[32/38] Compiling Yams Decoder.swift
[33/38] Compiling SWXMLHash XMLIndexer+XMLIndexerDeserializable.swift
[34/38] Compiling SWXMLHash SWXMLHash.swift
[35/38] Emitting module SWXMLHash
[36/82] Compiling SourceKittenFramework SyntaxToken.swift
[37/82] Compiling SourceKittenFramework Text.swift
[38/82] Compiling SourceKittenFramework UID.swift
[39/82] Compiling SourceKittenFramework UIDRepresentable.swift
[40/86] Compiling SourceKittenFramework CursorInfo+Parsing.swift
[41/86] Compiling SourceKittenFramework Dictionary+Merge.swift
[42/86] Compiling SourceKittenFramework Documentation.swift
[43/86] Compiling SourceKittenFramework Exec.swift
[44/86] Compiling SourceKittenFramework File+Hashable.swift
[45/86] Emitting module SourceKittenFramework
[46/86] Compiling SourceKittenFramework Version.swift
[47/86] Compiling SourceKittenFramework Xcode.swift
[48/86] Compiling SourceKittenFramework XcodeBuildSetting.swift
[49/86] Compiling SourceKittenFramework library_wrapper.swift
[50/86] Compiling SourceKittenFramework ByteCount.swift
[51/86] Compiling SourceKittenFramework ByteRange.swift
[52/86] Compiling SourceKittenFramework Clang+SourceKitten.swift
[53/86] Compiling SourceKittenFramework ClangTranslationUnit.swift
[54/86] Compiling SourceKittenFramework CodeCompletionItem.swift
[55/86] Compiling SourceKittenFramework File.swift
[56/86] Compiling SourceKittenFramework JSONOutput.swift
[57/86] Compiling SourceKittenFramework Language.swift
[58/86] Compiling SourceKittenFramework Line.swift
[59/86] Compiling SourceKittenFramework LinuxCompatibility.swift
[60/86] Compiling SourceKittenFramework StringView+SourceKitten.swift
[61/86] Compiling SourceKittenFramework StringView.swift
[62/86] Compiling SourceKittenFramework Structure.swift
[63/86] Compiling SourceKittenFramework SwiftDeclarationAttributeKind.swift
[64/86] Compiling SourceKittenFramework SwiftDeclarationKind.swift
[65/86] Compiling SourceKittenFramework SwiftDocKey.swift
[66/86] Compiling SourceKittenFramework SwiftDocs.swift
[67/86] Compiling SourceKittenFramework SwiftVersion.swift
[68/86] Compiling SourceKittenFramework SyntaxKind.swift
[69/86] Compiling SourceKittenFramework SyntaxMap.swift
[70/86] Compiling SourceKittenFramework Module.swift
[71/86] Compiling SourceKittenFramework ObjCDeclarationKind.swift
[72/86] Compiling SourceKittenFramework OffsetMap.swift
[73/86] Compiling SourceKittenFramework Parameter.swift
[74/86] Compiling SourceKittenFramework Request.swift
[75/86] Compiling SourceKittenFramework SourceDeclaration.swift
[76/86] Compiling SourceKittenFramework SourceKitObject.swift
[77/86] Compiling SourceKittenFramework SourceLocation.swift
[78/86] Compiling SourceKittenFramework StatementKind.swift
[79/86] Compiling SourceKittenFramework String+SourceKitten.swift
[80/86] Compiling SourceKittenFramework library_wrapper_CXString.swift
[81/86] Compiling SourceKittenFramework library_wrapper_Documentation.swift
[82/86] Compiling SourceKittenFramework library_wrapper_Index.swift
[83/86] Compiling SourceKittenFramework library_wrapper_sourcekitd.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[84/88] Emitting module selfish
/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.'")
[85/88] Compiling selfish 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: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 |         }
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/jpsim/SourceKitten.git
[1/16144] Fetching sourcekitten
[163/27003] Fetching sourcekitten, yams
Fetched https://github.com/jpsim/Yams.git from cache (1.95s)
Fetched https://github.com/jpsim/SourceKitten.git from cache (1.95s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 2.0.0 (3.84s)
Computing version for https://github.com/jpsim/SourceKitten.git
Computed https://github.com/jpsim/SourceKitten.git at 0.29.0 (0.48s)
Fetching https://github.com/drmohundro/SWXMLHash.git
Fetching https://github.com/Carthage/Commandant.git
[1/2329] Fetching commandant
[956/5149] Fetching commandant, swxmlhash
Fetched https://github.com/drmohundro/SWXMLHash.git from cache (0.99s)
Fetched https://github.com/Carthage/Commandant.git from cache (0.99s)
Computing version for https://github.com/Carthage/Commandant.git
Computed https://github.com/Carthage/Commandant.git at 0.17.0 (1.49s)
Fetching https://github.com/Quick/Quick.git
Fetching https://github.com/Quick/Nimble.git
[1/19584] Fetching nimble
[2/34343] Fetching nimble, quick
Fetched https://github.com/Quick/Nimble.git from cache (1.65s)
Fetched https://github.com/Quick/Quick.git from cache (1.65s)
Computing version for https://github.com/drmohundro/SWXMLHash.git
Computed https://github.com/drmohundro/SWXMLHash.git at 5.0.2 (2.15s)
Computing version for https://github.com/Quick/Quick.git
Computed https://github.com/Quick/Quick.git at 2.2.1 (0.49s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 8.1.2 (0.49s)
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/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/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
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 2.0.0
BUILD FAILURE 6.2 macosSpm