Build Information
Failed to build iOSSnapshotTestCase with Swift 5.9 for Linux.
Build Command
docker run --rm -v "checkouts-4609320-0":/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.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.9
Building package at path: spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4609320-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-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.
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.
/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 UIImage+Diff.m
[0/9] Compiling iOSSnapshotTestCaseCore FBSnapshotTestController.m
[0/9] Compiling UIImage+Compare.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>
^~~~~~~~~~~~~~~
[0/9] Compiling UIApplication+KeyWindow.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/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
/host/spi-builder-workspace/src/iOSSnapshotTestCaseCore/FBSnapshotTestCasePlatform.m:10:9: fatal error: 'UIKit/UIKit.h' file not found
#import <UIKit/UIKit.h>
^~~~~~~~~~~~~~~
1[0/9] Compiling iOSSnapshotTestCaseCore FBSnapshotTestCasePlatform.m
BUILD FAILURE 5.9 linux
Build Machine: Linux 2