Build Information
Failed to build OrderedSet, reference 2.0.0 (6a20e9
), with Swift 6.2 (beta) for Wasm on 23 Jun 2025 04:10:25 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/frazer-rbsn/OrderedSet.git
Reference: 2.0.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/frazer-rbsn/OrderedSet
* tag 2.0.0 -> FETCH_HEAD
HEAD is now at 6a20e97 Update README.md
Cloned https://github.com/frazer-rbsn/OrderedSet.git
Revision (git rev-parse @):
6a20e9748d6c50b36fc92da65290bf5ab1fb4ae9
SUCCESS checkout https://github.com/frazer-rbsn/OrderedSet.git at 2.0.0
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/frazer-rbsn/OrderedSet.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:44384f43f933eaa0f42803e9ef7c3d8388c5841ccc831a15a5edf63d8c273423
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/4] Emitting module OrderedSet
/host/spi-builder-workspace/Sources/OrderedSet.swift:541:16: error: cannot find type 'LocalizedError' in scope
539 |
540 | extension OrderedSet {
541 | enum Error : LocalizedError {
| `- error: cannot find type 'LocalizedError' in scope
542 | case nonUniqueElements
543 |
[4/4] Compiling OrderedSet OrderedSet.swift
/host/spi-builder-workspace/Sources/OrderedSet.swift:541:16: error: cannot find type 'LocalizedError' in scope
539 |
540 | extension OrderedSet {
541 | enum Error : LocalizedError {
| `- error: cannot find type 'LocalizedError' in scope
542 | case nonUniqueElements
543 |
/host/spi-builder-workspace/Sources/OrderedSet.swift:529:19: error: thrown expression type 'OrderedSet<E>.Error' does not conform to 'Error'
527 | let set = Set(array)
528 | guard set.count == array.endIndex else {
529 | throw Error.nonUniqueElements
| `- error: thrown expression type 'OrderedSet<E>.Error' does not conform to 'Error'
530 | }
531 | self.init(array: array, set: set)
BUILD FAILURE 6.2 wasm