The Swift Package Index logo.Swift Package Index

Build Information

Failed to build package-distributions, reference 0.3.0 (79921e), with Swift 6.2 for Wasm on 23 Mar 2026 23:43:12 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.69.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ordo-one/package-distributions.git
Reference: 0.3.0
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/ordo-one/package-distributions
 * tag               0.3.0      -> FETCH_HEAD
HEAD is now at 79921e2 Merge pull request #7 from ordo-one/btpe
Cloned https://github.com/ordo-one/package-distributions.git
Revision (git rev-parse @):
79921e2533c75ee8b9171d02e78c190667aea384
SUCCESS checkout https://github.com/ordo-one/package-distributions.git at 0.3.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/ordo-one/package-distributions.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1
wasm-6.2-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:33aba1b4ee401c56e0fd7ee42e05ab1ffc0b6f44277ad19cffda5d456eb09500
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.2-latest
warning: multiple Swift SDKs match target triple `wasm32-unknown-wasip1` and host triple x86_64-unknown-linux-gnu, selected one at /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/embedded-swift-sdk.json
Fetching https://github.com/tayloraswift/dollup
Fetching https://github.com/apple/swift-numerics
[1/1546] Fetching dollup
[1547/7962] Fetching dollup, swift-numerics
Fetched https://github.com/tayloraswift/dollup from cache (0.41s)
Fetched https://github.com/apple/swift-numerics from cache (0.41s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.1.1 (0.76s)
Computing version for https://github.com/tayloraswift/dollup
Computed https://github.com/tayloraswift/dollup at 0.8.2 (0.35s)
Fetching https://github.com/swiftlang/swift-syntax
Fetching https://github.com/tayloraswift/swift-io
[1/224] Fetching swift-io
[225/75060] Fetching swift-io, swift-syntax
Fetched https://github.com/tayloraswift/swift-io from cache (4.23s)
Fetched https://github.com/swiftlang/swift-syntax from cache (4.29s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 602.0.0 (6.47s)
Computing version for https://github.com/tayloraswift/swift-io
Computed https://github.com/tayloraswift/swift-io at 0.1.0 (0.31s)
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/apple/swift-system
[1/5601] Fetching swift-system
[4874/23015] Fetching swift-system, swift-argument-parser
Fetched https://github.com/apple/swift-system from cache (0.74s)
Fetched https://github.com/apple/swift-argument-parser from cache (0.75s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.7.1 (1.09s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.6.4 (0.38s)
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.6.4
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.7.1
Creating working copy for https://github.com/tayloraswift/swift-io
Working copy of https://github.com/tayloraswift/swift-io resolved at 0.1.0
Creating working copy for https://github.com/tayloraswift/dollup
Working copy of https://github.com/tayloraswift/dollup resolved at 0.8.2
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 602.0.0
Creating working copy for https://github.com/apple/swift-numerics
Working copy of https://github.com/apple/swift-numerics resolved at 1.1.1
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/602.0.0/swift-6.2-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz
Downloaded https://download.swift.org/prebuilts/swift-syntax/602.0.0/swift-6.2-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz (0.35s)
[1/1] Compiling plugin DollupPlugin
[2/2] Compiling plugin GenerateManual
[3/3] Compiling plugin GenerateDoccReference
Building for debugging...
[3/13] Write sources
[6/13] Compiling _NumericsShims _NumericsShims.c
[7/13] Write swift-version-24593BA9C3E375BF.txt
[9/15] Emitting module RealModule
[10/15] Compiling RealModule AlgebraicField.swift
[11/16] Wrapping AST for RealModule for debugging
[13/18] Emitting module Random
[14/18] Compiling Random Binomial.swift
[15/19] Wrapping AST for Random for debugging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[17/21] Emitting module Examples
/host/spi-builder-workspace/Snippets/Examples.swift:3:5: error: var 'random' is not concurrency-safe because it is nonisolated global shared mutable state [#MutableGlobalVariable]
 1 | import Random
 2 |
 3 | var random: PseudoRandom = .init(seed: 13)
   |     |- error: var 'random' is not concurrency-safe because it is nonisolated global shared mutable state [#MutableGlobalVariable]
   |     |- note: convert 'random' to a 'let' constant to make 'Sendable' shared state immutable
   |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 4 |
 5 | let binomial: (Int64, Int64, Int64, Int64) = (
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
[18/21] Compiling Examples Examples.swift
/host/spi-builder-workspace/Snippets/Examples.swift:3:5: error: var 'random' is not concurrency-safe because it is nonisolated global shared mutable state [#MutableGlobalVariable]
 1 | import Random
 2 |
 3 | var random: PseudoRandom = .init(seed: 13)
   |     |- error: var 'random' is not concurrency-safe because it is nonisolated global shared mutable state [#MutableGlobalVariable]
   |     |- note: convert 'random' to a 'let' constant to make 'Sendable' shared state immutable
   |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 4 |
 5 | let binomial: (Int64, Int64, Int64, Int64) = (
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
BUILD FAILURE 6.2 wasm