The Swift Package Index logo.Swift Package Index

Build Information

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

Build Command

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

Build Machine: Linux 1