The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-pjsip-gen, reference main (36b4a6), with Swift 6.1 for Wasm on 18 Oct 2026 07:20:10 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344849-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.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/laconicman/swift-pjsip-gen.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/laconicman/swift-pjsip-gen
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 36b4a69 Merge pull request #11 from laconicman/docs/6-release-0.2.0
Cloned https://github.com/laconicman/swift-pjsip-gen.git
Revision (git rev-parse @):
36b4a69974bbc34e12fafeabe8e7ef09e284a77f
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/laconicman/swift-pjsip-gen.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/laconicman/swift-pjsip-gen.git
https://github.com/laconicman/swift-pjsip-gen.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344849-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.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:8209621f35c5a12749e7df75bbcb99eccb508d0196da99f6ac3bcf5f4827df31
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest
[1/1] Compiling plugin PJSIPSwiftGenCommand
[2/2] Compiling plugin PJSIPSwiftGenPlugin
Building for debugging...
[2/15] Write sources
[6/15] Write swift-version-24593BA9C3E375BF.txt
[8/31] Compiling PJSIPSwiftGenCore TypeDiscoverer.swift
[9/31] Compiling PJSIPSwiftGenCore EnumGenerator.swift
[10/31] Compiling PJSIPSwiftGenCore GeneratorUtils.swift
[11/31] Compiling PJSIPSwiftGenCore Config.swift
[12/31] Compiling PJSIPSwiftGenCore MacroResolver.swift
/host/spi-builder-workspace/Sources/PJSIPSwiftGenCore/MacroResolver.swift:251:17: error: cannot find 'Process' in scope
249 |
250 |     private static func runClang(_ args: [String]) -> String? {
251 |         let p = Process()
    |                 `- error: cannot find 'Process' in scope
252 |         p.executableURL = URL(fileURLWithPath: "/usr/bin/xcrun")
253 |         p.arguments = ["clang"] + args
[13/31] Emitting module PJSIPSwiftGenCore
[14/31] Compiling PJSIPSwiftGenCore CHeaderParser.swift
[15/31] Compiling PJSIPSwiftGenCore StructGenerator.swift
/host/spi-builder-workspace/Sources/PJSIPSwiftGenCore/EnumGenerator.swift:18:57: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 16 |         contentsOfFile: headerPath, encoding: .utf8
 17 |     ) else {
 18 |         fputs("  Error: cannot read '\(headerPath)'\n", stderr)
    |                                                         `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 19 |         return report
 20 |     }
/usr/include/stdio.h:151:14: note: var declared here
149 | extern FILE *stdin;		/* Standard input stream.  */
150 | extern FILE *stdout;		/* Standard output stream.  */
151 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
152 | /* C89/C99 say they're macros.  Make them happy.  */
153 | #define stdin stdin
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344849-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.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:8209621f35c5a12749e7df75bbcb99eccb508d0196da99f6ac3bcf5f4827df31
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest
[0/1] Planning build
[1/1] Compiling plugin PJSIPSwiftGenCommand
[2/2] Compiling plugin PJSIPSwiftGenPlugin
Building for debugging...
[2/11] Write swift-version-24593BA9C3E375BF.txt
[4/27] Compiling PJSIPSwiftGenCore Config.swift
[5/27] Compiling PJSIPSwiftGenCore GeneratorUtils.swift
[6/27] Compiling PJSIPSwiftGenCore EnumGenerator.swift
[7/27] Compiling PJSIPSwiftGenCore StructGenerator.swift
[8/27] Compiling PJSIPSwiftGenCore TypeDiscoverer.swift
[9/27] Compiling PJSIPSwiftGenCore StructGenerator.swift
[10/27] Compiling PJSIPSwiftGenCore MacroResolver.swift
/host/spi-builder-workspace/Sources/PJSIPSwiftGenCore/MacroResolver.swift:251:17: error: cannot find 'Process' in scope
249 |
250 |     private static func runClang(_ args: [String]) -> String? {
251 |         let p = Process()
    |                 `- error: cannot find 'Process' in scope
252 |         p.executableURL = URL(fileURLWithPath: "/usr/bin/xcrun")
253 |         p.arguments = ["clang"] + args
[11/27] Compiling PJSIPSwiftGenCore TypeDiscoverer.swift
[12/27] Compiling PJSIPSwiftGenCore GeneratorUtils.swift
[13/27] Compiling PJSIPSwiftGenCore EnumGenerator.swift
[14/27] Compiling PJSIPSwiftGenCore MacroResolver.swift
[15/27] Emitting module PJSIPSwiftGenCore
[16/27] Compiling PJSIPSwiftGenCore CHeaderParser.swift
[17/27] Compiling PJSIPSwiftGenCore Config.swift
[19/28] Compiling PJSIPSwiftGenCore CHeaderParser.swift
[20/28] Emitting module PJSIPSwiftGenCore
[20/30] Wrapping AST for PJSIPSwiftGenCore for debugging
BUILD FAILURE 6.1 wasm