The Swift Package Index logo.Swift Package Index

Build Information

Failed to build ModelGen, reference master (d2e7c2), with Swift 6.1 for Android on 27 May 2025 14:25:51 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/hebertialmeida/modelgen.git
Reference: master
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
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at d2e7c28 Sort imports
Cloned https://github.com/hebertialmeida/modelgen.git
Revision (git rev-parse @):
d2e7c28897fd4cd449995c98f0c4f16f8e3d3d28
SUCCESS checkout https://github.com/hebertialmeida/modelgen.git at master
========================================
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
      }
    },
    {
      "name" : "ModelGenKit",
      "targets" : [
        "ModelGenKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ModelGenTests",
      "module_type" : "SwiftTarget",
      "name" : "ModelGenTests",
      "path" : "Tests/ModelGenTests",
      "sources" : [
        "Core/TestUtils.swift",
        "Tests/ConfigurationTest.swift",
        "Tests/ErrorTests.swift",
        "Tests/FiltersTest.swift",
        "Tests/SchemaTests.swift",
        "Tests/YamlParserTest.swift"
      ],
      "target_dependencies" : [
        "ModelGenKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ModelGenKit",
      "module_type" : "SwiftTarget",
      "name" : "ModelGenKit",
      "path" : "Sources/ModelGenKit",
      "product_dependencies" : [
        "Commander",
        "PathKit",
        "Stencil",
        "StencilSwiftKit",
        "Yams"
      ],
      "product_memberships" : [
        "modelgen",
        "ModelGenKit"
      ],
      "sources" : [
        "Configuration.swift",
        "Error.swift",
        "Filters.swift",
        "JsonParser+Context.swift",
        "JsonParser.swift",
        "LanguageType.swift",
        "Schema.swift",
        "String+Helpers.swift",
        "Utils.swift",
        "YamlParser.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "ModelGen",
      "module_type" : "SwiftTarget",
      "name" : "ModelGen",
      "path" : "Sources/ModelGen",
      "product_memberships" : [
        "modelgen"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "ModelGenKit"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "4.2"
}
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:9f3c606dcd2a4f06d17ba472aa533c43685ba7ba19a5c9bc23518a066eb7f86a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/kylef/Stencil.git
Fetching https://github.com/kylef/PathKit.git
Fetching https://github.com/kylef/Commander.git
Fetching https://github.com/SwiftGen/StencilSwiftKit.git
Fetching https://github.com/jpsim/Yams.git
[1/1411] Fetching pathkit
[1412/6704] Fetching pathkit, stencil
[6705/17361] Fetching pathkit, stencil, yams
Fetched https://github.com/kylef/PathKit.git from cache (1.23s)
Fetched https://github.com/kylef/Stencil.git from cache (1.23s)
[1/4008] Fetching stencilswiftkit
[42/5596] Fetching stencilswiftkit, commander
Fetched https://github.com/kylef/Commander.git from cache (3.05s)
Fetched https://github.com/jpsim/Yams.git from cache (3.08s)
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 (5.04s)
Fetching https://github.com/kylef/Spectre.git
[1/1021] Fetching spectre
Fetched https://github.com/kylef/Spectre.git from cache (0.38s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 1.0.2 (2.72s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.9.2 (0.61s)
Computing version for https://github.com/kylef/Commander.git
Computed https://github.com/kylef/Commander.git at 0.9.1 (2.19s)
Computing version for https://github.com/SwiftGen/StencilSwiftKit.git
Computed https://github.com/SwiftGen/StencilSwiftKit.git at 2.10.1 (0.75s)
Fetching https://github.com/shibapm/Komondor.git
[1/509] Fetching komondor
Fetched https://github.com/shibapm/Komondor.git from cache (0.29s)
Computing version for https://github.com/shibapm/Komondor.git
Computed https://github.com/shibapm/Komondor.git at 1.1.3 (1.05s)
Fetching https://github.com/JohnSundell/ShellOut.git
Fetching https://github.com/shibapm/PackageConfig.git
[1/960] Fetching shellout
[961/1540] Fetching shellout, packageconfig
Fetched https://github.com/JohnSundell/ShellOut.git from cache (0.52s)
Fetched https://github.com/shibapm/PackageConfig.git from cache (0.53s)
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.58s)
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/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
Creating working copy for https://github.com/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.9.2
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/23] Write sources
[7/23] Compiling reader.c
[8/23] Compiling parser.c
[9/23] Compiling writer.c
[10/23] Compiling api.c
[11/23] Compiling emitter.c
[12/23] Compiling scanner.c
[13/23] Write swift-version-24593BA9C3E375BF.txt
[15/49] Compiling Yams Emitter.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/49] Compiling Yams Encoder.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/49] 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 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[18/49] 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 |
[19/50] 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 |
[20/50] 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 |
[21/50] 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 |
[22/50] 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/50] 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 |
[24/50] 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 |
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:9f3c606dcd2a4f06d17ba472aa533c43685ba7ba19a5c9bc23518a066eb7f86a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
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/10] Write swift-version-24593BA9C3E375BF.txt
[2/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 |
[3/37] 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 |
[4/37] 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 |
[5/37] 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 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/37] 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 |
[7/37] 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/37] 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 |
[9/37] 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 |
[10/37] 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 |
[11/37] 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 |
BUILD FAILURE 6.1 android