The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SnapshotTestingImageRender with Swift 5.9 for Linux.

Build Command

docker run --rm -v "checkouts-4606859-1":/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/john-flanagan/SnapshotTestingImageRender.git
Reference: 1.0.0
Cloned https://github.com/john-flanagan/SnapshotTestingImageRender.git into spi-builder-workspace
SUCCESS checkout https://github.com/john-flanagan/SnapshotTestingImageRender.git at 1.0.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4606859-1":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Fetching https://github.com/pointfreeco/swift-snapshot-testing
[1/9831] Fetching swift-snapshot-testing
Fetched https://github.com/pointfreeco/swift-snapshot-testing (1.41s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing
Computed https://github.com/pointfreeco/swift-snapshot-testing at 1.11.0 (0.36s)
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...
[1/30] Emitting module SnapshotTesting
[2/34] Compiling SnapshotTesting UIImage.swift
[3/34] Compiling SnapshotTesting UIView.swift
[4/34] Compiling SnapshotTesting UIViewController.swift
[5/34] Compiling SnapshotTesting URLRequest.swift
[6/34] Compiling SnapshotTesting Any.swift
[7/34] Compiling SnapshotTesting CALayer.swift
[8/34] Compiling SnapshotTesting CGPath.swift
[9/34] Compiling SnapshotTesting CaseIterable.swift
[10/34] Compiling SnapshotTesting NSImage.swift
[11/34] Compiling SnapshotTesting NSView.swift
[12/34] Compiling SnapshotTesting NSViewController.swift
[13/34] Compiling SnapshotTesting SceneKit.swift
[14/34] Compiling SnapshotTesting SpriteKit.swift
[15/34] Compiling SnapshotTesting String.swift
[16/34] Compiling SnapshotTesting SwiftUIView.swift
[17/34] Compiling SnapshotTesting UIBezierPath.swift
[18/34] Compiling SnapshotTesting String+SpecialCharacters.swift
[19/34] Compiling SnapshotTesting View.swift
[20/34] Compiling SnapshotTesting XCTAttachment.swift
[21/34] Compiling SnapshotTesting Diff.swift
[22/34] Compiling SnapshotTesting Codable.swift
[23/34] Compiling SnapshotTesting Data.swift
[24/34] Compiling SnapshotTesting Description.swift
[25/34] Compiling SnapshotTesting NSBezierPath.swift
[26/34] Compiling SnapshotTesting AssertInlineSnapshot.swift
[27/34] Compiling SnapshotTesting AssertSnapshot.swift
[28/34] Compiling SnapshotTesting Async.swift
[29/34] Compiling SnapshotTesting Internal.swift
[30/34] Compiling SnapshotTesting PlistEncoder.swift
[31/34] Compiling SnapshotTesting Diffing.swift
[32/34] Compiling SnapshotTesting Wait.swift
[33/34] Compiling SnapshotTesting SnapshotTestCase.swift
[34/34] Compiling SnapshotTesting Snapshotting.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[37/38] Emitting module SnapshotTestingImageRender
/host/spi-builder-workspace/Sources/SnapshotTestingImageRender/SnapshotTestingImageRender.swift:2:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[38/38] 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.9 linux

Build Machine: Linux 1