The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftSnapshotTesting 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 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/eugenebokhan/swift-snapshot-testing.git
Reference: master
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/swift-snapshot-testing
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at b2ecbe0 update deps
Cloned https://github.com/eugenebokhan/swift-snapshot-testing.git
Revision (git rev-parse @):
b2ecbe0e6e25c9582ffba6a7474cd9bf50a6624a
SUCCESS checkout https://github.com/eugenebokhan/swift-snapshot-testing.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/eugenebokhan/swift-snapshot-testing.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 2>&1
Fetching https://github.com/s1ddok/Alloy.git
Fetching https://github.com/devicekit/DeviceKit.git
Fetching https://github.com/eugenebokhan/ResourcesBridge.git
[1/4380] Fetching alloy
[220/4563] Fetching alloy, resourcesbridge
[690/8273] Fetching alloy, resourcesbridge, devicekit
Fetched https://github.com/devicekit/DeviceKit.git from cache (0.50s)
Fetched https://github.com/eugenebokhan/ResourcesBridge.git from cache (0.50s)
Fetched https://github.com/s1ddok/Alloy.git from cache (0.51s)
Computing version for https://github.com/eugenebokhan/ResourcesBridge.git
Computed https://github.com/eugenebokhan/ResourcesBridge.git at 0.0.4 (0.38s)
Fetching https://github.com/eugenebokhan/Bonjour.git
[1/106] Fetching bonjour
Fetched https://github.com/eugenebokhan/Bonjour.git from cache (0.21s)
Computing version for https://github.com/eugenebokhan/Bonjour.git
Computed https://github.com/eugenebokhan/Bonjour.git at 2.1.0 (0.38s)
Computing version for https://github.com/s1ddok/Alloy.git
Computed https://github.com/s1ddok/Alloy.git at 0.18.2 (0.41s)
Computing version for https://github.com/devicekit/DeviceKit.git
Computed https://github.com/devicekit/DeviceKit.git at 4.9.0 (0.39s)
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/devicekit/DeviceKit.git
Working copy of https://github.com/devicekit/DeviceKit.git resolved at 4.9.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/eugenebokhan/Bonjour.git
Working copy of https://github.com/eugenebokhan/Bonjour.git resolved at 2.1.0
Building for debugging...
[0/9] Write sources
[0/9] Copying Shaders.metal
[6/9] Write sources
[7/9] Compiling AlloyShadersSharedTypes AlloyShadersSharedTypes.c
[8/9] Write swift-version-24593BA9C3E375BF.txt
[10/86] Compiling Alloy RGBAToYCbCr.swift
/host/spi-builder-workspace/.build/checkouts/Alloy/Sources/Alloy/Core/ComputeCommand.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[11/86] Compiling Alloy StdMeanNormalization.swift
/host/spi-builder-workspace/.build/checkouts/Alloy/Sources/Alloy/Core/ComputeCommand.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[12/86] Compiling Alloy TextureAddConstant.swift
/host/spi-builder-workspace/.build/checkouts/Alloy/Sources/Alloy/Core/ComputeCommand.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[13/86] Compiling Alloy TextureAffineCrop.swift
/host/spi-builder-workspace/.build/checkouts/Alloy/Sources/Alloy/Core/ComputeCommand.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[14/86] Compiling Alloy TextureCopy.swift
/host/spi-builder-workspace/.build/checkouts/Alloy/Sources/Alloy/Core/ComputeCommand.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[15/86] Compiling Alloy TextureDifferenceHighlight.swift
/host/spi-builder-workspace/.build/checkouts/Alloy/Sources/Alloy/Core/ComputeCommand.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[16/86] Compiling Alloy TextureDivideByConstant.swift
/host/spi-builder-workspace/.build/checkouts/Alloy/Sources/Alloy/Core/ComputeCommand.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[17/86] Compiling Alloy TextureInterpolation.swift
/host/spi-builder-workspace/.build/checkouts/Alloy/Sources/Alloy/Core/ComputeCommand.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[18/86] Compiling Alloy TextureMask.swift
/host/spi-builder-workspace/.build/checkouts/Alloy/Sources/Alloy/Core/ComputeCommand.swift:1:8: error: no such module 'Metal'
import Metal
       ^
[19/86] Compiling Alloy TextureMaskedMix.swift
/host/spi-builder-workspace/.build/checkouts/Alloy/Sources/Alloy/Core/ComputeCommand.swift:1:8: error: no such module 'Metal'
import Metal
       ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[20/95] Emitting module DeviceKit
/host/spi-builder-workspace/.build/checkouts/DeviceKit/Source/Device.generated.swift:15:8: error: no such module 'UIKit'
import UIKit
       ^
[21/95] 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: fatalError
error: emit-module command failed with exit code 1 (use -v to see invocation)
error: emit-module command failed with exit code 1 (use -v to see invocation)
[22/95] Emitting module Bonjour
/host/spi-builder-workspace/.build/checkouts/Bonjour/Sources/Bonjour/BonjourSession.swift:2:8: error: no such module 'MultipeerConnectivity'
import MultipeerConnectivity
       ^
[23/95] Emitting module Alloy
/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/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
       ^
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/30] Emitting module Bonjour
/host/spi-builder-workspace/.build/checkouts/Bonjour/Sources/Bonjour/BonjourSession.swift:2:8: error: no such module 'MultipeerConnectivity'
import MultipeerConnectivity
       ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/78] Emitting module DeviceKit
/host/spi-builder-workspace/.build/checkouts/DeviceKit/Source/Device.generated.swift:15:8: error: no such module 'UIKit'
import UIKit
       ^
[4/78] 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: fatalError
/host/spi-builder-workspace/.build/checkouts/Bonjour/Sources/Bonjour/BonjourSession.swift:2:8: error: no such module 'MultipeerConnectivity'
import MultipeerConnectivity
       ^
/host/spi-builder-workspace/.build/checkouts/Alloy/Sources/Alloy/Core/ComputeCommand.swift:1:8: error: no such module 'Metal'
import Metal
       ^
BUILD FAILURE 5.10 linux

Build Machine: Linux 1