The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build Donut, reference 0.1.1 (0b9064), with Swift 6.2 (beta) for Wasm on 17 Jun 2025 22:51:02 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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/natmark/donut.git
Reference: 0.1.1
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/natmark/donut
 * tag               0.1.1      -> FETCH_HEAD
HEAD is now at 0b90644 Bump version
Cloned https://github.com/natmark/donut.git
Revision (git rev-parse @):
0b90644b5635f1f988a311c93b297ac0a44f6495
SUCCESS checkout https://github.com/natmark/donut.git at 0.1.1
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/natmark/donut.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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
Fetching https://github.com/yutailang0119/ProgressSpinnerKit
Fetching https://github.com/thoughtbot/Curry.git
Fetching https://github.com/Carthage/ReactiveTask.git
Fetching https://github.com/Carthage/Commandant.git
[1/2329] Fetching commandant
[980/2904] Fetching commandant, progressspinnerkit
[2802/3504] Fetching commandant, progressspinnerkit, curry
[3259/5429] Fetching commandant, progressspinnerkit, curry, reactivetask
Fetched https://github.com/thoughtbot/Curry.git from cache (0.33s)
Fetched https://github.com/Carthage/ReactiveTask.git from cache (0.33s)
Fetched https://github.com/yutailang0119/ProgressSpinnerKit from cache (0.33s)
Fetched https://github.com/Carthage/Commandant.git from cache (0.34s)
Computing version for https://github.com/thoughtbot/Curry.git
Computed https://github.com/thoughtbot/Curry.git at 4.0.2 (2.98s)
Computing version for https://github.com/Carthage/ReactiveTask.git
Computed https://github.com/Carthage/ReactiveTask.git at 0.16.0 (0.44s)
Fetching https://github.com/antitypical/Result.git
Fetching https://github.com/Quick/Quick.git
Fetching https://github.com/Quick/Nimble.git
Fetching https://github.com/ReactiveCocoa/ReactiveSwift.git
[1/2533] Fetching result
[2534/17292] Fetching result, quick
[2977/36876] Fetching result, quick, nimble
[4843/89369] Fetching result, quick, nimble, reactiveswift
Fetched https://github.com/antitypical/Result.git from cache (1.70s)
Fetched https://github.com/Quick/Quick.git from cache (1.72s)
Fetched https://github.com/Quick/Nimble.git from cache (1.73s)
Fetched https://github.com/ReactiveCocoa/ReactiveSwift.git from cache (2.69s)
Computing version for https://github.com/antitypical/Result.git
Computed https://github.com/antitypical/Result.git at 4.1.0 (6.35s)
Computing version for https://github.com/ReactiveCocoa/ReactiveSwift.git
Computed https://github.com/ReactiveCocoa/ReactiveSwift.git at 5.0.1 (0.44s)
Computing version for https://github.com/Quick/Quick.git
Computed https://github.com/Quick/Quick.git at 2.2.1 (0.48s)
Computing version for https://github.com/yutailang0119/ProgressSpinnerKit
Computed https://github.com/yutailang0119/ProgressSpinnerKit at 0.5.0 (0.47s)
Fetching https://github.com/apple/swift-tools-support-core
[1/6853] Fetching swift-tools-support-core
Fetched https://github.com/apple/swift-tools-support-core from cache (0.50s)
Computing version for https://github.com/apple/swift-tools-support-core
Computed https://github.com/apple/swift-tools-support-core at 0.7.3 (3.09s)
Computing version for https://github.com/Carthage/Commandant.git
Computed https://github.com/Carthage/Commandant.git at 0.18.0 (0.47s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 8.1.2 (0.69s)
Creating working copy for https://github.com/antitypical/Result.git
Working copy of https://github.com/antitypical/Result.git resolved at 4.1.0
Creating working copy for https://github.com/apple/swift-tools-support-core
Working copy of https://github.com/apple/swift-tools-support-core resolved at 0.7.3
Creating working copy for https://github.com/Carthage/Commandant.git
Working copy of https://github.com/Carthage/Commandant.git resolved at 0.18.0
Creating working copy for https://github.com/Quick/Nimble.git
Working copy of https://github.com/Quick/Nimble.git resolved at 8.1.2
Creating working copy for https://github.com/Carthage/ReactiveTask.git
Working copy of https://github.com/Carthage/ReactiveTask.git resolved at 0.16.0
Creating working copy for https://github.com/thoughtbot/Curry.git
Working copy of https://github.com/thoughtbot/Curry.git resolved at 4.0.2
Creating working copy for https://github.com/ReactiveCocoa/ReactiveSwift.git
Working copy of https://github.com/ReactiveCocoa/ReactiveSwift.git resolved at 5.0.1
Creating working copy for https://github.com/yutailang0119/ProgressSpinnerKit
Working copy of https://github.com/yutailang0119/ProgressSpinnerKit resolved at 0.5.0
Creating working copy for https://github.com/Quick/Quick.git
Working copy of https://github.com/Quick/Quick.git resolved at 2.2.1
Building for debugging...
[0/30] Write sources
[11/30] Compiling TSCclibc process.c
[12/30] Compiling TSCclibc strerror.c
[13/30] Compiling TSCclibc libc.c
[14/30] Write swift-version-24593BA9C3E375BF.txt
[16/49] Emitting module Curry
error: emit-module command failed with exit code 1 (use -v to see invocation)
[17/49] Emitting module TSCLibc
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCLibc/libc.swift:21:19: error: no such module 'Darwin.C'
 19 | @_exported import Android
 20 | #else
 21 | @_exported import Darwin.C
    |                   `- error: no such module 'Darwin.C'
 22 | #endif
 23 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[18/49] Emitting module Result
/host/spi-builder-workspace/.build/checkouts/Result/Result/AnyError.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// A type-erased error which wraps an arbitrary error instance. This should be
error: emit-module command failed with exit code 1 (use -v to see invocation)
[19/49] Emitting module Commandant
/host/spi-builder-workspace/.build/checkouts/Commandant/Sources/Commandant/ArgumentParser.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 |
 11 | /// Represents an argument passed on the command line.
[20/50] Compiling Commandant Argument.swift
/host/spi-builder-workspace/.build/checkouts/Commandant/Sources/Commandant/ArgumentParser.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 |
 11 | /// Represents an argument passed on the command line.
[21/50] Compiling Commandant ArgumentParser.swift
/host/spi-builder-workspace/.build/checkouts/Commandant/Sources/Commandant/ArgumentParser.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 |
 11 | /// Represents an argument passed on the command line.
[22/50] Compiling Commandant Result+Additions.swift
/host/spi-builder-workspace/.build/checkouts/Commandant/Sources/Commandant/ArgumentParser.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 |
 11 | /// Represents an argument passed on the command line.
[23/50] Compiling Commandant Option.swift
/host/spi-builder-workspace/.build/checkouts/Commandant/Sources/Commandant/ArgumentParser.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 |
 11 | /// Represents an argument passed on the command line.
[24/50] Compiling Commandant OrderedSet.swift
/host/spi-builder-workspace/.build/checkouts/Commandant/Sources/Commandant/ArgumentParser.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 |
 11 | /// Represents an argument passed on the command line.
[25/50] Compiling TSCLibc libc.swift
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCLibc/libc.swift:21:19: error: no such module 'Darwin.C'
 19 | @_exported import Android
 20 | #else
 21 | @_exported import Darwin.C
    |                   `- error: no such module 'Darwin.C'
 22 | #endif
 23 |
[26/50] Compiling Result Result.swift
/host/spi-builder-workspace/.build/checkouts/Result/Result/AnyError.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// A type-erased error which wraps an arbitrary error instance. This should be
[27/50] Compiling Result ResultProtocol.swift
/host/spi-builder-workspace/.build/checkouts/Result/Result/AnyError.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// A type-erased error which wraps an arbitrary error instance. This should be
[28/50] Compiling Result NoError.swift
/host/spi-builder-workspace/.build/checkouts/Result/Result/AnyError.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// A type-erased error which wraps an arbitrary error instance. This should be
/host/spi-builder-workspace/.build/checkouts/Result/Result/AnyError.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// A type-erased error which wraps an arbitrary error instance. This should be
BUILD FAILURE 6.2 wasm