The Swift Package Index logo.Swift Package Index

Build Information

Failed to build MetalUI with Swift 5.9 for Linux.

Build Command

docker run --rm -v "checkouts-4609320-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.19.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/0xLet/MetalUI.git
Reference: 0.1.0
Cloned https://github.com/0xLet/MetalUI.git into spi-builder-workspace
SUCCESS checkout https://github.com/0xLet/MetalUI.git at 0.1.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4609320-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Building for debugging...
[1/5] Compiling MetalUI MetalView.swift
/host/spi-builder-workspace/Sources/MetalUI/Data/MetalRenderingVertex.swift:1:8: error: no such module 'MetalKit'
import MetalKit
       ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/5] Emitting module MetalUI
/host/spi-builder-workspace/Sources/MetalUI/Data/MetalRenderingVertex.swift:1:8: error: no such module 'MetalKit'
import MetalKit
       ^
[3/5] Compiling MetalUI MetalRenderingVertex.swift
/host/spi-builder-workspace/Sources/MetalUI/Data/MetalRenderingVertex.swift:1:8: error: no such module 'MetalKit'
import MetalKit
       ^
[4/5] Compiling MetalUI MetalRendering.swift
/host/spi-builder-workspace/Sources/MetalUI/Data/MetalRenderingVertex.swift:1:8: error: no such module 'MetalKit'
import MetalKit
       ^
[5/5] Compiling MetalUI MetalPresenting.swift
/host/spi-builder-workspace/Sources/MetalUI/Data/MetalRenderingVertex.swift:1:8: error: no such module 'MetalKit'
import MetalKit
       ^
error: fatalError
BUILD FAILURE 5.9 linux

Build Machine: Linux 2