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.1 for Android on 27 May 2025 14:25:54 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-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/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.1
Building package at path:  $PWD
https://github.com/hebertialmeida/modelgen.git
https://github.com/hebertialmeida/modelgen.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "commander",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.8.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/kylef/Commander.git"
    },
    {
      "identity" : "pathkit",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.9.2",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/kylef/PathKit.git"
    },
    {
      "identity" : "stencil",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.13.1",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/kylef/Stencil.git"
    },
    {
      "identity" : "stencilswiftkit",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.7.2",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/SwiftGen/StencilSwiftKit.git"
    },
    {
      "identity" : "yams",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.1",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/jpsim/Yams.git"
    }
  ],
  "manifest_display_name" : "ModelGen",
  "name" : "ModelGen",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "modelgen",
      "targets" : [
        "ModelGen"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ModelGen",
      "module_type" : "SwiftTarget",
      "name" : "ModelGen",
      "path" : "Sources",
      "product_dependencies" : [
        "Commander",
        "PathKit",
        "Stencil",
        "StencilSwiftKit",
        "Yams"
      ],
      "product_memberships" : [
        "modelgen"
      ],
      "sources" : [
        "Configuration.swift",
        "Error.swift",
        "Filters.swift",
        "JsonParser+Context.swift",
        "JsonParser.swift",
        "LanguageType.swift",
        "Schema.swift",
        "String+Helpers.swift",
        "Utils.swift",
        "YamlParser.swift",
        "main.swift"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "CommandLineToolTests",
      "module_type" : "SwiftTarget",
      "name" : "CommandLineToolTests",
      "path" : "Tests",
      "sources" : [
        "ModelGenTests.swift"
      ],
      "target_dependencies" : [
        "ModelGen"
      ],
      "type" : "test"
    }
  ],
  "tools_version" : "4.2"
}
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/Sources/Formula': File not found.
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/Tests/Formula': File not found.
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/Tests/Example': File not found.
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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:9f3c606dcd2a4f06d17ba472aa533c43685ba7ba19a5c9bc23518a066eb7f86a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/kylef/PathKit.git
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/kylef/Stencil.git
Fetching https://github.com/kylef/Commander.git
Fetching https://github.com/SwiftGen/StencilSwiftKit.git
[1/1588] Fetching commander
[208/2999] Fetching commander, pathkit
[2313/7007] Fetching commander, pathkit, stencilswiftkit
[3602/12300] Fetching commander, pathkit, stencilswiftkit, stencil
[4185/22957] Fetching commander, pathkit, stencilswiftkit, stencil, yams
Fetched https://github.com/kylef/Commander.git from cache (1.48s)
Fetched https://github.com/kylef/Stencil.git from cache (1.48s)
Fetched https://github.com/jpsim/Yams.git from cache (1.53s)
[3095/5419] Fetching pathkit, stencilswiftkit
Fetched https://github.com/kylef/PathKit.git from cache (2.27s)
Fetched https://github.com/SwiftGen/StencilSwiftKit.git from cache (2.33s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 0.9.2 (2.90s)
Fetching https://github.com/kylef/Spectre.git
[1/1021] Fetching spectre
Fetched https://github.com/kylef/Spectre.git from cache (0.22s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 1.0.2 (2.67s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.9.2 (2.14s)
Computing version for https://github.com/kylef/Commander.git
Computed https://github.com/kylef/Commander.git at 0.9.1 (1.30s)
Computing version for https://github.com/SwiftGen/StencilSwiftKit.git
Computed https://github.com/SwiftGen/StencilSwiftKit.git at 2.10.1 (0.98s)
Fetching https://github.com/shibapm/Komondor.git
[1/509] Fetching komondor
Fetched https://github.com/shibapm/Komondor.git from cache (0.37s)
Computing version for https://github.com/shibapm/Komondor.git
Computed https://github.com/shibapm/Komondor.git at 1.1.3 (1.06s)
Fetching https://github.com/JohnSundell/ShellOut.git
Fetching https://github.com/shibapm/PackageConfig.git
[1/580] Fetching packageconfig
[581/1540] Fetching packageconfig, shellout
Fetched https://github.com/shibapm/PackageConfig.git from cache (0.42s)
Fetched https://github.com/JohnSundell/ShellOut.git from cache (0.42s)
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.70s)
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.83s)
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/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/Commander.git
Working copy of https://github.com/kylef/Commander.git resolved at 0.9.1
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/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.9.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
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/Sources/Formula': File not found.
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/Tests/Formula': File not found.
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/Tests/Example': File not found.
warning: 'stencilswiftkit': 'stencilswiftkit' dependency on 'https://github.com/stencilproject/Stencil.git' conflicts with dependency on 'https://github.com/kylef/Stencil.git' which has the same identity 'stencil'. this will be escalated to an error in future versions of SwiftPM.
Building for debugging...
[0/21] Write sources
[6/21] Compiling writer.c
[7/21] Compiling reader.c
[8/21] Compiling api.c
[9/21] Compiling parser.c
[10/21] Compiling emitter.c
[11/21] Write swift-version-24593BA9C3E375BF.txt
[11/21] 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 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 |
[16/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 |
[17/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 |
[18/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)
[19/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 |
[20/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 |
[21/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 |
[22/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 |
[23/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 |
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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:9f3c606dcd2a4f06d17ba472aa533c43685ba7ba19a5c9bc23518a066eb7f86a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
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/Sources/Formula': File not found.
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/Tests/Formula': File not found.
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/Tests/Example': File not found.
warning: 'stencilswiftkit': 'stencilswiftkit' dependency on 'https://github.com/stencilproject/Stencil.git' conflicts with dependency on 'https://github.com/kylef/Stencil.git' which has the same identity 'stencil'. this will be escalated to an error in future versions of SwiftPM.
[0/1] Planning build
Building for debugging...
[0/9] Write swift-version-24593BA9C3E375BF.txt
[2/35] 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 |
[3/36] 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 |
[4/36] 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 |
[5/36] 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 |
[6/36] 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 |
[7/36] 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 |
[8/36] 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 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/36] 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 |
[10/36] 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 |
[11/36] 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)
[12/36] 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
[13/36] Emitting module Yams
BUILD FAILURE 6.1 android