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 SwiftPrompt, reference 1.0.0 (e3484d), with Swift 6.1 for Android on 28 May 2025 18:20:05 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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/CheekyGhost-Labs/SwiftPrompt.git
Reference: 1.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/CheekyGhost-Labs/SwiftPrompt
 * tag               1.0.0      -> FETCH_HEAD
HEAD is now at e3484d9 Merge pull request #5 from CheekyGhost-Labs/develop
Cloned https://github.com/CheekyGhost-Labs/SwiftPrompt.git
Revision (git rev-parse @):
e3484d9323a1f780ac53047efb5191261d36f5de
SUCCESS checkout https://github.com/CheekyGhost-Labs/SwiftPrompt.git at 1.0.0
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/CheekyGhost-Labs/SwiftPrompt.git
https://github.com/CheekyGhost-Labs/SwiftPrompt.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-tools-support-core",
      "requirement" : {
        "exact" : [
          "0.4.0"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-tools-support-core.git"
    },
    {
      "identity" : "rainbow",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "4.0.1",
            "upper_bound" : "5.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/onevcat/Rainbow.git"
    },
    {
      "identity" : "ansiterminal",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.0.3",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/pakLebah/ANSITerminal"
    }
  ],
  "manifest_display_name" : "SwiftPrompt",
  "name" : "SwiftPrompt",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.13"
    }
  ],
  "products" : [
    {
      "name" : "SwiftPrompt",
      "targets" : [
        "SwiftPrompt"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "SwiftPromptExample",
      "targets" : [
        "SwiftPromptExample"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftPromptTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftPromptTests",
      "path" : "Tests/SwiftPromptTests",
      "sources" : [
        "SwiftPromptTests.swift"
      ],
      "target_dependencies" : [
        "SwiftPrompt"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftPromptExample",
      "module_type" : "SwiftTarget",
      "name" : "SwiftPromptExample",
      "path" : "Sources/SwiftPromptExample",
      "product_memberships" : [
        "SwiftPromptExample"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "SwiftPrompt"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "SwiftPrompt",
      "module_type" : "SwiftTarget",
      "name" : "SwiftPrompt",
      "path" : "Sources/SwiftPrompt",
      "product_dependencies" : [
        "Rainbow",
        "SwiftToolsSupport-auto",
        "ANSITerminal"
      ],
      "product_memberships" : [
        "SwiftPrompt",
        "SwiftPromptExample"
      ],
      "sources" : [
        "Internal/Prompts/InputPrompt.swift",
        "Internal/Prompts/OptionSetPrompt.swift",
        "Internal/Utility/ANSIIChar.swift",
        "Internal/Utility/OptionSetState.swift",
        "Internal/Utility/PromptUtils.swift",
        "Internal/Utility/ValidationResult.swift",
        "Public/Entities/PromptOption.swift",
        "SwiftPrompt.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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/onevcat/Rainbow.git
Fetching https://github.com/apple/swift-tools-support-core.git
[1/1196] Fetching rainbow
[1197/7960] Fetching rainbow, swift-tools-support-core
Fetching https://github.com/pakLebah/ANSITerminal
[7961/8054] Fetching rainbow, swift-tools-support-core, ansiterminal
Fetched https://github.com/onevcat/Rainbow.git from cache (0.53s)
[6790/6858] Fetching swift-tools-support-core, ansiterminal
Fetched https://github.com/apple/swift-tools-support-core.git from cache (0.53s)
[27/94] Fetching ansiterminal
Fetched https://github.com/pakLebah/ANSITerminal from cache (0.29s)
Computing version for https://github.com/pakLebah/ANSITerminal
Computed https://github.com/pakLebah/ANSITerminal at 0.0.3 (2.69s)
Computing version for https://github.com/apple/swift-tools-support-core.git
Computed https://github.com/apple/swift-tools-support-core.git at 0.4.0 (0.71s)
Fetching https://github.com/apple/swift-system.git
[1/4391] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.94s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.1.1 (1.53s)
Computing version for https://github.com/onevcat/Rainbow.git
Computed https://github.com/onevcat/Rainbow.git at 4.1.0 (2.56s)
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.1.1
Creating working copy for https://github.com/pakLebah/ANSITerminal
Working copy of https://github.com/pakLebah/ANSITerminal resolved at 0.0.3
Creating working copy for https://github.com/apple/swift-tools-support-core.git
Working copy of https://github.com/apple/swift-tools-support-core.git resolved at 0.4.0
Creating working copy for https://github.com/onevcat/Rainbow.git
Working copy of https://github.com/onevcat/Rainbow.git resolved at 4.1.0
Building for debugging...
[0/22] Write sources
[8/22] Compiling TSCclibc libc.c
[9/22] Compiling TSCclibc process.c
[10/22] Compiling CSystem shims.c
[11/22] Write swift-version-24593BA9C3E375BF.txt
[13/61] Compiling SystemPackage Mocking.swift
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/CInterop.swift:21:8: error: no such module 'Glibc'
19 | #elseif os(Linux) || os(FreeBSD) || os(Android)
20 | import CSystem
21 | import Glibc
   |        `- error: no such module 'Glibc'
22 | #elseif os(Windows)
23 | import CSystem
[14/61] Compiling SystemPackage Syscalls.swift
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/CInterop.swift:21:8: error: no such module 'Glibc'
19 | #elseif os(Linux) || os(FreeBSD) || os(Android)
20 | import CSystem
21 | import Glibc
   |        `- error: no such module 'Glibc'
22 | #elseif os(Windows)
23 | import CSystem
[15/61] Compiling SystemPackage WindowsSyscallAdapters.swift
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/CInterop.swift:21:8: error: no such module 'Glibc'
19 | #elseif os(Linux) || os(FreeBSD) || os(Android)
20 | import CSystem
21 | import Glibc
   |        `- error: no such module 'Glibc'
22 | #elseif os(Windows)
23 | import CSystem
error: emit-module command failed with exit code 1 (use -v to see invocation)
[16/63] Emitting module TSCLibc
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCLibc/libc.swift:17:19: error: no such module 'Darwin.C'
 15 | @_exported import WinSDK
 16 | #else
 17 | @_exported import Darwin.C
    |                   `- error: no such module 'Darwin.C'
 18 | #endif
 19 |
[17/63] Compiling TSCLibc libc.swift
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCLibc/libc.swift:17:19: error: no such module 'Darwin.C'
 15 | @_exported import WinSDK
 16 | #else
 17 | @_exported import Darwin.C
    |                   `- error: no such module 'Darwin.C'
 18 | #endif
 19 |
[18/63] 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)
[19/63] Emitting module SystemPackage
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/CInterop.swift:21:8: error: no such module 'Glibc'
19 | #elseif os(Linux) || os(FreeBSD) || os(Android)
20 | import CSystem
21 | import Glibc
   |        `- error: no such module 'Glibc'
22 | #elseif os(Windows)
23 | import CSystem
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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/11] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/50] Emitting module TSCLibc
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCLibc/libc.swift:17:19: error: no such module 'Darwin.C'
 15 | @_exported import WinSDK
 16 | #else
 17 | @_exported import Darwin.C
    |                   `- error: no such module 'Darwin.C'
 18 | #endif
 19 |
[3/50] Compiling TSCLibc libc.swift
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCLibc/libc.swift:17:19: error: no such module 'Darwin.C'
 15 | @_exported import WinSDK
 16 | #else
 17 | @_exported import Darwin.C
    |                   `- error: no such module 'Darwin.C'
 18 | #endif
 19 |
[4/50] 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 |
[5/50] 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 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/50] 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/50] 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 |
[8/50] 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 |
BUILD FAILURE 6.1 android