Build Information
Failed to build iOSSnapshotTestCase with Swift 5.8 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.8-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.8
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.8-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...
/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
[0/9] Compiling iOSSnapshotTestCaseCore FBSnapshotTestController.m
[0/9] Compiling iOSSnapshotTestCaseCore FBSnapshotTestCase.m
[0/9] Compiling UIApplication+KeyWindow.m
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
[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>
^~~~~~~~~~~~~~~
[0/9] Compiling UIImage+Compare.m
BUILD FAILURE 5.8 linux
Build Machine: Linux 2