The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-codeowners-plugin, reference main (5b7670), with Swift 6.3 for Wasm on 17 Nov 2026 18:23:58 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>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.4
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 5b7670d Bump jdx/mise-action from 4 to 5 (#93)
Cloned https://github.com/gmazzo/swift-codeowners-plugin.git
Revision (git rev-parse @):
5b7670d8f6e476a82e1811b5479eab49b2dd6b41
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:d3f568d85e0aea9035607cd00c00b956e2abec4c377680cdb286c930e5f653a0
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.3-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/1460] Fetching pathkit
[337/1558] Fetching pathkit, swift-codeowners
Fetched https://github.com/mtj0928/swift-codeowners from cache (0.37s)
[935/1460] Fetching pathkit
[1461/20886] Fetching pathkit, swift-argument-parser
[20887/103057] Fetching pathkit, swift-argument-parser, swift-syntax
Fetched https://github.com/kylef/PathKit from cache (0.84s)
Fetched https://github.com/apple/swift-argument-parser from cache (0.85s)
[12326/82171] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax from cache (2.84s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 604.0.0 (3.86s)
Computing version for https://github.com/kylef/PathKit
Computed https://github.com/kylef/PathKit at 1.0.1 (0.90s)
Fetching https://github.com/kylef/Spectre.git
[1/1021] Fetching spectre
Fetched https://github.com/kylef/Spectre.git from cache (0.39s)
Computing version for https://github.com/mtj0928/swift-codeowners
Computed https://github.com/mtj0928/swift-codeowners at 0.1.2 (0.53s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (0.17s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.8.2 (0.16s)
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/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 604.0.0
[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
[27/91] Compiling _SwiftSyntaxCShims PlatformMutex.c
[28/91] Write sources
[33/91] Compiling _SwiftSyntaxCShims PlatformMutex.c
[34/91] Write sources
[50/91] Write swift-version-24593BA9C3E375BF.txt
[52/107] Emitting module SwiftSyntax601
[53/107] Emitting module SwiftSyntax603
[54/107] Compiling SwiftSyntax601 Empty.swift
[56/108] Compiling SwiftSyntax603 Empty.swift
[57/109] Emitting module SwiftSyntax602
[58/109] Compiling SwiftSyntax602 Empty.swift
[61/110] Emitting module SwiftSyntax602
[62/110] Compiling SwiftSyntax602 Empty.swift
[64/113] Emitting module SwiftSyntax601
[65/113] Compiling SwiftSyntax601 Empty.swift
[67/118] Emitting module SwiftSyntax604
[68/118] Compiling SwiftSyntax604 Empty.swift
[69/118] Emitting module SwiftSyntax600
[70/118] Compiling SwiftSyntax600 Empty.swift
[71/122] Compiling SwiftSyntax510 Empty.swift
[72/122] Emitting module SwiftSyntax510
[76/123] Compiling SwiftSyntax510 Empty.swift
[77/123] Emitting module SwiftSyntax510
[79/130] Compiling SwiftSyntax509 Empty.swift
[80/132] Emitting module SwiftSyntax509
[81/133] Emitting module SwiftSyntax600
[82/133] Compiling SwiftSyntax600 Empty.swift
[83/134] Emitting module SwiftSyntax509
[84/134] Compiling SwiftSyntax604 Empty.swift
[85/134] Emitting module SwiftSyntax604
[86/134] Compiling SwiftSyntax509 Empty.swift
[91/145] Compiling SwiftSyntax603 Empty.swift
[92/145] Emitting module SwiftSyntax603
[94/286] Compiling ArgumentParserToolInfo ToolInfo.swift
[95/286] Emitting module ArgumentParserToolInfo
[97/287] Compiling SwiftSyntax AbsolutePosition.swift
[98/287] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[99/287] Compiling SwiftSyntax ArenaAllocatedBuffer.swift
[100/287] Compiling SwiftSyntax Assert.swift
[101/287] Compiling SwiftSyntax BumpPtrAllocator.swift
[102/287] Compiling SwiftSyntax CommonAncestor.swift
[103/287] Compiling SwiftSyntax Convenience.swift
[104/287] Compiling SwiftSyntax CustomTraits.swift
[105/287] Compiling SwiftSyntax EditorPlaceholder.swift
[115/305] Compiling CodeOwners Array+Utils.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[116/305] 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
[117/305] Compiling CodeOwners String+Utils.swift
[118/305] Compiling CodeOwners Token.swift
[119/305] Compiling CodeOwners CodeOwners.swift
[120/305] Compiling CodeOwners CodeOwner.swift
[121/305] Emitting module CodeOwners
[122/305] Compiling CodeOwners Pattern.swift
[123/305] Compiling CodeOwners CodeOwners.swift
[124/305] Compiling CodeOwners CodeOwner.swift
[125/305] Compiling CodeOwners String+Utils.swift
[126/305] Compiling CodeOwners Pattern.swift
[127/305] Compiling CodeOwners Array+Utils.swift
[128/305] Compiling CodeOwners Token.swift
[129/305] Compiling SwiftSyntax SyntaxNodeStructure.swift
[130/305] Compiling SwiftSyntax SyntaxProtocol.swift
[131/305] Compiling SwiftSyntax SyntaxText.swift
[132/305] Compiling SwiftSyntax SyntaxTreeViewMode.swift
[133/305] Compiling SwiftSyntax TokenDiagnostic.swift
[134/305] Compiling SwiftSyntax SyntaxChildren.swift
[135/305] Compiling SwiftSyntax SyntaxCollection.swift
[136/305] Compiling SwiftSyntax SyntaxHashable.swift
[137/305] Compiling SwiftSyntax SyntaxIdentifier.swift
[138/305] Compiling SwiftSyntax SourceLength.swift
[139/305] Compiling SwiftSyntax SourceLocation.swift
[140/305] Compiling SwiftSyntax SourcePresence.swift
[141/305] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[142/305] Compiling SwiftSyntax Syntax.swift
[143/305] Compiling SwiftSyntax SyntaxChildren.swift
[144/305] Compiling SwiftSyntax SyntaxCollection.swift
[145/305] Compiling SwiftSyntax SyntaxHashable.swift
[146/305] Compiling SwiftSyntax SyntaxIdentifier.swift
[147/305] Compiling SwiftSyntax Utils.swift
[148/305] Compiling SwiftSyntax ChildNameForKeyPath.swift
[149/305] Compiling SwiftSyntax Keyword.swift
[150/305] Compiling SwiftSyntax RenamedChildrenCompatibility.swift
[151/305] Compiling SwiftSyntax RenamedNodesCompatibility.swift
[152/305] Compiling SwiftSyntax SyntaxAnyVisitor.swift
[153/305] Compiling SwiftSyntax SyntaxBaseNodes.swift
[154/305] Compiling SwiftSyntax SyntaxCollections.swift
[155/305] Compiling SwiftSyntax SyntaxEnum.swift
[156/305] 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
[157/305] Emitting module ArgumentParserToolInfo
[158/305] Compiling ArgumentParserToolInfo ToolInfo.swift
error: cancelled
[159/305] Compiling CodeOwners CodeOwnerLine.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
error: cancelled
[160/305] 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 }
[161/305] 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 | }
[162/305] 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 }
BUILD FAILURE 6.3 wasm