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

Build Machine: Linux 2