Build Information
Failed to build Selfish, reference master (8267a4
), with Swift 6.2 (beta) for macOS (SPM) on 18 Jun 2025 00:32:29 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: 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.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
[3/17] Write selfish-entitlement.plist
[5/17] Write swift-version-1EA4D86E10B52AF.txt
[6/21] Compiling Clang_C Clang_C.m
[7/21] Compiling SourceKit SourceKit.m
[8/21] Compiling reader.c
[9/21] Compiling api.c
[10/21] Compiling writer.c
[11/21] Compiling scanner.c
[12/21] Compiling emitter.c
[13/21] Compiling parser.c
[15/37] Compiling Yams Emitter.swift
[16/37] Compiling Yams Encoder.swift
[17/38] Compiling Yams Node.Scalar.swift
[18/38] Compiling Yams Node.Sequence.swift
[19/38] Compiling Yams YamlError.swift
[20/38] Compiling Yams Tag.swift
[21/38] Compiling Yams Mark.swift
[22/38] Compiling Yams Node.Mapping.swift
[23/38] Compiling Yams Node.swift
[24/38] Compiling Yams Parser.swift
[25/38] Compiling Yams Constructor.swift
[26/38] Compiling Yams Decoder.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] Emitting module SWXMLHash
[32/38] Compiling SWXMLHash XMLIndexer+XMLIndexerDeserializable.swift
[33/38] Compiling SWXMLHash shim.swift
[34/38] Compiling SWXMLHash SWXMLHash.swift
[35/38] Compiling Yams shim.swift
[36/82] Compiling SourceKittenFramework CursorInfo+Parsing.swift
[37/82] Compiling SourceKittenFramework Dictionary+Merge.swift
[38/82] Compiling SourceKittenFramework Documentation.swift
[39/82] Compiling SourceKittenFramework Exec.swift
[40/82] Compiling SourceKittenFramework File+Hashable.swift
[41/82] Compiling SourceKittenFramework SyntaxToken.swift
[42/82] Compiling SourceKittenFramework Text.swift
[43/82] Compiling SourceKittenFramework UID.swift
[44/82] Compiling SourceKittenFramework UIDRepresentable.swift
[45/86] Compiling SourceKittenFramework Version.swift
[46/86] Compiling SourceKittenFramework Xcode.swift
[47/86] Compiling SourceKittenFramework XcodeBuildSetting.swift
[48/86] Compiling SourceKittenFramework library_wrapper.swift
[49/86] Emitting module SourceKittenFramework
[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 Module.swift
[56/86] Compiling SourceKittenFramework ObjCDeclarationKind.swift
[57/86] Compiling SourceKittenFramework OffsetMap.swift
[58/86] Compiling SourceKittenFramework Parameter.swift
[59/86] Compiling SourceKittenFramework Request.swift
[60/86] Compiling SourceKittenFramework File.swift
[61/86] Compiling SourceKittenFramework JSONOutput.swift
[62/86] Compiling SourceKittenFramework Language.swift
[63/86] Compiling SourceKittenFramework Line.swift
[64/86] Compiling SourceKittenFramework LinuxCompatibility.swift
[65/86] Compiling SourceKittenFramework StringView+SourceKitten.swift
[66/86] Compiling SourceKittenFramework StringView.swift
[67/86] Compiling SourceKittenFramework Structure.swift
[68/86] Compiling SourceKittenFramework SwiftDeclarationAttributeKind.swift
[69/86] Compiling SourceKittenFramework SwiftDeclarationKind.swift
[70/86] Compiling SourceKittenFramework SwiftDocKey.swift
[71/86] Compiling SourceKittenFramework SwiftDocs.swift
[72/86] Compiling SourceKittenFramework SwiftVersion.swift
[73/86] Compiling SourceKittenFramework SyntaxKind.swift
[74/86] Compiling SourceKittenFramework SyntaxMap.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/10859] Fetching yams
[2/27003] Fetching yams, sourcekitten
Fetched https://github.com/jpsim/Yams.git from cache (2.11s)
Fetched https://github.com/jpsim/SourceKitten.git from cache (2.11s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 2.0.0 (4.01s)
Computing version for https://github.com/jpsim/SourceKitten.git
Computed https://github.com/jpsim/SourceKitten.git at 0.29.0 (0.50s)
Fetching https://github.com/Carthage/Commandant.git
Fetching https://github.com/drmohundro/SWXMLHash.git
[1/2329] Fetching commandant
[165/5149] Fetching commandant, swxmlhash
Fetched https://github.com/drmohundro/SWXMLHash.git from cache (0.96s)
Fetched https://github.com/Carthage/Commandant.git from cache (0.96s)
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/14759] Fetching quick
[2215/34343] Fetching quick, nimble
Fetched https://github.com/Quick/Quick.git from cache (1.29s)
[588/19584] Fetching nimble
Fetched https://github.com/Quick/Nimble.git from cache (1.89s)
Computing version for https://github.com/drmohundro/SWXMLHash.git
Computed https://github.com/drmohundro/SWXMLHash.git at 5.0.2 (2.44s)
Computing version for https://github.com/Quick/Quick.git
Computed https://github.com/Quick/Quick.git at 2.2.1 (0.54s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 8.1.2 (0.52s)
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/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/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/SourceKitten.git
Working copy of https://github.com/jpsim/SourceKitten.git resolved at 0.29.0
Creating working copy for https://github.com/Carthage/Commandant.git
Working copy of https://github.com/Carthage/Commandant.git resolved at 0.17.0
BUILD FAILURE 6.2 macosSpm