Build Information
Failed to build Periphery, reference 3.7.4 (9cb8fb), with Swift 6.0 for macOS (SPM) on 26 Apr 2026 11:18:14 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/peripheryapp/periphery.git
Reference: 3.7.4
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/peripheryapp/periphery
* tag 3.7.4 -> FETCH_HEAD
HEAD is now at 9cb8fb5 Release 3.7.4
Cloned https://github.com/peripheryapp/periphery.git
Revision (git rev-parse @):
9cb8fb504a7ea0293c7bf978d7b0ea5629bc95fd
SUCCESS checkout https://github.com/peripheryapp/periphery.git at 3.7.4
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/peripheryapp/periphery.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64
[1/1] Compiling plugin GenerateDoccReference
[2/2] Compiling plugin GenerateManual
Building for debugging...
[2/45] Write sources
[4/45] Write periphery-entitlement.plist
[4/45] Write sources
[29/45] Write swift-version-5BDAB9E9C0126B9D.txt
[30/45] Write sources
[32/45] Compiling CSystem shims.c
[32/45] Compiling CIndexStore dummy.c
[34/51] Compiling reader.c
[35/51] Compiling writer.c
[36/51] Compiling api.c
[37/51] Compiling emitter.c
[39/83] Emitting module SwiftSyntax602
[40/83] Emitting module SwiftSyntax601
[41/83] Compiling SwiftSyntax601 Empty.swift
[42/83] Emitting module SwiftSyntax603
[43/83] Compiling SwiftSyntax603 Empty.swift
[44/83] Compiling SwiftSyntax602 Empty.swift
[45/85] Emitting module SwiftSyntax600
[46/85] Compiling SwiftSyntax600 Empty.swift
[46/85] Compiling parser.c
[48/85] Compiling SwiftSyntax509 Empty.swift
[49/85] Emitting module SwiftSyntax509
[50/85] Emitting module SwiftSyntax510
[51/85] Compiling SwiftSyntax510 Empty.swift
[51/85] Write sources
[52/85] Compiling scanner.c
[53/127] Compiling _SwiftSyntaxCShims PlatformMutex.c
[55/170] Emitting module ArgumentParserToolInfo
[56/174] Compiling ArgumentParserToolInfo ToolInfo.swift
[57/238] Compiling ArgumentParser ParentCommand.swift
[58/238] Compiling ArgumentParser AsyncParsableCommand.swift
[59/238] Compiling ArgumentParser CommandConfiguration.swift
[60/241] Compiling ArgumentParser ZshCompletionsGenerator.swift
[61/241] Compiling ArgumentParser Argument.swift
[62/241] Compiling ArgumentParser ArgumentDiscussion.swift
[63/241] Compiling ArgumentParser NameSpecification.swift
[64/241] Compiling ArgumentParser Option.swift
[65/241] Compiling ArgumentParser OptionGroup.swift
[66/241] Compiling ArgumentParser BashCompletionsGenerator.swift
[67/241] Compiling ArgumentParser CompletionsGenerator.swift
[68/241] Compiling ArgumentParser FishCompletionsGenerator.swift
[69/241] Compiling ArgumentParser ArgumentHelp.swift
[70/241] Compiling ArgumentParser ArgumentVisibility.swift
[71/241] Compiling ArgumentParser CompletionKind.swift
[72/241] Compiling ArgumentParser CommandGroup.swift
[73/241] Compiling ArgumentParser EnumerableFlag.swift
[74/241] Compiling ArgumentParser ExpressibleByArgument.swift
[75/241] Compiling ArgumentParser ArgumentDefinition.swift
[76/241] Compiling ArgumentParser ArgumentSet.swift
[77/241] Compiling ArgumentParser CommandParser.swift
[78/241] Compiling ArgumentParser ParsableArguments.swift
[79/241] Compiling ArgumentParser ParsableCommand.swift
[80/241] Compiling ArgumentParser ArgumentDecoder.swift
[81/241] Compiling ArgumentParser Errors.swift
[82/241] Compiling ArgumentParser Flag.swift
[83/241] Compiling ArgumentParser InputKey.swift
[84/241] Emitting module SystemPackage
[85/241] Compiling SystemPackage Util+StringArray.swift
[86/241] Compiling SystemPackage Util.swift
[87/241] Compiling SystemPackage UtilConsumers.swift
[95/248] Compiling FilenameMatcher FilenameMatcherOptions.swift
[96/248] Emitting module IndexStore
[97/248] Compiling ArgumentParser Platform.swift
[98/248] Compiling ArgumentParser SequenceExtensions.swift
[99/248] Compiling ArgumentParser StringExtensions.swift
[100/248] Compiling ArgumentParser SwiftExtensions.swift
[101/248] Compiling ArgumentParser Tree.swift
[102/253] Compiling SwiftSyntax SyntaxProtocol.swift
[103/253] Compiling SwiftSyntax SyntaxText.swift
[104/253] Compiling SwiftSyntax SyntaxTreeViewMode.swift
[105/253] Compiling SwiftSyntax TokenDiagnostic.swift
[106/253] Compiling SwiftSyntax TokenSequence.swift
[107/253] Compiling SwiftSyntax TokenSyntax.swift
[108/253] Compiling SwiftSyntax Trivia.swift
[111/253] Compiling ArgumentParser ParsedValues.swift
[112/253] Compiling ArgumentParser ParserError.swift
[113/253] Compiling ArgumentParser SplitArguments.swift
[114/253] Compiling ArgumentParser DumpHelpGenerator.swift
[115/253] Compiling ArgumentParser HelpCommand.swift
[133/255] Compiling ArgumentParser CodingKeyValidator.swift
[134/255] Compiling ArgumentParser NonsenseFlagsValidator.swift
[135/255] Compiling ArgumentParser ParsableArgumentsValidation.swift
[136/255] Compiling ArgumentParser PositionalArgumentsValidator.swift
[137/255] Compiling ArgumentParser UniqueNamesValidator.swift
[138/255] Emitting module FilenameMatcher
[139/255] Compiling FilenameMatcher FilenameMatcher.swift
[140/255] Emitting module ArgumentParser
[147/255] Compiling AEXML Element.swift
[148/255] Compiling AEXML Options.swift
[149/255] Compiling AEXML Document.swift
[150/255] Compiling AEXML Builders.swift
[151/255] Emitting module AEXML
[152/255] Compiling AEXML Error.swift
[153/255] Compiling AEXML Parser.swift
[154/265] Compiling IndexStore StandardStream.swift
[155/265] Compiling ArgumentParser MessageInfo.swift
[156/265] Compiling ArgumentParser UsageGenerator.swift
[157/265] Compiling ArgumentParser CollectionExtensions.swift
[158/265] Compiling ArgumentParser Foundation.swift
[159/265] Compiling ArgumentParser Mutex.swift
[164/265] Compiling ArgumentParser HelpGenerator.swift
[165/265] Compiling IndexStore String+IndexStore.swift
[166/265] Compiling IndexStore IndexStoreError.swift
[167/265] Compiling IndexStore Constants.swift
[168/265] Compiling IndexStore IndexStore.swift
[169/265] Emitting module Yams
[172/265] Compiling Yams YamlError.swift
[173/265] Compiling Yams YamlTagProviding.swift
[174/265] Compiling Extensions Sequence+Extension.swift
[175/265] Compiling Extensions String+Version.swift
[186/265] Compiling Extensions Set+Extension.swift
[187/265] Compiling Extensions FilePath+Extension.swift
[188/265] Compiling Extensions FilenameMatcher+Extension.swift
[189/265] Compiling Extensions String+Extension.swift
[190/265] Compiling Extensions Collection+Extension.swift
[191/265] Compiling Extensions FilePath+Glob.swift
[192/265] Compiling Extensions Array+Extension.swift
[193/265] Emitting module Extensions
[194/265] Compiling Logger Logger.swift
[195/265] Emitting module Logger
[196/265] Emitting module PathKit
[197/265] Compiling PathKit PathKit.swift
[213/371] Compiling Shared SwiftVersion.swift
[214/371] Compiling Shared ProjectKind.swift
[215/371] Compiling Shared PropertyTypeSanitizer.swift
[216/371] Compiling Shared PeripheryError.swift
[217/371] Compiling Shared SetupGuide.swift
[218/371] Compiling Shared Constants.swift
[219/371] Emitting module Shared
/Users/admin/builder/spi-builder-workspace/Sources/Shared/Shell.swift:35:17: warning: stored property 'signalSource' of 'Sendable'-conforming class 'ShellImpl' has non-sendable type 'any DispatchSourceSignal'; this is an error in the Swift 6 language mode
33 | private let logger: ContextualLogger
34 | private let store: ShellProcessStore
35 | private let signalSource: DispatchSourceSignal
| `- warning: stored property 'signalSource' of 'Sendable'-conforming class 'ShellImpl' has non-sendable type 'any DispatchSourceSignal'; this is an error in the Swift 6 language mode
36 |
37 | public required init(logger: Logger, sigintHandler: @escaping () -> Void = {}) {
Dispatch.DispatchSourceSignal:1:17: note: protocol 'DispatchSourceSignal' does not conform to the 'Sendable' protocol
1 | public protocol DispatchSourceSignal : DispatchSourceProtocol {
| `- note: protocol 'DispatchSourceSignal' does not conform to the 'Sendable' protocol
2 | }
/Users/admin/builder/spi-builder-workspace/Sources/Shared/Shell.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Dispatch'
1 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Dispatch'
2 | import Logger
3 | import Synchronization
[220/371] Compiling Shared Shell.swift
/Users/admin/builder/spi-builder-workspace/Sources/Shared/Shell.swift:35:17: warning: stored property 'signalSource' of 'Sendable'-conforming class 'ShellImpl' has non-sendable type 'any DispatchSourceSignal'; this is an error in the Swift 6 language mode
33 | private let logger: ContextualLogger
34 | private let store: ShellProcessStore
35 | private let signalSource: DispatchSourceSignal
| `- warning: stored property 'signalSource' of 'Sendable'-conforming class 'ShellImpl' has non-sendable type 'any DispatchSourceSignal'; this is an error in the Swift 6 language mode
36 |
37 | public required init(logger: Logger, sigintHandler: @escaping () -> Void = {}) {
Dispatch.DispatchSourceSignal:1:17: note: protocol 'DispatchSourceSignal' does not conform to the 'Sendable' protocol
1 | public protocol DispatchSourceSignal : DispatchSourceProtocol {
| `- note: protocol 'DispatchSourceSignal' does not conform to the 'Sendable' protocol
2 | }
/Users/admin/builder/spi-builder-workspace/Sources/Shared/Shell.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Dispatch'
1 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Dispatch'
2 | import Logger
3 | import Synchronization
[221/371] Compiling Shared Benchmark.swift
[222/371] Compiling Shared JobPool.swift
/Users/admin/builder/spi-builder-workspace/Sources/Shared/JobPool.swift:33:13: error: 'results' used after consume
31 | public func flatMap<Result>(_ block: @escaping (Job) throws -> [Result]) throws -> [Result] {
32 | var error: Error?
33 | let results = Mutex<[Result]>([])
| `- error: 'results' used after consume
34 |
35 | DispatchQueue.concurrentPerform(iterations: jobs.count) { idx in
| `- note: consumed here
36 | guard error == nil else { return }
37 |
:
49 | }
50 |
51 | return results.withLock { $0 }
| `- note: used here
52 | }
53 |
[223/372] Compiling Shared SwiftVersionParser.swift
Fetching https://github.com/ileitch/swift-index-store
[7/602] Fetching swift-index-store
Fetched https://github.com/ileitch/swift-index-store from cache (0.87s)
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/ileitch/swift-filename-matcher
Fetching https://github.com/apple/swift-system
Fetching https://github.com/tadija/AEXML
Fetching https://github.com/apple/swift-syntax
Fetching https://github.com/jpsim/Yams
Fetching https://github.com/tuist/xcodeproj
[1/63] Fetching swift-filename-matcher
[51/2218] Fetching swift-filename-matcher, aexml
Fetched https://github.com/ileitch/swift-filename-matcher from cache (0.76s)
[259/2155] Fetching aexml
[282/7756] Fetching aexml, swift-system
[873/19307] Fetching aexml, swift-system, yams
[2335/43832] Fetching aexml, swift-system, yams, xcodeproj
[3727/61296] Fetching aexml, swift-system, yams, xcodeproj, swift-argument-parser
[14865/136335] Fetching aexml, swift-system, yams, xcodeproj, swift-argument-parser, swift-syntax
Fetched https://github.com/apple/swift-argument-parser from cache (1.80s)
[38281/118871] Fetching aexml, swift-system, yams, xcodeproj, swift-syntax
Fetched https://github.com/jpsim/Yams from cache (11.48s)
Fetched https://github.com/apple/swift-system from cache (11.48s)
Fetched https://github.com/tadija/AEXML from cache (11.48s)
Fetched https://github.com/tuist/xcodeproj from cache (11.48s)
Fetched https://github.com/apple/swift-syntax from cache (11.48s)
Computing version for https://github.com/ileitch/swift-filename-matcher
Computed https://github.com/ileitch/swift-filename-matcher at 2.0.1 (0.57s)
Computing version for https://github.com/apple/swift-syntax
Computed https://github.com/apple/swift-syntax at 603.0.1 (0.66s)
Computing version for https://github.com/jpsim/Yams
Computed https://github.com/jpsim/Yams at 6.2.1 (0.47s)
Computing version for https://github.com/tadija/AEXML
Computed https://github.com/tadija/AEXML at 4.7.0 (0.47s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.6.4 (0.50s)
Computing version for https://github.com/tuist/xcodeproj
Computed https://github.com/tuist/xcodeproj at 9.11.0 (0.45s)
Fetching https://github.com/kylef/PathKit.git
[1/1452] Fetching pathkit
Fetched https://github.com/kylef/PathKit.git from cache (0.80s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 1.0.1 (2.47s)
Fetching https://github.com/kylef/Spectre.git
[1/1021] Fetching spectre
Fetched https://github.com/kylef/Spectre.git from cache (0.81s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (0.58s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.7.1 (0.50s)
Creating working copy for https://github.com/ileitch/swift-filename-matcher
Working copy of https://github.com/ileitch/swift-filename-matcher resolved at 2.0.1
Creating working copy for https://github.com/tadija/AEXML
Working copy of https://github.com/tadija/AEXML resolved at 4.7.0
Creating working copy for https://github.com/apple/swift-syntax
Working copy of https://github.com/apple/swift-syntax resolved at 603.0.1
Creating working copy for https://github.com/kylef/PathKit.git
Working copy of https://github.com/kylef/PathKit.git resolved at 1.0.1
Creating working copy for https://github.com/jpsim/Yams
Working copy of https://github.com/jpsim/Yams resolved at 6.2.1
Creating working copy for https://github.com/tuist/xcodeproj
Working copy of https://github.com/tuist/xcodeproj resolved at 9.11.0
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.6.4
Creating working copy for https://github.com/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.10.1
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.7.1
Creating working copy for https://github.com/ileitch/swift-index-store
Working copy of https://github.com/ileitch/swift-index-store resolved at ed1f232d33b8e03956af0f4206fbd30171a43138
BUILD FAILURE 6.0 macosSpm