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 Clack, reference main (fcd94b), with Swift 6.1 for Android on 28 May 2025 14:05:32 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 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:         android
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-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -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
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/pakLebah/ANSITerminal.git
[1/94] Fetching ansiterminal
Fetched https://github.com/pakLebah/ANSITerminal.git from cache (4.89s)
Computing version for https://github.com/pakLebah/ANSITerminal.git
Computed https://github.com/pakLebah/ANSITerminal.git at 0.0.3 (5.45s)
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 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)
[6/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 |
[7/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 |
[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-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-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 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 |
[6/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 |
BUILD FAILURE 6.1 android