Build Information
Failed to build Periphery, reference master (9cb8fb), with Swift 6.0 for Linux on 26 Apr 2026 21:15:06 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-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: master
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
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
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 master
========================================
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-4606859-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.25s)
Fetching https://github.com/ileitch/swift-filename-matcher
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/jpsim/Yams
Fetching https://github.com/apple/swift-system
Fetching https://github.com/tadija/AEXML
[1/2155] Fetching aexml
[131/2218] Fetching aexml, swift-filename-matcher
[905/19682] Fetching aexml, swift-filename-matcher, swift-argument-parser
Fetching https://github.com/apple/swift-syntax
Fetched https://github.com/ileitch/swift-filename-matcher from cache (0.49s)
[1576/19619] Fetching aexml, swift-argument-parser
[2331/31170] Fetching aexml, swift-argument-parser, yams
[2332/36771] Fetching aexml, swift-argument-parser, yams, swift-system
Fetched https://github.com/tadija/AEXML from cache (0.69s)
[4586/34616] Fetching swift-argument-parser, yams, swift-system
[29304/109655] Fetching swift-argument-parser, yams, swift-system, swift-syntax
Fetched https://github.com/apple/swift-argument-parser from cache (2.33s)
[24483/92191] Fetching yams, swift-system, swift-syntax
Fetched https://github.com/apple/swift-system from cache (3.54s)
[43068/86590] Fetching yams, swift-syntax
Fetched https://github.com/jpsim/Yams from cache (3.62s)
[33018/75039] Fetching swift-syntax
Fetched https://github.com/apple/swift-syntax from cache (11.08s)
Computing version for https://github.com/ileitch/swift-filename-matcher
Computed https://github.com/ileitch/swift-filename-matcher at 2.0.1 (0.75s)
Computing version for https://github.com/apple/swift-syntax
Computed https://github.com/apple/swift-syntax at 603.0.1 (1.03s)
Computing version for https://github.com/jpsim/Yams
Computed https://github.com/jpsim/Yams at 6.2.1 (0.72s)
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.92s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.7.1 (1.03s)
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/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.6.4
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-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.7.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/ileitch/swift-index-store
Working copy of https://github.com/ileitch/swift-index-store resolved at ed1f232d33b8e03956af0f4206fbd30171a43138
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
[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 reader.c
[27/65] Write sources
[31/65] Compiling CIndexStore dummy.c
[32/65] Compiling parser.c
[33/65] Compiling CSystem shims.c
[34/65] Compiling api.c
[35/65] Compiling emitter.c
[36/65] Compiling scanner.c
[37/65] Write swift-version-24593BA9C3E375BF.txt
[39/128] Emitting module SwiftSyntax600
[40/128] Emitting module SwiftSyntax602
[41/128] Compiling SwiftSyntax600 Empty.swift
[42/128] Compiling Yams Tag.swift
[43/128] Compiling Yams YamlAnchorProviding.swift
[44/131] Compiling SwiftSyntax509 Empty.swift
[45/131] Emitting module SwiftSyntax509
[46/131] Compiling Yams Node.Scalar.swift
[47/131] Compiling Yams Node.Sequence.swift
[48/131] Compiling Yams Node.swift
[50/135] Emitting module SwiftSyntax510
[51/135] Compiling SwiftSyntax510 Empty.swift
[52/136] Compiling Yams Encoder.swift
[53/136] Compiling Yams Mark.swift
[54/136] Compiling Yams Node.Alias.swift
[55/136] Compiling Yams Node.Mapping.swift
[56/136] Emitting module SwiftSyntax601
[57/136] Compiling SwiftSyntax601 Empty.swift
[58/137] Compiling SwiftSyntax603 Empty.swift
[59/137] Emitting module SwiftSyntax603
[60/139] Compiling SwiftSyntax602 Empty.swift
[63/140] Compiling Yams AliasDereferencingStrategy.swift
[64/140] Compiling Yams Anchor.swift
[65/140] Compiling Yams Constructor.swift
[66/140] Compiling Yams Decoder.swift
[67/140] Compiling Yams Emitter.swift
[68/140] Compiling Yams Parser.swift
[69/140] Compiling Yams RedundancyAliasingStrategy.swift
[70/140] Compiling Yams Representer.swift
[71/140] Compiling Yams Resolver.swift
[72/140] Compiling Yams String+Yams.swift
[73/140] Emitting module SystemPackage
[77/140] Wrapping AST for SwiftSyntax603 for debugging
[79/196] Emitting module ArgumentParserToolInfo
[80/223] Compiling SwiftSyntax Identifier.swift
[81/223] Compiling SwiftSyntax MemoryLayout.swift
[82/223] Compiling SwiftSyntax MissingNodeInitializers.swift
[83/223] Compiling SwiftSyntax RawSyntax.swift
[84/223] Compiling SwiftSyntax SourceEdit.swift
[85/223] Compiling SwiftSyntax ChildNameForKeyPath.swift
[86/223] Compiling SwiftSyntax Keyword.swift
[87/223] Compiling SwiftSyntax RenamedChildrenCompatibility.swift
[88/223] Compiling SwiftSyntax RawSyntaxArena.swift
[89/223] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[90/223] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[91/223] Compiling SwiftSyntax RawSyntaxTokenView.swift
[92/223] Emitting module Yams
[93/223] Compiling SwiftSyntax Assert.swift
[94/223] Compiling SwiftSyntax BumpPtrAllocator.swift
[97/223] Compiling SwiftSyntax CommonAncestor.swift
[98/223] Compiling SwiftSyntax Convenience.swift
[99/223] Compiling SwiftSyntax CustomTraits.swift
[100/223] Compiling SwiftSyntax AbsolutePosition.swift
[101/223] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[102/223] Compiling SwiftSyntax ArenaAllocatedBuffer.swift
[103/223] Compiling SwiftSyntax TokenSyntax.swift
[104/223] Compiling SwiftSyntax Trivia.swift
[105/223] Compiling SwiftSyntax Utils.swift
[106/223] Compiling SwiftSyntax RenamedNodesCompatibility.swift
[107/223] Compiling SwiftSyntax SyntaxAnyVisitor.swift
[108/223] Compiling SwiftSyntax SyntaxBaseNodes.swift
[109/223] Compiling SwiftSyntax SyntaxCollections.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/225] Wrapping AST for SwiftSyntax602 for debugging
[118/225] Wrapping AST for SystemPackage for debugging
[119/225] Wrapping AST for SwiftSyntax601 for debugging
[120/225] Wrapping AST for Yams for debugging
[121/225] Wrapping AST for SwiftSyntax600 for debugging
[123/225] Compiling ArgumentParserToolInfo ToolInfo.swift
[123/226] Wrapping AST for SwiftSyntax510 for debugging
[124/226] Wrapping AST for SwiftSyntax509 for debugging
[126/226] Wrapping AST for ArgumentParserToolInfo for debugging
[128/272] Compiling FilenameMatcher FilenameMatcherOptions.swift
[129/272] Emitting module Logger
[130/272] Compiling IndexStore String+IndexStore.swift
[131/272] Compiling IndexStore StandardStream.swift
[132/272] Compiling IndexStore IndexStoreError.swift
[133/272] Compiling AEXML Builders.swift
[134/272] Emitting module AEXML
[135/272] Compiling AEXML Document.swift
[136/272] Compiling AEXML Error.swift
[137/272] Compiling AEXML Options.swift
[138/272] Compiling AEXML Parser.swift
[139/272] Compiling Logger Logger.swift
[141/273] Compiling AEXML Element.swift
[142/274] Wrapping AST for Logger for debugging
[144/274] Compiling IndexStore Constants.swift
[145/274] Compiling IndexStore IndexStore.swift
[146/274] Emitting module IndexStore
[147/275] Compiling ArgumentParser Foundation.swift
[148/275] Compiling ArgumentParser Mutex.swift
[149/275] Compiling ArgumentParser Platform.swift
[150/275] Compiling ArgumentParser SequenceExtensions.swift
[151/275] Compiling ArgumentParser StringExtensions.swift
[152/275] Compiling ArgumentParser SwiftExtensions.swift
[152/275] Wrapping AST for AEXML for debugging
[154/281] Emitting module FilenameMatcher
[155/281] Compiling FilenameMatcher FilenameMatcher.swift
[158/282] Emitting module ArgumentParser
[158/282] Wrapping AST for IndexStore for debugging
[159/282] Wrapping AST for FilenameMatcher for debugging
[161/282] Compiling ArgumentParser ParentCommand.swift
[162/282] Compiling ArgumentParser AsyncParsableCommand.swift
[163/282] Compiling ArgumentParser CommandConfiguration.swift
[164/282] Compiling ArgumentParser CommandGroup.swift
[165/282] Compiling ArgumentParser EnumerableFlag.swift
[166/282] Compiling ArgumentParser ExpressibleByArgument.swift
[167/282] Compiling ArgumentParser ParsableArguments.swift
[168/291] Compiling Extensions Sequence+Extension.swift
[169/292] Compiling Extensions FilenameMatcher+Extension.swift
[170/292] Compiling Extensions FilePath+Extension.swift
[171/292] Compiling Extensions FilePath+Glob.swift
[172/292] Compiling Extensions Array+Extension.swift
[173/292] Compiling Extensions Collection+Extension.swift
[174/292] Compiling Extensions Set+Extension.swift
[175/292] Compiling Extensions String+Extension.swift
[176/292] Compiling Extensions String+Version.swift
[177/292] Emitting module Extensions
[179/293] Compiling ArgumentParser Tree.swift
[180/293] Compiling ArgumentParser CodingKeyValidator.swift
[181/293] Compiling ArgumentParser NonsenseFlagsValidator.swift
[182/293] Compiling ArgumentParser ParsableArgumentsValidation.swift
[183/293] Compiling ArgumentParser PositionalArgumentsValidator.swift
[184/293] Compiling ArgumentParser UniqueNamesValidator.swift
[184/293] Wrapping AST for Extensions for debugging
[186/303] Compiling ArgumentParser DumpHelpGenerator.swift
[187/303] Compiling ArgumentParser HelpCommand.swift
[188/303] Compiling ArgumentParser HelpGenerator.swift
[189/303] Compiling ArgumentParser MessageInfo.swift
[190/303] Compiling ArgumentParser UsageGenerator.swift
[191/303] Compiling ArgumentParser CollectionExtensions.swift
[192/303] Compiling Shared ProjectKind.swift
[193/304] Compiling Shared PropertyTypeSanitizer.swift
[194/304] Compiling Shared SetupGuide.swift
[195/304] Compiling Shared SwiftVersion.swift
[196/304] Compiling Shared Benchmark.swift
[197/304] Compiling Shared Constants.swift
[198/304] Compiling Shared JobPool.swift
[199/304] Compiling Shared PeripheryError.swift
[200/304] Compiling ArgumentParser Argument.swift
[201/304] Compiling ArgumentParser ArgumentDiscussion.swift
[202/304] Compiling ArgumentParser ArgumentHelp.swift
[203/304] 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
[204/304] Compiling ArgumentParser ArgumentVisibility.swift
[205/304] Compiling ArgumentParser CompletionKind.swift
[206/304] Compiling ArgumentParser Errors.swift
[207/304] Compiling ArgumentParser Flag.swift
[208/304] Compiling ArgumentParser NameSpecification.swift
[209/304] Compiling ArgumentParser Option.swift
[210/304] Compiling ArgumentParser OptionGroup.swift
[211/304] Compiling Shared SwiftVersionParser.swift
[212/304] Compiling ArgumentParser ParsableCommand.swift
[213/304] Compiling ArgumentParser ArgumentDecoder.swift
[214/304] Compiling ArgumentParser ArgumentDefinition.swift
[215/304] Compiling ArgumentParser ArgumentSet.swift
[216/304] Compiling ArgumentParser CommandParser.swift
[217/304] Compiling ArgumentParser InputKey.swift
[218/304] Compiling ArgumentParser InputOrigin.swift
[219/304] Compiling ArgumentParser Name.swift
[220/304] Compiling ArgumentParser Parsed.swift
[221/304] Compiling ArgumentParser ParsedValues.swift
[222/304] Compiling ArgumentParser ParserError.swift
[223/304] Compiling ArgumentParser SplitArguments.swift
[224/305] Wrapping AST for ArgumentParser for debugging
/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 |
[230/305] 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 = ""
BUILD FAILURE 6.0 linux