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 master (0b9064), with Swift 6.1 for Wasm on 27 May 2025 11:26:50 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/natmark/donut.git
Reference: master
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
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
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 master
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/natmark/donut.git
https://github.com/natmark/donut.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "reactivetask",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.14.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Carthage/ReactiveTask.git"
    },
    {
      "identity" : "commandant",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.13.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Carthage/Commandant.git"
    },
    {
      "identity" : "curry",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "4.0.1",
            "upper_bound" : "5.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/thoughtbot/Curry.git"
    },
    {
      "identity" : "progressspinnerkit",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.1.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/yutailang0119/ProgressSpinnerKit"
    }
  ],
  "manifest_display_name" : "Donut",
  "name" : "Donut",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "donut",
      "targets" : [
        "Donut"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "DonutKit",
      "targets" : [
        "DonutKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "DonutTests",
      "module_type" : "SwiftTarget",
      "name" : "DonutTests",
      "path" : "Tests",
      "sources" : [
        "TemplateDirectoryTests.swift"
      ],
      "target_dependencies" : [
        "Donut"
      ],
      "type" : "test"
    },
    {
      "c99name" : "DonutKit",
      "module_type" : "SwiftTarget",
      "name" : "DonutKit",
      "path" : "Sources/DonutKit",
      "product_dependencies" : [
        "ReactiveTask",
        "ProgressSpinnerKit"
      ],
      "product_memberships" : [
        "donut",
        "DonutKit"
      ],
      "sources" : [
        "DonutErrors.swift",
        "Git.swift",
        "SemanticVersion.swift",
        "Template.swift",
        "TemplateDirectory.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Donut",
      "module_type" : "SwiftTarget",
      "name" : "Donut",
      "path" : "Sources/Donut",
      "product_dependencies" : [
        "ReactiveTask",
        "Commandant",
        "Curry"
      ],
      "product_memberships" : [
        "donut"
      ],
      "sources" : [
        "Commands/InstallCommand.swift",
        "Commands/ListCommand.swift",
        "Commands/RemoveCommand.swift",
        "Commands/VersionCommand.swift",
        "main.swift"
      ],
      "target_dependencies" : [
        "DonutKit"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "4.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/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 finestructure/spi-images
Digest: sha256:059e0fdbe549369b902c0d423739510ddee50a4a70258d1404125eb9394ef31c
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/thoughtbot/Curry.git
Fetching https://github.com/yutailang0119/ProgressSpinnerKit
Fetching https://github.com/Carthage/Commandant.git
Fetching https://github.com/Carthage/ReactiveTask.git
[1/575] Fetching progressspinnerkit
[576/1175] Fetching progressspinnerkit, curry
[1176/3504] Fetching progressspinnerkit, curry, commandant
[3459/5429] Fetching progressspinnerkit, curry, commandant, reactivetask
Fetched https://github.com/Carthage/Commandant.git from cache (0.28s)
Fetched https://github.com/thoughtbot/Curry.git from cache (0.28s)
Fetched https://github.com/yutailang0119/ProgressSpinnerKit from cache (0.29s)
Fetched https://github.com/Carthage/ReactiveTask.git from cache (0.29s)
Computing version for https://github.com/thoughtbot/Curry.git
Computed https://github.com/thoughtbot/Curry.git at 4.0.2 (2.73s)
Computing version for https://github.com/Carthage/ReactiveTask.git
Computed https://github.com/Carthage/ReactiveTask.git at 0.16.0 (0.54s)
Fetching https://github.com/Quick/Nimble.git
Fetching https://github.com/Quick/Quick.git
Fetching https://github.com/antitypical/Result.git
Fetching https://github.com/ReactiveCocoa/ReactiveSwift.git
[1/2533] Fetching result
[2534/17288] Fetching result, quick
[5633/69776] Fetching result, quick, reactiveswift
[17571/89360] Fetching result, quick, reactiveswift, nimble
Fetched https://github.com/Quick/Quick.git from cache (0.84s)
[20231/74605] Fetching result, reactiveswift, nimble
Fetched https://github.com/Quick/Nimble.git from cache (2.14s)
Fetched https://github.com/antitypical/Result.git from cache (3.43s)
Fetched https://github.com/ReactiveCocoa/ReactiveSwift.git from cache (3.46s)
Computing version for https://github.com/antitypical/Result.git
Computed https://github.com/antitypical/Result.git at 4.1.0 (5.57s)
Computing version for https://github.com/ReactiveCocoa/ReactiveSwift.git
Computed https://github.com/ReactiveCocoa/ReactiveSwift.git at 5.0.1 (0.70s)
Computing version for https://github.com/Quick/Quick.git
Computed https://github.com/Quick/Quick.git at 2.2.1 (0.93s)
Computing version for https://github.com/yutailang0119/ProgressSpinnerKit
Computed https://github.com/yutailang0119/ProgressSpinnerKit at 0.5.0 (1.64s)
Fetching https://github.com/apple/swift-tools-support-core
[1/6763] Fetching swift-tools-support-core
Fetched https://github.com/apple/swift-tools-support-core from cache (0.76s)
Computing version for https://github.com/apple/swift-tools-support-core
Computed https://github.com/apple/swift-tools-support-core at 0.7.3 (1.45s)
Computing version for https://github.com/Carthage/Commandant.git
Computed https://github.com/Carthage/Commandant.git at 0.18.0 (0.51s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 8.1.2 (0.61s)
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/yutailang0119/ProgressSpinnerKit
Working copy of https://github.com/yutailang0119/ProgressSpinnerKit resolved at 0.5.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/Carthage/ReactiveTask.git
Working copy of https://github.com/Carthage/ReactiveTask.git resolved at 0.16.0
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/Quick.git
Working copy of https://github.com/Quick/Quick.git resolved at 2.2.1
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/ReactiveCocoa/ReactiveSwift.git
Working copy of https://github.com/ReactiveCocoa/ReactiveSwift.git resolved at 5.0.1
Creating working copy for https://github.com/antitypical/Result.git
Working copy of https://github.com/antitypical/Result.git resolved at 4.1.0
Building for debugging...
[0/30] Write sources
[11/30] Compiling TSCclibc libc.c
[12/30] Compiling TSCclibc process.c
[13/30] Compiling TSCclibc strerror.c
[14/30] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[16/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 |
[17/49] 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 |
[18/49] Emitting module Result
[19/49] Emitting module Commandant
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:059e0fdbe549369b902c0d423739510ddee50a4a70258d1404125eb9394ef31c
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/16] Write swift-version-24593BA9C3E375BF.txt
[2/35] 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 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/35] 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 |
[4/35] Emitting module Result
[5/35] Compiling Commandant Result+Additions.swift
[6/35] Emitting module Commandant
[7/36] Emitting module Curry
BUILD FAILURE 6.1 wasm