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 hackscode, reference 0.5.1 (4124b7), with Swift 6.1 for Android on 27 May 2025 07:42:32 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/toshi0383/hackscode.git
Reference: 0.5.1
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/toshi0383/hackscode
 * tag               0.5.1      -> FETCH_HEAD
HEAD is now at 4124b76 fix dump command
Cloned https://github.com/toshi0383/hackscode.git
Revision (git rev-parse @):
4124b76425c6d16b9c08c44e1022dc4837ba35bb
SUCCESS checkout https://github.com/toshi0383/hackscode.git at 0.5.1
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/toshi0383/hackscode.git
https://github.com/toshi0383/hackscode.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "corecli",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.1.10",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/toshi0383/CoreCLI"
    },
    {
      "identity" : "xcodeproj",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "7.1.0",
            "upper_bound" : "8.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/tuist/XcodeProj"
    },
    {
      "identity" : "shellout",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.2.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/JohnSundell/ShellOut"
    }
  ],
  "manifest_display_name" : "hackscode",
  "name" : "hackscode",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "hackscode",
      "targets" : [
        "hackscode"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "hackscode",
      "module_type" : "SwiftTarget",
      "name" : "hackscode",
      "path" : "Sources/hackscode",
      "product_dependencies" : [
        "CoreCLI",
        "XcodeProj",
        "ShellOut"
      ],
      "product_memberships" : [
        "hackscode"
      ],
      "sources" : [
        "Commands/CreateNewFile.swift",
        "Commands/DumpBuildFiles.swift",
        "Commands/RemoveBuildFiles.swift",
        "Commands/XQuick.swift",
        "Utilities.swift",
        "main.swift",
        "zzz.Sourcery.out.swift"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "5.1"
}
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:9f3c606dcd2a4f06d17ba472aa533c43685ba7ba19a5c9bc23518a066eb7f86a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/tuist/XcodeProj
Fetching https://github.com/JohnSundell/ShellOut
Fetching https://github.com/toshi0383/CoreCLI
[1/960] Fetching shellout
[780/1028] Fetching shellout, corecli
Fetched https://github.com/toshi0383/CoreCLI from cache (0.47s)
[856/24250] Fetching shellout, xcodeproj
Fetched https://github.com/JohnSundell/ShellOut from cache (2.37s)
Fetched https://github.com/tuist/XcodeProj from cache (2.43s)
Computing version for https://github.com/toshi0383/CoreCLI
Computed https://github.com/toshi0383/CoreCLI at 0.1.10 (6.23s)
Computing version for https://github.com/JohnSundell/ShellOut
Computed https://github.com/JohnSundell/ShellOut at 2.3.0 (3.12s)
Computing version for https://github.com/tuist/XcodeProj
Computed https://github.com/tuist/XcodeProj at 7.23.0 (1.02s)
Fetching https://github.com/kylef/PathKit
Fetching https://github.com/tadija/AEXML
[1/2127] Fetching aexml
[44/3538] Fetching aexml, pathkit
Fetched https://github.com/tadija/AEXML from cache (0.45s)
Fetched https://github.com/kylef/PathKit from cache (0.45s)
Computing version for https://github.com/tadija/AEXML
Computed https://github.com/tadija/AEXML at 4.5.0 (1.89s)
Computing version for https://github.com/kylef/PathKit
Computed https://github.com/kylef/PathKit at 1.0.1 (0.76s)
Fetching https://github.com/kylef/Spectre.git
[1/1021] Fetching spectre
Fetched https://github.com/kylef/Spectre.git from cache (0.51s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (1.46s)
Creating working copy for https://github.com/JohnSundell/ShellOut
Working copy of https://github.com/JohnSundell/ShellOut resolved at 2.3.0
Creating working copy for https://github.com/kylef/PathKit
Working copy of https://github.com/kylef/PathKit resolved at 1.0.1
Creating working copy for https://github.com/tuist/XcodeProj
Working copy of https://github.com/tuist/XcodeProj resolved at 7.23.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
Creating working copy for https://github.com/toshi0383/CoreCLI
Working copy of https://github.com/toshi0383/CoreCLI resolved at 0.1.10
Creating working copy for https://github.com/tadija/AEXML
Working copy of https://github.com/tadija/AEXML resolved at 4.5.0
Building for debugging...
[0/15] Write sources
[6/15] Write swift-version-24593BA9C3E375BF.txt
[8/30] Compiling CoreCLI CommandType.swift
[9/30] Compiling ShellOut ShellOut.swift
[10/30] Emitting module ShellOut
error: emit-module command failed with exit code 1 (use -v to see invocation)
[11/31] 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
[12/31] 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
[13/31] Compiling CoreCLI AutoArgumentsDecodable.swift
[14/31] Compiling CoreCLI ArgumentParser.swift
[15/31] Emitting module CoreCLI
[16/31] Emitting module AEXML
[17/31] Compiling AEXML Options.swift
[18/31] Compiling AEXML Error.swift
[19/31] Compiling AEXML Element.swift
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:9f3c606dcd2a4f06d17ba472aa533c43685ba7ba19a5c9bc23518a066eb7f86a
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/9] Write swift-version-24593BA9C3E375BF.txt
[2/24] Compiling CoreCLI CommandType.swift
[3/24] Compiling CoreCLI CommandRunner.swift
[4/24] Emitting module CoreCLI
[5/24] Compiling CoreCLI ArgumentParser.swift
[6/24] Emitting module AEXML
[7/24] Compiling AEXML Document.swift
[8/24] Compiling CoreCLI AutoArgumentsDecodable.swift
[9/25] Compiling AEXML Error.swift
[10/25] Compiling AEXML Parser.swift
[11/25] Compiling AEXML Options.swift
[13/25] Compiling AEXML Element.swift
[14/26] Emitting module ShellOut
[15/26] Compiling ShellOut ShellOut.swift
[15/27] Wrapping AST for CoreCLI for debugging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[19/27] 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
[20/27] 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
[20/27] Wrapping AST for ShellOut for debugging
[20/27] Wrapping AST for AEXML for debugging
BUILD FAILURE 6.1 android