The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SnapshotTestingImageRender 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/john-flanagan/SnapshotTestingImageRender.git
Reference: 1.0.0
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/john-flanagan/SnapshotTestingImageRender
 * tag               1.0.0      -> FETCH_HEAD
HEAD is now at 5b54ac2 Initial commit
Cloned https://github.com/john-flanagan/SnapshotTestingImageRender.git
Revision (git rev-parse @):
5b54ac2635209c55f6f5ce0b4485913b2db710a3
SUCCESS checkout https://github.com/john-flanagan/SnapshotTestingImageRender.git at 1.0.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/john-flanagan/SnapshotTestingImageRender.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/pointfreeco/swift-snapshot-testing
[1/10927] Fetching swift-snapshot-testing
Fetched https://github.com/pointfreeco/swift-snapshot-testing from cache (1.47s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing
Computed https://github.com/pointfreeco/swift-snapshot-testing at 1.11.0 (0.40s)
Creating working copy for https://github.com/pointfreeco/swift-snapshot-testing
Working copy of https://github.com/pointfreeco/swift-snapshot-testing resolved at 1.11.0
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/33] Compiling SnapshotTesting Any.swift
[5/33] Compiling SnapshotTesting CALayer.swift
[6/33] Compiling SnapshotTesting CGPath.swift
[7/33] Compiling SnapshotTesting CaseIterable.swift
[8/33] Compiling SnapshotTesting Codable.swift
[9/33] Compiling SnapshotTesting Data.swift
[10/33] Compiling SnapshotTesting Description.swift
[11/33] Compiling SnapshotTesting NSBezierPath.swift
[12/37] Compiling SnapshotTesting SpriteKit.swift
[13/37] Compiling SnapshotTesting String.swift
[14/37] Compiling SnapshotTesting SwiftUIView.swift
[15/37] Compiling SnapshotTesting UIBezierPath.swift
[16/37] Compiling SnapshotTesting NSImage.swift
[17/37] Compiling SnapshotTesting NSView.swift
[18/37] Compiling SnapshotTesting NSViewController.swift
[19/37] Compiling SnapshotTesting SceneKit.swift
[20/37] Compiling SnapshotTesting String+SpecialCharacters.swift
[21/37] Compiling SnapshotTesting View.swift
[22/37] Compiling SnapshotTesting XCTAttachment.swift
[23/37] Compiling SnapshotTesting Diff.swift
[24/37] Compiling SnapshotTesting Diffing.swift
[25/37] Compiling SnapshotTesting Wait.swift
[26/37] Compiling SnapshotTesting SnapshotTestCase.swift
[27/37] Compiling SnapshotTesting Snapshotting.swift
[28/37] Emitting module SnapshotTesting
[29/37] Compiling SnapshotTesting AssertInlineSnapshot.swift
[30/37] Compiling SnapshotTesting AssertSnapshot.swift
[31/37] Compiling SnapshotTesting Async.swift
[32/37] Compiling SnapshotTesting Internal.swift
[33/37] Compiling SnapshotTesting PlistEncoder.swift
[34/37] Compiling SnapshotTesting UIImage.swift
[35/37] Compiling SnapshotTesting UIView.swift
[36/37] Compiling SnapshotTesting UIViewController.swift
[37/37] Compiling SnapshotTesting URLRequest.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[39/40] Emitting module SnapshotTestingImageRender
/host/spi-builder-workspace/Sources/SnapshotTestingImageRender/SnapshotTestingImageRender.swift:2:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[40/40] Compiling SnapshotTestingImageRender SnapshotTestingImageRender.swift
/host/spi-builder-workspace/Sources/SnapshotTestingImageRender/SnapshotTestingImageRender.swift:2:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
error: fatalError
[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/3] Emitting module SnapshotTestingImageRender
/host/spi-builder-workspace/Sources/SnapshotTestingImageRender/SnapshotTestingImageRender.swift:2:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[3/3] Compiling SnapshotTestingImageRender SnapshotTestingImageRender.swift
/host/spi-builder-workspace/Sources/SnapshotTestingImageRender/SnapshotTestingImageRender.swift:2:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
error: fatalError
BUILD FAILURE 5.10 linux

Build Machine: Linux 1