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 check-permissions, reference 0.0.6 (6aa4ec), with Swift 6.1 for Android on 29 May 2025 16:16:04 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/ezefranca/check-permissions.git
Reference: 0.0.6
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/ezefranca/check-permissions
 * tag               0.0.6      -> FETCH_HEAD
HEAD is now at 6aa4ece add build
Cloned https://github.com/ezefranca/check-permissions.git
Revision (git rev-parse @):
6aa4ece7d374d7a6d4ef7c0ffc689437654bc91f
SUCCESS checkout https://github.com/ezefranca/check-permissions.git at 0.0.6
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/ezefranca/check-permissions.git
https://github.com/ezefranca/check-permissions.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.5.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser.git"
    },
    {
      "identity" : "xcodeproj",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "8.23.2",
            "upper_bound" : "9.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/tuist/XcodeProj.git"
    },
    {
      "identity" : "rainbow",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "4.0.1",
            "upper_bound" : "5.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/onevcat/Rainbow"
    },
    {
      "identity" : "swiftytexttable",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.9.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/scottrhoyt/SwiftyTextTable.git"
    }
  ],
  "manifest_display_name" : "check-permissions",
  "name" : "check-permissions",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "15.0"
    },
    {
      "name" : "macos",
      "version" : "12.0"
    },
    {
      "name" : "watchos",
      "version" : "9.0"
    },
    {
      "name" : "tvos",
      "version" : "15.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "check-permissions-cli",
      "targets" : [
        "check-permissions-cli"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "check-permissions",
      "targets" : [
        "check-permissions"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "check_permissions_packageTests",
      "module_type" : "SwiftTarget",
      "name" : "check-permissions-packageTests",
      "path" : "Tests/check-permissions-packageTests",
      "sources" : [
        "PermissionCheckerTests.swift"
      ],
      "target_dependencies" : [
        "check-permissions"
      ],
      "type" : "test"
    },
    {
      "c99name" : "check_permissions_cli",
      "module_type" : "SwiftTarget",
      "name" : "check-permissions-cli",
      "path" : "Sources/check-permissions-cli",
      "product_dependencies" : [
        "ArgumentParser",
        "Rainbow",
        "SwiftyTextTable"
      ],
      "product_memberships" : [
        "check-permissions-cli"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "check-permissions"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "check_permissions",
      "module_type" : "SwiftTarget",
      "name" : "check-permissions",
      "path" : "Sources/check-permissions",
      "product_memberships" : [
        "check-permissions-cli",
        "check-permissions"
      ],
      "sources" : [
        "PermissionChecker.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.10"
}
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/apple/swift-argument-parser.git
Fetching https://github.com/onevcat/Rainbow
Fetching https://github.com/tuist/XcodeProj.git
Fetching https://github.com/scottrhoyt/SwiftyTextTable.git
[1/929] Fetching swiftytexttable
[122/2125] Fetching swiftytexttable, rainbow
[2126/25415] Fetching swiftytexttable, rainbow, xcodeproj
Fetched https://github.com/scottrhoyt/SwiftyTextTable.git from cache (0.92s)
[1429/24486] Fetching rainbow, xcodeproj
[8184/39865] Fetching rainbow, xcodeproj, swift-argument-parser
Fetched https://github.com/onevcat/Rainbow from cache (2.05s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (2.06s)
Fetched https://github.com/tuist/XcodeProj.git from cache (2.08s)
Computing version for https://github.com/scottrhoyt/SwiftyTextTable.git
Computed https://github.com/scottrhoyt/SwiftyTextTable.git at 0.9.0 (5.84s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 4.1.0 (0.58s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.5.1 (1.17s)
Computing version for https://github.com/tuist/XcodeProj.git
Computed https://github.com/tuist/XcodeProj.git at 8.27.7 (0.58s)
Fetching https://github.com/tadija/AEXML.git
Fetching https://github.com/kylef/PathKit.git
[1/1411] Fetching pathkit
[114/3538] Fetching pathkit, aexml
Fetched https://github.com/tadija/AEXML.git from cache (0.27s)
Fetched https://github.com/kylef/PathKit.git from cache (0.27s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 1.0.1 (3.07s)
Fetching https://github.com/kylef/Spectre.git
[1/1021] Fetching spectre
Fetched https://github.com/kylef/Spectre.git from cache (0.28s)
Computing version for https://github.com/tadija/AEXML.git
Computed https://github.com/tadija/AEXML.git at 4.7.0 (1.33s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (2.51s)
Creating working copy for https://github.com/tuist/XcodeProj.git
Working copy of https://github.com/tuist/XcodeProj.git resolved at 8.27.7
Creating working copy for https://github.com/tadija/AEXML.git
Working copy of https://github.com/tadija/AEXML.git resolved at 4.7.0
Creating working copy for https://github.com/kylef/PathKit.git
Working copy of https://github.com/kylef/PathKit.git resolved at 1.0.1
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/onevcat/Rainbow
Working copy of https://github.com/onevcat/Rainbow resolved at 4.1.0
Creating working copy for https://github.com/scottrhoyt/SwiftyTextTable.git
Working copy of https://github.com/scottrhoyt/SwiftyTextTable.git resolved at 0.9.0
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.5.1
warning: 'spi-builder-workspace': dependency 'xcodeproj' is not used by any target
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/16] Write sources
[7/16] Write swift-version-24593BA9C3E375BF.txt
[9/33] Emitting module ArgumentParserToolInfo
[10/33] Compiling ArgumentParserToolInfo ToolInfo.swift
[12/34] Compiling Rainbow BackgroundColor.swift
[13/34] Compiling Rainbow CodesParser.swift
[14/35] Compiling Rainbow StringGenerator.swift
[15/35] Compiling Rainbow String+Rainbow.swift
[16/35] Compiling Rainbow Style.swift
[16/35] Wrapping AST for ArgumentParserToolInfo for debugging
[18/73] Emitting module ArgumentParser
[19/78] Compiling ArgumentParser Name.swift
[20/78] Compiling ArgumentParser Parsed.swift
[21/78] Compiling ArgumentParser ParsedValues.swift
[22/78] Compiling ArgumentParser ParserError.swift
[23/78] Compiling ArgumentParser SplitArguments.swift
[24/78] Compiling ArgumentParser CollectionExtensions.swift
[25/78] Compiling ArgumentParser Platform.swift
[26/78] Compiling ArgumentParser SequenceExtensions.swift
[27/78] Compiling ArgumentParser StringExtensions.swift
[28/78] Compiling ArgumentParser Tree.swift
[29/78] Compiling ArgumentParser Argument.swift
[30/78] Compiling ArgumentParser ArgumentHelp.swift
[31/78] Compiling ArgumentParser ArgumentVisibility.swift
[32/78] Compiling ArgumentParser CompletionKind.swift
[33/78] Compiling ArgumentParser Errors.swift
[34/78] Compiling ArgumentParser Flag.swift
[35/78] Compiling ArgumentParser NameSpecification.swift
[36/78] Compiling ArgumentParser Option.swift
[37/78] Compiling ArgumentParser BashCompletionsGenerator.swift
[38/78] Compiling ArgumentParser CompletionsGenerator.swift
[39/78] Compiling ArgumentParser FishCompletionsGenerator.swift
[40/78] Compiling ArgumentParser ZshCompletionsGenerator.swift
[43/78] Compiling check_permissions PermissionChecker.swift
[44/78] Emitting module check_permissions
error: emit-module command failed with exit code 1 (use -v to see invocation)
[47/79] Emitting module Rainbow
/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 |         }
[48/79] Compiling Rainbow Rainbow.swift
[49/79] 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 |         }
[50/79] Emitting module SwiftyTextTable
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
warning: 'spi-builder-workspace': dependency 'xcodeproj' is not used by any target
[0/1] Planning build
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/10] Write swift-version-24593BA9C3E375BF.txt
[3/27] Emitting module ArgumentParserToolInfo
[4/27] Compiling Rainbow StringGenerator.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/28] Emitting module Rainbow
/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 |         }
[6/28] Emitting module check_permissions
[7/28] Compiling check_permissions PermissionChecker.swift
[8/29] Compiling Rainbow String+Rainbow.swift
[10/29] Emitting module SwiftyTextTable
[11/29] Compiling SwiftyTextTable TextTable.swift
[12/29] Compiling Rainbow ControlCode.swift
[13/29] Compiling Rainbow ModesExtractor.swift
[14/30] Compiling Rainbow Rainbow.swift
[15/30] 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 |         }
[16/30] Compiling Rainbow Style.swift
[16/30] Wrapping AST for check-permissions for debugging
[18/30] Wrapping AST for SwiftyTextTable for debugging
[20/30] Compiling ArgumentParserToolInfo ToolInfo.swift
[21/31] Compiling Rainbow BackgroundColor.swift
[22/31] Compiling Rainbow CodesParser.swift
[23/31] Compiling Rainbow Color.swift
[24/31] Compiling Rainbow ColorApproximation.swift
BUILD FAILURE 6.1 android