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 Compute, reference main (4400e5), with Swift 6.1 for Android on 29 May 2025 19:26:10 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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/schwa/Compute.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/schwa/Compute
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 4400e59 Get rid of buildkite for real.
Cloned https://github.com/schwa/Compute.git
Revision (git rev-parse @):
4400e59c1459473bb7a7cf5caa95f686622a8de2
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/schwa/Compute.git at main
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/schwa/Compute.git
https://github.com/schwa/Compute.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "metalcompilerplugin",
      "requirement" : {
        "branch" : [
          "jwight/develop"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/schwa/MetalCompilerPlugin"
    }
  ],
  "manifest_display_name" : "Compute",
  "name" : "Compute",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "15.0"
    },
    {
      "name" : "ios",
      "version" : "18.0"
    }
  ],
  "products" : [
    {
      "name" : "Compute",
      "targets" : [
        "Compute"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "Examples",
      "targets" : [
        "Examples"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "MetalSupportLite",
      "module_type" : "SwiftTarget",
      "name" : "MetalSupportLite",
      "path" : "Sources/MetalSupportLite",
      "product_memberships" : [
        "Examples"
      ],
      "sources" : [
        "BaseSupport.swift",
        "MTLBuffer+Extensions.swift",
        "MetalBasicExtensions.swift",
        "MetalSupportLite.swift",
        "TypedMTLBuffer.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Examples",
      "module_type" : "SwiftTarget",
      "name" : "Examples",
      "path" : "Sources/Examples",
      "product_dependencies" : [
        "MetalCompilerPlugin"
      ],
      "product_memberships" : [
        "Examples"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Sources/Examples/Bundle.txt",
          "rule" : {
            "copy" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/Examples/Resources/Media.xcassets",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "Examples.swift",
        "Examples/BareMetal.swift",
        "Examples/BitonicSort/BitonicSort.swift",
        "Examples/Broken/CountingSort/CountingSort.swift",
        "Examples/Broken/RadixSort/RadixSort.swift",
        "Examples/Broken/RadixSort/RadixSortCPU.swift",
        "Examples/BufferFill.swift",
        "Examples/Checkerboard.swift",
        "Examples/CounterDemo.swift",
        "Examples/GameOfLife/GameOfLife.swift",
        "Examples/HelloWorldDemo.swift",
        "Examples/Histogram.swift",
        "Examples/ImageInvert.swift",
        "Examples/MaxParallel.swift",
        "Examples/MaxValue.swift",
        "Examples/MemcopyDemo.swift",
        "Examples/RandomFill.swift",
        "Examples/SIMDReduce.swift",
        "Examples/ThreadgroupLog.swift",
        "Support.swift"
      ],
      "target_dependencies" : [
        "Compute",
        "MetalSupportLite"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "ComputeTests",
      "module_type" : "SwiftTarget",
      "name" : "ComputeTests",
      "path" : "Tests/ComputeTests",
      "sources" : [
        "ComputeTests.swift"
      ],
      "target_dependencies" : [
        "Compute"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Compute",
      "module_type" : "SwiftTarget",
      "name" : "Compute",
      "path" : "Sources/Compute",
      "product_memberships" : [
        "Compute",
        "Examples"
      ],
      "sources" : [
        "Compute+Arguments.swift",
        "Compute+Pipeline.swift",
        "Compute+Task.swift",
        "Compute.swift",
        "ShaderFunction.swift",
        "Support.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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 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/schwa/MetalCompilerPlugin
[1/185] Fetching metalcompilerplugin
Fetched https://github.com/schwa/MetalCompilerPlugin from cache (0.42s)
Fetching https://github.com/apple/swift-argument-parser
[1/15379] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (2.79s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.1 (3.87s)
Creating working copy for https://github.com/schwa/MetalCompilerPlugin
Working copy of https://github.com/schwa/MetalCompilerPlugin resolved at jwight/develop (72b94d2)
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.5.1
[0/9] Write sources
[3/9] Write swift-version-24593BA9C3E375BF.txt
[5/11] Emitting module ArgumentParserToolInfo
[6/11] Compiling ArgumentParserToolInfo ToolInfo.swift
[7/12] Wrapping AST for ArgumentParserToolInfo for debugging
[9/50] Emitting module ArgumentParser
[10/55] Compiling ArgumentParser BashCompletionsGenerator.swift
[11/55] Compiling ArgumentParser CompletionsGenerator.swift
[12/55] Compiling ArgumentParser FishCompletionsGenerator.swift
[13/55] Compiling ArgumentParser ZshCompletionsGenerator.swift
[14/55] Compiling ArgumentParser Argument.swift
[15/55] Compiling ArgumentParser ArgumentHelp.swift
[16/55] Compiling ArgumentParser CollectionExtensions.swift
[17/55] Compiling ArgumentParser Platform.swift
[18/55] Compiling ArgumentParser SequenceExtensions.swift
[19/55] Compiling ArgumentParser StringExtensions.swift
[20/55] Compiling ArgumentParser Tree.swift
[21/55] Compiling ArgumentParser OptionGroup.swift
[22/55] Compiling ArgumentParser AsyncParsableCommand.swift
[23/55] Compiling ArgumentParser CommandConfiguration.swift
[24/55] Compiling ArgumentParser CommandGroup.swift
[25/55] Compiling ArgumentParser EnumerableFlag.swift
[26/55] Compiling ArgumentParser ArgumentVisibility.swift
[27/55] Compiling ArgumentParser CompletionKind.swift
[28/55] Compiling ArgumentParser Errors.swift
[29/55] Compiling ArgumentParser Flag.swift
[30/55] Compiling ArgumentParser NameSpecification.swift
[31/55] Compiling ArgumentParser Option.swift
[32/55] Compiling ArgumentParser ArgumentDefinition.swift
[33/55] Compiling ArgumentParser ArgumentSet.swift
[34/55] Compiling ArgumentParser CommandParser.swift
[35/55] Compiling ArgumentParser InputKey.swift
[36/55] Compiling ArgumentParser InputOrigin.swift
[37/55] Compiling ArgumentParser Name.swift
[38/55] Compiling ArgumentParser Parsed.swift
[39/55] Compiling ArgumentParser ParsedValues.swift
[40/55] Compiling ArgumentParser ParserError.swift
[41/55] Compiling ArgumentParser SplitArguments.swift
[42/55] Compiling ArgumentParser DumpHelpGenerator.swift
[43/55] Compiling ArgumentParser HelpCommand.swift
[44/55] Compiling ArgumentParser HelpGenerator.swift
[45/55] Compiling ArgumentParser MessageInfo.swift
[46/55] Compiling ArgumentParser UsageGenerator.swift
[47/55] Compiling ArgumentParser ExpressibleByArgument.swift
[48/55] Compiling ArgumentParser ParsableArguments.swift
[49/55] Compiling ArgumentParser ParsableArgumentsValidation.swift
[50/55] Compiling ArgumentParser ParsableCommand.swift
[51/55] Compiling ArgumentParser ArgumentDecoder.swift
[52/56] Wrapping AST for ArgumentParser for debugging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[54/58] Emitting module MetalCompilerTool
/host/spi-builder-workspace/.build/checkouts/MetalCompilerPlugin/Sources/MetalCompilerTool/MetalCompiler.swift:3:8: error: no such module 'os'
 1 | import ArgumentParser
 2 | import Foundation
 3 | import os
   |        `- error: no such module 'os'
 4 |
 5 | @main
[55/58] Compiling MetalCompilerTool MetalCompiler.swift
/host/spi-builder-workspace/.build/checkouts/MetalCompilerPlugin/Sources/MetalCompilerTool/MetalCompiler.swift:3:8: error: no such module 'os'
 1 | import ArgumentParser
 2 | import Foundation
 3 | import os
   |        `- error: no such module 'os'
 4 |
 5 | @main
error: build planning stopped due to build-tool plugin failures
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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/6] Write swift-version-24593BA9C3E375BF.txt
[2/8] Compiling ArgumentParserToolInfo ToolInfo.swift
[3/8] Emitting module ArgumentParserToolInfo
[5/46] Emitting module ArgumentParser
[6/51] Compiling ArgumentParser ExpressibleByArgument.swift
[7/51] Compiling ArgumentParser ParsableArguments.swift
[8/51] Compiling ArgumentParser ParsableArgumentsValidation.swift
[9/51] Compiling ArgumentParser ParsableCommand.swift
[10/51] Compiling ArgumentParser ArgumentDecoder.swift
[11/51] Compiling ArgumentParser DumpHelpGenerator.swift
[12/51] Compiling ArgumentParser HelpCommand.swift
[13/51] Compiling ArgumentParser HelpGenerator.swift
[14/51] Compiling ArgumentParser MessageInfo.swift
[15/51] Compiling ArgumentParser UsageGenerator.swift
[16/51] Compiling ArgumentParser Name.swift
[17/51] Compiling ArgumentParser Parsed.swift
[18/51] Compiling ArgumentParser ParsedValues.swift
[19/51] Compiling ArgumentParser ParserError.swift
[20/51] Compiling ArgumentParser SplitArguments.swift
[21/51] Compiling ArgumentParser ArgumentDefinition.swift
[22/51] Compiling ArgumentParser ArgumentSet.swift
[23/51] Compiling ArgumentParser CommandParser.swift
[24/51] Compiling ArgumentParser InputKey.swift
[25/51] Compiling ArgumentParser InputOrigin.swift
[26/51] Compiling ArgumentParser ArgumentVisibility.swift
[27/51] Compiling ArgumentParser CompletionKind.swift
[28/51] Compiling ArgumentParser Errors.swift
[29/51] Compiling ArgumentParser Flag.swift
[30/51] Compiling ArgumentParser NameSpecification.swift
[31/51] Compiling ArgumentParser Option.swift
[32/51] Compiling ArgumentParser OptionGroup.swift
[33/51] Compiling ArgumentParser AsyncParsableCommand.swift
[34/51] Compiling ArgumentParser CommandConfiguration.swift
[35/51] Compiling ArgumentParser CommandGroup.swift
[36/51] Compiling ArgumentParser EnumerableFlag.swift
[37/51] Compiling ArgumentParser BashCompletionsGenerator.swift
[38/51] Compiling ArgumentParser CompletionsGenerator.swift
[39/51] Compiling ArgumentParser FishCompletionsGenerator.swift
[40/51] Compiling ArgumentParser ZshCompletionsGenerator.swift
[41/51] Compiling ArgumentParser Argument.swift
[42/51] Compiling ArgumentParser ArgumentHelp.swift
[43/51] Compiling ArgumentParser CollectionExtensions.swift
[44/51] Compiling ArgumentParser Platform.swift
[45/51] Compiling ArgumentParser SequenceExtensions.swift
[46/51] Compiling ArgumentParser StringExtensions.swift
[47/51] Compiling ArgumentParser Tree.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[49/53] Emitting module MetalCompilerTool
/host/spi-builder-workspace/.build/checkouts/MetalCompilerPlugin/Sources/MetalCompilerTool/MetalCompiler.swift:3:8: error: no such module 'os'
 1 | import ArgumentParser
 2 | import Foundation
 3 | import os
   |        `- error: no such module 'os'
 4 |
 5 | @main
[50/53] Compiling MetalCompilerTool MetalCompiler.swift
/host/spi-builder-workspace/.build/checkouts/MetalCompilerPlugin/Sources/MetalCompilerTool/MetalCompiler.swift:3:8: error: no such module 'os'
 1 | import ArgumentParser
 2 | import Foundation
 3 | import os
   |        `- error: no such module 'os'
 4 |
 5 | @main
error: build planning stopped due to build-tool plugin failures
BUILD FAILURE 6.1 android