The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftSnapshotTesting with Swift 5.9 for Linux.

Build Command

docker run --rm -v "checkouts-4606859-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.19.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/eugenebokhan/swift-snapshot-testing.git
Reference: master
Cloned https://github.com/eugenebokhan/swift-snapshot-testing.git into spi-builder-workspace
SUCCESS checkout https://github.com/eugenebokhan/swift-snapshot-testing.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4606859-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Fetching https://github.com/eugenebokhan/ResourcesBridge.git
Fetching https://github.com/devicekit/DeviceKit.git
Fetching https://github.com/s1ddok/Alloy.git
[1/4380] Fetching alloy
[571/4563] Fetching alloy, resourcesbridge
[692/7841] Fetching alloy, resourcesbridge, devicekit
Fetched https://github.com/devicekit/DeviceKit.git (0.42s)
Fetched https://github.com/eugenebokhan/ResourcesBridge.git (0.42s)
Fetched https://github.com/s1ddok/Alloy.git (0.57s)
Computing version for https://github.com/eugenebokhan/ResourcesBridge.git
Computed https://github.com/eugenebokhan/ResourcesBridge.git at 0.0.4 (0.31s)
Fetching https://github.com/eugenebokhan/Bonjour.git
[1/106] Fetching bonjour
Fetched https://github.com/eugenebokhan/Bonjour.git (0.17s)
Computing version for https://github.com/eugenebokhan/Bonjour.git
Computed https://github.com/eugenebokhan/Bonjour.git at 2.1.0 (0.27s)
Computing version for https://github.com/s1ddok/Alloy.git
Computed https://github.com/s1ddok/Alloy.git at 0.18.2 (0.29s)
Computing version for https://github.com/devicekit/DeviceKit.git
Computed https://github.com/devicekit/DeviceKit.git at 4.9.0 (0.28s)
Creating working copy for https://github.com/s1ddok/Alloy.git
Working copy of https://github.com/s1ddok/Alloy.git resolved at 0.18.2
Creating working copy for https://github.com/eugenebokhan/Bonjour.git
Working copy of https://github.com/eugenebokhan/Bonjour.git resolved at 2.1.0
Creating working copy for https://github.com/eugenebokhan/ResourcesBridge.git
Working copy of https://github.com/eugenebokhan/ResourcesBridge.git resolved at 0.0.4
Creating working copy for https://github.com/devicekit/DeviceKit.git
Working copy of https://github.com/devicekit/DeviceKit.git resolved at 4.9.0
Building for debugging...
[0/3] Copying Shaders.metal
[2/3] Compiling AlloyShadersSharedTypes AlloyShadersSharedTypes.c
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/80] Emitting module DeviceKit
/host/spi-builder-workspace/.build/checkouts/DeviceKit/Source/Device.generated.swift:15:8: error: no such module 'UIKit'
import UIKit
       ^
[5/80] Compiling DeviceKit Device.generated.swift
/host/spi-builder-workspace/.build/checkouts/DeviceKit/Source/Device.generated.swift:15:8: error: no such module 'UIKit'
import UIKit
       ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/80] Emitting module Alloy
/host/spi-builder-workspace/.build/checkouts/Alloy/Sources/Alloy/Core/ComputeCommand.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[7/80] Compiling Alloy MTLCommandQueue+Extensions.swift
/host/spi-builder-workspace/.build/checkouts/Alloy/Sources/Alloy/Core/ComputeCommand.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[8/80] Compiling Alloy MTLComputeCommandEncoder+Extensions.swift
/host/spi-builder-workspace/.build/checkouts/Alloy/Sources/Alloy/Core/ComputeCommand.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[9/80] Compiling Alloy MTLComputePipelineState+Threads.swift
/host/spi-builder-workspace/.build/checkouts/Alloy/Sources/Alloy/Core/ComputeCommand.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[10/80] Compiling Alloy MTLContext+CommandQueue.swift
/host/spi-builder-workspace/.build/checkouts/Alloy/Sources/Alloy/Core/ComputeCommand.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[11/80] Compiling Alloy MTLDevice+Extensions.swift
/host/spi-builder-workspace/.build/checkouts/Alloy/Sources/Alloy/Core/ComputeCommand.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[12/80] Compiling Alloy MTLDevice+Features.swift
/host/spi-builder-workspace/.build/checkouts/Alloy/Sources/Alloy/Core/ComputeCommand.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[13/80] Compiling Alloy MTLFunctionConstantValues+Extensions.swift
/host/spi-builder-workspace/.build/checkouts/Alloy/Sources/Alloy/Core/ComputeCommand.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[14/80] Compiling Alloy MTLLibrary+Extensions.swift
/host/spi-builder-workspace/.build/checkouts/Alloy/Sources/Alloy/Core/ComputeCommand.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[15/80] Compiling Alloy MTLOrigin+Extensions.swift
/host/spi-builder-workspace/.build/checkouts/Alloy/Sources/Alloy/Core/ComputeCommand.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[16/80] Compiling Alloy MTLPixelFormat+CVPixelFormat.swift
/host/spi-builder-workspace/.build/checkouts/Alloy/Sources/Alloy/Core/ComputeCommand.swift:1:8: error: no such module 'Metal'
import Metal
       ^
error: fatalError
/host/spi-builder-workspace/.build/checkouts/Alloy/Sources/Alloy/Core/ComputeCommand.swift:1:8: error: no such module 'Metal'
import Metal
       ^
/host/spi-builder-workspace/.build/checkouts/Bonjour/Sources/Bonjour/BonjourSession.swift:2:8: error: no such module 'MultipeerConnectivity'
import MultipeerConnectivity
       ^
BUILD FAILURE 5.9 linux

Build Machine: Linux 1