The Swift Package Index logo.Swift Package Index

Build Information

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

Build Command

bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.7-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.7
Building package at path:  $workDir
https://github.com/eugenebokhan/metal-tools.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.7-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.24s)
Computing version for https://github.com/SwiftGFX/SwiftMath.git
Computed https://github.com/SwiftGFX/SwiftMath.git at 3.3.1 (0.29s)
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 TextureMultiplyAdd.metal
[0/36] Copying YCbCrToRGBA.metal
[0/36] Copying LookUpTable.metal
[0/36] Copying RGBAToYCbCr.metal
[0/36] Copying TextureWeightedMix.metal
[0/36] Copying TextureMask.metal
[0/36] Copying StdMeanNormalization.metal
[0/36] Copying EuclideanDistance.metal
[0/36] Copying BitonicSort.metal
[0/36] Copying TextureMean.metal
[0/36] Copying TextureMin.metal
[0/36] Copying TextureMaskedMix.metal
[0/36] Copying TextureCopy.metal
[0/36] Copying TextureAddConstant.metal
[0/36] Copying TextureInterpolation.metal
[0/36] Copying TextureResize.metal
[0/36] Copying SimpleGeometryRender.metal
[0/36] Copying RectangleRender.metal
[0/36] Copying TextRender.metal
[0/36] Copying PointsRenderer.metal
[0/36] Copying MaskRenderer.metal
[0/36] Copying LinesRenderer.metal
[0/36] Copying Common.metal
[0/36] Copying TextureMix.metal
[5/36] Copying TextureMax.metal
[7/36] Copying TextureDivideByConstant.metal
[10/36] Copying TextureDifferenceHighlight.metal
[17/36] Copying TextureAffineCrop.metal
[20/36] Copying QuantizeDistanceField.metal
[24/36] Copying MaskGuidedBlur.metal
[30/36] Copying Shared
[31/36] Copying HelveticaNeue.mtlfontatlas
[32/36] Compiling MetalRenderingToolsSharedTypes MetalRenderingToolsSharedTypes.c
[33/36] Compiling MetalComputeToolsSharedTypes MetalComputeToolsSharedTypes.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 MTLOrigin+Codable.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[38/134] Compiling MetalTools MTLOrigin+Convenience.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[39/134] Compiling MetalTools MTLOrigin+Equitable.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[40/134] Compiling MetalTools MTLPixelFormat+CGBitmapInfo.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[41/134] Compiling MetalTools MTLPixelFormat+CVPixelFormat.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[42/134] Compiling MetalTools MTLPixelFormat+Codable.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[43/134] Compiling MetalTools MTLPixelFormat+ColorSpace.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[44/134] Compiling MetalTools MTLPixelFormat+Extensions.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[48/134] Compiling SwiftMath platform.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[49/134] Compiling SwiftMath random.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[50/134] Compiling SwiftMath utils.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[51/134] Compiling MetalTools MTLDevice+MTLTexture.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[52/134] Compiling MetalTools MTLFunctionConstantValues+SetValue.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[53/134] Compiling MetalTools MTLHeap+Convenience.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[54/134] Compiling MetalTools MTLLibrary+PipelineState.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[55/134] Compiling MetalTools MTLOrigin+Clamp.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[56/134] Compiling MetalTools MTLRegion+Area.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[57/134] Compiling MetalTools MTLRegion+Clamp.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[58/134] Compiling MetalTools MTLRegion+Codable.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[59/134] Compiling MetalTools MTLRegion+Equitable.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[60/134] Compiling MetalTools MTLRenderCommandEncoder+SetValue.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[61/134] Compiling MetalTools MTLRenderPassAttachmentDescriptor+Extensions.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[62/134] Compiling MetalTools MTLRenderPipelineColorAttachmentDescriptor+BlendingMode.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[63/134] Compiling MetalTools MTLResource+AccessibleOnCPU.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[64/134] Compiling MetalTools MTLCommandBuffer+Dispatching.swift
[65/134] Compiling MetalTools MTLCommandBuffer+ExecutionTime.swift
[66/134] Compiling MetalTools MTLCommandQueue+Schedule.swift
[67/134] Compiling MetalTools MTLCompileOptions+Extensions.swift
[71/134] Compiling MetalTools MTLResourceOptions+Extensions.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[72/134] Compiling MetalTools MTLSize+Clamp.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[73/134] Compiling MetalTools MTLSize+Codable.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[74/134] Compiling MetalTools MTLSize+Convenience.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[75/134] Compiling MetalTools MTLSwize+Equitable.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[76/134] Compiling MetalTools MTLSizeAndAlign+Extensions.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[77/134] Compiling MetalTools MTLStorageMode+Extensions.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[78/134] Compiling MetalTools MTLTexture+Array.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[79/134] Compiling MetalTools MTLTexture+Codable.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[80/134] Compiling MetalTools MTLTexture+Extensions.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[81/134] Compiling MetalTools MTLTexture+Image.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[82/134] Compiling MetalTools MTLTextureDescriptor+Copy.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[83/134] Compiling MetalTools MTLTextureDescriptor+Encodable.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[84/134] Compiling MetalTools MTLTextureType+Codable.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[85/134] Compiling MetalTools MTLTextureUsage+Codable.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[86/134] Compiling MetalTools MTLVertexAttributeDescriptor+Extensions.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
       ^
[91/134] Compiling MetalTools MTLComputeCommandEncoder+Arguments.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[92/134] Compiling MetalTools MTLComputeCommandEncoder+Dispatch.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[93/134] Compiling MetalTools MTLComputePipelineState+Threads.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[94/134] Compiling MetalTools MTLContext+CommandQueue.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[95/134] Compiling MetalTools MTLTextureCodableContainer.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[96/134] Compiling MetalTools MTLTextureDescriptorCodableContainer.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[97/134] Compiling MetalTools CVPixelBuffer+MTLTexture.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[98/134] Compiling MetalTools CVPixelFormat+Extensions.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[99/134] Compiling MetalTools Decoder+MTLDevice.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[100/134] Compiling MetalTools MTLBlitCommandEncoder+Copy.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[101/134] Compiling MetalTools MTLBuffer+Contents.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[102/134] Compiling MetalTools MTLCPUCacheMode+Codable.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[103/134] Compiling MetalTools MTLClearColor+Clear.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[108/134] Compiling MetalComputeToolsTestsResources Bundle+TestsResources.swift
[109/134] Emitting module MetalComputeToolsTestsResources
[110/134] Compiling MetalComputeToolsTestsResources resource_bundle_accessor.swift
[111/134] Compiling MetalTools MTLVertexAttributeDescriptorArray+Extensions.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[112/134] Compiling MetalTools MPSNNGraph+Functors.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[113/134] Compiling MetalTools MPSUnaryImageKernel+Functors.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[114/134] Compiling MetalTools MTLContext+Capture.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[115/134] Compiling MetalTools MTLContext+Device.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[116/134] Compiling MetalTools MTLContext.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[117/134] Compiling MetalTools Metal.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[118/134] Compiling MetalTools MetalError.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
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/61] Compiling MetalTools MTLDevice+Convenience.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[2/61] Compiling MetalTools MTLDevice+Features.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[3/61] Compiling MetalTools MTLDevice+IsDiscrete.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[4/61] Compiling MetalTools MTLDevice+MTLTexture.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[5/61] Compiling MetalTools MTLFunctionConstantValues+SetValue.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[6/61] Compiling MetalTools MTLHeap+Convenience.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[7/61] Compiling MetalTools MTLLibrary+PipelineState.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[8/61] Compiling MetalTools MTLOrigin+Clamp.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[9/61] Compiling MetalTools MTLCommandBuffer+Dispatching.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[10/61] Compiling MetalTools MTLCommandBuffer+ExecutionTime.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[11/61] Compiling MetalTools MTLCommandQueue+Schedule.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[12/61] Compiling MetalTools MTLCompileOptions+Extensions.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[13/61] Compiling MetalTools MTLComputeCommandEncoder+Arguments.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[14/61] Compiling MetalTools MTLComputeCommandEncoder+Dispatch.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[15/61] Compiling MetalTools MTLComputePipelineState+Threads.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[16/61] Compiling MetalTools MTLContext+CommandQueue.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)[17/72] Emitting module MetalTools
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[18/77] Emitting module MetalComputeToolsTestsResources
[19/81] Compiling MetalTools MTLOrigin+Codable.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[20/81] Compiling MetalTools MTLOrigin+Convenience.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[21/81] Compiling MetalTools MTLOrigin+Equitable.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[22/81] Compiling MetalTools MTLPixelFormat+CGBitmapInfo.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[23/81] Compiling MetalTools MTLPixelFormat+CVPixelFormat.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[24/81] Compiling MetalTools MTLPixelFormat+Codable.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[25/81] Compiling MetalTools MTLPixelFormat+ColorSpace.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[26/81] Compiling MetalTools MTLPixelFormat+Extensions.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[27/81] Compiling MetalTools MTLResourceOptions+Extensions.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[28/81] Compiling MetalTools MTLSize+Clamp.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[29/81] Compiling MetalTools MTLSize+Codable.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[30/81] Compiling MetalTools MTLSize+Convenience.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[31/81] Compiling MetalTools MTLSwize+Equitable.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[32/81] Compiling MetalTools MTLSizeAndAlign+Extensions.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[33/81] Compiling MetalTools MTLStorageMode+Extensions.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[34/81] Compiling MetalTools MTLTexture+Array.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[35/81] Compiling MetalTools MTLRegion+Area.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[36/81] Compiling MetalTools MTLRegion+Clamp.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[37/81] Compiling MetalTools MTLRegion+Codable.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[38/81] Compiling MetalTools MTLRegion+Equitable.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[39/81] Compiling MetalTools MTLRenderCommandEncoder+SetValue.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[40/81] Compiling MetalTools MTLRenderPassAttachmentDescriptor+Extensions.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[41/81] Compiling MetalTools MTLRenderPipelineColorAttachmentDescriptor+BlendingMode.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[42/81] Compiling MetalTools MTLResource+AccessibleOnCPU.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[43/81] Compiling SwiftMath Point.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[44/81] Compiling SwiftMath Rect.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[45/81] Compiling SwiftMath Vector2+simd.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[46/81] Compiling SwiftMath Vector2.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[47/81] Compiling SwiftMath String+Math.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[48/81] Compiling SwiftMath Vector2+nosimd.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[49/81] Compiling MetalTools MTLBuffer+Contents.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[50/81] Compiling MetalTools MTLCPUCacheMode+Codable.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[51/81] Compiling MetalTools MTLClearColor+Clear.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[52/81] Compiling MetalTools MTLTexture+Codable.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[53/81] Compiling MetalTools MTLTexture+Extensions.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[54/81] Compiling MetalTools MTLTexture+Image.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[55/81] Compiling MetalTools MTLTextureDescriptor+Copy.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[56/81] Compiling MetalTools MTLTextureDescriptor+Encodable.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[57/81] Compiling MetalTools MTLTextureType+Codable.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[58/81] Compiling MetalTools MTLTextureUsage+Codable.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[59/81] Compiling MetalTools MTLVertexAttributeDescriptor+Extensions.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[62/82] Compiling MetalTools MTLVertexAttributeDescriptorArray+Extensions.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[63/82] Compiling MetalTools MPSNNGraph+Functors.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[64/82] Compiling MetalTools MPSUnaryImageKernel+Functors.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[65/82] Compiling MetalTools MTLContext+Capture.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[66/82] Compiling MetalTools MTLContext+Device.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[67/82] Compiling MetalTools MTLContext.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[68/82] Compiling MetalTools Metal.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[69/82] Compiling MetalTools MetalError.swift
/host/spi-builder-workspace/Sources/MetalTools/CodableContainer/MTLTextureCodableContainer.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[72/83] Emitting module SwiftMath
[75/85] Compiling SwiftMath Vector3+nosimd.swift
[76/89] Compiling SwiftMath Vector3+simd.swift
BUILD FAILURE 5.7 linux

Build Machine: Linux 1