Build Information
Failed to build Periphery, reference 3.7.4 (9cb8fb), with Swift 6.0 for Linux on 26 Apr 2026 11:18:50 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build 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 /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
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: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/peripheryapp/periphery.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.0-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:6ccbc5e7995f6c524368c1828f9c677d1727c16390a603fc668217aec5f5123a
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.0-latest
Fetching https://github.com/ileitch/swift-index-store
[1/602] Fetching swift-index-store
Fetched https://github.com/ileitch/swift-index-store from cache (0.24s)
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/apple/swift-system
Fetching https://github.com/apple/swift-syntax
Fetching https://github.com/tadija/AEXML
Fetching https://github.com/ileitch/swift-filename-matcher
Fetching https://github.com/jpsim/Yams
[1/63] Fetching swift-filename-matcher
[64/5664] Fetching swift-filename-matcher, swift-system
[3425/23128] Fetching swift-filename-matcher, swift-system, swift-argument-parser
[5056/34679] Fetching swift-filename-matcher, swift-system, swift-argument-parser, yams
[6190/36834] Fetching swift-filename-matcher, swift-system, swift-argument-parser, yams, aexml
[7333/111873] Fetching swift-filename-matcher, swift-system, swift-argument-parser, yams, aexml, swift-syntax
Fetched https://github.com/tadija/AEXML from cache (0.90s)
[15005/109718] Fetching swift-filename-matcher, swift-system, swift-argument-parser, yams, swift-syntax
Fetched https://github.com/ileitch/swift-filename-matcher from cache (3.63s)
[89395/109655] Fetching swift-system, swift-argument-parser, yams, swift-syntax
Fetched https://github.com/jpsim/Yams from cache (3.75s)
[82346/98104] Fetching swift-system, swift-argument-parser, swift-syntax
Fetched https://github.com/apple/swift-system from cache (9.84s)
Fetched https://github.com/apple/swift-argument-parser from cache (9.85s)
Fetched https://github.com/apple/swift-syntax from cache (9.89s)
Computing version for https://github.com/ileitch/swift-filename-matcher
Computed https://github.com/ileitch/swift-filename-matcher at 2.0.1 (0.83s)
Computing version for https://github.com/apple/swift-syntax
Computed https://github.com/apple/swift-syntax at 603.0.1 (1.00s)
Computing version for https://github.com/jpsim/Yams
Computed https://github.com/jpsim/Yams at 6.2.1 (0.90s)
Computing version for https://github.com/tadija/AEXML
Computed https://github.com/tadija/AEXML at 4.7.0 (0.84s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.6.4 (0.82s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.7.1 (0.72s)
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/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/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/apple/swift-syntax
Working copy of https://github.com/apple/swift-syntax resolved at 603.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/ileitch/swift-index-store
Working copy of https://github.com/ileitch/swift-index-store resolved at ed1f232d33b8e03956af0f4206fbd30171a43138
Creating working copy for https://github.com/jpsim/Yams
Working copy of https://github.com/jpsim/Yams resolved at 6.2.1
[1/1] Compiling plugin GenerateDoccReference
[2/2] Compiling plugin GenerateManual
Building for debugging...
[2/65] Write sources
[25/65] Compiling writer.c
[26/65] Compiling _SwiftSyntaxCShims PlatformMutex.c
[27/65] Compiling CIndexStore dummy.c
[28/65] Write sources
[31/65] Compiling reader.c
[32/65] Compiling CSystem shims.c
[33/65] Compiling parser.c
[34/65] Compiling emitter.c
[35/65] Compiling api.c
[36/65] Compiling scanner.c
[37/65] Write swift-version-24593BA9C3E375BF.txt
[39/128] Emitting module SwiftSyntax601
[40/128] Emitting module SwiftSyntax602
[41/128] Emitting module SwiftSyntax509
[42/128] Emitting module SwiftSyntax510
[43/128] Emitting module SystemPackage
[44/132] Emitting module Yams
[45/134] Emitting module SwiftSyntax603
[46/134] Compiling SystemPackage IORequest.swift
[47/134] Compiling SystemPackage Constants.swift
[48/134] Compiling SwiftSyntax603 Empty.swift
[49/135] Compiling SwiftSyntax509 Empty.swift
[50/136] Compiling SwiftSyntax601 Empty.swift
[51/136] Compiling SwiftSyntax510 Empty.swift
[52/136] Compiling SwiftSyntax600 Empty.swift
[53/136] Emitting module SwiftSyntax600
[54/139] Compiling SwiftSyntax602 Empty.swift
[55/140] Compiling SystemPackage SystemString.swift
[56/140] Compiling SystemPackage Util+StringArray.swift
[57/140] Compiling SystemPackage Util.swift
[58/140] Compiling SystemPackage UtilConsumers.swift
[61/140] Compiling SystemPackage FilePath.swift
[62/140] Compiling SystemPackage FilePathComponentView.swift
[63/140] Compiling SystemPackage FilePathComponents.swift
[64/140] Compiling SystemPackage FilePathParsing.swift
[65/140] Compiling SystemPackage FilePathString.swift
[66/140] Compiling SystemPackage Errno.swift
[67/140] Compiling SystemPackage ErrnoWindows.swift
[68/140] Compiling SystemPackage FileDescriptor.swift
[69/140] Compiling SystemPackage FileHelpers.swift
[70/140] Compiling SystemPackage FileOperations.swift
[74/140] Wrapping AST for SwiftSyntax603 for debugging
[76/160] Compiling SystemPackage FilePathWindows.swift
[77/160] Compiling SystemPackage FilePermissions.swift
[78/160] Compiling SystemPackage IOCompletion.swift
[80/160] Compiling SystemPackage FilePathSyntax.swift
[81/160] Compiling SystemPackage FilePathTemp.swift
[82/160] Compiling SystemPackage FilePathTempPosix.swift
[83/160] Compiling SystemPackage FilePathTempWindows.swift
[85/160] Compiling Yams YamlError.swift
[86/160] Compiling Yams YamlTagProviding.swift
[87/160] Compiling SystemPackage RawBuffer.swift
[88/160] Compiling SystemPackage IORing.swift
[89/160] Compiling SystemPackage RawIORequest.swift
[90/160] Compiling SystemPackage Backcompat.swift
[91/160] Compiling SystemPackage CInterop.swift
[92/160] Compiling SystemPackage Syscalls.swift
[93/160] Compiling SystemPackage WindowsSyscallAdapters.swift
[94/160] Compiling SystemPackage MachPort.swift
[95/160] Compiling SystemPackage PlatformString.swift
[97/224] Compiling SwiftSyntax AbsolutePosition.swift
[98/224] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[99/224] Compiling SwiftSyntax ArenaAllocatedBuffer.swift
[100/224] Compiling SwiftSyntax TokenSyntax.swift
[101/224] Compiling SwiftSyntax Trivia.swift
[101/224] Wrapping AST for SwiftSyntax602 for debugging
[103/224] Compiling SwiftSyntax MemoryLayout.swift
[104/224] Compiling SwiftSyntax MissingNodeInitializers.swift
[105/224] Compiling SwiftSyntax Assert.swift
[106/224] Compiling SwiftSyntax BumpPtrAllocator.swift
[107/224] Compiling SwiftSyntax CommonAncestor.swift
[108/224] Compiling SwiftSyntax Convenience.swift
[109/224] Compiling SwiftSyntax CustomTraits.swift
[110/224] Compiling SwiftSyntax EditorPlaceholder.swift
[111/224] Compiling SwiftSyntax SyntaxNodeStructure.swift
[112/224] Compiling SwiftSyntax SyntaxProtocol.swift
[113/224] Compiling SwiftSyntax SyntaxText.swift
[114/224] Compiling SwiftSyntax SyntaxTreeViewMode.swift
[115/224] Compiling SwiftSyntax TokenDiagnostic.swift
[116/224] Compiling SwiftSyntax TokenSequence.swift
[116/224] Wrapping AST for SystemPackage for debugging
[117/225] Wrapping AST for SwiftSyntax601 for debugging
[119/225] Wrapping AST for SwiftSyntax600 for debugging
[120/225] Wrapping AST for SwiftSyntax510 for debugging
[121/225] Wrapping AST for Yams for debugging
[122/225] Wrapping AST for SwiftSyntax509 for debugging
[124/225] Emitting module ArgumentParserToolInfo
[125/225] Compiling ArgumentParserToolInfo ToolInfo.swift
[126/226] Wrapping AST for ArgumentParserToolInfo for debugging
[128/226] Compiling AEXML Error.swift
[129/272] Compiling IndexStore String+IndexStore.swift
[130/272] Compiling IndexStore StandardStream.swift
[131/272] Compiling IndexStore IndexStoreError.swift
[132/272] Compiling AEXML Options.swift
[133/272] Compiling AEXML Parser.swift
[134/272] Emitting module Logger
[135/272] Compiling Logger Logger.swift
[136/273] Wrapping AST for Logger for debugging
[138/273] Compiling AEXML Document.swift
[139/273] Compiling AEXML Element.swift
[140/273] Compiling AEXML Builders.swift
[141/273] Emitting module AEXML
[143/274] Compiling FilenameMatcher FilenameMatcherOptions.swift
[144/274] Emitting module FilenameMatcher
[145/274] Compiling FilenameMatcher FilenameMatcher.swift
[145/275] Wrapping AST for AEXML for debugging
[147/275] Compiling IndexStore Constants.swift
[148/275] Emitting module IndexStore
[149/275] Compiling IndexStore IndexStore.swift
[151/276] Wrapping AST for FilenameMatcher for debugging
[152/276] Wrapping AST for IndexStore for debugging
[154/276] Compiling ArgumentParser Foundation.swift
[155/276] Compiling ArgumentParser Mutex.swift
[156/276] Compiling ArgumentParser Platform.swift
[157/276] Compiling ArgumentParser SequenceExtensions.swift
[158/276] Compiling ArgumentParser StringExtensions.swift
[159/276] Compiling ArgumentParser SwiftExtensions.swift
[160/291] Compiling Extensions Set+Extension.swift
[161/292] Emitting module ArgumentParser
[162/292] Compiling Extensions Sequence+Extension.swift
[163/292] Compiling Extensions Array+Extension.swift
[164/292] Compiling Extensions Collection+Extension.swift
[165/292] Compiling Extensions FilePath+Glob.swift
[166/292] Compiling Extensions FilePath+Extension.swift
[167/292] Compiling Extensions String+Version.swift
[168/292] Compiling Extensions FilenameMatcher+Extension.swift
[169/292] Compiling Extensions String+Extension.swift
[170/292] Emitting module Extensions
[172/293] Compiling ArgumentParser Tree.swift
[173/293] Compiling ArgumentParser CodingKeyValidator.swift
[174/293] Compiling ArgumentParser NonsenseFlagsValidator.swift
[175/293] Compiling ArgumentParser ParsableArgumentsValidation.swift
[176/293] Compiling ArgumentParser PositionalArgumentsValidator.swift
[177/293] Compiling ArgumentParser UniqueNamesValidator.swift
[177/293] Wrapping AST for Extensions for debugging
[179/303] Compiling Shared ProjectKind.swift
[180/304] Compiling Shared SwiftVersion.swift
[181/304] Compiling Shared PropertyTypeSanitizer.swift
[182/304] Compiling Shared SwiftVersionParser.swift
[183/304] Compiling Shared Benchmark.swift
[184/304] Compiling Shared Constants.swift
[185/304] Compiling Shared JobPool.swift
[186/304] Compiling Shared PeripheryError.swift
[187/304] Compiling ArgumentParser Argument.swift
[188/304] Compiling ArgumentParser ArgumentDiscussion.swift
[189/304] Compiling ArgumentParser ArgumentHelp.swift
[190/304] Compiling ArgumentParser ParsableCommand.swift
[191/304] Compiling ArgumentParser ArgumentDecoder.swift
[192/312] Compiling ArgumentParser InputOrigin.swift
[193/312] Compiling ArgumentParser Name.swift
[194/312] Compiling ArgumentParser Parsed.swift
[195/312] Compiling ArgumentParser ParsedValues.swift
[196/312] Compiling ArgumentParser ParserError.swift
[197/312] Compiling ArgumentParser SplitArguments.swift
[198/312] Compiling ArgumentParser DumpHelpGenerator.swift
[199/312] Compiling ArgumentParser HelpCommand.swift
[200/312] Compiling ArgumentParser HelpGenerator.swift
[201/312] Compiling ArgumentParser MessageInfo.swift
[202/312] Compiling ArgumentParser UsageGenerator.swift
[203/312] Compiling ArgumentParser CollectionExtensions.swift
[204/312] Compiling ArgumentParser ParentCommand.swift
[205/312] Compiling ArgumentParser AsyncParsableCommand.swift
[206/312] Compiling ArgumentParser CommandConfiguration.swift
[207/312] Compiling ArgumentParser CommandGroup.swift
[208/312] Compiling ArgumentParser EnumerableFlag.swift
[209/312] Compiling ArgumentParser ExpressibleByArgument.swift
[210/312] Compiling ArgumentParser ParsableArguments.swift
[220/312] Compiling ArgumentParser ArgumentDefinition.swift
[221/312] Compiling ArgumentParser ArgumentSet.swift
[222/312] Compiling ArgumentParser CommandParser.swift
[223/312] Compiling ArgumentParser InputKey.swift
[224/312] Compiling ArgumentParser ArgumentVisibility.swift
[225/312] Compiling ArgumentParser CompletionKind.swift
[226/312] Compiling ArgumentParser Errors.swift
[227/312] Compiling ArgumentParser Flag.swift
[228/312] Compiling ArgumentParser NameSpecification.swift
[229/312] Compiling ArgumentParser Option.swift
[230/312] Compiling ArgumentParser OptionGroup.swift
[231/313] Wrapping AST for ArgumentParser for debugging
[235/313] Emitting module Shared
/host/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 | }
/host/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
/host/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 |
/host/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 |
[238/313] Compiling Shared Shell.swift
/host/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 | }
/host/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
/host/spi-builder-workspace/Sources/Shared/Shell.swift:79:17: warning: 'launchPath' is deprecated: renamed to 'executableURL'
77 | ) throws -> (Int32, String, String) {
78 | let process = Process()
79 | process.launchPath = "/bin/bash"
| |- warning: 'launchPath' is deprecated: renamed to 'executableURL'
| `- note: use 'executableURL' instead
80 | process.arguments = ["-c", cmd.joined(separator: " ")]
81 |
/host/spi-builder-workspace/Sources/Shared/Shell.swift:95:17: warning: 'launch()' is deprecated: renamed to 'run'
93 | }
94 |
95 | process.launch()
| |- warning: 'launch()' is deprecated: renamed to 'run'
| `- note: use 'run' instead
96 |
97 | var standardOutput = ""
[239/313] Compiling Shared SetupGuide.swift
BUILD FAILURE 6.0 linux