The Swift Package Index logo.Swift Package Index

Build Information

Failed to build pkl-swift, reference main (2b7058), with Swift 6.4 for Wasm on 9 Nov 2026 07:58:21 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.4-latest swift build --swift-sdk swift-6.4.0-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/apple/pkl-swift.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/apple/pkl-swift
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 2b7058f Update CI to Pkl 0.33.0 (#199)
Cloned https://github.com/apple/pkl-swift.git
Revision (git rev-parse @):
2b7058f91ce0b057057af5089b90558b2f6b0d55
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/apple/pkl-swift.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/apple/pkl-swift.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.4-latest swift build --swift-sdk swift-6.4.0-RELEASE_wasm 2>&1
wasm-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:439c9a525449f13061cf4a8f755895df6bdc90ef7885bc03630392396f826d74
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest
Fetching https://github.com/swiftlang/swift-subprocess
Fetching https://github.com/apple/swift-system
Fetching https://github.com/swiftlang/swift-docc-plugin
Fetching https://github.com/SwiftPackageIndex/SemanticVersion
Fetching https://github.com/nicklockwood/SwiftFormat
[1/448] Fetching semanticversion
[302/2793] Fetching semanticversion, swift-docc-plugin
[1622/7828] Fetching semanticversion, swift-docc-plugin, swift-subprocess
[7829/15314] Fetching semanticversion, swift-docc-plugin, swift-subprocess, swift-system
[15315/81676] Fetching semanticversion, swift-docc-plugin, swift-subprocess, swift-system, swiftformat
Fetched https://github.com/apple/swift-system (0.73s)
Fetched https://github.com/swiftlang/swift-subprocess (0.73s)
[6112/69155] Fetching semanticversion, swift-docc-plugin, swiftformat
Fetched https://github.com/SwiftPackageIndex/SemanticVersion (18.61s)
Fetched https://github.com/swiftlang/swift-docc-plugin (18.61s)
Fetched https://github.com/nicklockwood/SwiftFormat (18.88s)
Computing version for https://github.com/swiftlang/swift-subprocess
Computed https://github.com/swiftlang/swift-subprocess at 1.0.2 (19.04s)
Computing version for https://github.com/SwiftPackageIndex/SemanticVersion
Computed https://github.com/SwiftPackageIndex/SemanticVersion at 0.5.3 (0.85s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.8.1 (0.16s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.5.0 (0.16s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3865] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit (0.56s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.74s)
Computing version for https://github.com/nicklockwood/SwiftFormat
Computed https://github.com/nicklockwood/SwiftFormat at 0.64.6 (0.15s)
Creating working copy for https://github.com/nicklockwood/SwiftFormat
Working copy of https://github.com/nicklockwood/SwiftFormat resolved at 0.64.6
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.5.0
Creating working copy for https://github.com/SwiftPackageIndex/SemanticVersion
Working copy of https://github.com/SwiftPackageIndex/SemanticVersion resolved at 0.5.3
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/swiftlang/swift-subprocess
Working copy of https://github.com/swiftlang/swift-subprocess resolved at 1.0.2
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.8.1
Building for debugging...
[Provisioning 11 / 12]
[Pre-planning 1 / 273]
[54 / 93] SystemPackage
[57 / 93] SemanticVersion
[67 / 93] SystemPackage-product
[70 / 93] SystemPackage
[73 / 103] SystemPackage
[76 / 103] PklMessagePack
[79 / 104] SystemPackage
[82 / 105] SemanticVersion
[97 / 115] PklSwift
error: SwiftCompile normal wasm32 /host/spi-builder-workspace/Sources/PklSwift/API/Class.swift failed with a nonzero exit code. Command line:     cd /host
    builtin-SwiftPerFileCompile Class.swift
error: SwiftCompile normal wasm32 /host/spi-builder-workspace/Sources/PklSwift/API/DataSize.swift failed with a nonzero exit code. Command line:     cd /host
    builtin-SwiftPerFileCompile DataSize.swift
error: SwiftCompile normal wasm32 /host/spi-builder-workspace/Sources/PklSwift/API/Duration.swift failed with a nonzero exit code. Command line:     cd /host
    builtin-SwiftPerFileCompile Duration.swift
error: SwiftCompile normal wasm32 /host/spi-builder-workspace/Sources/PklSwift/API/Reference.swift failed with a nonzero exit code. Command line:     cd /host
    builtin-SwiftPerFileCompile Reference.swift
/host/spi-builder-workspace/Sources/PklSwift/locks.swift:43:8: error: The concurrency PklLock module was unable to identify your C library.
 41 | import Android
 42 | #else
 43 | #error("The concurrency PklLock module was unable to identify your C library.")
    |        `- error: The concurrency PklLock module was unable to identify your C library.
 44 | #endif
 45 |
Failed frontend command:
/usr/bin/swift-frontend -frontend -c -primary-file /host/spi-builder-workspace/Sources/PklSwift/API/Class.swift -primary-file /host/spi-builder-workspace/Sources/PklSwift/API/DataSize.swift -primary-file /host/spi-builder-workspace/Sources/PklSwift/API/Duration.swift -primary-file /host/spi-builder-workspace/Sources/PklSwift/API/Reference.swift /host/spi-builder-workspace/Sources/PklSwift/API/TypeAlias.swift /host/spi-builder-workspace/Sources/PklSwift/Decoder/PklDecoder.swift /host/spi-builder-workspace/Sources/PklSwift/Decoder/PklMapDecodingContainer.swift /host/spi-builder-workspace/Sources/PklSwift/Decoder/PklSingleValueDecodingContainer.swift /host/spi-builder-workspace/Sources/PklSwift/Decoder/PklTypedDecodingContainer.swift /host/spi-builder-workspace/Sources/PklSwift/Decoder/PklUnkeyedDecodingContainer.swift /host/spi-builder-workspace/Sources/PklSwift/Evaluator.swift /host/spi-builder-workspace/Sources/PklSwift/EvaluatorManager.swift /host/spi-builder-workspace/Sources/PklSwift/EvaluatorOptions.swift /host/spi-builder-workspace/Sources/PklSwift/ExternalReaderClient.swift /host/spi-builder-workspace/Sources/PklSwift/Logger.swift /host/spi-builder-workspace/Sources/PklSwift/Message.swift /host/spi-builder-workspace/Sources/PklSwift/MessageTransport.swift /host/spi-builder-workspace/Sources/PklSwift/ModuleSource.swift /host/spi-builder-workspace/Sources/PklSwift/PklCodingKey.swift /host/spi-builder-workspace/Sources/PklSwift/PklEvaluatorSettings.swift /host/spi-builder-workspace/Sources/PklSwift/Project.swift /host/spi-builder-workspace/Sources/PklSwift/Reader.swift /host/spi-builder-workspace/Sources/PklSwift/TypeRegistry.swift /host/spi-builder-workspace/Sources/PklSwift/Utils.swift /host/spi-builder-workspace/Sources/PklSwift/locks.swift -supplementary-output-file-map /host/spi-builder-workspace/.build/out/Intermediates.noindex/pkl-swift.build/Debug-webassembly-wasm32/PklSwift-t.build/Objects-normal/wasm32/supplementaryOutputs-9 -target wasm32-unknown-wasip1 -disable-objc-interop -sdk /root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk -sysroot /root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk -I /host/spi-builder-workspace/.build/out/Products/Debug-webassembly-wasm32 -module-cache-path /host/spi-builder-workspace/.build/out/ModuleCache.noindex -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 6 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-upcoming-feature StrictConcurrency -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -external-plugin-path /usr/lib/swift/host/plugins/testing\#/usr/bin/swift-plugin-server -validate-clang-modules-once -clang-build-session-file /host/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /host -resource-dir /root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static -use-static-resource-dir -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -resource-dir -Xcc /root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/clang -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/CSystem/include/module.modulemap -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/out/Intermediates.noindex/GeneratedModuleMaps-webassembly-wasm32/PklSwiftInternals.modulemap -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/CSystem/include -Xcc -I/host/spi-builder-workspace/Sources/PklSwiftInternals/include -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-webassembly-wasm32/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/pkl-swift.build/Debug-webassembly-wasm32/PklSwift-t.build/DerivedSources-normal/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/pkl-swift.build/Debug-webassembly-wasm32/PklSwift-t.build/DerivedSources/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/pkl-swift.build/Debug-webassembly-wasm32/PklSwift-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name PklSwift -package-name spi_builder_workspace -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/pkl-swift.build/Debug-webassembly-wasm32/PklSwift-t.build/Objects-normal/wasm32/PklSwift_const_extract_protocols.json -in-process-plugin-server-path /usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/pkl-swift.build/Debug-webassembly-wasm32/PklSwift-t.build/Objects-normal/wasm32/Class.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/pkl-swift.build/Debug-webassembly-wasm32/PklSwift-t.build/Objects-normal/wasm32/DataSize.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/pkl-swift.build/Debug-webassembly-wasm32/PklSwift-t.build/Objects-normal/wasm32/Duration.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/pkl-swift.build/Debug-webassembly-wasm32/PklSwift-t.build/Objects-normal/wasm32/Reference.o -index-unit-output-path /pkl-swift.build/Debug-webassembly-wasm32/PklSwift-t.build/Objects-normal/wasm32/Class.o -index-unit-output-path /pkl-swift.build/Debug-webassembly-wasm32/PklSwift-t.build/Objects-normal/wasm32/DataSize.o -index-unit-output-path /pkl-swift.build/Debug-webassembly-wasm32/PklSwift-t.build/Objects-normal/wasm32/Duration.o -index-unit-output-path /pkl-swift.build/Debug-webassembly-wasm32/PklSwift-t.build/Objects-normal/wasm32/Reference.o -index-store-path /host/spi-builder-workspace/.build/out -index-system-modules
error: Build failed
BUILD FAILURE 6.4 wasm