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 Captain, reference 0.2.0 (db958c), with Swift 6.1 for Android on 27 May 2025 22:57:27 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-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/yanamura/captain.git
Reference: 0.2.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/yanamura/captain
 * tag               0.2.0      -> FETCH_HEAD
HEAD is now at db958c1 Merge pull request #6 from yanamura/swift5.2
Cloned https://github.com/yanamura/captain.git
Revision (git rev-parse @):
db958c1fd88c89dd7ef896003816f4761b03bdf0
SUCCESS checkout https://github.com/yanamura/captain.git at 0.2.0
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/yanamura/captain.git
https://github.com/yanamura/captain.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "pathkit",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/kylef/PathKit.git"
    },
    {
      "identity" : "tempry",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.1.1",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/yanamura3/Tempry.git"
    },
    {
      "identity" : "files",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "3.1.0",
            "upper_bound" : "4.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/johnsundell/files.git"
    }
  ],
  "manifest_display_name" : "Captain",
  "name" : "Captain",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "captain",
      "targets" : [
        "Captain"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "CaptainTests",
      "module_type" : "SwiftTarget",
      "name" : "CaptainTests",
      "path" : "Tests/CaptainTests",
      "product_dependencies" : [
        "Tempry",
        "PathKit",
        "Files"
      ],
      "sources" : [
        "CaptainTests.swift"
      ],
      "target_dependencies" : [
        "CaptainCore"
      ],
      "type" : "test"
    },
    {
      "c99name" : "CaptainCore",
      "module_type" : "SwiftTarget",
      "name" : "CaptainCore",
      "path" : "Sources/CaptainCore",
      "product_dependencies" : [
        "PathKit",
        "Files"
      ],
      "product_memberships" : [
        "captain"
      ],
      "sources" : [
        "Captain.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Captain",
      "module_type" : "SwiftTarget",
      "name" : "Captain",
      "path" : "Sources/Captain",
      "product_memberships" : [
        "captain"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "CaptainCore"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "4.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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/johnsundell/files.git
Fetching https://github.com/kylef/PathKit.git
Fetching https://github.com/yanamura3/Tempry.git
[1/1236] Fetching files
[14/2647] Fetching files, pathkit
[2648/2705] Fetching files, pathkit, tempry
Fetched https://github.com/yanamura3/Tempry.git from cache (0.36s)
Fetched https://github.com/kylef/PathKit.git from cache (0.36s)
Fetched https://github.com/johnsundell/files.git from cache (0.36s)
Computing version for https://github.com/johnsundell/files.git
Computed https://github.com/johnsundell/files.git at 3.1.0 (2.76s)
Computing version for https://github.com/yanamura3/Tempry.git
Computed https://github.com/yanamura3/Tempry.git at 0.1.1 (0.83s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 1.0.1 (2.33s)
Fetching https://github.com/kylef/Spectre.git
[1/1021] Fetching spectre
Fetched https://github.com/kylef/Spectre.git from cache (0.32s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (1.11s)
Creating working copy for https://github.com/kylef/PathKit.git
Working copy of https://github.com/kylef/PathKit.git resolved at 1.0.1
Creating working copy for https://github.com/yanamura3/Tempry.git
Working copy of https://github.com/yanamura3/Tempry.git resolved at 0.1.1
Creating working copy for https://github.com/johnsundell/files.git
Working copy of https://github.com/johnsundell/files.git resolved at 3.1.0
Creating working copy for https://github.com/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.10.1
Building for debugging...
[0/11] Write sources
[4/11] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/15] Emitting module PathKit
/host/spi-builder-workspace/.build/checkouts/PathKit/Sources/PathKit.swift:8:8: error: no such module 'Darwin'
  6 | let system_glob = Glibc.glob
  7 | #else
  8 | import Darwin
    |        `- error: no such module 'Darwin'
  9 |
 10 | let system_glob = Darwin.glob
[7/15] Emitting module Files
[8/15] Compiling Files Files.swift
[9/16] Compiling PathKit PathKit.swift
/host/spi-builder-workspace/.build/checkouts/PathKit/Sources/PathKit.swift:8:8: error: no such module 'Darwin'
  6 | let system_glob = Glibc.glob
  7 | #else
  8 | import Darwin
    |        `- error: no such module 'Darwin'
  9 |
 10 | let system_glob = Darwin.glob
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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/7] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/11] Emitting module PathKit
/host/spi-builder-workspace/.build/checkouts/PathKit/Sources/PathKit.swift:8:8: error: no such module 'Darwin'
  6 | let system_glob = Glibc.glob
  7 | #else
  8 | import Darwin
    |        `- error: no such module 'Darwin'
  9 |
 10 | let system_glob = Darwin.glob
[3/11] Compiling PathKit PathKit.swift
/host/spi-builder-workspace/.build/checkouts/PathKit/Sources/PathKit.swift:8:8: error: no such module 'Darwin'
  6 | let system_glob = Glibc.glob
  7 | #else
  8 | import Darwin
    |        `- error: no such module 'Darwin'
  9 |
 10 | let system_glob = Darwin.glob
[4/11] Compiling Files Files.swift
[5/11] Emitting module Files
BUILD FAILURE 6.1 android