Build Information
Failed to build kubrick, reference master (41b1ab
), with Swift 6.2 (beta) for Android on 18 Jun 2025 00:03:18 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.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
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.2
Building package at path: $PWD
https://github.com/krad/kubrick.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:b7c4a6b4153ff40ef9277e2157e708f835b8eb011095d53bd8db4594eb2b7798
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Fetching https://github.com/krad/grip.git
[1/176] Fetching grip
Fetched https://github.com/krad/grip.git from cache (0.25s)
Computing version for https://github.com/krad/grip.git
Computed https://github.com/krad/grip.git at 1.3.5 (0.74s)
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-8C5A4AE7A8CE2BA.txt
[4/16] Compiling grip NALU.swift
[5/16] Compiling grip AudioSamplePacket.swift
[6/17] Compiling grip CompressedSample.swift
[7/17] Compiling grip ByteHelpers.swift
[8/17] Emitting module grip
[9/17] Compiling grip BinaryEncodable.swift
[10/17] Compiling grip BinaryEncodableExtensions.swift
[11/17] Compiling grip VideoDimensionsPacket.swift
[12/17] Compiling grip VideoParamSetPacket.swift
[13/17] Compiling grip Packets.swift
[14/17] Compiling grip StreamTypePacket.swift
[15/17] Compiling grip VideoSamplePacket.swift
[16/17] Compiling grip StreamType.swift
[17/17] Compiling grip Writeable.swift
[19/47] 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 |
[20/47] 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 |
[21/47] 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 |
[22/47] 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 |
[23/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 |
[24/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 |
[25/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 |
[26/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 |
[27/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 |
[28/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 |
[29/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 |
[30/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 |
[31/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 |
[32/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 |
[33/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 |
[34/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 |
[35/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 |
[36/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 |
[37/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 |
[38/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 |
[39/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 |
[40/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 |
[41/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 |
[42/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 |
[43/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 |
[44/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 |
[45/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 |
[46/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 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[47/51] 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 |
[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 |
BUILD FAILURE 6.2 android