Build Information
Failed to build Periphery, reference 3.7.4 (9cb8fb), with Swift 6.2 for Wasm on 26 Apr 2026 11:18:29 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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:wasm-6.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 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: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/peripheryapp/periphery.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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:wasm-6.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1
wasm-6.2-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:2a8b2d9e022a9894c61e0736af7cdaa1ee64c002dbb133a55c0d7e8980b3ad16
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.2-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/jpsim/Yams
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/ileitch/swift-filename-matcher
Fetching https://github.com/tadija/AEXML
Fetching https://github.com/apple/swift-syntax
[1/63] Fetching swift-filename-matcher
[64/17527] Fetching swift-filename-matcher, swift-argument-parser
[414/29078] Fetching swift-filename-matcher, swift-argument-parser, yams
[4541/31233] Fetching swift-filename-matcher, swift-argument-parser, yams, aexml
[6255/106272] Fetching swift-filename-matcher, swift-argument-parser, yams, aexml, swift-syntax
Fetched https://github.com/apple/swift-argument-parser from cache (1.19s)
[21618/88808] Fetching swift-filename-matcher, yams, aexml, swift-syntax
Fetching https://github.com/apple/swift-system
Fetched https://github.com/jpsim/Yams from cache (2.14s)
[54746/77257] Fetching swift-filename-matcher, aexml, swift-syntax
[64502/82858] Fetching swift-filename-matcher, aexml, swift-syntax, swift-system
Fetched https://github.com/apple/swift-system from cache (0.84s)
[72755/77257] Fetching swift-filename-matcher, aexml, swift-syntax
Fetched https://github.com/ileitch/swift-filename-matcher from cache (8.88s)
Fetched https://github.com/tadija/AEXML from cache (8.89s)
Fetched https://github.com/apple/swift-syntax from cache (8.95s)
Computing version for https://github.com/ileitch/swift-filename-matcher
Computed https://github.com/ileitch/swift-filename-matcher at 2.0.1 (9.56s)
Computing version for https://github.com/apple/swift-syntax
Computed https://github.com/apple/swift-syntax at 603.0.1 (1.10s)
Computing version for https://github.com/jpsim/Yams
Computed https://github.com/jpsim/Yams at 6.2.1 (0.41s)
Computing version for https://github.com/tadija/AEXML
Computed https://github.com/tadija/AEXML at 4.7.0 (1.99s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.6.4 (2.55s)
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/jpsim/Yams
Working copy of https://github.com/jpsim/Yams resolved at 6.2.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/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.6.4
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
Creating working copy for https://github.com/tadija/AEXML
Working copy of https://github.com/tadija/AEXML resolved at 4.7.0
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/65] Write sources
[25/65] Compiling writer.c
[26/65] Compiling _SwiftSyntaxCShims PlatformMutex.c
[27/65] Write swift-version-24593BA9C3E375BF.txt
[27/65] Write sources
[31/65] Compiling reader.c
[32/65] Compiling CSystem shims.c
[33/65] Compiling CIndexStore dummy.c
[34/65] Compiling parser.c
[35/67] Compiling api.c
[37/104] Emitting module SwiftSyntax603
[37/106] Compiling emitter.c
[39/106] Emitting module SwiftSyntax510
[40/108] Emitting module SwiftSyntax509
[40/108] Compiling scanner.c
error: emit-module command failed with exit code 1 (use -v to see invocation)
[42/110] Emitting module Logger
/host/spi-builder-workspace/Sources/Logger/Logger.swift:31:22: error: cannot find type 'DispatchQueue' in scope
29 |
30 | public struct Logger: Sendable {
31 | let outputQueue: DispatchQueue
| `- error: cannot find type 'DispatchQueue' in scope
32 | let quiet: Bool
33 | let verbose: Bool
/host/spi-builder-workspace/Sources/Logger/Logger.swift:118:59: error: cannot find type 'FILE' in scope
116 | // MARK: - Private
117 |
118 | func log(_ line: String, output: UnsafeMutablePointer<FILE>) {
| `- error: cannot find type 'FILE' in scope
119 | _ = outputQueue.sync { fputs(line + "\n", output) }
120 | }
[43/110] Compiling SwiftSyntax510 Empty.swift
[45/111] Compiling SwiftSyntax509 Empty.swift
[46/112] Compiling SwiftSyntax603 Empty.swift
[47/112] Compiling SwiftSyntax601 Empty.swift
[48/112] Emitting module SwiftSyntax601
[52/115] Compiling SwiftSyntax602 Empty.swift
[53/115] Compiling SystemPackage FilePath.swift
[54/115] Compiling SystemPackage FilePathComponentView.swift
[55/115] Compiling SystemPackage FilePathComponents.swift
[56/115] Compiling SystemPackage FilePathParsing.swift
[57/115] Compiling SystemPackage FilePathString.swift
[58/115] Emitting module SwiftSyntax602
[59/115] Emitting module SwiftSyntax600
[60/115] Compiling SwiftSyntax600 Empty.swift
[63/148] Emitting module SystemPackage
[64/148] Compiling Yams Encoder.swift
[65/148] Compiling Yams Node.Scalar.swift
[66/148] Compiling Yams Node.Sequence.swift
[67/148] Compiling Yams Node.swift
[68/148] Compiling Yams Mark.swift
[68/148] Wrapping AST for SwiftSyntax603 for debugging
[70/210] Compiling IndexStore IndexStoreError.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[71/221] Emitting module IndexStore
/host/spi-builder-workspace/.build/checkouts/swift-index-store/Sources/IndexStore/Constants.swift:75:10: error: type 'SymbolRoles' has no member 'childOf'
73 | public extension SymbolRoles {
74 | static let relationRoles: SymbolRoles = [
75 | .childOf,
| `- error: type 'SymbolRoles' has no member 'childOf'
76 | .baseOf,
77 | .overrideOf,
/host/spi-builder-workspace/.build/checkouts/swift-index-store/Sources/IndexStore/Constants.swift:76:10: error: type 'SymbolRoles' has no member 'baseOf'
74 | static let relationRoles: SymbolRoles = [
75 | .childOf,
76 | .baseOf,
| `- error: type 'SymbolRoles' has no member 'baseOf'
77 | .overrideOf,
78 | .receivedBy,
/host/spi-builder-workspace/.build/checkouts/swift-index-store/Sources/IndexStore/Constants.swift:77:10: error: type 'SymbolRoles' has no member 'overrideOf'
75 | .childOf,
76 | .baseOf,
77 | .overrideOf,
| `- error: type 'SymbolRoles' has no member 'overrideOf'
78 | .receivedBy,
79 | .calledBy,
/host/spi-builder-workspace/.build/checkouts/swift-index-store/Sources/IndexStore/Constants.swift:78:10: error: type 'SymbolRoles' has no member 'receivedBy'
76 | .baseOf,
77 | .overrideOf,
78 | .receivedBy,
| `- error: type 'SymbolRoles' has no member 'receivedBy'
79 | .calledBy,
80 | .extendedBy,
/host/spi-builder-workspace/.build/checkouts/swift-index-store/Sources/IndexStore/Constants.swift:79:10: error: type 'SymbolRoles' has no member 'calledBy'
77 | .overrideOf,
78 | .receivedBy,
79 | .calledBy,
| `- error: type 'SymbolRoles' has no member 'calledBy'
80 | .extendedBy,
81 | .accessorOf,
/host/spi-builder-workspace/.build/checkouts/swift-index-store/Sources/IndexStore/Constants.swift:80:10: error: type 'SymbolRoles' has no member 'extendedBy'
78 | .receivedBy,
79 | .calledBy,
80 | .extendedBy,
| `- error: type 'SymbolRoles' has no member 'extendedBy'
81 | .accessorOf,
82 | .containedBy,
/host/spi-builder-workspace/.build/checkouts/swift-index-store/Sources/IndexStore/Constants.swift:81:10: error: type 'SymbolRoles' has no member 'accessorOf'
79 | .calledBy,
80 | .extendedBy,
81 | .accessorOf,
| `- error: type 'SymbolRoles' has no member 'accessorOf'
82 | .containedBy,
83 | .IBTypeOf,
/host/spi-builder-workspace/.build/checkouts/swift-index-store/Sources/IndexStore/Constants.swift:82:10: error: type 'SymbolRoles' has no member 'containedBy'
80 | .extendedBy,
81 | .accessorOf,
82 | .containedBy,
| `- error: type 'SymbolRoles' has no member 'containedBy'
83 | .IBTypeOf,
84 | .specializationOf,
/host/spi-builder-workspace/.build/checkouts/swift-index-store/Sources/IndexStore/Constants.swift:83:10: error: type 'SymbolRoles' has no member 'IBTypeOf'
81 | .accessorOf,
82 | .containedBy,
83 | .IBTypeOf,
| `- error: type 'SymbolRoles' has no member 'IBTypeOf'
84 | .specializationOf,
85 | ]
/host/spi-builder-workspace/.build/checkouts/swift-index-store/Sources/IndexStore/Constants.swift:84:10: error: type 'SymbolRoles' has no member 'specializationOf'
82 | .containedBy,
83 | .IBTypeOf,
84 | .specializationOf,
| `- error: type 'SymbolRoles' has no member 'specializationOf'
85 | ]
86 | }
/host/spi-builder-workspace/.build/checkouts/swift-index-store/Sources/IndexStore/IndexStore.swift:342:45: error: missing argument label 'rawValue:' in call
340 | let (this, callback) = context!.assumingMemoryBound(to: Context.self).pointee
341 | let symbol = Symbol(this.recordReader, indexstore_symbol_relation_get_symbol(relation))
342 | let roles = SymbolRoles(indexstore_symbol_relation_get_roles(relation))
| `- error: missing argument label 'rawValue:' in call
343 | callback(symbol, roles)
344 | return true
/host/spi-builder-workspace/.build/checkouts/swift-index-store/Sources/IndexStore/StandardStream.swift:9:46: error: cannot find type 'FILE' in scope
7 |
8 | struct StandardStream: TextOutputStream {
9 | private let stream: UnsafeMutablePointer<FILE>
| `- error: cannot find type 'FILE' in scope
10 |
11 | fileprivate init(_ stream: UnsafeMutablePointer<FILE>) {
/host/spi-builder-workspace/.build/checkouts/swift-index-store/Sources/IndexStore/StandardStream.swift:11:53: error: cannot find type 'FILE' in scope
9 | private let stream: UnsafeMutablePointer<FILE>
10 |
11 | fileprivate init(_ stream: UnsafeMutablePointer<FILE>) {
| `- error: cannot find type 'FILE' in scope
12 | self.stream = stream
13 | }
[72/221] Compiling FilenameMatcher FilenameMatcherOptions.swift
[73/221] Compiling SwiftSyntax MemoryLayout.swift
[74/221] Compiling SwiftSyntax MissingNodeInitializers.swift
[75/221] Compiling SwiftSyntax RawSyntax.swift
[76/221] Compiling SwiftSyntax RawSyntaxArena.swift
[77/221] Compiling SwiftSyntax SyntaxNodeStructure.swift
[78/221] Compiling SwiftSyntax SyntaxProtocol.swift
[79/221] Compiling SwiftSyntax SyntaxText.swift
[80/221] Compiling SwiftSyntax SyntaxTreeViewMode.swift
[81/221] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[82/221] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[83/221] Compiling SwiftSyntax RawSyntaxTokenView.swift
[84/221] Compiling SwiftSyntax SourceEdit.swift
[85/221] Compiling SwiftSyntax TokenDiagnostic.swift
[86/221] Compiling SwiftSyntax TokenSequence.swift
[87/221] Compiling SwiftSyntax TokenSyntax.swift
[88/221] Compiling SwiftSyntax Trivia.swift
[89/221] Compiling SwiftSyntax Utils.swift
[90/221] Compiling SwiftSyntax SourceLength.swift
[91/221] Compiling SwiftSyntax SourceLocation.swift
[92/221] Compiling SwiftSyntax SourcePresence.swift
[93/221] Compiling Logger Logger.swift
/host/spi-builder-workspace/Sources/Logger/Logger.swift:31:22: error: cannot find type 'DispatchQueue' in scope
29 |
30 | public struct Logger: Sendable {
31 | let outputQueue: DispatchQueue
| `- error: cannot find type 'DispatchQueue' in scope
32 | let quiet: Bool
33 | let verbose: Bool
/host/spi-builder-workspace/Sources/Logger/Logger.swift:118:59: error: cannot find type 'FILE' in scope
116 | // MARK: - Private
117 |
118 | func log(_ line: String, output: UnsafeMutablePointer<FILE>) {
| `- error: cannot find type 'FILE' in scope
119 | _ = outputQueue.sync { fputs(line + "\n", output) }
120 | }
/host/spi-builder-workspace/Sources/Logger/Logger.swift:59:23: error: cannot find 'DispatchQueue' in scope
57 | self.verbose = verbose
58 | self.colorMode = colorMode
59 | outputQueue = DispatchQueue(label: "Logger.outputQueue")
| `- error: cannot find 'DispatchQueue' in scope
60 | }
61 |
BUILD FAILURE 6.2 wasm