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 ModelGen, reference 0.5.0 (af78ff), with Swift 6.2 (beta) for Android on 18 Jun 2025 05:13:45 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/hebertialmeida/modelgen.git
Reference: 0.5.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/hebertialmeida/modelgen
 * tag               0.5.0      -> FETCH_HEAD
HEAD is now at af78ff3 Update main.swift
Cloned https://github.com/hebertialmeida/modelgen.git
Revision (git rev-parse @):
af78ff30926722ac381950704bef53495f517d05
SUCCESS checkout https://github.com/hebertialmeida/modelgen.git at 0.5.0
========================================
Build
========================================
Selected platform:         android
Swift version:             6.2
Building package at path:  $PWD
https://github.com/hebertialmeida/modelgen.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:b7c4a6b4153ff40ef9277e2157e708f835b8eb011095d53bd8db4594eb2b7798
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Fetching https://github.com/kylef/Commander.git
Fetching https://github.com/kylef/PathKit.git
Fetching https://github.com/SwiftGen/StencilSwiftKit.git
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/kylef/Stencil.git
[1/1411] Fetching pathkit
[1412/6704] Fetching pathkit, stencil
[2947/8292] Fetching pathkit, stencil, commander
[5419/19151] Fetching pathkit, stencil, commander, yams
Fetched https://github.com/kylef/PathKit.git from cache (0.32s)
[7533/17740] Fetching stencil, commander, yams
[7534/21748] Fetching stencil, commander, yams, stencilswiftkit
Fetched https://github.com/kylef/Stencil.git from cache (0.40s)
[5014/16455] Fetching commander, yams, stencilswiftkit
Fetched https://github.com/kylef/Commander.git from cache (2.89s)
Fetched https://github.com/jpsim/Yams.git from cache (3.09s)
Fetched https://github.com/SwiftGen/StencilSwiftKit.git from cache (3.10s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 0.9.2 (3.99s)
Fetching https://github.com/kylef/Spectre.git
[1/1021] Fetching spectre
Fetched https://github.com/kylef/Spectre.git from cache (0.63s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 1.0.2 (3.02s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.9.2 (0.45s)
Computing version for https://github.com/kylef/Commander.git
Computed https://github.com/kylef/Commander.git at 0.9.1 (0.61s)
Computing version for https://github.com/SwiftGen/StencilSwiftKit.git
Computed https://github.com/SwiftGen/StencilSwiftKit.git at 2.10.1 (0.55s)
Fetching https://github.com/shibapm/Komondor.git
[1/509] Fetching komondor
Fetched https://github.com/shibapm/Komondor.git from cache (0.35s)
Computing version for https://github.com/shibapm/Komondor.git
Computed https://github.com/shibapm/Komondor.git at 1.1.3 (1.07s)
Fetching https://github.com/JohnSundell/ShellOut.git
Fetching https://github.com/shibapm/PackageConfig.git
[1/580] Fetching packageconfig
[222/1560] Fetching packageconfig, shellout
Fetched https://github.com/shibapm/PackageConfig.git from cache (0.37s)
Fetched https://github.com/JohnSundell/ShellOut.git from cache (0.40s)
Computing version for https://github.com/kylef/Stencil.git
Computed https://github.com/jpsim/Yams.git at 1.0.2 (0.00s)
Computed https://github.com/kylef/Spectre.git at 0.9.2 (0.00s)
Computed https://github.com/kylef/Stencil.git at 0.13.1 (0.56s)
Computed https://github.com/kylef/Commander.git at 0.9.1 (0.00s)
Computed https://github.com/SwiftGen/StencilSwiftKit.git at 2.7.2 (0.64s)
Creating working copy for https://github.com/SwiftGen/StencilSwiftKit.git
Working copy of https://github.com/SwiftGen/StencilSwiftKit.git resolved at 2.7.2
Creating working copy for https://github.com/kylef/Stencil.git
Working copy of https://github.com/kylef/Stencil.git resolved at 0.13.1
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 1.0.2
Creating working copy for https://github.com/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.9.2
Creating working copy for https://github.com/kylef/PathKit.git
Working copy of https://github.com/kylef/PathKit.git resolved at 0.9.2
Creating working copy for https://github.com/kylef/Commander.git
Working copy of https://github.com/kylef/Commander.git resolved at 0.9.1
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/Sources/Formula': File not found.
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/Sources/Example': File not found.
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/Tests/Example': File not found.
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/Tests/Formula': File not found.
warning: 'stencilswiftkit': Conflicting identity for stencil: dependency 'github.com/stencilproject/stencil' and dependency 'github.com/kylef/stencil' both point to the same package identity 'stencil'. The dependencies are introduced through the following chains: (A) /host/spi-builder-workspace->github.com/swiftgen/stencilswiftkit->github.com/stencilproject/stencil (B) /host/spi-builder-workspace->github.com/kylef/stencil. If there are multiple chains that lead to the same dependency, only the first chain is shown here. To see all chains use debug output option. To resolve the conflict, coordinate with the maintainer of the package that introduces the conflicting dependency. This will be escalated to an error in future versions of SwiftPM.
Building for debugging...
[0/21] Write sources
[6/21] Write swift-version-8C5A4AE7A8CE2BA.txt
[7/21] Compiling reader.c
[8/21] Compiling writer.c
[9/32] Compiling api.c
[10/32] Compiling parser.c
[11/32] Compiling emitter.c
[12/32] Compiling scanner.c
[14/47] Compiling Commander Error.swift
/host/spi-builder-workspace/.build/checkouts/Commander/Sources/Commander/CommandRunner.swift:4:10: error: no such module 'Darwin'
 2 |   import Glibc
 3 | #else
 4 |   import Darwin
   |          `- error: no such module 'Darwin'
 5 | #endif
 6 |
[15/48] Compiling Commander CommandType.swift
/host/spi-builder-workspace/.build/checkouts/Commander/Sources/Commander/CommandRunner.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)
[16/48] Emitting module Commander
/host/spi-builder-workspace/.build/checkouts/Commander/Sources/Commander/CommandRunner.swift:4:10: error: no such module 'Darwin'
 2 |   import Glibc
 3 | #else
 4 |   import Darwin
   |          `- error: no such module 'Darwin'
 5 | #endif
 6 |
[17/48] Compiling Commander Command.swift
/host/spi-builder-workspace/.build/checkouts/Commander/Sources/Commander/CommandRunner.swift:4:10: error: no such module 'Darwin'
 2 |   import Glibc
 3 | #else
 4 |   import Darwin
   |          `- error: no such module 'Darwin'
 5 | #endif
 6 |
[18/48] Compiling Commander CommandRunner.swift
/host/spi-builder-workspace/.build/checkouts/Commander/Sources/Commander/CommandRunner.swift:4:10: error: no such module 'Darwin'
 2 |   import Glibc
 3 | #else
 4 |   import Darwin
   |          `- error: no such module 'Darwin'
 5 | #endif
 6 |
[19/48] Compiling Commander ArgumentParser.swift
/host/spi-builder-workspace/.build/checkouts/Commander/Sources/Commander/CommandRunner.swift:4:10: error: no such module 'Darwin'
 2 |   import Glibc
 3 | #else
 4 |   import Darwin
   |          `- error: no such module 'Darwin'
 5 | #endif
 6 |
[20/48] Compiling Yams Constructor.swift
/host/spi-builder-workspace/.build/checkouts/Commander/Sources/Commander/CommandRunner.swift:4:10: error: no such module 'Darwin'
 2 |   import Glibc
 3 | #else
 4 |   import Darwin
   |          `- error: no such module 'Darwin'
 5 | #endif
 6 |
[21/48] Compiling Yams Decoder.swift
/host/spi-builder-workspace/.build/checkouts/Commander/Sources/Commander/CommandRunner.swift:4:10: error: no such module 'Darwin'
 2 |   import Glibc
 3 | #else
 4 |   import Darwin
   |          `- error: no such module 'Darwin'
 5 | #endif
 6 |
[22/48] Compiling Commander Group.swift
/host/spi-builder-workspace/.build/checkouts/Commander/Sources/Commander/CommandRunner.swift:4:10: error: no such module 'Darwin'
 2 |   import Glibc
 3 | #else
 4 |   import Darwin
   |          `- error: no such module 'Darwin'
 5 | #endif
 6 |
[23/48] Compiling Commander Commands.swift
/host/spi-builder-workspace/.build/checkouts/Commander/Sources/Commander/CommandRunner.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)
[24/48] 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
BUILD FAILURE 6.2 android