The Swift Package Index logo.Swift Package Index

Build Information

Failed to build metal-tools with Swift 5.9 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.33.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/eugenebokhan/metal-tools.git
Reference: 1.1.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/eugenebokhan/metal-tools
 * tag               1.1.1      -> FETCH_HEAD
HEAD is now at d49d18c fix integral image
Cloned https://github.com/eugenebokhan/metal-tools.git
Revision (git rev-parse @):
d49d18ccea9c556eb1a8af595fb9d85b9d0d918c
SUCCESS checkout https://github.com/eugenebokhan/metal-tools.git at 1.1.1
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  $workDir
https://github.com/eugenebokhan/metal-tools.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Fetching https://github.com/SwiftGFX/SwiftMath.git
[1/972] Fetching swiftmath
Fetched https://github.com/SwiftGFX/SwiftMath.git (0.23s)
Computing version for https://github.com/SwiftGFX/SwiftMath.git
Computed https://github.com/SwiftGFX/SwiftMath.git at 3.3.1 (0.39s)
Creating working copy for https://github.com/SwiftGFX/SwiftMath.git
Working copy of https://github.com/SwiftGFX/SwiftMath.git resolved at 3.3.1
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Sources/MetalComputeTools/Kernels/IntegralImage/IntegralImage.metal
Building for debugging...
[0/36] Copying RGBAToYCbCr.metal
[0/36] Copying TextureAddConstant.metal
[0/36] Copying LookUpTable.metal
[0/36] Copying TextureMax.metal
[0/36] Copying TextureInterpolation.metal
[5/36] Copying TextRender.metal
[5/36] Copying RectangleRender.metal
[6/36] Copying SimpleGeometryRender.metal
[7/36] Copying MaskRenderer.metal
[9/36] Copying LinesRenderer.metal
[9/36] Copying Common.metal
[10/36] Copying YCbCrToRGBA.metal
[10/36] Copying TextureWeightedMix.metal
[10/36] Copying TextureResize.metal
[12/36] Copying TextureMultiplyAdd.metal
[12/36] Copying TextureMix.metal
[12/36] Copying TextureMin.metal
[14/36] Copying TextureMean.metal
[14/36] Copying TextureMaskedMix.metal
[14/36] Copying TextureMask.metal
[14/36] Copying TextureCopy.metal
[14/36] Copying TextureDifferenceHighlight.metal
[14/36] Copying PointsRenderer.metal
[14/36] Copying TextureAffineCrop.metal
[15/36] Copying StdMeanNormalization.metal
[24/36] Copying TextureDivideByConstant.metal
[26/36] Copying QuantizeDistanceField.metal
[26/36] Copying MaskGuidedBlur.metal
[28/36] Copying EuclideanDistance.metal
[29/36] Copying BitonicSort.metal
[30/36] Copying Shared
[31/36] Copying HelveticaNeue.mtlfontatlas
[32/36] Compiling MetalComputeToolsSharedTypes MetalComputeToolsSharedTypes.c
[33/36] Compiling MetalRenderingToolsSharedTypes MetalRenderingToolsSharedTypes.c
error: emit-module command failed with exit code 1 (use -v to see invocation)
[35/123] Emitting module MetalTools
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[36/131] Emitting module SwiftMath
[37/134] Compiling MetalTools MTLCommandBuffer+Dispatching.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[38/134] Compiling MetalTools MTLCommandBuffer+ExecutionTime.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[39/134] Compiling MetalTools MTLCommandQueue+Schedule.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[40/134] Compiling MetalTools MTLCompileOptions+Extensions.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[41/134] Compiling MetalTools MTLComputeCommandEncoder+Arguments.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[42/134] Compiling MetalTools MTLComputeCommandEncoder+Dispatch.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[43/134] Compiling MetalTools MTLComputePipelineState+Threads.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[44/134] Compiling MetalTools MTLContext+CommandQueue.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[45/134] Compiling SwiftMath platform.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[46/134] Compiling SwiftMath random.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[47/134] Compiling SwiftMath utils.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[48/134] Compiling MetalTools MTLPixelFormat+CGBitmapInfo.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[49/134] Compiling MetalTools MTLPixelFormat+CVPixelFormat.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[50/134] Compiling MetalTools MTLPixelFormat+Codable.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[51/134] Compiling MetalTools MTLPixelFormat+ColorSpace.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[52/134] Compiling MetalTools MTLPixelFormat+Extensions.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[53/134] Compiling MetalTools MTLRegion+Area.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[54/134] Compiling MetalTools MTLRegion+Clamp.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[55/134] Compiling MetalTools MTLRegion+Codable.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[56/134] Compiling MetalTools MTLRegion+Equitable.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[57/134] Compiling MetalTools MTLRenderCommandEncoder+SetValue.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[58/134] Compiling MetalTools MTLRenderPassAttachmentDescriptor+Extensions.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[59/134] Compiling MetalTools MTLRenderPipelineColorAttachmentDescriptor+BlendingMode.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[60/134] Compiling MetalTools MTLResource+AccessibleOnCPU.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[61/134] Compiling MetalTools MTLOrigin+Clamp.swift
[62/134] Compiling MetalTools MTLTextureCodableContainer.swift
[63/134] Compiling MetalTools MTLTextureDescriptorCodableContainer.swift
[64/134] Compiling MetalTools MTLBlitCommandEncoder+Copy.swift
[65/134] Compiling MetalTools MTLBuffer+Contents.swift
[66/134] Compiling MetalTools MTLCPUCacheMode+Codable.swift
[67/134] Compiling MetalTools MTLClearColor+Clear.swift
[68/134] Compiling MetalTools CVPixelBuffer+MTLTexture.swift
[69/134] Compiling MetalTools CVPixelFormat+Extensions.swift
[70/134] Compiling MetalTools Decoder+MTLDevice.swift
[71/134] Compiling MetalTools MTLDevice+Convenience.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[72/134] Compiling MetalTools MTLDevice+Features.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[73/134] Compiling MetalTools MTLDevice+IsDiscrete.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[74/134] Compiling MetalTools MTLDevice+MTLTexture.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[75/134] Compiling MetalTools MTLFunctionConstantValues+SetValue.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[76/134] Compiling MetalTools MTLHeap+Convenience.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[77/134] Compiling MetalTools MTLLibrary+PipelineState.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[88/134] Compiling MetalComputeToolsTestsResources resource_bundle_accessor.swift
[89/134] Emitting module MetalComputeToolsTestsResources
[90/134] Compiling MetalComputeToolsTestsResources Bundle+TestsResources.swift
[91/134] Compiling MetalTools MTLResourceOptions+Extensions.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[92/134] Compiling MetalTools MTLSize+Clamp.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[93/134] Compiling MetalTools MTLSize+Codable.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[94/134] Compiling MetalTools MTLSize+Convenience.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[95/134] Compiling MetalTools MTLSwize+Equitable.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[96/134] Compiling MetalTools MTLSizeAndAlign+Extensions.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[97/134] Compiling MetalTools MTLStorageMode+Extensions.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[98/134] Compiling MetalTools MTLTexture+Array.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[99/134] Compiling MetalTools MTLTexture+Codable.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[100/134] Compiling MetalTools MTLTexture+Extensions.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[101/134] Compiling MetalTools MTLTexture+Image.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[102/134] Compiling MetalTools MTLTextureDescriptor+Copy.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[103/134] Compiling MetalTools MTLTextureDescriptor+Encodable.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[104/134] Compiling MetalTools MTLTextureType+Codable.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[105/134] Compiling MetalTools MTLTextureUsage+Codable.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[106/134] Compiling MetalTools MTLVertexAttributeDescriptor+Extensions.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[118/135] Compiling MetalTools MTLVertexAttributeDescriptorArray+Extensions.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[119/135] Compiling MetalTools MPSNNGraph+Functors.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[120/135] Compiling MetalTools MPSUnaryImageKernel+Functors.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[121/135] Compiling MetalTools MTLContext+Capture.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[122/135] Compiling MetalTools MTLContext+Device.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[123/135] Compiling MetalTools MTLContext.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[124/135] Compiling MetalTools Metal.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[125/135] Compiling MetalTools MetalError.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
error: fatalError
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Sources/MetalComputeTools/Kernels/IntegralImage/IntegralImage.metal
[0/1] Planning build
Building for debugging...
[1/62] Compiling MetalTools MTLCommandBuffer+Dispatching.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[2/62] Compiling MetalTools MTLCommandBuffer+ExecutionTime.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[3/62] Compiling MetalTools MTLCommandQueue+Schedule.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[4/62] Compiling MetalTools MTLCompileOptions+Extensions.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[5/62] Compiling MetalTools MTLComputeCommandEncoder+Arguments.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[6/62] Compiling MetalTools MTLComputeCommandEncoder+Dispatch.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[7/62] Compiling MetalTools MTLComputePipelineState+Threads.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[8/62] Compiling MetalTools MTLContext+CommandQueue.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[9/70] Compiling MetalTools MTLDevice+Convenience.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[10/70] Compiling MetalTools MTLDevice+Features.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[11/70] Compiling MetalTools MTLDevice+IsDiscrete.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[12/70] Compiling MetalTools MTLDevice+MTLTexture.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[13/70] Compiling MetalTools MTLFunctionConstantValues+SetValue.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[14/70] Compiling MetalTools MTLHeap+Convenience.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[15/70] Compiling MetalTools MTLLibrary+PipelineState.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[16/70] Compiling MetalTools MTLOrigin+Clamp.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[17/70] Compiling MetalTools MTLRegion+Area.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[18/70] Compiling MetalTools MTLRegion+Clamp.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[19/70] Compiling MetalTools MTLRegion+Codable.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[20/70] Compiling MetalTools MTLRegion+Equitable.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[21/70] Compiling MetalTools MTLRenderCommandEncoder+SetValue.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[22/70] Compiling MetalTools MTLRenderPassAttachmentDescriptor+Extensions.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[23/70] Compiling MetalTools MTLRenderPipelineColorAttachmentDescriptor+BlendingMode.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[24/70] Compiling MetalTools MTLResource+AccessibleOnCPU.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[25/70] Compiling MetalTools MTLTexture+Codable.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[26/70] Compiling MetalTools MTLTexture+Extensions.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[27/70] Compiling MetalTools MTLTexture+Image.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[28/70] Compiling MetalTools MTLTextureDescriptor+Copy.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[29/70] Compiling MetalTools MTLTextureDescriptor+Encodable.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[30/70] Compiling MetalTools MTLTextureType+Codable.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[31/70] Compiling MetalTools MTLTextureUsage+Codable.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[32/70] Compiling MetalTools MTLVertexAttributeDescriptor+Extensions.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[33/70] Emitting module MetalComputeToolsTestsResources
[34/71] Compiling MetalTools MTLOrigin+Codable.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[35/71] Compiling MetalTools MTLOrigin+Convenience.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[36/71] Compiling MetalTools MTLOrigin+Equitable.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[37/71] Compiling MetalTools MTLPixelFormat+CGBitmapInfo.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[38/71] Compiling MetalTools MTLPixelFormat+CVPixelFormat.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[39/71] Compiling MetalTools MTLPixelFormat+Codable.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[40/71] Compiling MetalTools MTLPixelFormat+ColorSpace.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[41/71] Compiling MetalTools MTLPixelFormat+Extensions.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[42/71] Compiling MetalTools MTLResourceOptions+Extensions.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[43/71] Compiling MetalTools MTLSize+Clamp.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[44/71] Compiling MetalTools MTLSize+Codable.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[45/71] Compiling MetalTools MTLSize+Convenience.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[46/71] Compiling MetalTools MTLSwize+Equitable.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[47/71] Compiling MetalTools MTLSizeAndAlign+Extensions.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[48/71] Compiling MetalTools MTLStorageMode+Extensions.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[49/71] Compiling MetalTools MTLTexture+Array.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[50/71] Compiling MetalTools MTLTextureCodableContainer.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[51/71] Compiling MetalTools MTLTextureDescriptorCodableContainer.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[52/71] Compiling MetalTools CVPixelBuffer+MTLTexture.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[53/71] Compiling MetalTools CVPixelFormat+Extensions.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[54/71] Compiling MetalTools Decoder+MTLDevice.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[55/71] Compiling MetalTools MTLBlitCommandEncoder+Copy.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[56/71] Compiling MetalTools MTLBuffer+Contents.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[57/71] Compiling MetalTools MTLCPUCacheMode+Codable.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[58/71] Compiling MetalTools MTLClearColor+Clear.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[60/72] Emitting module MetalTools
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[62/72] Compiling MetalTools MTLVertexAttributeDescriptorArray+Extensions.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[63/72] Compiling MetalTools MPSNNGraph+Functors.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[64/72] Compiling MetalTools MPSUnaryImageKernel+Functors.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[65/72] Compiling MetalTools MTLContext+Capture.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[66/72] Compiling MetalTools MTLContext+Device.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[67/72] Compiling MetalTools MTLContext.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[68/72] Compiling MetalTools Metal.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[69/72] Compiling MetalTools MetalError.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[70/72] Emitting module SwiftMath
error: fatalError
BUILD FAILURE 5.9 linux

Build Machine: Linux 2