The Swift Package Index logo.Swift Package Index

Build Information

Failed to build kubrick, reference master (41b1ab), with Swift 6.1 for Android on 27 May 2025 12:00:47 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-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/krad/kubrick.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/krad/kubrick
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 41b1abc Not really happy with this compromise but it will do for pre-processing on macOS.  Super frustrated with CMSampleBuffer behavior
Cloned https://github.com/krad/kubrick.git
Revision (git rev-parse @):
41b1abcb79d58c9e70379bb314187c20ebabcf0f
SUCCESS checkout https://github.com/krad/kubrick.git at master
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/krad/kubrick.git
https://github.com/krad/kubrick.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "grip",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.3.5",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/krad/grip.git"
    }
  ],
  "manifest_display_name" : "kubrick",
  "name" : "kubrick",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "kubrick",
      "targets" : [
        "kubrick"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "kubrickTests",
      "module_type" : "SwiftTarget",
      "name" : "kubrickTests",
      "path" : "Tests/kubrickTests",
      "sources" : [
        "AudioSinkTests.swift",
        "BasicCaptureTests.swift",
        "CameraTests.swift",
        "DisplayStreamTests.swift",
        "Mocks.swift",
        "MuxerSinkTests.swift",
        "SessionTests.swift",
        "SinkTests.swift",
        "SourceDiscovererTests.swift",
        "SourceTests.swift",
        "StreamTests.swift",
        "TestHelpers.swift",
        "VideoSinkTests.swift"
      ],
      "target_dependencies" : [
        "kubrick"
      ],
      "type" : "test"
    },
    {
      "c99name" : "kubrick",
      "module_type" : "SwiftTarget",
      "name" : "kubrick",
      "path" : "Sources/kubrick",
      "product_dependencies" : [
        "grip"
      ],
      "product_memberships" : [
        "kubrick"
      ],
      "sources" : [
        "Encoders/AACEncoder.swift",
        "Encoders/AudioEncoder.swift",
        "Encoders/H264Encoder.swift",
        "Encoders/H264Settings.swift",
        "Encoders/VideoEncoder.swift",
        "Helpers/Bytes.swift",
        "Helpers/Rational.swift",
        "Helpers/ThreadSafeArray.swift",
        "MediaDevices/Camera.swift",
        "MediaDevices/Clock.swift",
        "MediaDevices/Display.swift",
        "MediaDevices/MediaDevice.swift",
        "MediaDevices/MediaDeviceInput.swift",
        "MediaDevices/MediaDeviceOutput.swift",
        "MediaDevices/MediaDeviceReader.swift",
        "MediaDevices/Microphone.swift",
        "MediaDevices/Readers/AudioReader.swift",
        "MediaDevices/Readers/VideoReader.swift",
        "Samples/MediaFormat.swift",
        "Samples/Sample.swift",
        "Samples/SampleTransport.swift",
        "Samples/Session.swift",
        "Sinks/AACEncoderSink.swift",
        "Sinks/EndpointSink.swift",
        "Sinks/FileEndpoint.swift",
        "Sinks/H264EncoderSink.swift",
        "Sinks/MuxerSink.swift",
        "Sinks/PrettyPortraitSink.swift",
        "Sinks/Sink.swift",
        "Sources/AVStream.swift",
        "Sources/Source.swift",
        "Sources/SourceDiscoverer.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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:9f3c606dcd2a4f06d17ba472aa533c43685ba7ba19a5c9bc23518a066eb7f86a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/krad/grip.git
[1/176] Fetching grip
Fetched https://github.com/krad/grip.git from cache (0.23s)
Computing version for https://github.com/krad/grip.git
Computed https://github.com/krad/grip.git at 1.3.5 (0.73s)
Creating working copy for https://github.com/krad/grip.git
Working copy of https://github.com/krad/grip.git resolved at 1.3.5
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/16] Compiling grip Packets.swift
[5/16] Compiling grip StreamTypePacket.swift
[6/17] Compiling grip NALU.swift
[7/17] Compiling grip AudioSamplePacket.swift
[8/17] Compiling grip CompressedSample.swift
[9/17] Compiling grip ByteHelpers.swift
[10/17] Compiling grip StreamType.swift
[11/17] Emitting module grip
[12/17] Compiling grip BinaryEncodable.swift
[13/17] Compiling grip BinaryEncodableExtensions.swift
[14/17] Compiling grip VideoDimensionsPacket.swift
[15/17] Compiling grip VideoParamSetPacket.swift
[16/17] Compiling grip VideoSamplePacket.swift
[17/17] Compiling grip Writeable.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[19/47] Emitting module kubrick
/host/spi-builder-workspace/Sources/kubrick/Sources/AVStream.swift:9:12: error: no such module 'Metal'
  7 |
  8 | #if (arch(arm) || arch(arm64))
  9 |     import Metal
    |            `- error: no such module 'Metal'
 10 | #endif
 11 |
[20/51] Compiling kubrick AudioReader.swift
/host/spi-builder-workspace/Sources/kubrick/Sources/AVStream.swift:9:12: error: no such module 'Metal'
  7 |
  8 | #if (arch(arm) || arch(arm64))
  9 |     import Metal
    |            `- error: no such module 'Metal'
 10 | #endif
 11 |
[21/51] Compiling kubrick VideoReader.swift
/host/spi-builder-workspace/Sources/kubrick/Sources/AVStream.swift:9:12: error: no such module 'Metal'
  7 |
  8 | #if (arch(arm) || arch(arm64))
  9 |     import Metal
    |            `- error: no such module 'Metal'
 10 | #endif
 11 |
[22/51] Compiling kubrick MediaFormat.swift
/host/spi-builder-workspace/Sources/kubrick/Sources/AVStream.swift:9:12: error: no such module 'Metal'
  7 |
  8 | #if (arch(arm) || arch(arm64))
  9 |     import Metal
    |            `- error: no such module 'Metal'
 10 | #endif
 11 |
[23/51] Compiling kubrick Sample.swift
/host/spi-builder-workspace/Sources/kubrick/Sources/AVStream.swift:9:12: error: no such module 'Metal'
  7 |
  8 | #if (arch(arm) || arch(arm64))
  9 |     import Metal
    |            `- error: no such module 'Metal'
 10 | #endif
 11 |
[24/51] Compiling kubrick Camera.swift
/host/spi-builder-workspace/Sources/kubrick/Sources/AVStream.swift:9:12: error: no such module 'Metal'
  7 |
  8 | #if (arch(arm) || arch(arm64))
  9 |     import Metal
    |            `- error: no such module 'Metal'
 10 | #endif
 11 |
[25/51] Compiling kubrick Clock.swift
/host/spi-builder-workspace/Sources/kubrick/Sources/AVStream.swift:9:12: error: no such module 'Metal'
  7 |
  8 | #if (arch(arm) || arch(arm64))
  9 |     import Metal
    |            `- error: no such module 'Metal'
 10 | #endif
 11 |
[26/51] Compiling kubrick Display.swift
/host/spi-builder-workspace/Sources/kubrick/Sources/AVStream.swift:9:12: error: no such module 'Metal'
  7 |
  8 | #if (arch(arm) || arch(arm64))
  9 |     import Metal
    |            `- error: no such module 'Metal'
 10 | #endif
 11 |
[27/51] Compiling kubrick MediaDevice.swift
/host/spi-builder-workspace/Sources/kubrick/Sources/AVStream.swift:9:12: error: no such module 'Metal'
  7 |
  8 | #if (arch(arm) || arch(arm64))
  9 |     import Metal
    |            `- error: no such module 'Metal'
 10 | #endif
 11 |
[28/51] Compiling kubrick MediaDeviceInput.swift
/host/spi-builder-workspace/Sources/kubrick/Sources/AVStream.swift:9:12: error: no such module 'Metal'
  7 |
  8 | #if (arch(arm) || arch(arm64))
  9 |     import Metal
    |            `- error: no such module 'Metal'
 10 | #endif
 11 |
[29/51] Compiling kubrick MediaDeviceOutput.swift
/host/spi-builder-workspace/Sources/kubrick/Sources/AVStream.swift:9:12: error: no such module 'Metal'
  7 |
  8 | #if (arch(arm) || arch(arm64))
  9 |     import Metal
    |            `- error: no such module 'Metal'
 10 | #endif
 11 |
[30/51] Compiling kubrick MediaDeviceReader.swift
/host/spi-builder-workspace/Sources/kubrick/Sources/AVStream.swift:9:12: error: no such module 'Metal'
  7 |
  8 | #if (arch(arm) || arch(arm64))
  9 |     import Metal
    |            `- error: no such module 'Metal'
 10 | #endif
 11 |
[31/51] Compiling kubrick Microphone.swift
/host/spi-builder-workspace/Sources/kubrick/Sources/AVStream.swift:9:12: error: no such module 'Metal'
  7 |
  8 | #if (arch(arm) || arch(arm64))
  9 |     import Metal
    |            `- error: no such module 'Metal'
 10 | #endif
 11 |
[32/51] Compiling kubrick SampleTransport.swift
/host/spi-builder-workspace/Sources/kubrick/Sources/AVStream.swift:9:12: error: no such module 'Metal'
  7 |
  8 | #if (arch(arm) || arch(arm64))
  9 |     import Metal
    |            `- error: no such module 'Metal'
 10 | #endif
 11 |
[33/51] Compiling kubrick Session.swift
/host/spi-builder-workspace/Sources/kubrick/Sources/AVStream.swift:9:12: error: no such module 'Metal'
  7 |
  8 | #if (arch(arm) || arch(arm64))
  9 |     import Metal
    |            `- error: no such module 'Metal'
 10 | #endif
 11 |
[34/51] Compiling kubrick AACEncoderSink.swift
/host/spi-builder-workspace/Sources/kubrick/Sources/AVStream.swift:9:12: error: no such module 'Metal'
  7 |
  8 | #if (arch(arm) || arch(arm64))
  9 |     import Metal
    |            `- error: no such module 'Metal'
 10 | #endif
 11 |
[35/51] Compiling kubrick EndpointSink.swift
/host/spi-builder-workspace/Sources/kubrick/Sources/AVStream.swift:9:12: error: no such module 'Metal'
  7 |
  8 | #if (arch(arm) || arch(arm64))
  9 |     import Metal
    |            `- error: no such module 'Metal'
 10 | #endif
 11 |
[36/51] Compiling kubrick FileEndpoint.swift
/host/spi-builder-workspace/Sources/kubrick/Sources/AVStream.swift:9:12: error: no such module 'Metal'
  7 |
  8 | #if (arch(arm) || arch(arm64))
  9 |     import Metal
    |            `- error: no such module 'Metal'
 10 | #endif
 11 |
[37/51] Compiling kubrick H264EncoderSink.swift
/host/spi-builder-workspace/Sources/kubrick/Sources/AVStream.swift:9:12: error: no such module 'Metal'
  7 |
  8 | #if (arch(arm) || arch(arm64))
  9 |     import Metal
    |            `- error: no such module 'Metal'
 10 | #endif
 11 |
[38/51] Compiling kubrick MuxerSink.swift
/host/spi-builder-workspace/Sources/kubrick/Sources/AVStream.swift:9:12: error: no such module 'Metal'
  7 |
  8 | #if (arch(arm) || arch(arm64))
  9 |     import Metal
    |            `- error: no such module 'Metal'
 10 | #endif
 11 |
[39/51] Compiling kubrick PrettyPortraitSink.swift
/host/spi-builder-workspace/Sources/kubrick/Sources/AVStream.swift:9:12: error: no such module 'Metal'
  7 |
  8 | #if (arch(arm) || arch(arm64))
  9 |     import Metal
    |            `- error: no such module 'Metal'
 10 | #endif
 11 |
[40/51] Compiling kubrick AACEncoder.swift
/host/spi-builder-workspace/Sources/kubrick/Sources/AVStream.swift:9:12: error: no such module 'Metal'
  7 |
  8 | #if (arch(arm) || arch(arm64))
  9 |     import Metal
    |            `- error: no such module 'Metal'
 10 | #endif
 11 |
[41/51] Compiling kubrick AudioEncoder.swift
/host/spi-builder-workspace/Sources/kubrick/Sources/AVStream.swift:9:12: error: no such module 'Metal'
  7 |
  8 | #if (arch(arm) || arch(arm64))
  9 |     import Metal
    |            `- error: no such module 'Metal'
 10 | #endif
 11 |
[42/51] Compiling kubrick H264Encoder.swift
/host/spi-builder-workspace/Sources/kubrick/Sources/AVStream.swift:9:12: error: no such module 'Metal'
  7 |
  8 | #if (arch(arm) || arch(arm64))
  9 |     import Metal
    |            `- error: no such module 'Metal'
 10 | #endif
 11 |
[43/51] Compiling kubrick H264Settings.swift
/host/spi-builder-workspace/Sources/kubrick/Sources/AVStream.swift:9:12: error: no such module 'Metal'
  7 |
  8 | #if (arch(arm) || arch(arm64))
  9 |     import Metal
    |            `- error: no such module 'Metal'
 10 | #endif
 11 |
[44/51] Compiling kubrick VideoEncoder.swift
/host/spi-builder-workspace/Sources/kubrick/Sources/AVStream.swift:9:12: error: no such module 'Metal'
  7 |
  8 | #if (arch(arm) || arch(arm64))
  9 |     import Metal
    |            `- error: no such module 'Metal'
 10 | #endif
 11 |
[45/51] Compiling kubrick Bytes.swift
/host/spi-builder-workspace/Sources/kubrick/Sources/AVStream.swift:9:12: error: no such module 'Metal'
  7 |
  8 | #if (arch(arm) || arch(arm64))
  9 |     import Metal
    |            `- error: no such module 'Metal'
 10 | #endif
 11 |
[46/51] Compiling kubrick Rational.swift
/host/spi-builder-workspace/Sources/kubrick/Sources/AVStream.swift:9:12: error: no such module 'Metal'
  7 |
  8 | #if (arch(arm) || arch(arm64))
  9 |     import Metal
    |            `- error: no such module 'Metal'
 10 | #endif
 11 |
[47/51] Compiling kubrick ThreadSafeArray.swift
/host/spi-builder-workspace/Sources/kubrick/Sources/AVStream.swift:9:12: error: no such module 'Metal'
  7 |
  8 | #if (arch(arm) || arch(arm64))
  9 |     import Metal
    |            `- error: no such module 'Metal'
 10 | #endif
 11 |
[48/51] Compiling kubrick Sink.swift
/host/spi-builder-workspace/Sources/kubrick/Sources/AVStream.swift:9:12: error: no such module 'Metal'
  7 |
  8 | #if (arch(arm) || arch(arm64))
  9 |     import Metal
    |            `- error: no such module 'Metal'
 10 | #endif
 11 |
[49/51] Compiling kubrick AVStream.swift
/host/spi-builder-workspace/Sources/kubrick/Sources/AVStream.swift:9:12: error: no such module 'Metal'
  7 |
  8 | #if (arch(arm) || arch(arm64))
  9 |     import Metal
    |            `- error: no such module 'Metal'
 10 | #endif
 11 |
[50/51] Compiling kubrick Source.swift
/host/spi-builder-workspace/Sources/kubrick/Sources/AVStream.swift:9:12: error: no such module 'Metal'
  7 |
  8 | #if (arch(arm) || arch(arm64))
  9 |     import Metal
    |            `- error: no such module 'Metal'
 10 | #endif
 11 |
[51/51] Compiling kubrick SourceDiscoverer.swift
/host/spi-builder-workspace/Sources/kubrick/Sources/AVStream.swift:9:12: error: no such module 'Metal'
  7 |
  8 | #if (arch(arm) || arch(arm64))
  9 |     import Metal
    |            `- error: no such module 'Metal'
 10 | #endif
 11 |
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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:9f3c606dcd2a4f06d17ba472aa533c43685ba7ba19a5c9bc23518a066eb7f86a
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/1] Write swift-version-24593BA9C3E375BF.txt
[2/14] Compiling grip VideoSamplePacket.swift
[3/14] Compiling grip StreamType.swift
[4/15] Compiling grip VideoDimensionsPacket.swift
[5/15] Compiling grip VideoParamSetPacket.swift
[6/15] Compiling grip Packets.swift
[7/15] Compiling grip StreamTypePacket.swift
[8/15] Compiling grip CompressedSample.swift
[9/15] Compiling grip ByteHelpers.swift
[10/15] Compiling grip NALU.swift
[11/15] Compiling grip AudioSamplePacket.swift
[12/15] Compiling grip Writeable.swift
[13/15] Emitting module grip
[14/15] Compiling grip BinaryEncodable.swift
[15/15] Compiling grip BinaryEncodableExtensions.swift
[17/45] Compiling kubrick AACEncoder.swift
/host/spi-builder-workspace/Sources/kubrick/Sources/AVStream.swift:9:12: error: no such module 'Metal'
  7 |
  8 | #if (arch(arm) || arch(arm64))
  9 |     import Metal
    |            `- error: no such module 'Metal'
 10 | #endif
 11 |
[18/45] Compiling kubrick AudioEncoder.swift
/host/spi-builder-workspace/Sources/kubrick/Sources/AVStream.swift:9:12: error: no such module 'Metal'
  7 |
  8 | #if (arch(arm) || arch(arm64))
  9 |     import Metal
    |            `- error: no such module 'Metal'
 10 | #endif
 11 |
[19/45] Compiling kubrick H264Encoder.swift
/host/spi-builder-workspace/Sources/kubrick/Sources/AVStream.swift:9:12: error: no such module 'Metal'
  7 |
  8 | #if (arch(arm) || arch(arm64))
  9 |     import Metal
    |            `- error: no such module 'Metal'
 10 | #endif
 11 |
[20/45] Compiling kubrick H264Settings.swift
/host/spi-builder-workspace/Sources/kubrick/Sources/AVStream.swift:9:12: error: no such module 'Metal'
  7 |
  8 | #if (arch(arm) || arch(arm64))
  9 |     import Metal
    |            `- error: no such module 'Metal'
 10 | #endif
 11 |
[21/49] Compiling kubrick AudioReader.swift
/host/spi-builder-workspace/Sources/kubrick/Sources/AVStream.swift:9:12: error: no such module 'Metal'
  7 |
  8 | #if (arch(arm) || arch(arm64))
  9 |     import Metal
    |            `- error: no such module 'Metal'
 10 | #endif
 11 |
[22/49] Compiling kubrick VideoReader.swift
/host/spi-builder-workspace/Sources/kubrick/Sources/AVStream.swift:9:12: error: no such module 'Metal'
  7 |
  8 | #if (arch(arm) || arch(arm64))
  9 |     import Metal
    |            `- error: no such module 'Metal'
 10 | #endif
 11 |
[23/49] Compiling kubrick MediaFormat.swift
/host/spi-builder-workspace/Sources/kubrick/Sources/AVStream.swift:9:12: error: no such module 'Metal'
  7 |
  8 | #if (arch(arm) || arch(arm64))
  9 |     import Metal
    |            `- error: no such module 'Metal'
 10 | #endif
 11 |
[24/49] Compiling kubrick Sample.swift
/host/spi-builder-workspace/Sources/kubrick/Sources/AVStream.swift:9:12: error: no such module 'Metal'
  7 |
  8 | #if (arch(arm) || arch(arm64))
  9 |     import Metal
    |            `- error: no such module 'Metal'
 10 | #endif
 11 |
[25/49] Compiling kubrick FileEndpoint.swift
/host/spi-builder-workspace/Sources/kubrick/Sources/AVStream.swift:9:12: error: no such module 'Metal'
  7 |
  8 | #if (arch(arm) || arch(arm64))
  9 |     import Metal
    |            `- error: no such module 'Metal'
 10 | #endif
 11 |
[26/49] Compiling kubrick H264EncoderSink.swift
/host/spi-builder-workspace/Sources/kubrick/Sources/AVStream.swift:9:12: error: no such module 'Metal'
  7 |
  8 | #if (arch(arm) || arch(arm64))
  9 |     import Metal
    |            `- error: no such module 'Metal'
 10 | #endif
 11 |
[27/49] Compiling kubrick MuxerSink.swift
/host/spi-builder-workspace/Sources/kubrick/Sources/AVStream.swift:9:12: error: no such module 'Metal'
  7 |
  8 | #if (arch(arm) || arch(arm64))
  9 |     import Metal
    |            `- error: no such module 'Metal'
 10 | #endif
 11 |
[28/49] Compiling kubrick PrettyPortraitSink.swift
/host/spi-builder-workspace/Sources/kubrick/Sources/AVStream.swift:9:12: error: no such module 'Metal'
  7 |
  8 | #if (arch(arm) || arch(arm64))
  9 |     import Metal
    |            `- error: no such module 'Metal'
 10 | #endif
 11 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[29/49] Emitting module kubrick
/host/spi-builder-workspace/Sources/kubrick/Sources/AVStream.swift:9:12: error: no such module 'Metal'
  7 |
  8 | #if (arch(arm) || arch(arm64))
  9 |     import Metal
    |            `- error: no such module 'Metal'
 10 | #endif
 11 |
[30/49] Compiling kubrick SampleTransport.swift
/host/spi-builder-workspace/Sources/kubrick/Sources/AVStream.swift:9:12: error: no such module 'Metal'
  7 |
  8 | #if (arch(arm) || arch(arm64))
  9 |     import Metal
    |            `- error: no such module 'Metal'
 10 | #endif
 11 |
[31/49] Compiling kubrick Session.swift
/host/spi-builder-workspace/Sources/kubrick/Sources/AVStream.swift:9:12: error: no such module 'Metal'
  7 |
  8 | #if (arch(arm) || arch(arm64))
  9 |     import Metal
    |            `- error: no such module 'Metal'
 10 | #endif
 11 |
[32/49] Compiling kubrick AACEncoderSink.swift
/host/spi-builder-workspace/Sources/kubrick/Sources/AVStream.swift:9:12: error: no such module 'Metal'
  7 |
  8 | #if (arch(arm) || arch(arm64))
  9 |     import Metal
    |            `- error: no such module 'Metal'
 10 | #endif
 11 |
[33/49] Compiling kubrick EndpointSink.swift
/host/spi-builder-workspace/Sources/kubrick/Sources/AVStream.swift:9:12: error: no such module 'Metal'
  7 |
  8 | #if (arch(arm) || arch(arm64))
  9 |     import Metal
    |            `- error: no such module 'Metal'
 10 | #endif
 11 |
[34/49] Compiling kubrick MediaDeviceInput.swift
/host/spi-builder-workspace/Sources/kubrick/Sources/AVStream.swift:9:12: error: no such module 'Metal'
  7 |
  8 | #if (arch(arm) || arch(arm64))
  9 |     import Metal
    |            `- error: no such module 'Metal'
 10 | #endif
 11 |
[35/49] Compiling kubrick MediaDeviceOutput.swift
/host/spi-builder-workspace/Sources/kubrick/Sources/AVStream.swift:9:12: error: no such module 'Metal'
  7 |
  8 | #if (arch(arm) || arch(arm64))
  9 |     import Metal
    |            `- error: no such module 'Metal'
 10 | #endif
 11 |
[36/49] Compiling kubrick MediaDeviceReader.swift
/host/spi-builder-workspace/Sources/kubrick/Sources/AVStream.swift:9:12: error: no such module 'Metal'
  7 |
  8 | #if (arch(arm) || arch(arm64))
  9 |     import Metal
    |            `- error: no such module 'Metal'
 10 | #endif
 11 |
[37/49] Compiling kubrick Microphone.swift
/host/spi-builder-workspace/Sources/kubrick/Sources/AVStream.swift:9:12: error: no such module 'Metal'
  7 |
  8 | #if (arch(arm) || arch(arm64))
  9 |     import Metal
    |            `- error: no such module 'Metal'
 10 | #endif
 11 |
[38/49] Compiling kubrick VideoEncoder.swift
/host/spi-builder-workspace/Sources/kubrick/Sources/AVStream.swift:9:12: error: no such module 'Metal'
  7 |
  8 | #if (arch(arm) || arch(arm64))
  9 |     import Metal
    |            `- error: no such module 'Metal'
 10 | #endif
 11 |
[39/49] Compiling kubrick Bytes.swift
/host/spi-builder-workspace/Sources/kubrick/Sources/AVStream.swift:9:12: error: no such module 'Metal'
  7 |
  8 | #if (arch(arm) || arch(arm64))
  9 |     import Metal
    |            `- error: no such module 'Metal'
 10 | #endif
 11 |
[40/49] Compiling kubrick Rational.swift
/host/spi-builder-workspace/Sources/kubrick/Sources/AVStream.swift:9:12: error: no such module 'Metal'
  7 |
  8 | #if (arch(arm) || arch(arm64))
  9 |     import Metal
    |            `- error: no such module 'Metal'
 10 | #endif
 11 |
[41/49] Compiling kubrick ThreadSafeArray.swift
/host/spi-builder-workspace/Sources/kubrick/Sources/AVStream.swift:9:12: error: no such module 'Metal'
  7 |
  8 | #if (arch(arm) || arch(arm64))
  9 |     import Metal
    |            `- error: no such module 'Metal'
 10 | #endif
 11 |
[42/49] Compiling kubrick Camera.swift
/host/spi-builder-workspace/Sources/kubrick/Sources/AVStream.swift:9:12: error: no such module 'Metal'
  7 |
  8 | #if (arch(arm) || arch(arm64))
  9 |     import Metal
    |            `- error: no such module 'Metal'
 10 | #endif
 11 |
[43/49] Compiling kubrick Clock.swift
/host/spi-builder-workspace/Sources/kubrick/Sources/AVStream.swift:9:12: error: no such module 'Metal'
  7 |
  8 | #if (arch(arm) || arch(arm64))
  9 |     import Metal
    |            `- error: no such module 'Metal'
 10 | #endif
 11 |
[44/49] Compiling kubrick Display.swift
/host/spi-builder-workspace/Sources/kubrick/Sources/AVStream.swift:9:12: error: no such module 'Metal'
  7 |
  8 | #if (arch(arm) || arch(arm64))
  9 |     import Metal
    |            `- error: no such module 'Metal'
 10 | #endif
 11 |
[45/49] Compiling kubrick MediaDevice.swift
/host/spi-builder-workspace/Sources/kubrick/Sources/AVStream.swift:9:12: error: no such module 'Metal'
  7 |
  8 | #if (arch(arm) || arch(arm64))
  9 |     import Metal
    |            `- error: no such module 'Metal'
 10 | #endif
 11 |
[46/49] Compiling kubrick Sink.swift
/host/spi-builder-workspace/Sources/kubrick/Sources/AVStream.swift:9:12: error: no such module 'Metal'
  7 |
  8 | #if (arch(arm) || arch(arm64))
  9 |     import Metal
    |            `- error: no such module 'Metal'
 10 | #endif
 11 |
[47/49] Compiling kubrick AVStream.swift
/host/spi-builder-workspace/Sources/kubrick/Sources/AVStream.swift:9:12: error: no such module 'Metal'
  7 |
  8 | #if (arch(arm) || arch(arm64))
  9 |     import Metal
    |            `- error: no such module 'Metal'
 10 | #endif
 11 |
[48/49] Compiling kubrick Source.swift
/host/spi-builder-workspace/Sources/kubrick/Sources/AVStream.swift:9:12: error: no such module 'Metal'
  7 |
  8 | #if (arch(arm) || arch(arm64))
  9 |     import Metal
    |            `- error: no such module 'Metal'
 10 | #endif
 11 |
[49/49] Compiling kubrick SourceDiscoverer.swift
/host/spi-builder-workspace/Sources/kubrick/Sources/AVStream.swift:9:12: error: no such module 'Metal'
  7 |
  8 | #if (arch(arm) || arch(arm64))
  9 |     import Metal
    |            `- error: no such module 'Metal'
 10 | #endif
 11 |
BUILD FAILURE 6.1 android