Build Information
Failed to build swift-codeowners-plugin, reference v1.3.1 (dc835c), with Swift 6.2 for Wasm on 11 Jul 2026 22:10:08 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886770-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.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 0e64495ecc1688c3b3e031a5ef1348b5c05091ae
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/gmazzo/swift-codeowners-plugin.git
Reference: v1.3.1
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
* tag v1.3.1 -> FETCH_HEAD
HEAD is now at dc835c3 Iterated `RenameRule` literal expression (#87)
Cloned https://github.com/gmazzo/swift-codeowners-plugin.git
Revision (git rev-parse @):
dc835c3df58d9742056959eaa45df4d70f7ca6ba
SUCCESS checkout https://github.com/gmazzo/swift-codeowners-plugin.git at v1.3.1
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/gmazzo/swift-codeowners-plugin.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886770-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.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1
wasm-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:dc8dffc38f1d92eca7ee5312617822470123661393ed20672e77964f9dcaaffb
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest
Fetching https://github.com/swiftlang/swift-syntax
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/kylef/PathKit
Fetching https://github.com/mtj0928/swift-codeowners
[1/98] Fetching swift-codeowners
[99/1550] Fetching swift-codeowners, pathkit
Fetched https://github.com/mtj0928/swift-codeowners from cache (0.32s)
[247/1452] Fetching pathkit
[1453/19476] Fetching pathkit, swift-argument-parser
Fetched https://github.com/kylef/PathKit from cache (0.67s)
Fetched https://github.com/apple/swift-argument-parser from cache (0.67s)
[1/75917] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax from cache (2.58s)
Computing version for https://github.com/kylef/PathKit
Computed https://github.com/kylef/PathKit at 1.0.1 (3.45s)
Fetching https://github.com/kylef/Spectre.git
[1/1021] Fetching spectre
Fetched https://github.com/kylef/Spectre.git from cache (0.37s)
Computing version for https://github.com/mtj0928/swift-codeowners
Computed https://github.com/mtj0928/swift-codeowners at 0.1.2 (0.51s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (0.85s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 603.0.2 (0.26s)
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/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.8.2
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 603.0.2
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/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.10.1
[1/1] Compiling plugin CodeOwnersMacroPlugin
[2/2] Compiling plugin CodeOwnersPlugin
[3/3] Compiling plugin GenerateManual
[4/4] Compiling plugin GenerateDoccReference
Building for debugging...
[4/87] Write sources
[46/87] Compiling _SwiftSyntaxCShims PlatformMutex.c
[48/87] Write swift-version-24593BA9C3E375BF.txt
[50/103] Compiling SwiftSyntax603 Empty.swift
[51/103] Emitting module SwiftSyntax603
[52/104] Emitting module SwiftSyntax601
[53/104] Compiling SwiftSyntax601 Empty.swift
[55/105] Compiling SwiftSyntax600 Empty.swift
[56/105] Emitting module SwiftSyntax600
[58/106] Emitting module SwiftSyntax601
[59/106] Compiling SwiftSyntax601 Empty.swift
[62/111] Emitting module SwiftSyntax510
[63/111] Compiling SwiftSyntax510 Empty.swift
[64/114] Emitting module SwiftSyntax602
[65/114] Compiling SwiftSyntax602 Empty.swift
[66/115] Emitting module SwiftSyntax510
[67/115] Compiling SwiftSyntax510 Empty.swift
[71/118] Emitting module SwiftSyntax509
[72/118] Compiling SwiftSyntax509 Empty.swift
[74/119] Emitting module SwiftSyntax509
[77/143] Compiling SwiftSyntax600 Empty.swift
[78/143] Emitting module SwiftSyntax600
[80/144] Compiling SwiftSyntax602 Empty.swift
[81/144] Emitting module SwiftSyntax602
[83/149] Compiling SwiftSyntax603 Empty.swift
[84/149] Emitting module SwiftSyntax603
[86/159] Emitting module ArgumentParserToolInfo
[87/213] Compiling ArgumentParserToolInfo ToolInfo.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[88/214] 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 }
[90/214] Emitting module CodeOwners
[91/214] Compiling CodeOwners Array+Utils.swift
[92/214] Compiling CodeOwners String+Utils.swift
[93/277] Compiling CodeOwners Token.swift
[94/277] Compiling CodeOwners CodeOwners.swift
[95/277] Compiling CodeOwners Pattern.swift
[96/277] Compiling ArgumentParserToolInfo ToolInfo.swift
[97/277] Emitting module ArgumentParserToolInfo
[99/319] Compiling CodeOwners Token.swift
[100/319] Compiling CodeOwners String+Utils.swift
[101/319] Compiling CodeOwners Array+Utils.swift
[102/325] Compiling CodeOwners CodeOwners.swift
[103/325] Compiling CodeOwners CodeOwner.swift
[104/325] Compiling CodeOwners Pattern.swift
[105/325] Compiling PathKit PathKit.swift
/host/spi-builder-workspace/.build/checkouts/PathKit/Sources/PathKit.swift:8:8: error: no such module 'Darwin'
6 | let system_glob = Glibc.glob
7 | #else
8 | import Darwin
| `- error: no such module 'Darwin'
9 |
10 | let system_glob = Darwin.glob
error: emit-module command failed with exit code 1 (use -v to see invocation)
[106/325] Emitting module PathKit
/host/spi-builder-workspace/.build/checkouts/PathKit/Sources/PathKit.swift:8:8: error: no such module 'Darwin'
6 | let system_glob = Glibc.glob
7 | #else
8 | import Darwin
| `- error: no such module 'Darwin'
9 |
10 | let system_glob = Darwin.glob
[107/325] 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 }
[108/325] 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 | }
[109/325] Compiling ArgumentParser Errors.swift
[110/325] Compiling ArgumentParser Flag.swift
[111/325] Compiling ArgumentParser NameSpecification.swift
[112/325] Compiling ArgumentParser Option.swift
[113/325] Compiling ArgumentParser OptionGroup.swift
[114/325] Compiling ArgumentParser ParentCommand.swift
[115/325] Compiling ArgumentParser AsyncParsableCommand.swift
[116/325] Compiling ArgumentParser CommandConfiguration.swift
[117/325] Compiling ArgumentParser CommandGroup.swift
[118/325] Emitting module CodeOwners
[119/325] Compiling CodeOwners CodeOwner.swift
[120/325] Emitting module PathKit
BUILD FAILURE 6.2 wasm