The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-codeowners-plugin, reference main (aed7dc), with Swift 6.2 for Wasm on 25 Sep 2026 22:57:09 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344843-2":/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

Build 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.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-54344843-2":/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:ff44196b45f83e5a0a99a627b185f548850d9bc1242e3dee2178fb1570812fe8
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/kylef/PathKit
Fetching https://github.com/swiftlang/swift-syntax
Fetching https://github.com/mtj0928/swift-codeowners
[1/1460] Fetching pathkit
[191/1558] Fetching pathkit, swift-codeowners
[1559/20503] Fetching pathkit, swift-codeowners, swift-argument-parser
Fetched https://github.com/kylef/PathKit from cache (0.85s)
[1/80068] Fetching swift-syntax
Fetched https://github.com/mtj0928/swift-codeowners from cache (3.71s)
Fetched https://github.com/apple/swift-argument-parser from cache (3.72s)
Fetched https://github.com/swiftlang/swift-syntax from cache (3.74s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 604.0.0 (4.72s)
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 (1.04s)
Computing version for https://github.com/mtj0928/swift-codeowners
Computed https://github.com/mtj0928/swift-codeowners at 0.1.2 (1.19s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (0.19s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.8.2 (0.20s)
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/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 604.0.0
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/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/91] Write sources
[48/91] Compiling _SwiftSyntaxCShims PlatformMutex.c
[50/91] Write swift-version-24593BA9C3E375BF.txt
[52/107] Emitting module SwiftSyntax602
[53/107] Emitting module SwiftSyntax603
[54/107] Compiling SwiftSyntax603 Empty.swift
[55/107] Emitting module SwiftSyntax603
[57/108] Compiling SwiftSyntax601 Empty.swift
[58/108] Emitting module SwiftSyntax601
[59/109] Compiling SwiftSyntax604 Empty.swift
[60/109] Emitting module SwiftSyntax604
[62/112] Compiling SwiftSyntax602 Empty.swift
[65/113] Emitting module SwiftSyntax604
[66/113] Compiling SwiftSyntax604 Empty.swift
[67/116] Emitting module SwiftSyntax600
[68/116] Compiling SwiftSyntax600 Empty.swift
[71/121] Compiling SwiftSyntax510 Empty.swift
[72/121] Emitting module SwiftSyntax510
[74/122] Compiling SwiftSyntax600 Empty.swift
[75/122] Emitting module SwiftSyntax600
[76/123] Emitting module SwiftSyntax601
[77/123] Compiling SwiftSyntax601 Empty.swift
[78/124] Compiling SwiftSyntax510 Empty.swift
[79/124] Emitting module SwiftSyntax602
[80/124] Compiling SwiftSyntax602 Empty.swift
[81/125] Emitting module SwiftSyntax510
[83/132] Compiling SwiftSyntax603 Empty.swift
[86/133] Emitting module SwiftSyntax509
[89/133] Compiling SwiftSyntax509 Empty.swift
[94/224] Emitting module ArgumentParserToolInfo
[95/224] Compiling ArgumentParserToolInfo ToolInfo.swift
[97/225] Compiling CodeOwners Array+Utils.swift
[98/225] Compiling CodeOwners String+Utils.swift
[99/241] Compiling ArgumentParserToolInfo ToolInfo.swift
[100/245] Emitting module ArgumentParserToolInfo
[102/290] Compiling SwiftSyntax Identifier.swift
[103/290] Compiling SwiftSyntax MemoryLayout.swift
[104/290] Compiling SwiftSyntax MissingNodeInitializers.swift
[105/290] Compiling SwiftSyntax RawSyntax.swift
[106/290] Compiling SwiftSyntax RawSyntaxArena.swift
[107/290] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[108/290] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[109/290] Compiling SwiftSyntax RawSyntaxTokenView.swift
[110/290] Compiling SwiftSyntax SourceEdit.swift
[111/298] Compiling CodeOwners Token.swift
[112/298] Emitting module PathKit
[113/298] Emitting module CodeOwners
[114/345] Compiling CodeOwners Pattern.swift
[115/345] Compiling CodeOwners CodeOwners.swift
[116/345] Compiling CodeOwners String+Utils.swift
[117/345] Compiling CodeOwners Array+Utils.swift
[118/345] Compiling CodeOwners Token.swift
[119/345] Compiling CodeOwners CodeOwner.swift
[120/345] Compiling CodeOwners Pattern.swift
[121/345] Compiling CodeOwners CodeOwners.swift
[122/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 | }
[123/345] 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)
[124/345] 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 }
[125/345] 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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[126/345] 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 }
[127/345] Emitting module ArgumentParser
[128/345] Compiling ArgumentParser ParentCommand.swift
[129/345] Compiling ArgumentParser AsyncParsableCommand.swift
[130/345] Compiling ArgumentParser CommandConfiguration.swift
[131/345] Compiling ArgumentParser CommandGroup.swift
[132/345] Compiling ArgumentParser EnumerableFlag.swift
[133/345] Compiling ArgumentParser ExpressibleByArgument.swift
[134/345] Compiling ArgumentParser ParsableArguments.swift
[135/345] Emitting module CodeOwners
BUILD FAILURE 6.2 wasm