The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Clack, reference main (fcd94b), with Swift 6.1 for Wasm on 28 May 2025 14:05:10 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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/polpielladev/clack-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/polpielladev/clack-swift
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at fcd94bb Adds `select` component
Cloned https://github.com/polpielladev/clack-swift.git
Revision (git rev-parse @):
fcd94bbdec8e840dd04c1b2fa74c16d803dfeebb
SUCCESS checkout https://github.com/polpielladev/clack-swift.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/polpielladev/clack-swift.git
https://github.com/polpielladev/clack-swift.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "ansiterminal",
      "requirement" : {
        "exact" : [
          "0.0.3"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/pakLebah/ANSITerminal.git"
    }
  ],
  "manifest_display_name" : "Clack",
  "name" : "Clack",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Clack",
      "targets" : [
        "Clack"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "ClackExample",
      "targets" : [
        "ClackExample"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ClackTests",
      "module_type" : "SwiftTarget",
      "name" : "ClackTests",
      "path" : "Tests/ClackTests",
      "sources" : [
        "ClackTests.swift"
      ],
      "target_dependencies" : [
        "Clack"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ClackExample",
      "module_type" : "SwiftTarget",
      "name" : "ClackExample",
      "path" : "Sources/ClackExample",
      "product_memberships" : [
        "ClackExample"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "Clack"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "Clack",
      "module_type" : "SwiftTarget",
      "name" : "Clack",
      "path" : "Sources/Clack",
      "product_dependencies" : [
        "ANSITerminal"
      ],
      "product_memberships" : [
        "Clack",
        "ClackExample"
      ],
      "sources" : [
        "Clack.swift",
        "Components/Intro/Intro.swift",
        "Components/Outro/Outro.swift",
        "Components/Picker/Option.swift",
        "Components/Picker/OptionState.swift",
        "Components/Picker/Picker.swift",
        "Components/Text/HeadlessUserInput.swift",
        "Components/Text/Text.swift",
        "Constants/ANSIChar.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/pakLebah/ANSITerminal.git
[1/94] Fetching ansiterminal
Fetched https://github.com/pakLebah/ANSITerminal.git from cache (0.28s)
Computing version for https://github.com/pakLebah/ANSITerminal.git
Computed https://github.com/pakLebah/ANSITerminal.git at 0.0.3 (0.78s)
Creating working copy for https://github.com/pakLebah/ANSITerminal.git
Working copy of https://github.com/pakLebah/ANSITerminal.git resolved at 0.0.3
Building for debugging...
[0/9] Write sources
[3/9] Write swift-version-24593BA9C3E375BF.txt
[5/14] Compiling ANSITerminal ansiScreen.swift
/host/spi-builder-workspace/.build/checkouts/ANSITerminal/Sources/ANSITerminal.swift:4:10: error: no such module 'Darwin'
  2 |   import Glibc
  3 | #else
  4 |   import Darwin
    |          `- error: no such module 'Darwin'
  5 | #endif
  6 |
[6/14] Compiling ANSITerminal ansiKeyboard.swift
/host/spi-builder-workspace/.build/checkouts/ANSITerminal/Sources/ANSITerminal.swift:4:10: error: no such module 'Darwin'
  2 |   import Glibc
  3 | #else
  4 |   import Darwin
    |          `- error: no such module 'Darwin'
  5 | #endif
  6 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/14] Emitting module ANSITerminal
/host/spi-builder-workspace/.build/checkouts/ANSITerminal/Sources/ANSITerminal.swift:4:10: error: no such module 'Darwin'
  2 |   import Glibc
  3 | #else
  4 |   import Darwin
    |          `- error: no such module 'Darwin'
  5 | #endif
  6 |
[8/14] Compiling ANSITerminal ansiAttribute.swift
/host/spi-builder-workspace/.build/checkouts/ANSITerminal/Sources/ANSITerminal.swift:4:10: error: no such module 'Darwin'
  2 |   import Glibc
  3 | #else
  4 |   import Darwin
    |          `- error: no such module 'Darwin'
  5 | #endif
  6 |
[9/14] Compiling ANSITerminal ANSITerminal.swift
/host/spi-builder-workspace/.build/checkouts/ANSITerminal/Sources/ANSITerminal.swift:4:10: error: no such module 'Darwin'
  2 |   import Glibc
  3 | #else
  4 |   import Darwin
    |          `- error: no such module 'Darwin'
  5 | #endif
  6 |
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
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/6] Write swift-version-24593BA9C3E375BF.txt
[2/11] Compiling ANSITerminal ansiScreen.swift
/host/spi-builder-workspace/.build/checkouts/ANSITerminal/Sources/ANSITerminal.swift:4:10: error: no such module 'Darwin'
  2 |   import Glibc
  3 | #else
  4 |   import Darwin
    |          `- error: no such module 'Darwin'
  5 | #endif
  6 |
[3/11] Compiling ANSITerminal ansiKeyboard.swift
/host/spi-builder-workspace/.build/checkouts/ANSITerminal/Sources/ANSITerminal.swift:4:10: error: no such module 'Darwin'
  2 |   import Glibc
  3 | #else
  4 |   import Darwin
    |          `- error: no such module 'Darwin'
  5 | #endif
  6 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/11] Emitting module ANSITerminal
/host/spi-builder-workspace/.build/checkouts/ANSITerminal/Sources/ANSITerminal.swift:4:10: error: no such module 'Darwin'
  2 |   import Glibc
  3 | #else
  4 |   import Darwin
    |          `- error: no such module 'Darwin'
  5 | #endif
  6 |
[5/11] Compiling ANSITerminal ANSITerminal.swift
/host/spi-builder-workspace/.build/checkouts/ANSITerminal/Sources/ANSITerminal.swift:4:10: error: no such module 'Darwin'
  2 |   import Glibc
  3 | #else
  4 |   import Darwin
    |          `- error: no such module 'Darwin'
  5 | #endif
  6 |
[6/11] Compiling ANSITerminal ansiAttribute.swift
/host/spi-builder-workspace/.build/checkouts/ANSITerminal/Sources/ANSITerminal.swift:4:10: error: no such module 'Darwin'
  2 |   import Glibc
  3 | #else
  4 |   import Darwin
    |          `- error: no such module 'Darwin'
  5 | #endif
  6 |
BUILD FAILURE 6.1 wasm