The Swift Package Index logo.Swift Package Index

Build Information

Failed to build GemmaEmbed, reference v0.4.1 (5d1020), with Swift 6.3 for Linux on 30 Oct 2026 09:02:17 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-53886769-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:linux-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/maralski/gemma-embed-swift.git
Reference: v0.4.1
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/maralski/gemma-embed-swift
 * tag               v0.4.1     -> FETCH_HEAD
HEAD is now at 5d10200 chore: prepare v0.4.1 release (#4)
Cloned https://github.com/maralski/gemma-embed-swift.git
Revision (git rev-parse @):
5d10200c6a6dfd4cece6b34e3707f3972c153ef1
SUCCESS checkout https://github.com/maralski/gemma-embed-swift.git at v0.4.1
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.3
Building package at path:  $PWD
https://github.com/maralski/gemma-embed-swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886769-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:linux-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
linux-6.3-latest: Pulling from saguaro1/spi-images
Digest: sha256:caade26a8dd5b9e237c5c17486feb4a843d699145c768feadca9f1b811831234
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:linux-6.3-latest
Building for debugging...
[0/8] Copying Shaders
[1/8] Write sources
[3/8] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/45] Emitting module GemmaEmbed
/host/spi-builder-workspace/Sources/GemmaEmbed/Audio/AudioDecoder.swift:3:8: error: no such module 'AVFoundation'
  1 | // Copyright 2026 Peter Marelas
  2 | // SPDX-License-Identifier: Apache-2.0
  3 | import AVFoundation
    |        `- error: no such module 'AVFoundation'
  4 | import Foundation
  5 |
[6/50] Compiling GemmaEmbed EmbedOptions.swift
/host/spi-builder-workspace/Sources/GemmaEmbed/Audio/AudioDecoder.swift:3:8: error: no such module 'AVFoundation'
  1 | // Copyright 2026 Peter Marelas
  2 | // SPDX-License-Identifier: Apache-2.0
  3 | import AVFoundation
    |        `- error: no such module 'AVFoundation'
  4 | import Foundation
  5 |
[7/50] Compiling GemmaEmbed EmbeddingModel.swift
/host/spi-builder-workspace/Sources/GemmaEmbed/Audio/AudioDecoder.swift:3:8: error: no such module 'AVFoundation'
  1 | // Copyright 2026 Peter Marelas
  2 | // SPDX-License-Identifier: Apache-2.0
  3 | import AVFoundation
    |        `- error: no such module 'AVFoundation'
  4 | import Foundation
  5 |
[8/50] Compiling GemmaEmbed Errors.swift
/host/spi-builder-workspace/Sources/GemmaEmbed/Audio/AudioDecoder.swift:3:8: error: no such module 'AVFoundation'
  1 | // Copyright 2026 Peter Marelas
  2 | // SPDX-License-Identifier: Apache-2.0
  3 | import AVFoundation
    |        `- error: no such module 'AVFoundation'
  4 | import Foundation
  5 |
[9/50] Compiling GemmaEmbed GGUFFile.swift
/host/spi-builder-workspace/Sources/GemmaEmbed/Audio/AudioDecoder.swift:3:8: error: no such module 'AVFoundation'
  1 | // Copyright 2026 Peter Marelas
  2 | // SPDX-License-Identifier: Apache-2.0
  3 | import AVFoundation
    |        `- error: no such module 'AVFoundation'
  4 | import Foundation
  5 |
[10/50] Compiling GemmaEmbed GGUFValue.swift
/host/spi-builder-workspace/Sources/GemmaEmbed/Audio/AudioDecoder.swift:3:8: error: no such module 'AVFoundation'
  1 | // Copyright 2026 Peter Marelas
  2 | // SPDX-License-Identifier: Apache-2.0
  3 | import AVFoundation
    |        `- error: no such module 'AVFoundation'
  4 | import Foundation
  5 |
[11/50] Compiling GemmaEmbed AudioDecoder.swift
/host/spi-builder-workspace/Sources/GemmaEmbed/Audio/AudioDecoder.swift:3:8: error: no such module 'AVFoundation'
  1 | // Copyright 2026 Peter Marelas
  2 | // SPDX-License-Identifier: Apache-2.0
  3 | import AVFoundation
    |        `- error: no such module 'AVFoundation'
  4 | import Foundation
  5 |
[12/50] Compiling GemmaEmbed AudioInput.swift
/host/spi-builder-workspace/Sources/GemmaEmbed/Audio/AudioDecoder.swift:3:8: error: no such module 'AVFoundation'
  1 | // Copyright 2026 Peter Marelas
  2 | // SPDX-License-Identifier: Apache-2.0
  3 | import AVFoundation
    |        `- error: no such module 'AVFoundation'
  4 | import Foundation
  5 |
[13/50] Compiling GemmaEmbed AudioPreprocessor.swift
/host/spi-builder-workspace/Sources/GemmaEmbed/Audio/AudioDecoder.swift:3:8: error: no such module 'AVFoundation'
  1 | // Copyright 2026 Peter Marelas
  2 | // SPDX-License-Identifier: Apache-2.0
  3 | import AVFoundation
    |        `- error: no such module 'AVFoundation'
  4 | import Foundation
  5 |
[14/50] Compiling GemmaEmbed MiniaudioConverter.swift
/host/spi-builder-workspace/Sources/GemmaEmbed/Audio/AudioDecoder.swift:3:8: error: no such module 'AVFoundation'
  1 | // Copyright 2026 Peter Marelas
  2 | // SPDX-License-Identifier: Apache-2.0
  3 | import AVFoundation
    |        `- error: no such module 'AVFoundation'
  4 | import Foundation
  5 |
[15/50] Compiling GemmaEmbed WAVDecoder.swift
/host/spi-builder-workspace/Sources/GemmaEmbed/Audio/AudioDecoder.swift:3:8: error: no such module 'AVFoundation'
  1 | // Copyright 2026 Peter Marelas
  2 | // SPDX-License-Identifier: Apache-2.0
  3 | import AVFoundation
    |        `- error: no such module 'AVFoundation'
  4 | import Foundation
  5 |
[16/50] Compiling GemmaEmbed AudioEmbedding.swift
/host/spi-builder-workspace/Sources/GemmaEmbed/Audio/AudioDecoder.swift:3:8: error: no such module 'AVFoundation'
  1 | // Copyright 2026 Peter Marelas
  2 | // SPDX-License-Identifier: Apache-2.0
  3 | import AVFoundation
    |        `- error: no such module 'AVFoundation'
  4 | import Foundation
  5 |
[17/50] Compiling GemmaEmbed JPEGDecoder.swift
/host/spi-builder-workspace/Sources/GemmaEmbed/Audio/AudioDecoder.swift:3:8: error: no such module 'AVFoundation'
  1 | // Copyright 2026 Peter Marelas
  2 | // SPDX-License-Identifier: Apache-2.0
  3 | import AVFoundation
    |        `- error: no such module 'AVFoundation'
  4 | import Foundation
  5 |
[18/50] Compiling GemmaEmbed JPEGReconstruction.swift
/host/spi-builder-workspace/Sources/GemmaEmbed/Audio/AudioDecoder.swift:3:8: error: no such module 'AVFoundation'
  1 | // Copyright 2026 Peter Marelas
  2 | // SPDX-License-Identifier: Apache-2.0
  3 | import AVFoundation
    |        `- error: no such module 'AVFoundation'
  4 | import Foundation
  5 |
[19/50] Compiling GemmaEmbed ImageEmbedding.swift
/host/spi-builder-workspace/Sources/GemmaEmbed/Audio/AudioDecoder.swift:3:8: error: no such module 'AVFoundation'
  1 | // Copyright 2026 Peter Marelas
  2 | // SPDX-License-Identifier: Apache-2.0
  3 | import AVFoundation
    |        `- error: no such module 'AVFoundation'
  4 | import Foundation
  5 |
[20/50] Compiling GemmaEmbed AudioTower.swift
/host/spi-builder-workspace/Sources/GemmaEmbed/Audio/AudioDecoder.swift:3:8: error: no such module 'AVFoundation'
  1 | // Copyright 2026 Peter Marelas
  2 | // SPDX-License-Identifier: Apache-2.0
  3 | import AVFoundation
    |        `- error: no such module 'AVFoundation'
  4 | import Foundation
  5 |
[21/50] Compiling GemmaEmbed Autotune.swift
/host/spi-builder-workspace/Sources/GemmaEmbed/Audio/AudioDecoder.swift:3:8: error: no such module 'AVFoundation'
  1 | // Copyright 2026 Peter Marelas
  2 | // SPDX-License-Identifier: Apache-2.0
  3 | import AVFoundation
    |        `- error: no such module 'AVFoundation'
  4 | import Foundation
  5 |
[22/50] Compiling GemmaEmbed VisionWeights.swift
/host/spi-builder-workspace/Sources/GemmaEmbed/Audio/AudioDecoder.swift:3:8: error: no such module 'AVFoundation'
  1 | // Copyright 2026 Peter Marelas
  2 | // SPDX-License-Identifier: Apache-2.0
  3 | import AVFoundation
    |        `- error: no such module 'AVFoundation'
  4 | import Foundation
  5 |
[23/50] Compiling GemmaEmbed Weights.swift
/host/spi-builder-workspace/Sources/GemmaEmbed/Audio/AudioDecoder.swift:3:8: error: no such module 'AVFoundation'
  1 | // Copyright 2026 Peter Marelas
  2 | // SPDX-License-Identifier: Apache-2.0
  3 | import AVFoundation
    |        `- error: no such module 'AVFoundation'
  4 | import Foundation
  5 |
[24/50] Compiling GemmaEmbed MultimodalEmbedding.swift
/host/spi-builder-workspace/Sources/GemmaEmbed/Audio/AudioDecoder.swift:3:8: error: no such module 'AVFoundation'
  1 | // Copyright 2026 Peter Marelas
  2 | // SPDX-License-Identifier: Apache-2.0
  3 | import AVFoundation
    |        `- error: no such module 'AVFoundation'
  4 | import Foundation
  5 |
[25/50] Compiling GemmaEmbed Tokenizer.swift
/host/spi-builder-workspace/Sources/GemmaEmbed/Audio/AudioDecoder.swift:3:8: error: no such module 'AVFoundation'
  1 | // Copyright 2026 Peter Marelas
  2 | // SPDX-License-Identifier: Apache-2.0
  3 | import AVFoundation
    |        `- error: no such module 'AVFoundation'
  4 | import Foundation
  5 |
[26/50] Compiling GemmaEmbed resource_bundle_accessor.swift
/host/spi-builder-workspace/Sources/GemmaEmbed/Audio/AudioDecoder.swift:3:8: error: no such module 'AVFoundation'
  1 | // Copyright 2026 Peter Marelas
  2 | // SPDX-License-Identifier: Apache-2.0
  3 | import AVFoundation
    |        `- error: no such module 'AVFoundation'
  4 | import Foundation
  5 |
[27/50] Compiling GemmaEmbed CPUVisionReference.swift
/host/spi-builder-workspace/Sources/GemmaEmbed/Audio/AudioDecoder.swift:3:8: error: no such module 'AVFoundation'
  1 | // Copyright 2026 Peter Marelas
  2 | // SPDX-License-Identifier: Apache-2.0
  3 | import AVFoundation
    |        `- error: no such module 'AVFoundation'
  4 | import Foundation
  5 |
[28/50] Compiling GemmaEmbed InputRow.swift
/host/spi-builder-workspace/Sources/GemmaEmbed/Audio/AudioDecoder.swift:3:8: error: no such module 'AVFoundation'
  1 | // Copyright 2026 Peter Marelas
  2 | // SPDX-License-Identifier: Apache-2.0
  3 | import AVFoundation
    |        `- error: no such module 'AVFoundation'
  4 | import Foundation
  5 |
[29/50] Compiling GemmaEmbed ModelConfig.swift
/host/spi-builder-workspace/Sources/GemmaEmbed/Audio/AudioDecoder.swift:3:8: error: no such module 'AVFoundation'
  1 | // Copyright 2026 Peter Marelas
  2 | // SPDX-License-Identifier: Apache-2.0
  3 | import AVFoundation
    |        `- error: no such module 'AVFoundation'
  4 | import Foundation
  5 |
[30/50] Compiling GemmaEmbed RopeTable.swift
/host/spi-builder-workspace/Sources/GemmaEmbed/Audio/AudioDecoder.swift:3:8: error: no such module 'AVFoundation'
  1 | // Copyright 2026 Peter Marelas
  2 | // SPDX-License-Identifier: Apache-2.0
  3 | import AVFoundation
    |        `- error: no such module 'AVFoundation'
  4 | import Foundation
  5 |
[31/50] Compiling GemmaEmbed VisionConfig.swift
/host/spi-builder-workspace/Sources/GemmaEmbed/Audio/AudioDecoder.swift:3:8: error: no such module 'AVFoundation'
  1 | // Copyright 2026 Peter Marelas
  2 | // SPDX-License-Identifier: Apache-2.0
  3 | import AVFoundation
    |        `- error: no such module 'AVFoundation'
  4 | import Foundation
  5 |
[32/50] Compiling GemmaEmbed EmbeddedShaders.swift
/host/spi-builder-workspace/Sources/GemmaEmbed/Audio/AudioDecoder.swift:3:8: error: no such module 'AVFoundation'
  1 | // Copyright 2026 Peter Marelas
  2 | // SPDX-License-Identifier: Apache-2.0
  3 | import AVFoundation
    |        `- error: no such module 'AVFoundation'
  4 | import Foundation
  5 |
[33/50] Compiling GemmaEmbed KernelParams.swift
/host/spi-builder-workspace/Sources/GemmaEmbed/Audio/AudioDecoder.swift:3:8: error: no such module 'AVFoundation'
  1 | // Copyright 2026 Peter Marelas
  2 | // SPDX-License-Identifier: Apache-2.0
  3 | import AVFoundation
    |        `- error: no such module 'AVFoundation'
  4 | import Foundation
  5 |
[34/50] Compiling GemmaEmbed MetalContext.swift
/host/spi-builder-workspace/Sources/GemmaEmbed/Audio/AudioDecoder.swift:3:8: error: no such module 'AVFoundation'
  1 | // Copyright 2026 Peter Marelas
  2 | // SPDX-License-Identifier: Apache-2.0
  3 | import AVFoundation
    |        `- error: no such module 'AVFoundation'
  4 | import Foundation
  5 |
[35/50] Compiling GemmaEmbed MetalForward.swift
/host/spi-builder-workspace/Sources/GemmaEmbed/Audio/AudioDecoder.swift:3:8: error: no such module 'AVFoundation'
  1 | // Copyright 2026 Peter Marelas
  2 | // SPDX-License-Identifier: Apache-2.0
  3 | import AVFoundation
    |        `- error: no such module 'AVFoundation'
  4 | import Foundation
  5 |
[36/50] Compiling GemmaEmbed Profiler.swift
/host/spi-builder-workspace/Sources/GemmaEmbed/Audio/AudioDecoder.swift:3:8: error: no such module 'AVFoundation'
  1 | // Copyright 2026 Peter Marelas
  2 | // SPDX-License-Identifier: Apache-2.0
  3 | import AVFoundation
    |        `- error: no such module 'AVFoundation'
  4 | import Foundation
  5 |
[37/50] Compiling GemmaEmbed VisionTower.swift
/host/spi-builder-workspace/Sources/GemmaEmbed/Audio/AudioDecoder.swift:3:8: error: no such module 'AVFoundation'
  1 | // Copyright 2026 Peter Marelas
  2 | // SPDX-License-Identifier: Apache-2.0
  3 | import AVFoundation
    |        `- error: no such module 'AVFoundation'
  4 | import Foundation
  5 |
[38/50] Compiling GemmaEmbed AudioConfig.swift
/host/spi-builder-workspace/Sources/GemmaEmbed/Audio/AudioDecoder.swift:3:8: error: no such module 'AVFoundation'
  1 | // Copyright 2026 Peter Marelas
  2 | // SPDX-License-Identifier: Apache-2.0
  3 | import AVFoundation
    |        `- error: no such module 'AVFoundation'
  4 | import Foundation
  5 |
[39/50] Compiling GemmaEmbed AudioWeights.swift
/host/spi-builder-workspace/Sources/GemmaEmbed/Audio/AudioDecoder.swift:3:8: error: no such module 'AVFoundation'
  1 | // Copyright 2026 Peter Marelas
  2 | // SPDX-License-Identifier: Apache-2.0
  3 | import AVFoundation
    |        `- error: no such module 'AVFoundation'
  4 | import Foundation
  5 |
[40/50] Compiling GemmaEmbed CPUAudioReference.swift
/host/spi-builder-workspace/Sources/GemmaEmbed/Audio/AudioDecoder.swift:3:8: error: no such module 'AVFoundation'
  1 | // Copyright 2026 Peter Marelas
  2 | // SPDX-License-Identifier: Apache-2.0
  3 | import AVFoundation
    |        `- error: no such module 'AVFoundation'
  4 | import Foundation
  5 |
[41/50] Compiling GemmaEmbed CPUReference.swift
/host/spi-builder-workspace/Sources/GemmaEmbed/Audio/AudioDecoder.swift:3:8: error: no such module 'AVFoundation'
  1 | // Copyright 2026 Peter Marelas
  2 | // SPDX-License-Identifier: Apache-2.0
  3 | import AVFoundation
    |        `- error: no such module 'AVFoundation'
  4 | import Foundation
  5 |
[42/50] Compiling GemmaEmbed MappedFile.swift
/host/spi-builder-workspace/Sources/GemmaEmbed/Audio/AudioDecoder.swift:3:8: error: no such module 'AVFoundation'
  1 | // Copyright 2026 Peter Marelas
  2 | // SPDX-License-Identifier: Apache-2.0
  3 | import AVFoundation
    |        `- error: no such module 'AVFoundation'
  4 | import Foundation
  5 |
[43/50] Compiling GemmaEmbed ImageDecoder.swift
/host/spi-builder-workspace/Sources/GemmaEmbed/Audio/AudioDecoder.swift:3:8: error: no such module 'AVFoundation'
  1 | // Copyright 2026 Peter Marelas
  2 | // SPDX-License-Identifier: Apache-2.0
  3 | import AVFoundation
    |        `- error: no such module 'AVFoundation'
  4 | import Foundation
  5 |
[44/50] Compiling GemmaEmbed ImageInput.swift
/host/spi-builder-workspace/Sources/GemmaEmbed/Audio/AudioDecoder.swift:3:8: error: no such module 'AVFoundation'
  1 | // Copyright 2026 Peter Marelas
  2 | // SPDX-License-Identifier: Apache-2.0
  3 | import AVFoundation
    |        `- error: no such module 'AVFoundation'
  4 | import Foundation
  5 |
[45/50] Compiling GemmaEmbed ImagePreprocessor.swift
/host/spi-builder-workspace/Sources/GemmaEmbed/Audio/AudioDecoder.swift:3:8: error: no such module 'AVFoundation'
  1 | // Copyright 2026 Peter Marelas
  2 | // SPDX-License-Identifier: Apache-2.0
  3 | import AVFoundation
    |        `- error: no such module 'AVFoundation'
  4 | import Foundation
  5 |
[46/50] Compiling GemmaEmbed ImageResizer.swift
/host/spi-builder-workspace/Sources/GemmaEmbed/Audio/AudioDecoder.swift:3:8: error: no such module 'AVFoundation'
  1 | // Copyright 2026 Peter Marelas
  2 | // SPDX-License-Identifier: Apache-2.0
  3 | import AVFoundation
    |        `- error: no such module 'AVFoundation'
  4 | import Foundation
  5 |
BUILD FAILURE 6.3 linux