The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Alloy with Swift 5.9 for Linux.

Build Command

docker run --rm -v "checkouts-4609320-1":/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/s1ddok/Alloy.git
Reference: master
Cloned https://github.com/s1ddok/Alloy.git into spi-builder-workspace
SUCCESS checkout https://github.com/s1ddok/Alloy.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4609320-1":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Building for debugging...
[0/4] Copying Shaders.metal
[1/4] Copying TextureCopy
[2/4] Copying Shared
[3/4] Compiling AlloyShadersSharedTypes AlloyShadersSharedTypes.c
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/77] Emitting module Alloy
/host/spi-builder-workspace/Sources/Alloy/Core/ComputeCommand.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[6/86] Compiling Alloy MTLCommandQueue+Extensions.swift
/host/spi-builder-workspace/Sources/Alloy/Core/ComputeCommand.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[7/86] Compiling Alloy MTLComputeCommandEncoder+Extensions.swift
/host/spi-builder-workspace/Sources/Alloy/Core/ComputeCommand.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[8/86] Compiling Alloy MTLComputePipelineState+Threads.swift
/host/spi-builder-workspace/Sources/Alloy/Core/ComputeCommand.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[9/86] Compiling Alloy MTLContext+CommandQueue.swift
/host/spi-builder-workspace/Sources/Alloy/Core/ComputeCommand.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[10/86] Compiling Alloy MTLDevice+Extensions.swift
/host/spi-builder-workspace/Sources/Alloy/Core/ComputeCommand.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[11/86] Compiling Alloy MTLDevice+Features.swift
/host/spi-builder-workspace/Sources/Alloy/Core/ComputeCommand.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[12/86] Compiling Alloy MTLFunctionConstantValues+Extensions.swift
/host/spi-builder-workspace/Sources/Alloy/Core/ComputeCommand.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[13/86] Compiling Alloy MTLLibrary+Extensions.swift
/host/spi-builder-workspace/Sources/Alloy/Core/ComputeCommand.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[14/86] Compiling Alloy MTLOrigin+Extensions.swift
/host/spi-builder-workspace/Sources/Alloy/Core/ComputeCommand.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[15/86] Compiling Alloy MTLPixelFormat+CVPixelFormat.swift
/host/spi-builder-workspace/Sources/Alloy/Core/ComputeCommand.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[16/86] Compiling Alloy MTLPixelFormat+Extensions.swift
/host/spi-builder-workspace/Sources/Alloy/Core/ComputeCommand.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[17/86] Compiling Alloy MTLRegion+Extensions.swift
/host/spi-builder-workspace/Sources/Alloy/Core/ComputeCommand.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[18/86] Compiling Alloy MTLRenderCommandEncoder+Extensions.swift
/host/spi-builder-workspace/Sources/Alloy/Core/ComputeCommand.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[19/86] Compiling Alloy MTLRenderPassColorAttachmentDescriptor+LoadAction.swift
/host/spi-builder-workspace/Sources/Alloy/Core/ComputeCommand.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[20/86] Compiling Alloy MTLRenderPipelineColorAttachmentDescriptor+Extensions.swift
/host/spi-builder-workspace/Sources/Alloy/Core/ComputeCommand.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[21/86] Compiling Alloy MTLResource+Extensions.swift
/host/spi-builder-workspace/Sources/Alloy/Core/ComputeCommand.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[22/86] Compiling Alloy MTLSize+Extensions.swift
/host/spi-builder-workspace/Sources/Alloy/Core/ComputeCommand.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[23/86] Compiling Alloy MTLSizeAndAlign+Extensions.swift
/host/spi-builder-workspace/Sources/Alloy/Core/ComputeCommand.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[24/86] Compiling Alloy MTLTexture+Extensions.swift
/host/spi-builder-workspace/Sources/Alloy/Core/ComputeCommand.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[25/86] Compiling Alloy MTLTexture+Serialization.swift
/host/spi-builder-workspace/Sources/Alloy/Core/ComputeCommand.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[26/86] Compiling Alloy TextureMax.swift
/host/spi-builder-workspace/Sources/Alloy/Core/ComputeCommand.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[27/86] Compiling Alloy TextureMean.swift
/host/spi-builder-workspace/Sources/Alloy/Core/ComputeCommand.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[28/86] Compiling Alloy TextureMin.swift
/host/spi-builder-workspace/Sources/Alloy/Core/ComputeCommand.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[29/86] Compiling Alloy TextureMultiplyAdd.swift
/host/spi-builder-workspace/Sources/Alloy/Core/ComputeCommand.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[30/86] Compiling Alloy TextureNormalization.swift
/host/spi-builder-workspace/Sources/Alloy/Core/ComputeCommand.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[31/86] Compiling Alloy TextureResize.swift
/host/spi-builder-workspace/Sources/Alloy/Core/ComputeCommand.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[32/86] Compiling Alloy TextureWeightedMix.swift
/host/spi-builder-workspace/Sources/Alloy/Core/ComputeCommand.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[33/86] Compiling Alloy YCbCrToRGBA.swift
/host/spi-builder-workspace/Sources/Alloy/Core/ComputeCommand.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[34/86] Compiling Alloy GlobalPoolPadding.swift
/host/spi-builder-workspace/Sources/Alloy/Core/ComputeCommand.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[35/86] Compiling Alloy MTLTextureDescriptor+Extensions.swift
/host/spi-builder-workspace/Sources/Alloy/Core/ComputeCommand.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[36/86] Compiling Alloy MTLTextureDescriptor+Serialization.swift
/host/spi-builder-workspace/Sources/Alloy/Core/ComputeCommand.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[37/86] Compiling Alloy MPS+Functors.swift
/host/spi-builder-workspace/Sources/Alloy/Core/ComputeCommand.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[38/86] Compiling Alloy MPSImage+Extensions.swift
/host/spi-builder-workspace/Sources/Alloy/Core/ComputeCommand.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[39/86] Compiling Alloy Float16.swift
/host/spi-builder-workspace/Sources/Alloy/Core/ComputeCommand.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[40/86] Compiling Alloy MTLContext.swift
/host/spi-builder-workspace/Sources/Alloy/Core/ComputeCommand.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[41/86] Compiling Alloy MTLIndexBuffer.swift
/host/spi-builder-workspace/Sources/Alloy/Core/ComputeCommand.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[42/86] Compiling Alloy MTLOffscreenRenderer.swift
/host/spi-builder-workspace/Sources/Alloy/Core/ComputeCommand.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[43/86] Compiling Alloy Metal.swift
/host/spi-builder-workspace/Sources/Alloy/Core/ComputeCommand.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[44/86] Compiling Alloy MetalError.swift
/host/spi-builder-workspace/Sources/Alloy/Core/ComputeCommand.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[45/86] Compiling Alloy RGBAToYCbCr.swift
/host/spi-builder-workspace/Sources/Alloy/Core/ComputeCommand.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[46/86] Compiling Alloy StdMeanNormalization.swift
/host/spi-builder-workspace/Sources/Alloy/Core/ComputeCommand.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[47/86] Compiling Alloy TextureAddConstant.swift
/host/spi-builder-workspace/Sources/Alloy/Core/ComputeCommand.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[48/86] Compiling Alloy TextureAffineCrop.swift
/host/spi-builder-workspace/Sources/Alloy/Core/ComputeCommand.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[49/86] Compiling Alloy TextureCopy.swift
/host/spi-builder-workspace/Sources/Alloy/Core/ComputeCommand.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[50/86] Compiling Alloy TextureDifferenceHighlight.swift
/host/spi-builder-workspace/Sources/Alloy/Core/ComputeCommand.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[51/86] Compiling Alloy TextureDivideByConstant.swift
/host/spi-builder-workspace/Sources/Alloy/Core/ComputeCommand.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[52/86] Compiling Alloy TextureInterpolation.swift
/host/spi-builder-workspace/Sources/Alloy/Core/ComputeCommand.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[53/86] Compiling Alloy TextureMask.swift
/host/spi-builder-workspace/Sources/Alloy/Core/ComputeCommand.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[54/86] Compiling Alloy TextureMaskedMix.swift
/host/spi-builder-workspace/Sources/Alloy/Core/ComputeCommand.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[55/86] Compiling Alloy BitonicSort.swift
/host/spi-builder-workspace/Sources/Alloy/Core/ComputeCommand.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[56/86] Compiling Alloy BitonicSortFinalPass.swift
/host/spi-builder-workspace/Sources/Alloy/Core/ComputeCommand.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[57/86] Compiling Alloy BitonicSortFirstPass.swift
/host/spi-builder-workspace/Sources/Alloy/Core/ComputeCommand.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[58/86] Compiling Alloy BitonicSortGeneralPass.swift
/host/spi-builder-workspace/Sources/Alloy/Core/ComputeCommand.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[59/86] Compiling Alloy BlockSize.swift
/host/spi-builder-workspace/Sources/Alloy/Core/ComputeCommand.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[60/86] Compiling Alloy EuclideanDistance.swift
/host/spi-builder-workspace/Sources/Alloy/Core/ComputeCommand.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[61/86] Compiling Alloy LookUpTable.swift
/host/spi-builder-workspace/Sources/Alloy/Core/ComputeCommand.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[62/86] Compiling Alloy MPSUnaryImageKernels.swift
/host/spi-builder-workspace/Sources/Alloy/Core/ComputeCommand.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[63/86] Compiling Alloy MaskGuidedBlur.swift
/host/spi-builder-workspace/Sources/Alloy/Core/ComputeCommand.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[64/86] Compiling Alloy Normalization.swift
/host/spi-builder-workspace/Sources/Alloy/Core/ComputeCommand.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[65/86] Compiling AlloyTestsResources Bundle+AlloyTestsResources.swift
[66/86] Emitting module AlloyTestsResources
[67/86] Compiling AlloyTestsResources resource_bundle_accessor.swift
[68/86] Compiling Alloy ComputeCommand.swift
/host/spi-builder-workspace/Sources/Alloy/Core/ComputeCommand.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[69/86] Compiling Alloy MTLContext+Device.swift
/host/spi-builder-workspace/Sources/Alloy/Core/ComputeCommand.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[70/86] Compiling Alloy CVPixelBuffer+MTLTexture.swift
/host/spi-builder-workspace/Sources/Alloy/Core/ComputeCommand.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[71/86] Compiling Alloy Bundle+Module.swift
/host/spi-builder-workspace/Sources/Alloy/Core/ComputeCommand.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[72/86] Compiling Alloy Sequence+Utils.swift
/host/spi-builder-workspace/Sources/Alloy/Core/ComputeCommand.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[73/86] Compiling Alloy MTL+Codable.swift
/host/spi-builder-workspace/Sources/Alloy/Core/ComputeCommand.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[74/86] Compiling Alloy MTLBlitCommandEncoder+Extensions.swift
/host/spi-builder-workspace/Sources/Alloy/Core/ComputeCommand.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[75/86] Compiling Alloy MTLBuffer+Extensions.swift
/host/spi-builder-workspace/Sources/Alloy/Core/ComputeCommand.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[76/86] Compiling Alloy MTLClearColor+Extensions.swift
/host/spi-builder-workspace/Sources/Alloy/Core/ComputeCommand.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[77/86] Compiling Alloy MTLCommandBuffer+Extensions.swift
/host/spi-builder-workspace/Sources/Alloy/Core/ComputeCommand.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[80/88] Compiling Alloy ONNXConvolutionPadding.swift
/host/spi-builder-workspace/Sources/Alloy/Core/ComputeCommand.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[81/88] Compiling Alloy PyTorchPoolPadding.swift
/host/spi-builder-workspace/Sources/Alloy/Core/ComputeCommand.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[82/88] Compiling Alloy BoundingBoxesRenderer.swift
/host/spi-builder-workspace/Sources/Alloy/Core/ComputeCommand.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[83/88] Compiling Alloy LinesRenderer.swift
/host/spi-builder-workspace/Sources/Alloy/Core/ComputeCommand.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[84/88] Compiling Alloy MaskRenderer.swift
/host/spi-builder-workspace/Sources/Alloy/Core/ComputeCommand.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[85/88] Compiling Alloy PointsRenderer.swift
/host/spi-builder-workspace/Sources/Alloy/Core/ComputeCommand.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[86/88] Compiling Alloy RectangleRenderer.swift
/host/spi-builder-workspace/Sources/Alloy/Core/ComputeCommand.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[87/88] Compiling Alloy SimpleGeometryRenderer.swift
/host/spi-builder-workspace/Sources/Alloy/Core/ComputeCommand.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[88/88] Compiling Alloy resource_bundle_accessor.swift
/host/spi-builder-workspace/Sources/Alloy/Core/ComputeCommand.swift:1:8: error: no such module 'Metal'
import Metal
       ^
error: fatalError
BUILD FAILURE 5.9 linux

Build Machine: Linux 2