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 Genesis, reference master (f09679), with Swift 6.1 for Android on 28 May 2025 16:53:41 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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/yonaskolb/Genesis.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/yonaskolb/Genesis
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at f096796 Update README.md
Cloned https://github.com/yonaskolb/Genesis.git
Revision (git rev-parse @):
f0967966fafba5a36665778a91c9d1e8245cb7fd
SUCCESS checkout https://github.com/yonaskolb/Genesis.git at master
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/yonaskolb/Genesis.git
https://github.com/yonaskolb/Genesis.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "stencilswiftkit",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.10.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/SwiftGen/StencilSwiftKit"
    },
    {
      "identity" : "yams",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "5.0.0",
            "upper_bound" : "6.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/jpsim/Yams"
    },
    {
      "identity" : "pathkit",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.1",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/kylef/PathKit"
    },
    {
      "identity" : "rainbow",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "4.0.1",
            "upper_bound" : "5.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/onevcat/Rainbow"
    },
    {
      "identity" : "swiftcli",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "6.0.3",
            "upper_bound" : "7.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/jakeheis/SwiftCLI"
    }
  ],
  "manifest_display_name" : "Genesis",
  "name" : "Genesis",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "genesis",
      "targets" : [
        "Genesis"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "GenesisKit",
      "targets" : [
        "GenesisKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "GenesisKitTests",
      "module_type" : "SwiftTarget",
      "name" : "GenesisKitTests",
      "path" : "Tests/GenesisKitTests",
      "sources" : [
        "Fixtures.swift",
        "GeneratorTests.swift",
        "TemplateTests.swift",
        "WritingTests.swift"
      ],
      "target_dependencies" : [
        "GenesisKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "GenesisKit",
      "module_type" : "SwiftTarget",
      "name" : "GenesisKit",
      "path" : "Sources/GenesisKit",
      "product_dependencies" : [
        "SwiftCLI",
        "StencilSwiftKit",
        "Yams",
        "PathKit",
        "Rainbow"
      ],
      "product_memberships" : [
        "genesis",
        "GenesisKit"
      ],
      "sources" : [
        "File.swift",
        "GenesisTemplate.swift",
        "Input.swift",
        "Option.swift",
        "TemplateGenerator.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "GenesisCLITests",
      "module_type" : "SwiftTarget",
      "name" : "GenesisCLITests",
      "path" : "Tests/GenesisCLITests",
      "sources" : [
        "CLITests.swift"
      ],
      "target_dependencies" : [
        "GenesisCLI"
      ],
      "type" : "test"
    },
    {
      "c99name" : "GenesisCLI",
      "module_type" : "SwiftTarget",
      "name" : "GenesisCLI",
      "path" : "Sources/GenesisCLI",
      "product_dependencies" : [
        "SwiftCLI"
      ],
      "product_memberships" : [
        "genesis"
      ],
      "sources" : [
        "GenerateCommand.swift",
        "GenesisCLI.swift",
        "Streams.swift"
      ],
      "target_dependencies" : [
        "GenesisKit"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Genesis",
      "module_type" : "SwiftTarget",
      "name" : "Genesis",
      "path" : "Sources/Genesis",
      "product_memberships" : [
        "genesis"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "GenesisCLI"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "5.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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/kylef/PathKit
Fetching https://github.com/SwiftGen/StencilSwiftKit
Fetching https://github.com/jpsim/Yams
Fetching https://github.com/jakeheis/SwiftCLI
Fetching https://github.com/onevcat/Rainbow
[1/4008] Fetching stencilswiftkit
[42/9082] Fetching stencilswiftkit, swiftcli
[3597/10278] Fetching stencilswiftkit, swiftcli, rainbow
[4264/11689] Fetching stencilswiftkit, swiftcli, rainbow, pathkit
[5525/22346] Fetching stencilswiftkit, swiftcli, rainbow, pathkit, yams
Fetched https://github.com/onevcat/Rainbow from cache (0.53s)
[7407/21150] Fetching stencilswiftkit, swiftcli, pathkit, yams
Fetched https://github.com/jakeheis/SwiftCLI from cache (0.63s)
[2866/16076] Fetching stencilswiftkit, pathkit, yams
Fetched https://github.com/jpsim/Yams from cache (2.26s)
Fetched https://github.com/kylef/PathKit from cache (3.16s)
Fetched https://github.com/SwiftGen/StencilSwiftKit from cache (3.22s)
Computing version for https://github.com/jakeheis/SwiftCLI
Computed https://github.com/jakeheis/SwiftCLI at 6.0.3 (4.15s)
Computing version for https://github.com/kylef/PathKit
Computed https://github.com/kylef/PathKit 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.29s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 4.1.0 (3.59s)
Computing version for https://github.com/SwiftGen/StencilSwiftKit
Computed https://github.com/SwiftGen/StencilSwiftKit at 2.10.1 (0.97s)
Fetching https://github.com/stencilproject/Stencil.git
Fetching https://github.com/shibapm/Komondor.git
[1/509] Fetching komondor
[393/5802] Fetching komondor, stencil
Fetched https://github.com/shibapm/Komondor.git from cache (0.36s)
Fetched https://github.com/stencilproject/Stencil.git from cache (0.39s)
Computing version for https://github.com/shibapm/Komondor.git
Computed https://github.com/shibapm/Komondor.git at 1.1.3 (1.51s)
Fetching https://github.com/shibapm/PackageConfig.git
Fetching https://github.com/JohnSundell/ShellOut.git
[1/580] Fetching packageconfig
[239/1540] Fetching packageconfig, shellout
Fetched https://github.com/shibapm/PackageConfig.git from cache (0.46s)
Fetched https://github.com/JohnSundell/ShellOut.git from cache (0.46s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (1.05s)
Computing version for https://github.com/stencilproject/Stencil.git
Computed https://github.com/stencilproject/Stencil.git at 0.15.1 (0.58s)
Computing version for https://github.com/JohnSundell/ShellOut.git
Computed https://github.com/JohnSundell/ShellOut.git at 2.3.0 (0.61s)
Computing version for https://github.com/shibapm/PackageConfig.git
Computed https://github.com/shibapm/PackageConfig.git at 1.1.3 (0.73s)
Computing version for https://github.com/jpsim/Yams
Computed https://github.com/jpsim/Yams at 5.4.0 (0.74s)
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/jakeheis/SwiftCLI
Working copy of https://github.com/jakeheis/SwiftCLI resolved at 6.0.3
Creating working copy for https://github.com/SwiftGen/StencilSwiftKit
Working copy of https://github.com/SwiftGen/StencilSwiftKit resolved at 2.10.1
Creating working copy for https://github.com/onevcat/Rainbow
Working copy of https://github.com/onevcat/Rainbow resolved at 4.1.0
Creating working copy for https://github.com/JohnSundell/ShellOut.git
Working copy of https://github.com/JohnSundell/ShellOut.git resolved at 2.3.0
Creating working copy for https://github.com/shibapm/Komondor.git
Working copy of https://github.com/shibapm/Komondor.git resolved at 1.1.3
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/stencilproject/Stencil.git
Working copy of https://github.com/stencilproject/Stencil.git resolved at 0.15.1
Creating working copy for https://github.com/shibapm/PackageConfig.git
Working copy of https://github.com/shibapm/PackageConfig.git resolved at 1.1.3
Creating working copy for https://github.com/jpsim/Yams
Working copy of https://github.com/jpsim/Yams resolved at 5.4.0
Building for debugging...
[0/27] Write sources
[9/27] Compiling reader.c
[10/27] Compiling parser.c
[11/27] Compiling api.c
[12/27] Compiling emitter.c
[13/27] Compiling writer.c
[14/27] Write swift-version-24593BA9C3E375BF.txt
[15/27] Compiling scanner.c
[17/81] Compiling Yams Tag.swift
[18/81] Compiling Yams YamlAnchorProviding.swift
[19/81] Compiling Rainbow StringGenerator.swift
[20/81] Compiling Rainbow String+Rainbow.swift
[21/84] Compiling Rainbow Style.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[22/84] 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
[23/84] 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
[24/84] Compiling Yams Resolver.swift
[25/84] Compiling Yams String+Yams.swift
[26/84] Compiling Yams RedundancyAliasingStrategy.swift
[27/84] Compiling Yams Representer.swift
[28/84] Compiling Rainbow OutputTarget.swift
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/OutputTarget.swift:49:58: error: cannot find 'isatty' in scope
47 |         // Check if we are in any term env and the output is a tty.
48 |         let termType = getEnvValue("TERM")
49 |         if let t = termType, t.lowercased() != "dumb" && isatty(fileno(stdout)) != 0 {
   |                                                          `- error: cannot find 'isatty' in scope
50 |             return .console
51 |         }
[29/84] Emitting module Yams
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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/12] Write swift-version-24593BA9C3E375BF.txt
[2/66] Compiling Rainbow OutputTarget.swift
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/OutputTarget.swift:49:58: error: cannot find 'isatty' in scope
47 |         // Check if we are in any term env and the output is a tty.
48 |         let termType = getEnvValue("TERM")
49 |         if let t = termType, t.lowercased() != "dumb" && isatty(fileno(stdout)) != 0 {
   |                                                          `- error: cannot find 'isatty' in scope
50 |             return .console
51 |         }
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/67] 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
[4/67] 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
[5/67] Compiling SwiftCLI Compatibility.swift
[6/67] Compiling SwiftCLI CompletionGenerator.swift
[7/67] Compiling Rainbow Style.swift
BUILD FAILURE 6.1 android