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 FengNiao, reference master (e99846), with Swift 6.1 for Android on 31 May 2025 00:31:39 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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/onevcat/fengniao.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/onevcat/fengniao
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at e99846f Update readme
Cloned https://github.com/onevcat/fengniao.git
Revision (git rev-parse @):
e99846f07287d7f0b32a667b2e4c8e1a4b86b486
SUCCESS checkout https://github.com/onevcat/fengniao.git at master
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/onevcat/fengniao.git
https://github.com/onevcat/fengniao.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "rainbow",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "3.1.1",
            "upper_bound" : "4.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/onevcat/Rainbow.git"
    },
    {
      "identity" : "commandline",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "4.0.0",
            "upper_bound" : "5.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/benoit-pereira-da-silva/CommandLine.git"
    },
    {
      "identity" : "spectre",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.10.1",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/kylef/Spectre.git"
    },
    {
      "identity" : "pathkit",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.1",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/kylef/PathKit.git"
    }
  ],
  "manifest_display_name" : "FengNiao",
  "name" : "FengNiao",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.10"
    }
  ],
  "products" : [
    {
      "name" : "FengNiao",
      "targets" : [
        "FengNiao"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "FengNiaoKit",
      "targets" : [
        "FengNiaoKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "4",
    "4.2",
    "5"
  ],
  "targets" : [
    {
      "c99name" : "FengNiaoKitTests",
      "module_type" : "SwiftTarget",
      "name" : "FengNiaoKitTests",
      "path" : "Tests/FengNiaoKitTests",
      "product_dependencies" : [
        "Spectre"
      ],
      "sources" : [
        "FengNiaoKitSpec.swift",
        "FengNiaoKitTests.swift"
      ],
      "target_dependencies" : [
        "FengNiaoKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "FengNiaoKit",
      "module_type" : "SwiftTarget",
      "name" : "FengNiaoKit",
      "path" : "Sources/FengNiaoKit",
      "product_dependencies" : [
        "Rainbow",
        "PathKit"
      ],
      "product_memberships" : [
        "FengNiao",
        "FengNiaoKit"
      ],
      "sources" : [
        "ExtensionFindProcess.swift",
        "Extensions.swift",
        "FengNiao.swift",
        "FileSearchRule.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "FengNiao",
      "module_type" : "SwiftTarget",
      "name" : "FengNiao",
      "path" : "Sources/FengNiao",
      "product_dependencies" : [
        "CommandLineKit"
      ],
      "product_memberships" : [
        "FengNiao"
      ],
      "sources" : [
        "CommandPrompt.swift",
        "main.swift"
      ],
      "target_dependencies" : [
        "FengNiaoKit"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "5.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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/Spectre.git
Fetching https://github.com/benoit-pereira-da-silva/CommandLine.git
Fetching https://github.com/onevcat/Rainbow.git
Fetching https://github.com/kylef/PathKit.git
[1/1411] Fetching pathkit
[1314/2094] Fetching pathkit, commandline
[1747/3115] Fetching pathkit, commandline, spectre
[2923/4311] Fetching pathkit, commandline, spectre, rainbow
Fetched https://github.com/benoit-pereira-da-silva/CommandLine.git from cache (0.40s)
Fetched https://github.com/kylef/PathKit.git from cache (0.40s)
Fetched https://github.com/onevcat/Rainbow.git from cache (0.40s)
Fetched https://github.com/kylef/Spectre.git from cache (0.40s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 1.0.1 (3.24s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (0.65s)
Computing version for https://github.com/onevcat/Rainbow.git
Computed https://github.com/onevcat/Rainbow.git at 3.2.0 (2.36s)
Computing version for https://github.com/benoit-pereira-da-silva/CommandLine.git
Computed https://github.com/benoit-pereira-da-silva/CommandLine.git at 4.0.9 (0.64s)
Creating working copy for https://github.com/onevcat/Rainbow.git
Working copy of https://github.com/onevcat/Rainbow.git resolved at 3.2.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/benoit-pereira-da-silva/CommandLine.git
Working copy of https://github.com/benoit-pereira-da-silva/CommandLine.git resolved at 4.0.9
Creating working copy for https://github.com/kylef/PathKit.git
Working copy of https://github.com/kylef/PathKit.git resolved at 1.0.1
Building for debugging...
[0/13] Write sources
[5/13] Write swift-version-24593BA9C3E375BF.txt
[7/30] Compiling Rainbow Style.swift
[8/31] Compiling CommandLineKit StringExtensions.swift
/host/spi-builder-workspace/.build/checkouts/CommandLine/Sources/CommandLineKit/StringExtensions.swift:30:24: error: cannot find 'localeconv' in scope
 28 |    */
 29 |   private func _localDecimalPoint() -> Character {
 30 |     guard let locale = localeconv(), let decimalPoint = locale.pointee.decimal_point else {
    |                        `- error: cannot find 'localeconv' in scope
 31 |       return "."
 32 |     }
[9/31] Compiling CommandLineKit Option.swift
[10/31] Compiling Rainbow String+Rainbow.swift
[11/31] Compiling Rainbow StringGenerator.swift
[12/31] Compiling Rainbow XcodeColorsSupport.swift
[13/31] Compiling Rainbow Rainbow.swift
[14/31] Compiling Rainbow BackgroundColor.swift
[15/31] Compiling Rainbow CodesParser.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[16/31] Emitting module Rainbow
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/OutputTarget.swift:57:58: error: cannot find 'isatty' in scope
55 |         // Check if we are in any term env and the output is a tty.
56 |         let termType = getEnvValue("TERM")
57 |         if let t = termType, t.lowercased() != "dumb" && isatty(fileno(stdout)) != 0 {
   |                                                          `- error: cannot find 'isatty' in scope
58 |             return .console
59 |         }
[17/31] Compiling Rainbow Color.swift
[18/31] Compiling Rainbow ControlCode.swift
[19/31] Compiling Rainbow ModesExtractor.swift
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/OutputTarget.swift:57:58: error: cannot find 'isatty' in scope
55 |         // Check if we are in any term env and the output is a tty.
56 |         let termType = getEnvValue("TERM")
57 |         if let t = termType, t.lowercased() != "dumb" && isatty(fileno(stdout)) != 0 {
   |                                                          `- error: cannot find 'isatty' in scope
58 |             return .console
59 |         }
[20/31] Compiling Rainbow OutputTarget.swift
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/OutputTarget.swift:57:58: error: cannot find 'isatty' in scope
55 |         // Check if we are in any term env and the output is a tty.
56 |         let termType = getEnvValue("TERM")
57 |         if let t = termType, t.lowercased() != "dumb" && isatty(fileno(stdout)) != 0 {
   |                                                          `- error: cannot find 'isatty' in scope
58 |             return .console
59 |         }
[21/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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[22/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
[23/31] Compiling CommandLineKit CommandLine.swift
[24/31] Emitting module CommandLineKit
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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/8] Write swift-version-24593BA9C3E375BF.txt
[2/25] Compiling CommandLineKit StringExtensions.swift
/host/spi-builder-workspace/.build/checkouts/CommandLine/Sources/CommandLineKit/StringExtensions.swift:30:24: error: cannot find 'localeconv' in scope
 28 |    */
 29 |   private func _localDecimalPoint() -> Character {
 30 |     guard let locale = localeconv(), let decimalPoint = locale.pointee.decimal_point else {
    |                        `- error: cannot find 'localeconv' in scope
 31 |       return "."
 32 |     }
[3/25] Compiling Rainbow Color.swift
[4/25] Compiling Rainbow ControlCode.swift
[5/25] Compiling Rainbow BackgroundColor.swift
[6/25] Compiling Rainbow CodesParser.swift
[7/25] Compiling Rainbow Style.swift
[8/26] Compiling Rainbow StringGenerator.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/26] Emitting module Rainbow
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/OutputTarget.swift:57:58: error: cannot find 'isatty' in scope
55 |         // Check if we are in any term env and the output is a tty.
56 |         let termType = getEnvValue("TERM")
57 |         if let t = termType, t.lowercased() != "dumb" && isatty(fileno(stdout)) != 0 {
   |                                                          `- error: cannot find 'isatty' in scope
58 |             return .console
59 |         }
[10/26] Compiling Rainbow String+Rainbow.swift
[11/26] Compiling Rainbow Rainbow.swift
[12/26] Compiling Rainbow ModesExtractor.swift
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/OutputTarget.swift:57:58: error: cannot find 'isatty' in scope
55 |         // Check if we are in any term env and the output is a tty.
56 |         let termType = getEnvValue("TERM")
57 |         if let t = termType, t.lowercased() != "dumb" && isatty(fileno(stdout)) != 0 {
   |                                                          `- error: cannot find 'isatty' in scope
58 |             return .console
59 |         }
[13/26] Compiling Rainbow OutputTarget.swift
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/OutputTarget.swift:57:58: error: cannot find 'isatty' in scope
55 |         // Check if we are in any term env and the output is a tty.
56 |         let termType = getEnvValue("TERM")
57 |         if let t = termType, t.lowercased() != "dumb" && isatty(fileno(stdout)) != 0 {
   |                                                          `- error: cannot find 'isatty' in scope
58 |             return .console
59 |         }
[14/26] Compiling CommandLineKit Option.swift
[15/26] Compiling Rainbow XcodeColorsSupport.swift
[16/26] Emitting module CommandLineKit
error: emit-module command failed with exit code 1 (use -v to see invocation)
[17/26] 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.1 android