The Swift Package Index logo.Swift Package Index

Build Information

Failed to build AccessibilitySnapshotColorBlindness with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4609320-1":/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/sherlouk/AccessibilitySnapshotColorBlindness.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/sherlouk/AccessibilitySnapshotColorBlindness
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at b89d10f Add Example to README
Cloned https://github.com/sherlouk/AccessibilitySnapshotColorBlindness.git
Revision (git rev-parse @):
b89d10fca1c870ea877bd416057c984f866111e9
SUCCESS checkout https://github.com/sherlouk/AccessibilitySnapshotColorBlindness.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/sherlouk/AccessibilitySnapshotColorBlindness.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-1":/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.git
[1/10927] Fetching swift-snapshot-testing
Fetched https://github.com/pointfreeco/swift-snapshot-testing.git from cache (1.74s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing.git
Computed https://github.com/pointfreeco/swift-snapshot-testing.git at 1.8.2 (0.47s)
Creating working copy for https://github.com/pointfreeco/swift-snapshot-testing.git
Working copy of https://github.com/pointfreeco/swift-snapshot-testing.git resolved at 1.8.2
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/33] Emitting module SnapshotTesting
[5/37] Compiling SnapshotTesting NSImage.swift
[6/37] Compiling SnapshotTesting NSView.swift
[7/37] Compiling SnapshotTesting NSViewController.swift
[8/37] Compiling SnapshotTesting SceneKit.swift
[9/37] Compiling SnapshotTesting UIImage.swift
[10/37] Compiling SnapshotTesting UIView.swift
[11/37] Compiling SnapshotTesting UIViewController.swift
[12/37] Compiling SnapshotTesting URLRequest.swift
[13/37] Compiling SnapshotTesting SpriteKit.swift
[14/37] Compiling SnapshotTesting String.swift
[15/37] Compiling SnapshotTesting SwiftUIView.swift
[16/37] Compiling SnapshotTesting UIBezierPath.swift
[17/37] Compiling SnapshotTesting AssertInlineSnapshot.swift
[18/37] Compiling SnapshotTesting AssertSnapshot.swift
[19/37] Compiling SnapshotTesting Async.swift
[20/37] Compiling SnapshotTesting Internal.swift
[21/37] Compiling SnapshotTesting PlistEncoder.swift
[22/37] Compiling SnapshotTesting String+SpecialCharacters.swift
[23/37] Compiling SnapshotTesting View.swift
[24/37] Compiling SnapshotTesting XCTAttachment.swift
[25/37] Compiling SnapshotTesting Diff.swift
[26/37] Compiling SnapshotTesting Any.swift
[27/37] Compiling SnapshotTesting CALayer.swift
[28/37] Compiling SnapshotTesting CGPath.swift
[29/37] Compiling SnapshotTesting CaseIterable.swift
[30/37] Compiling SnapshotTesting Diffing.swift
[31/37] Compiling SnapshotTesting Wait.swift
[32/37] Compiling SnapshotTesting SnapshotTestCase.swift
[33/37] Compiling SnapshotTesting Snapshotting.swift
[34/37] Compiling SnapshotTesting Codable.swift
[35/37] Compiling SnapshotTesting Data.swift
[36/37] Compiling SnapshotTesting Description.swift
[37/37] Compiling SnapshotTesting NSBezierPath.swift
[39/43] Compiling AccessibilitySnapshotColorBlindness UIImage+ApplyMatrix.swift
/host/spi-builder-workspace/Sources/Matrix.swift:5:8: error: no such module 'UIKit'
import UIKit
       ^
[40/43] Compiling AccessibilitySnapshotColorBlindness Snapshotting.swift
/host/spi-builder-workspace/Sources/Matrix.swift:5:8: error: no such module 'UIKit'
import UIKit
       ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[41/43] Emitting module AccessibilitySnapshotColorBlindness
/host/spi-builder-workspace/Sources/Matrix.swift:5:8: error: no such module 'UIKit'
import UIKit
       ^
[42/43] Compiling AccessibilitySnapshotColorBlindness Matrix.swift
/host/spi-builder-workspace/Sources/Matrix.swift:5:8: error: no such module 'UIKit'
import UIKit
       ^
[43/43] Compiling AccessibilitySnapshotColorBlindness MatrixTypes.swift
/host/spi-builder-workspace/Sources/Matrix.swift:5:8: error: no such module 'UIKit'
import UIKit
       ^
error: fatalError
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/6] Compiling AccessibilitySnapshotColorBlindness UIImage+ApplyMatrix.swift
/host/spi-builder-workspace/Sources/Matrix.swift:5:8: error: no such module 'UIKit'
import UIKit
       ^
[3/6] Compiling AccessibilitySnapshotColorBlindness Snapshotting.swift
/host/spi-builder-workspace/Sources/Matrix.swift:5:8: error: no such module 'UIKit'
import UIKit
       ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/6] Emitting module AccessibilitySnapshotColorBlindness
/host/spi-builder-workspace/Sources/Matrix.swift:5:8: error: no such module 'UIKit'
import UIKit
       ^
[5/6] Compiling AccessibilitySnapshotColorBlindness Matrix.swift
/host/spi-builder-workspace/Sources/Matrix.swift:5:8: error: no such module 'UIKit'
import UIKit
       ^
[6/6] Compiling AccessibilitySnapshotColorBlindness MatrixTypes.swift
/host/spi-builder-workspace/Sources/Matrix.swift:5:8: error: no such module 'UIKit'
import UIKit
       ^
error: fatalError
BUILD FAILURE 5.10 linux

Build Machine: Linux 2