The Swift Package Index logo.Swift Package Index

Build Information

Failed to build shared-graphics-tools, reference main (5be8cf), with Swift 6.3 for Android on 14 Apr 2026 18:22:27 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/computer-graphics-tools/shared-graphics-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/computer-graphics-tools/shared-graphics-tools
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 5be8cf7 Update .spi.yml
Cloned https://github.com/computer-graphics-tools/shared-graphics-tools.git
Revision (git rev-parse @):
5be8cf7a7521f79878a55a762d30e3210421984f
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/computer-graphics-tools/shared-graphics-tools.git at main
========================================
Build
========================================
Selected platform:         android
Swift version:             6.3
Building package at path:  $PWD
https://github.com/computer-graphics-tools/shared-graphics-tools.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:9008270ea37a55e78725e6225015adb5eff8582da520c5232bf0499f32c36dc4
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:android-6.3-latest
Fetching https://github.com/eugenebokhan/core-video-tools.git
[1/125] Fetching core-video-tools
Fetched https://github.com/eugenebokhan/core-video-tools.git from cache (1.02s)
Fetching https://github.com/eugenebokhan/metal-tools.git
[1/1110] Fetching metal-tools
Fetched https://github.com/eugenebokhan/metal-tools.git from cache (2.57s)
Computing version for https://github.com/eugenebokhan/core-video-tools.git
Computed https://github.com/eugenebokhan/core-video-tools.git at 0.1.0 (4.82s)
Computing version for https://github.com/eugenebokhan/metal-tools.git
Computed https://github.com/eugenebokhan/metal-tools.git at 1.3.5 (1.17s)
Creating working copy for https://github.com/eugenebokhan/core-video-tools.git
Working copy of https://github.com/eugenebokhan/core-video-tools.git resolved at 0.1.0
Creating working copy for https://github.com/eugenebokhan/metal-tools.git
Working copy of https://github.com/eugenebokhan/metal-tools.git resolved at 1.3.5
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version--4F562202D5529B1.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/70] Emitting module MetalTools
/host/spi-builder-workspace/.build/checkouts/metal-tools/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
  1 | import Metal
    |        `- error: no such module 'Metal'
  2 |
  3 | /// A container class that allows encoding and decoding of Metal textures.
[6/78] Compiling CoreVideoTools IOSurface+Extensioins.swift
/host/spi-builder-workspace/.build/checkouts/core-video-tools/Sources/CoreVideoTools/CoreVideoTools.swift:1:57: error: no such module 'CoreVideo'
1 | @_documentation(visibility: internal) @_exported import CoreVideo
  |                                                         `- error: no such module 'CoreVideo'
2 | @_documentation(visibility: internal) @_exported import IOSurface
3 |
[7/78] Compiling CoreVideoTools CVReturn+Result.swift
/host/spi-builder-workspace/.build/checkouts/core-video-tools/Sources/CoreVideoTools/CoreVideoTools.swift:1:57: error: no such module 'CoreVideo'
1 | @_documentation(visibility: internal) @_exported import CoreVideo
  |                                                         `- error: no such module 'CoreVideo'
2 | @_documentation(visibility: internal) @_exported import IOSurface
3 |
[8/79] Compiling MetalTools MTLRegion+Clamp.swift
/host/spi-builder-workspace/.build/checkouts/metal-tools/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
  1 | import Metal
    |        `- error: no such module 'Metal'
  2 |
  3 | /// A container class that allows encoding and decoding of Metal textures.
[9/79] Compiling MetalTools MTLRegion+Codable.swift
/host/spi-builder-workspace/.build/checkouts/metal-tools/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
  1 | import Metal
    |        `- error: no such module 'Metal'
  2 |
  3 | /// A container class that allows encoding and decoding of Metal textures.
[10/79] Compiling MetalTools MTLRegion+Equitable.swift
/host/spi-builder-workspace/.build/checkouts/metal-tools/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
  1 | import Metal
    |        `- error: no such module 'Metal'
  2 |
  3 | /// A container class that allows encoding and decoding of Metal textures.
[11/79] Compiling MetalTools MTLRenderCommandEncoder+SetValue.swift
/host/spi-builder-workspace/.build/checkouts/metal-tools/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
  1 | import Metal
    |        `- error: no such module 'Metal'
  2 |
  3 | /// A container class that allows encoding and decoding of Metal textures.
[12/79] Compiling MetalTools MTLRenderPassAttachmentDescriptor+Extensions.swift
/host/spi-builder-workspace/.build/checkouts/metal-tools/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
  1 | import Metal
    |        `- error: no such module 'Metal'
  2 |
  3 | /// A container class that allows encoding and decoding of Metal textures.
[13/79] Compiling MetalTools MTLRenderPipelineColorAttachmentDescriptor+BlendingMode.swift
/host/spi-builder-workspace/.build/checkouts/metal-tools/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
  1 | import Metal
    |        `- error: no such module 'Metal'
  2 |
  3 | /// A container class that allows encoding and decoding of Metal textures.
[14/79] Compiling MetalTools MTLResource+AccessibleOnCPU.swift
/host/spi-builder-workspace/.build/checkouts/metal-tools/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
  1 | import Metal
    |        `- error: no such module 'Metal'
  2 |
  3 | /// A container class that allows encoding and decoding of Metal textures.
[15/79] Compiling MetalTools MTLResourceOptions+Extensions.swift
/host/spi-builder-workspace/.build/checkouts/metal-tools/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
  1 | import Metal
    |        `- error: no such module 'Metal'
  2 |
  3 | /// A container class that allows encoding and decoding of Metal textures.
[16/79] Compiling CoreVideoTools CVPixelBuffer+Utils.swift
/host/spi-builder-workspace/.build/checkouts/core-video-tools/Sources/CoreVideoTools/CoreVideoTools.swift:1:57: error: no such module 'CoreVideo'
1 | @_documentation(visibility: internal) @_exported import CoreVideo
  |                                                         `- error: no such module 'CoreVideo'
2 | @_documentation(visibility: internal) @_exported import IOSurface
3 |
[17/79] Compiling MetalTools MPSNNGraph+Functors.swift
/host/spi-builder-workspace/.build/checkouts/metal-tools/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
  1 | import Metal
    |        `- error: no such module 'Metal'
  2 |
  3 | /// A container class that allows encoding and decoding of Metal textures.
[18/79] Compiling MetalTools MPSUnaryImageKernel+Functors.swift
/host/spi-builder-workspace/.build/checkouts/metal-tools/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
  1 | import Metal
    |        `- error: no such module 'Metal'
  2 |
  3 | /// A container class that allows encoding and decoding of Metal textures.
[19/79] Compiling MetalTools MTLContext+Capture.swift
/host/spi-builder-workspace/.build/checkouts/metal-tools/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
  1 | import Metal
    |        `- error: no such module 'Metal'
  2 |
  3 | /// A container class that allows encoding and decoding of Metal textures.
[20/79] Compiling MetalTools MTLContext+CommandQueue.swift
/host/spi-builder-workspace/.build/checkouts/metal-tools/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
  1 | import Metal
    |        `- error: no such module 'Metal'
  2 |
  3 | /// A container class that allows encoding and decoding of Metal textures.
[21/79] Compiling MetalTools MTLContext+Device.swift
/host/spi-builder-workspace/.build/checkouts/metal-tools/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
  1 | import Metal
    |        `- error: no such module 'Metal'
  2 |
  3 | /// A container class that allows encoding and decoding of Metal textures.
[22/79] Compiling MetalTools MTLContext.swift
/host/spi-builder-workspace/.build/checkouts/metal-tools/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
  1 | import Metal
    |        `- error: no such module 'Metal'
  2 |
  3 | /// A container class that allows encoding and decoding of Metal textures.
[23/79] Compiling MetalTools Metal.swift
/host/spi-builder-workspace/.build/checkouts/metal-tools/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
  1 | import Metal
    |        `- error: no such module 'Metal'
  2 |
  3 | /// A container class that allows encoding and decoding of Metal textures.
[24/79] Compiling MetalTools MetalError.swift
/host/spi-builder-workspace/.build/checkouts/metal-tools/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
  1 | import Metal
    |        `- error: no such module 'Metal'
  2 |
  3 | /// A container class that allows encoding and decoding of Metal textures.
[25/79] Compiling CoreVideoTools CVPixelBuffer+Swift.swift
/host/spi-builder-workspace/.build/checkouts/core-video-tools/Sources/CoreVideoTools/CoreVideoTools.swift:1:57: error: no such module 'CoreVideo'
1 | @_documentation(visibility: internal) @_exported import CoreVideo
  |                                                         `- error: no such module 'CoreVideo'
2 | @_documentation(visibility: internal) @_exported import IOSurface
3 |
[26/79] Compiling CoreVideoTools CoreVideoTools.swift
/host/spi-builder-workspace/.build/checkouts/core-video-tools/Sources/CoreVideoTools/CoreVideoTools.swift:1:57: error: no such module 'CoreVideo'
1 | @_documentation(visibility: internal) @_exported import CoreVideo
  |                                                         `- error: no such module 'CoreVideo'
2 | @_documentation(visibility: internal) @_exported import IOSurface
3 |
[27/79] Compiling MetalTools MTLOrigin+Convenience.swift
/host/spi-builder-workspace/.build/checkouts/metal-tools/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
  1 | import Metal
    |        `- error: no such module 'Metal'
  2 |
  3 | /// A container class that allows encoding and decoding of Metal textures.
[28/79] Compiling MetalTools MTLOrigin+Equitable.swift
/host/spi-builder-workspace/.build/checkouts/metal-tools/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
  1 | import Metal
    |        `- error: no such module 'Metal'
  2 |
  3 | /// A container class that allows encoding and decoding of Metal textures.
[29/79] Compiling MetalTools MTLPixelFormat+CGBitmapInfo.swift
/host/spi-builder-workspace/.build/checkouts/metal-tools/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
  1 | import Metal
    |        `- error: no such module 'Metal'
  2 |
  3 | /// A container class that allows encoding and decoding of Metal textures.
[30/79] Compiling MetalTools MTLPixelFormat+CVPixelFormat.swift
/host/spi-builder-workspace/.build/checkouts/metal-tools/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
  1 | import Metal
    |        `- error: no such module 'Metal'
  2 |
  3 | /// A container class that allows encoding and decoding of Metal textures.
[31/79] Compiling MetalTools MTLPixelFormat+Codable.swift
/host/spi-builder-workspace/.build/checkouts/metal-tools/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
  1 | import Metal
    |        `- error: no such module 'Metal'
  2 |
  3 | /// A container class that allows encoding and decoding of Metal textures.
[32/79] Compiling MetalTools MTLPixelFormat+ColorSpace.swift
/host/spi-builder-workspace/.build/checkouts/metal-tools/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
  1 | import Metal
    |        `- error: no such module 'Metal'
  2 |
  3 | /// A container class that allows encoding and decoding of Metal textures.
[33/79] Compiling MetalTools MTLPixelFormat+Extensions.swift
/host/spi-builder-workspace/.build/checkouts/metal-tools/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
  1 | import Metal
    |        `- error: no such module 'Metal'
  2 |
  3 | /// A container class that allows encoding and decoding of Metal textures.
[34/79] Compiling MetalTools MTLRegion+Area.swift
/host/spi-builder-workspace/.build/checkouts/metal-tools/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
  1 | import Metal
    |        `- error: no such module 'Metal'
  2 |
  3 | /// A container class that allows encoding and decoding of Metal textures.
[35/79] Compiling MetalTools MTLCommandBuffer+Dispatching.swift
/host/spi-builder-workspace/.build/checkouts/metal-tools/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
  1 | import Metal
    |        `- error: no such module 'Metal'
  2 |
  3 | /// A container class that allows encoding and decoding of Metal textures.
[36/79] Compiling MetalTools MTLCommandBuffer+ExecutionTime.swift
/host/spi-builder-workspace/.build/checkouts/metal-tools/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
  1 | import Metal
    |        `- error: no such module 'Metal'
  2 |
  3 | /// A container class that allows encoding and decoding of Metal textures.
[37/79] Compiling MetalTools MTLCommandQueue+Schedule.swift
/host/spi-builder-workspace/.build/checkouts/metal-tools/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
  1 | import Metal
    |        `- error: no such module 'Metal'
  2 |
  3 | /// A container class that allows encoding and decoding of Metal textures.
[38/79] Compiling MetalTools MTLCompileOptions+Extensions.swift
/host/spi-builder-workspace/.build/checkouts/metal-tools/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
  1 | import Metal
    |        `- error: no such module 'Metal'
  2 |
  3 | /// A container class that allows encoding and decoding of Metal textures.
[39/79] Compiling MetalTools MTLComputeCommandEncoder+Arguments.swift
/host/spi-builder-workspace/.build/checkouts/metal-tools/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
  1 | import Metal
    |        `- error: no such module 'Metal'
  2 |
  3 | /// A container class that allows encoding and decoding of Metal textures.
[40/79] Compiling MetalTools MTLComputeCommandEncoder+Dispatch.swift
/host/spi-builder-workspace/.build/checkouts/metal-tools/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
  1 | import Metal
    |        `- error: no such module 'Metal'
  2 |
  3 | /// A container class that allows encoding and decoding of Metal textures.
[41/79] Compiling MetalTools MTLComputePipelineState+Threads.swift
/host/spi-builder-workspace/.build/checkouts/metal-tools/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
  1 | import Metal
    |        `- error: no such module 'Metal'
  2 |
  3 | /// A container class that allows encoding and decoding of Metal textures.
[42/79] Compiling MetalTools MTLDevice+Convenience.swift
/host/spi-builder-workspace/.build/checkouts/metal-tools/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
  1 | import Metal
    |        `- error: no such module 'Metal'
  2 |
  3 | /// A container class that allows encoding and decoding of Metal textures.
[43/79] Compiling CoreVideoTools OSType+CVPixelFormat.swift
/host/spi-builder-workspace/.build/checkouts/core-video-tools/Sources/CoreVideoTools/CoreVideoTools.swift:1:57: error: no such module 'CoreVideo'
1 | @_documentation(visibility: internal) @_exported import CoreVideo
  |                                                         `- error: no such module 'CoreVideo'
2 | @_documentation(visibility: internal) @_exported import IOSurface
3 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[44/79] Emitting module CoreVideoTools
/host/spi-builder-workspace/.build/checkouts/core-video-tools/Sources/CoreVideoTools/CoreVideoTools.swift:1:57: error: no such module 'CoreVideo'
1 | @_documentation(visibility: internal) @_exported import CoreVideo
  |                                                         `- error: no such module 'CoreVideo'
2 | @_documentation(visibility: internal) @_exported import IOSurface
3 |
[45/79] Compiling CoreVideoTools CVError.swift
/host/spi-builder-workspace/.build/checkouts/core-video-tools/Sources/CoreVideoTools/CoreVideoTools.swift:1:57: error: no such module 'CoreVideo'
1 | @_documentation(visibility: internal) @_exported import CoreVideo
  |                                                         `- error: no such module 'CoreVideo'
2 | @_documentation(visibility: internal) @_exported import IOSurface
3 |
[46/79] Compiling CoreVideoTools CVPixelFormat.swift
/host/spi-builder-workspace/.build/checkouts/core-video-tools/Sources/CoreVideoTools/CoreVideoTools.swift:1:57: error: no such module 'CoreVideo'
1 | @_documentation(visibility: internal) @_exported import CoreVideo
  |                                                         `- error: no such module 'CoreVideo'
2 | @_documentation(visibility: internal) @_exported import IOSurface
3 |
[47/79] Compiling MetalTools MTLTexture+Extensions.swift
/host/spi-builder-workspace/.build/checkouts/metal-tools/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
  1 | import Metal
    |        `- error: no such module 'Metal'
  2 |
  3 | /// A container class that allows encoding and decoding of Metal textures.
[48/79] Compiling MetalTools MTLTexture+Image.swift
/host/spi-builder-workspace/.build/checkouts/metal-tools/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
  1 | import Metal
    |        `- error: no such module 'Metal'
  2 |
  3 | /// A container class that allows encoding and decoding of Metal textures.
[49/79] Compiling MetalTools MTLTextureDescriptor+Copy.swift
/host/spi-builder-workspace/.build/checkouts/metal-tools/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
  1 | import Metal
    |        `- error: no such module 'Metal'
  2 |
  3 | /// A container class that allows encoding and decoding of Metal textures.
[50/79] Compiling MetalTools MTLTextureDescriptor+Encodable.swift
/host/spi-builder-workspace/.build/checkouts/metal-tools/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
  1 | import Metal
    |        `- error: no such module 'Metal'
  2 |
  3 | /// A container class that allows encoding and decoding of Metal textures.
[51/79] Compiling MetalTools MTLTextureType+Codable.swift
/host/spi-builder-workspace/.build/checkouts/metal-tools/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
  1 | import Metal
    |        `- error: no such module 'Metal'
  2 |
  3 | /// A container class that allows encoding and decoding of Metal textures.
[52/79] Compiling MetalTools MTLTextureUsage+Codable.swift
/host/spi-builder-workspace/.build/checkouts/metal-tools/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
  1 | import Metal
    |        `- error: no such module 'Metal'
  2 |
  3 | /// A container class that allows encoding and decoding of Metal textures.
[53/79] Compiling MetalTools MTLVertexAttributeDescriptor+Extensions.swift
/host/spi-builder-workspace/.build/checkouts/metal-tools/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
  1 | import Metal
    |        `- error: no such module 'Metal'
  2 |
  3 | /// A container class that allows encoding and decoding of Metal textures.
[54/79] Compiling MetalTools MTLVertexAttributeDescriptorArray+Extensions.swift
/host/spi-builder-workspace/.build/checkouts/metal-tools/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
  1 | import Metal
    |        `- error: no such module 'Metal'
  2 |
  3 | /// A container class that allows encoding and decoding of Metal textures.
/host/spi-builder-workspace/.build/checkouts/metal-tools/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
  1 | import Metal
    |        `- error: no such module 'Metal'
  2 |
  3 | /// A container class that allows encoding and decoding of Metal textures.
BUILD FAILURE 6.3 android