The Swift Package Index logo.Swift Package Index

Build Information

Failed to build ios-accessibility-text-snapshot with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4609320-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/minddistrict/ios-accessibility-text-snapshot.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/minddistrict/ios-accessibility-text-snapshot
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 0820d56 Merge pull request #6 from minddistrict/Update-platforms-to-ios-13
Cloned https://github.com/minddistrict/ios-accessibility-text-snapshot.git
Revision (git rev-parse @):
0820d565d2278830c96998c1d2711b86a7102d73
SUCCESS checkout https://github.com/minddistrict/ios-accessibility-text-snapshot.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/minddistrict/ios-accessibility-text-snapshot.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-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.git
[1/10927] Fetching swift-snapshot-testing
Fetched https://github.com/pointfreeco/swift-snapshot-testing.git from cache (1.68s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing.git
Computed https://github.com/pointfreeco/swift-snapshot-testing.git at 1.9.0 (0.49s)
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.9.0
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/33] Emitting module SnapshotTesting
[5/37] Compiling SnapshotTesting Codable.swift
[6/37] Compiling SnapshotTesting Data.swift
[7/37] Compiling SnapshotTesting Description.swift
[8/37] Compiling SnapshotTesting NSBezierPath.swift
[9/37] Compiling SnapshotTesting Diffing.swift
[10/37] Compiling SnapshotTesting Wait.swift
[11/37] Compiling SnapshotTesting SnapshotTestCase.swift
[12/37] Compiling SnapshotTesting Snapshotting.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 String+SpecialCharacters.swift
[18/37] Compiling SnapshotTesting View.swift
[19/37] Compiling SnapshotTesting XCTAttachment.swift
[20/37] Compiling SnapshotTesting Diff.swift
[21/37] Compiling SnapshotTesting NSImage.swift
[22/37] Compiling SnapshotTesting NSView.swift
[23/37] Compiling SnapshotTesting NSViewController.swift
[24/37] Compiling SnapshotTesting SceneKit.swift
[25/37] Compiling SnapshotTesting AssertInlineSnapshot.swift
[26/37] Compiling SnapshotTesting AssertSnapshot.swift
[27/37] Compiling SnapshotTesting Async.swift
[28/37] Compiling SnapshotTesting Internal.swift
[29/37] Compiling SnapshotTesting PlistEncoder.swift
[30/37] Compiling SnapshotTesting UIImage.swift
[31/37] Compiling SnapshotTesting UIView.swift
[32/37] Compiling SnapshotTesting UIViewController.swift
[33/37] Compiling SnapshotTesting URLRequest.swift
[34/37] Compiling SnapshotTesting Any.swift
[35/37] Compiling SnapshotTesting CALayer.swift
[36/37] Compiling SnapshotTesting CGPath.swift
[37/37] Compiling SnapshotTesting CaseIterable.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[39/40] Emitting module AccessibilityTextSnapshot
/host/spi-builder-workspace/Sources/Accessibility.testing.swift:1:8: error: no such module 'UIKit'
import UIKit
       ^
[40/40] Compiling AccessibilityTextSnapshot Accessibility.testing.swift
/host/spi-builder-workspace/Sources/Accessibility.testing.swift:1:8: error: no such module 'UIKit'
import UIKit
       ^
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 AccessibilityTextSnapshot
/host/spi-builder-workspace/Sources/Accessibility.testing.swift:1:8: error: no such module 'UIKit'
import UIKit
       ^
[3/3] Compiling AccessibilityTextSnapshot Accessibility.testing.swift
/host/spi-builder-workspace/Sources/Accessibility.testing.swift:1:8: error: no such module 'UIKit'
import UIKit
       ^
error: fatalError
BUILD FAILURE 5.10 linux

Build Machine: Linux 2