Build Information
Failed to build swift-codeowners-plugin, reference main (aed7dc), with Swift 6.3 for Wasm on 25 Sep 2026 22:58:17 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344845-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3.2-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/gmazzo/swift-codeowners-plugin.git
Reference: main
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/gmazzo/swift-codeowners-plugin
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at aed7dc2 Bump github.com/swiftlang/swift-syntax from 603.0.2 to 604.0.0 (#91)
Cloned https://github.com/gmazzo/swift-codeowners-plugin.git
Revision (git rev-parse @):
aed7dc212b620148d4083a5496506a196de384bb
SUCCESS checkout https://github.com/gmazzo/swift-codeowners-plugin.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.3
Building package at path: $PWD
https://github.com/gmazzo/swift-codeowners-plugin.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344845-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3.2-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from saguaro1/spi-images
Digest: sha256:253aad7f5b11d25cf9eaef34120b94cd8a325782929c57fb304a7711494a3f9a
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.3-latest
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/swiftlang/swift-syntax
Fetching https://github.com/kylef/PathKit
Fetching https://github.com/mtj0928/swift-codeowners
[1/1460] Fetching pathkit
Fetched https://github.com/kylef/PathKit from cache (0.46s)
[1/98] Fetching swift-codeowners
[99/19043] Fetching swift-codeowners, swift-argument-parser
Fetched https://github.com/mtj0928/swift-codeowners from cache (0.77s)
Fetched https://github.com/apple/swift-argument-parser from cache (0.78s)
[1/80068] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax from cache (3.20s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 604.0.0 (4.18s)
Computing version for https://github.com/kylef/PathKit
Computed https://github.com/kylef/PathKit at 1.0.1 (0.87s)
Fetching https://github.com/kylef/Spectre.git
[1/1021] Fetching spectre
Fetched https://github.com/kylef/Spectre.git from cache (0.49s)
Computing version for https://github.com/mtj0928/swift-codeowners
Computed https://github.com/mtj0928/swift-codeowners at 0.1.2 (0.63s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (0.16s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.8.2 (0.15s)
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/kylef/PathKit
Working copy of https://github.com/kylef/PathKit resolved at 1.0.1
Creating working copy for https://github.com/mtj0928/swift-codeowners
Working copy of https://github.com/mtj0928/swift-codeowners resolved at 0.1.2
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 604.0.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.8.2
[1/1] Compiling plugin CodeOwnersMacroPlugin
[2/2] Compiling plugin CodeOwnersPlugin
[3/3] Compiling plugin GenerateManual
[4/4] Compiling plugin GenerateDoccReference
Building for debugging...
[4/91] Write sources
[32/91] Compiling _SwiftSyntaxCShims PlatformMutex.c
[33/91] Write sources
[34/91] Compiling _SwiftSyntaxCShims PlatformMutex.c
[35/91] Write sources
[49/91] Write swift-version-24593BA9C3E375BF.txt
[49/91] Write sources
[52/107] Emitting module SwiftSyntax600
[53/107] Compiling SwiftSyntax603 Empty.swift
[54/107] Emitting module SwiftSyntax603
[55/108] Emitting module SwiftSyntax604
[56/108] Compiling SwiftSyntax604 Empty.swift
[59/113] Compiling SwiftSyntax602 Empty.swift
[60/113] Emitting module SwiftSyntax602
[61/114] Emitting module SwiftSyntax601
[62/114] Compiling SwiftSyntax601 Empty.swift
[63/115] Emitting module SwiftSyntax603
[64/115] Compiling SwiftSyntax603 Empty.swift
[66/116] Compiling SwiftSyntax604 Empty.swift
[67/116] Emitting module SwiftSyntax604
[71/125] Emitting module SwiftSyntax600
[72/125] Compiling SwiftSyntax600 Empty.swift
[73/126] Compiling SwiftSyntax510 Empty.swift
[74/126] Emitting module SwiftSyntax510
[75/127] Compiling SwiftSyntax509 Empty.swift
[76/127] Emitting module SwiftSyntax509
[79/128] Compiling SwiftSyntax509 Empty.swift
[83/144] Emitting module SwiftSyntax602
[84/144] Compiling SwiftSyntax602 Empty.swift
[86/145] Emitting module SwiftSyntax510
[87/145] Compiling SwiftSyntax510 Empty.swift
[89/165] Compiling SwiftSyntax600 Empty.swift
[91/221] Emitting module SwiftSyntax601
[92/221] Compiling SwiftSyntax601 Empty.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[94/224] Emitting module CodeOwnersAPI
/host/spi-builder-workspace/Sources/CodeOwnersAPI/CodeOwnersAPI.swift:32:57: error: cannot find 'Thread' in scope
30 | @available(*, deprecated, message: "Call stacks are not fully supported on Linux")
31 | #endif
32 | public func codeOwnersFromCallStack(symbols: [String] = Thread.callStackSymbols, demangle: Bool = true) -> CodeOwners? {
| `- error: cannot find 'Thread' in scope
33 | for symbol in symbols {
34 | guard let className = classNameFromSymbol(symbol, demangle) else { continue }
[95/224] Compiling CodeOwners CodeOwners.swift
[96/224] Emitting module ArgumentParserToolInfo
[97/224] Compiling ArgumentParserToolInfo ToolInfo.swift
[98/225] Compiling CodeOwners Array+Utils.swift
[99/225] Compiling CodeOwners Token.swift
[100/225] Compiling CodeOwners String+Utils.swift
[102/225] Compiling ArgumentParserToolInfo ToolInfo.swift
[103/225] Emitting module ArgumentParserToolInfo
[105/240] Compiling CodeOwners Pattern.swift
[106/337] Compiling CodeOwners Array+Utils.swift
[107/337] Compiling CodeOwners CodeOwners.swift
[108/337] Compiling CodeOwners String+Utils.swift
[109/337] Compiling ArgumentParser ArgumentDiscussion.swift
[110/337] Compiling ArgumentParser ArgumentHelp.swift
[111/337] Compiling ArgumentParser Mutex.swift
[112/337] Compiling ArgumentParser Platform.swift
[113/337] Compiling ArgumentParser SequenceExtensions.swift
[114/337] Compiling ArgumentParser StringExtensions.swift
[115/337] Compiling ArgumentParser SwiftExtensions.swift
[116/337] Compiling ArgumentParser Tree.swift
[117/337] Compiling ArgumentParser ParentCommand.swift
[118/345] Compiling CodeOwners Pattern.swift
[119/345] Compiling CodeOwners Token.swift
[120/345] Emitting module ArgumentParser
[121/345] Compiling CodeOwnersAPI DemangleHelper.swift
/host/spi-builder-workspace/Sources/CodeOwnersAPI/DemangleHelper.swift:12:19: error: cannot find 'dlopen' in scope
10 |
11 | private func resolveDemangleProc() -> DemangleProc? {
12 | guard let lib = dlopen(nil, RTLD_NOW) else { return nil }
| `- error: cannot find 'dlopen' in scope
13 | guard let symbol = dlsym(lib, "swift_demangle") else { return nil }
14 | return unsafeBitCast(symbol, to: DemangleProc.self)
/host/spi-builder-workspace/Sources/CodeOwnersAPI/DemangleHelper.swift:12:31: error: cannot find 'RTLD_NOW' in scope
10 |
11 | private func resolveDemangleProc() -> DemangleProc? {
12 | guard let lib = dlopen(nil, RTLD_NOW) else { return nil }
| `- error: cannot find 'RTLD_NOW' in scope
13 | guard let symbol = dlsym(lib, "swift_demangle") else { return nil }
14 | return unsafeBitCast(symbol, to: DemangleProc.self)
/host/spi-builder-workspace/Sources/CodeOwnersAPI/DemangleHelper.swift:12:26: error: 'nil' requires a contextual type
10 |
11 | private func resolveDemangleProc() -> DemangleProc? {
12 | guard let lib = dlopen(nil, RTLD_NOW) else { return nil }
| `- error: 'nil' requires a contextual type
13 | guard let symbol = dlsym(lib, "swift_demangle") else { return nil }
14 | return unsafeBitCast(symbol, to: DemangleProc.self)
/host/spi-builder-workspace/Sources/CodeOwnersAPI/DemangleHelper.swift:13:22: error: cannot find 'dlsym' in scope
11 | private func resolveDemangleProc() -> DemangleProc? {
12 | guard let lib = dlopen(nil, RTLD_NOW) else { return nil }
13 | guard let symbol = dlsym(lib, "swift_demangle") else { return nil }
| `- error: cannot find 'dlsym' in scope
14 | return unsafeBitCast(symbol, to: DemangleProc.self)
15 | }
[122/351] Compiling CodeOwnersAPI CodeOwnersAPI.swift
/host/spi-builder-workspace/Sources/CodeOwnersAPI/CodeOwnersAPI.swift:32:57: error: cannot find 'Thread' in scope
30 | @available(*, deprecated, message: "Call stacks are not fully supported on Linux")
31 | #endif
32 | public func codeOwnersFromCallStack(symbols: [String] = Thread.callStackSymbols, demangle: Bool = true) -> CodeOwners? {
| `- error: cannot find 'Thread' in scope
33 | for symbol in symbols {
34 | guard let className = classNameFromSymbol(symbol, demangle) else { continue }
[123/351] Emitting module CodeOwners
[124/351] Compiling CodeOwners CodeOwner.swift
[125/351] Emitting module PathKit
BUILD FAILURE 6.3 wasm