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 PlaygroundTools, reference main (f331e2), with Swift 6.1 for Android on 28 May 2025 10:26:11 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-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/liamnichols/swift-playground-tools.git
Reference: main
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/liamnichols/swift-playground-tools
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at f331e26 Remove GeneratorError.swift
Cloned https://github.com/liamnichols/swift-playground-tools.git
Revision (git rev-parse @):
f331e26ce0faeed6910d14fe37524b6dd9209be0
SUCCESS checkout https://github.com/liamnichols/swift-playground-tools.git at main
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/liamnichols/swift-playground-tools.git
https://github.com/liamnichols/swift-playground-tools.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser.git"
    },
    {
      "identity" : "pathkit",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/kylef/PathKit.git"
    },
    {
      "identity" : "xcodegen",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.0.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/yonaskolb/XcodeGen.git"
    }
  ],
  "manifest_display_name" : "PlaygroundTools",
  "name" : "PlaygroundTools",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "11.0"
    }
  ],
  "products" : [
    {
      "name" : "playground-tools",
      "targets" : [
        "PlaygroundTools"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "PlaygroundToolsTests",
      "module_type" : "SwiftTarget",
      "name" : "PlaygroundToolsTests",
      "path" : "Tests/PlaygroundToolsTests",
      "sources" : [
        "GeneratorTests.swift"
      ],
      "target_dependencies" : [
        "PlaygroundTools"
      ],
      "type" : "test"
    },
    {
      "c99name" : "PlaygroundToolsKit",
      "module_type" : "SwiftTarget",
      "name" : "PlaygroundToolsKit",
      "path" : "Sources/PlaygroundToolsKit",
      "product_dependencies" : [
        "XcodeGenKit",
        "ProjectSpec",
        "PathKit"
      ],
      "product_memberships" : [
        "playground-tools"
      ],
      "sources" : [
        "Package.swift",
        "PackageLoaders/HackyV4PackageLoader.swift",
        "StringError.swift",
        "SwiftPlaygroundApp.swift",
        "XcodeProject.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "PlaygroundTools",
      "module_type" : "SwiftTarget",
      "name" : "PlaygroundTools",
      "path" : "Sources/PlaygroundTools",
      "product_dependencies" : [
        "ArgumentParser",
        "PathKit"
      ],
      "product_memberships" : [
        "playground-tools"
      ],
      "sources" : [
        "PlaygroundTools.swift"
      ],
      "target_dependencies" : [
        "PlaygroundToolsKit"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "5.5"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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.git
Fetching https://github.com/yonaskolb/XcodeGen.git
Fetching https://github.com/apple/swift-argument-parser.git
[1/1411] Fetching pathkit
[975/26864] Fetching pathkit, xcodegen
[3266/42215] Fetching pathkit, xcodegen, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (2.98s)
Fetched https://github.com/kylef/PathKit.git from cache (3.13s)
Fetched https://github.com/yonaskolb/XcodeGen.git from cache (3.22s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 1.0.1 (6.02s)
Fetching https://github.com/kylef/Spectre.git
[1/1021] Fetching spectre
Fetched https://github.com/kylef/Spectre.git from cache (0.70s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (1.81s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.5.0 (0.47s)
Computing version for https://github.com/yonaskolb/XcodeGen.git
Computed https://github.com/yonaskolb/XcodeGen.git at 2.43.0 (0.51s)
Fetching https://github.com/jakeheis/SwiftCLI.git
Fetching https://github.com/onevcat/Rainbow.git
Fetching https://github.com/mxcl/Version
Fetching https://github.com/tuist/XcodeProj.git
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/yonaskolb/JSONUtilities.git
[1/1353] Fetching jsonutilities
[110/2549] Fetching jsonutilities, rainbow
[785/2837] Fetching jsonutilities, rainbow, version
[2838/7911] Fetching jsonutilities, rainbow, version, swiftcli
[7253/18568] Fetching jsonutilities, rainbow, version, swiftcli, yams
Fetched https://github.com/yonaskolb/JSONUtilities.git from cache (0.34s)
[6878/17215] Fetching rainbow, version, swiftcli, yams
[7199/40505] Fetching rainbow, version, swiftcli, yams, xcodeproj
Fetched https://github.com/onevcat/Rainbow.git from cache (0.42s)
[6681/39309] Fetching version, swiftcli, yams, xcodeproj
Fetched https://github.com/mxcl/Version from cache (1.39s)
Fetched https://github.com/jakeheis/SwiftCLI.git from cache (1.39s)
Fetched https://github.com/tuist/XcodeProj.git from cache (1.43s)
Fetched https://github.com/jpsim/Yams.git from cache (1.43s)
Computing version for https://github.com/jakeheis/SwiftCLI.git
Computed https://github.com/jakeheis/SwiftCLI.git at 6.0.3 (1.94s)
Computing version for https://github.com/tuist/XcodeProj.git
Computed https://github.com/tuist/XcodeProj.git at 8.24.3 (0.54s)
Fetching https://github.com/tadija/AEXML.git
[1/2127] Fetching aexml
Fetched https://github.com/tadija/AEXML.git from cache (0.28s)
Computing version for https://github.com/yonaskolb/JSONUtilities.git
Computed https://github.com/yonaskolb/JSONUtilities.git at 4.2.0 (0.96s)
Computing version for https://github.com/tadija/AEXML.git
Computed https://github.com/tadija/AEXML.git at 4.6.1 (0.51s)
Computing version for https://github.com/mxcl/Version
Computed https://github.com/mxcl/Version at 2.1.0 (0.58s)
Computing version for https://github.com/onevcat/Rainbow.git
Computed https://github.com/onevcat/Rainbow.git at 4.1.0 (2.20s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.4.0 (0.52s)
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 5.4.0
Creating working copy for https://github.com/tadija/AEXML.git
Working copy of https://github.com/tadija/AEXML.git resolved at 4.6.1
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/yonaskolb/JSONUtilities.git
Working copy of https://github.com/yonaskolb/JSONUtilities.git resolved at 4.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/onevcat/Rainbow.git
Working copy of https://github.com/onevcat/Rainbow.git resolved at 4.1.0
Creating working copy for https://github.com/mxcl/Version
Working copy of https://github.com/mxcl/Version resolved at 2.1.0
Creating working copy for https://github.com/jakeheis/SwiftCLI.git
Working copy of https://github.com/jakeheis/SwiftCLI.git resolved at 6.0.3
Creating working copy for https://github.com/yonaskolb/XcodeGen.git
Working copy of https://github.com/yonaskolb/XcodeGen.git resolved at 2.43.0
Creating working copy for https://github.com/tuist/XcodeProj.git
Working copy of https://github.com/tuist/XcodeProj.git resolved at 8.24.3
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.0
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/37] Write sources
[14/37] Copying SettingPresets
[15/37] Compiling reader.c
[15/37] Compiling writer.c
[17/37] Compiling parser.c
[18/37] Compiling api.c
[19/37] Compiling emitter.c
[20/37] Write swift-version-24593BA9C3E375BF.txt
[21/37] Compiling scanner.c
[23/82] Emitting module AEXML
[24/82] Compiling ArgumentParserToolInfo ToolInfo.swift
[25/82] Emitting module ArgumentParserToolInfo
[27/83] Compiling Version Version+Range.swift
[28/83] Compiling Version Version.swift
[28/83] Wrapping AST for ArgumentParserToolInfo for debugging
[30/83] Compiling Yams Tag.swift
[31/83] Compiling Yams YamlAnchorProviding.swift
[32/123] Compiling ArgumentParser ArgumentVisibility.swift
[33/123] Compiling ArgumentParser CompletionKind.swift
[34/123] Compiling ArgumentParser Errors.swift
[35/123] Compiling ArgumentParser Flag.swift
[36/123] Compiling ArgumentParser NameSpecification.swift
[37/123] Compiling ArgumentParser Option.swift
[38/128] Emitting module ArgumentParser
[39/128] Compiling ArgumentParser BashCompletionsGenerator.swift
[40/128] Compiling ArgumentParser CompletionsGenerator.swift
[41/128] Compiling ArgumentParser FishCompletionsGenerator.swift
[42/128] Compiling ArgumentParser ZshCompletionsGenerator.swift
[43/128] Compiling ArgumentParser Argument.swift
[44/128] Compiling ArgumentParser ArgumentHelp.swift
[45/128] Compiling ArgumentParser OptionGroup.swift
[46/128] Compiling ArgumentParser AsyncParsableCommand.swift
[47/128] Compiling ArgumentParser CommandConfiguration.swift
[48/128] Compiling ArgumentParser CommandGroup.swift
[49/128] Compiling ArgumentParser EnumerableFlag.swift
[50/128] Compiling ArgumentParser CollectionExtensions.swift
[51/128] Compiling ArgumentParser Platform.swift
[52/128] Compiling ArgumentParser SequenceExtensions.swift
[53/128] Compiling ArgumentParser StringExtensions.swift
[54/128] Compiling ArgumentParser Tree.swift
[55/128] Compiling AEXML Parser.swift
[56/128] Compiling AEXML Options.swift
[57/128] Compiling JSONUtilities JSONFileLoading.swift
[58/128] Compiling JSONUtilities JSONPrimitiveConvertible.swift
[59/128] Compiling JSONUtilities JSONObjectConvertible.swift
[60/129] Compiling JSONUtilities InvalidItemBehaviour.swift
[63/129] Emitting module JSONUtilities
[64/129] Compiling JSONUtilities Dictionary+KeyPath.swift
[65/129] Emitting module Yams
[66/129] Compiling AEXML Element.swift
[67/129] Compiling Version Version+Comparable.swift
[68/129] Emitting module Version
[69/129] Compiling Version Version+Foundation.swift
[70/129] Compiling AEXML Document.swift
[71/129] Compiling Version Version+Codable.swift
[72/129] Compiling AEXML Error.swift
[73/130] Compiling JSONUtilities KeyPath.swift
[79/131] Compiling ArgumentParser ParsedValues.swift
[80/131] Compiling ArgumentParser ParserError.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[87/131] 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
[88/131] 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
[95/131] Compiling ArgumentParser Name.swift
[96/131] Compiling ArgumentParser Parsed.swift
[99/131] Compiling ArgumentParser SplitArguments.swift
[100/131] Compiling ArgumentParser ArgumentDefinition.swift
[101/131] Compiling ArgumentParser ArgumentSet.swift
[102/131] Compiling ArgumentParser CommandParser.swift
[103/131] Compiling ArgumentParser InputKey.swift
[104/131] Compiling ArgumentParser InputOrigin.swift
[105/131] Compiling ArgumentParser DumpHelpGenerator.swift
[106/131] Compiling ArgumentParser HelpCommand.swift
[107/131] Compiling ArgumentParser HelpGenerator.swift
[108/131] Compiling ArgumentParser MessageInfo.swift
[109/131] Compiling ArgumentParser UsageGenerator.swift
[110/131] Compiling ArgumentParser ExpressibleByArgument.swift
[111/131] Compiling ArgumentParser ParsableArguments.swift
[112/131] Compiling ArgumentParser ParsableArgumentsValidation.swift
[113/131] Compiling ArgumentParser ParsableCommand.swift
[114/131] Compiling ArgumentParser ArgumentDecoder.swift
[117/133] Compiling JSONUtilities URL+JSONPrimitiveConvertible.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/17] Write swift-version-24593BA9C3E375BF.txt
[3/62] Compiling JSONUtilities JSONObjectConvertible.swift
[4/62] Compiling JSONUtilities JSONPrimitiveConvertible.swift
[5/63] Compiling JSONUtilities JSONFileLoading.swift
[6/63] Compiling JSONUtilities Dictionary+KeyPath.swift
[7/63] Compiling JSONUtilities InvalidItemBehaviour.swift
[8/63] Compiling JSONUtilities KeyPath.swift
[9/63] Compiling AEXML Error.swift
[10/63] Compiling AEXML Options.swift
[11/63] Compiling AEXML Parser.swift
[12/63] Emitting module Version
[13/63] Compiling JSONUtilities URL+JSONPrimitiveConvertible.swift
[14/63] Emitting module ArgumentParserToolInfo
[15/63] Compiling ArgumentParserToolInfo ToolInfo.swift
[16/64] Compiling Version Version+Range.swift
[17/64] Compiling Version Version+Comparable.swift
[18/64] Compiling Version Version+Foundation.swift
[19/64] Compiling Version Version+Codable.swift
[20/64] Compiling Version Version.swift
[22/64] Emitting module AEXML
[23/64] Compiling AEXML Document.swift
[24/64] Compiling AEXML Element.swift
[25/65] Compiling Yams Tag.swift
[26/65] Compiling Yams YamlAnchorProviding.swift
[27/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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[28/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
[29/67] Compiling Yams Resolver.swift
[30/67] Compiling Yams String+Yams.swift
[31/67] Emitting module JSONUtilities
BUILD FAILURE 6.1 android