The Swift Package Index logo.Swift Package Index

Build Information

Failed to build iOSSnapshotTestCase with Swift 5.7 for Linux.

Build Command

docker run --rm -v "checkouts-4606859-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.7-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.20.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/uber/ios-snapshot-test-case.git
Reference: main
Cloned https://github.com/uber/ios-snapshot-test-case.git into spi-builder-workspace
SUCCESS checkout https://github.com/uber/ios-snapshot-test-case.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.7
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4606859-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.7-latest swift build 2>&1
warning: 'spi-builder-workspace': ignoring target 'iOSSnapshotTestCaseTests' in package 'spi-builder-workspace'; C language in tests is not yet supported
Building for debugging...
In file included from /host/spi-builder-workspace/src/iOSSnapshotTestCaseCore/Categories/UIImage+Diff.m:32:
/host/spi-builder-workspace/src/iOSSnapshotTestCaseCore/Categories/UIImage+Diff.h:31:9: fatal error: 'UIKit/UIKit.h' file not found
#import <UIKit/UIKit.h>
        ^~~~~~~~~~~~~~~
1 error generated.
[0/9] Compiling UIImage+Diff.m
/host/spi-builder-workspace/src/iOSSnapshotTestCaseCore/FBSnapshotTestController.m:10:9: fatal error: 'UIKit/UIKit.h' file not found
#import <UIKit/UIKit.h>
        ^~~~~~~~~~~~~~~
1 error generated.
[0/9] Compiling iOSSnapshotTestCaseCore FBSnapshotTestController.m
/host/spi-builder-workspace/src/iOSSnapshotTestCaseCore/FBSnapshotTestCasePlatform.m:10:9: fatal error: 'UIKit/UIKit.h' file not found
#import <UIKit/UIKit.h>
        ^~~~~~~~~~~~~~~
1 error generated.
[0/9] Compiling iOSSnapshotTestCaseCore FBSnapshotTestCasePlatform.m
In file included from /host/spi-builder-workspace/src/iOSSnapshotTestCaseCore/Categories/UIApplication+KeyWindow.m:11:
/host/spi-builder-workspace/src/iOSSnapshotTestCaseCore/Categories/UIApplication+KeyWindow.h:10:9: fatal error: 'UIKit/UIKit.h' file not found
#import <UIKit/UIKit.h>
        ^~~~~~~~~~~~~~~
1 error generated.
[0/9] Compiling UIApplication+KeyWindow.m
In file included from /host/spi-builder-workspace/src/iOSSnapshotTestCaseCore/FBSnapshotTestCase.m:10:
/host/spi-builder-workspace/src/iOSSnapshotTestCaseCore/Public/FBSnapshotTestCase.h:10:9: fatal error: 'QuartzCore/QuartzCore.h' file not found
#import <QuartzCore/QuartzCore.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/9] Compiling iOSSnapshotTestCaseCore FBSnapshotTestCase.m
In file included from /host/spi-builder-workspace/src/iOSSnapshotTestCaseCore/Categories/UIImage+Snapshot.m:11:
/host/spi-builder-workspace/src/iOSSnapshotTestCaseCore/Categories/UIImage+Snapshot.h:10:9: fatal error: 'UIKit/UIKit.h' file not found
#import <UIKit/UIKit.h>
        ^~~~~~~~~~~~~~~
1 error generated.
[0/9] Compiling UIImage+Snapshot.m
In file included from /host/spi-builder-workspace/src/iOSSnapshotTestCaseCore/Categories/UIImage+Compare.m:32:
/host/spi-builder-workspace/src/iOSSnapshotTestCaseCore/Categories/UIImage+Compare.h:31:9: fatal error: 'UIKit/UIKit.h' file not found
#import <UIKit/UIKit.h>
        ^~~~~~~~~~~~~~~
1 error generated.
[0/9] Compiling UIImage+Compare.m
BUILD FAILURE 5.7 linux

Build Machine: Linux 1