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

Build Machine: Linux 1