Build Information
Failed to build TripKit with Swift 5.8 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.38.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/skedgo/tripkit-ios.git
Reference: 4.7.1
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/skedgo/tripkit-ios
* tag 4.7.1 -> FETCH_HEAD
HEAD is now at 1a62a55 CocoaPods update (#353)
Cloned https://github.com/skedgo/tripkit-ios.git
Revision (git rev-parse @):
1a62a55fc3b1b59fef4804f0b0fd0279162c0fc5
SUCCESS checkout https://github.com/skedgo/tripkit-ios.git at 4.7.1
========================================
Build
========================================
Selected platform: linux
Swift version: 5.8
Building package at path: $workDir
https://github.com/skedgo/tripkit-ios.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Fetching https://github.com/ReactiveX/RxSwift.git
Fetching https://github.com/onevcat/Kingfisher.git
Fetching https://github.com/skedgo/GeoMonitor.git
[1/187] Fetching geomonitor
[188/30275] Fetching geomonitor, kingfisher
[4100/81645] Fetching geomonitor, kingfisher, rxswift
Fetching https://github.com/skedgo/TGCardViewController.git
Fetched https://github.com/skedgo/GeoMonitor.git (4.15s)
Fetched https://github.com/onevcat/Kingfisher.git (4.27s)
Fetched https://github.com/ReactiveX/RxSwift.git (4.31s)
[1/5251] Fetching tgcardviewcontroller
Fetched https://github.com/skedgo/TGCardViewController.git (0.40s)
Computing version for https://github.com/skedgo/TGCardViewController.git
Computed https://github.com/skedgo/TGCardViewController.git at 2.2.10 (0.29s)
Computing version for https://github.com/skedgo/GeoMonitor.git
Computed https://github.com/skedgo/GeoMonitor.git at 0.1.3 (0.28s)
Computing version for https://github.com/onevcat/Kingfisher.git
Computed https://github.com/onevcat/Kingfisher.git at 7.8.1 (0.29s)
Computing version for https://github.com/ReactiveX/RxSwift.git
Computed https://github.com/ReactiveX/RxSwift.git at 6.6.0 (0.32s)
Creating working copy for https://github.com/onevcat/Kingfisher.git
Working copy of https://github.com/onevcat/Kingfisher.git resolved at 7.8.1
Creating working copy for https://github.com/ReactiveX/RxSwift.git
Working copy of https://github.com/ReactiveX/RxSwift.git resolved at 6.6.0
Creating working copy for https://github.com/skedgo/TGCardViewController.git
Working copy of https://github.com/skedgo/TGCardViewController.git resolved at 2.2.10
Creating working copy for https://github.com/skedgo/GeoMonitor.git
Working copy of https://github.com/skedgo/GeoMonitor.git resolved at 0.1.3
warning: 'spi-builder-workspace': ignoring target 'TripKitObjcTests' in package 'spi-builder-workspace'; C language in tests is not yet supported
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/Sources/TripKitUI/vendor/RxCombine/LICENSE
Building for debugging...
[0/104] Copying TKUITripTitleView.xib
[1/104] Copying TKUITripCell.xib
[2/104] Copying TKUITripBoyView.xib
[2/104] Copying TKUITimetableAccessoryView.xib
[2/104] Copying TKUIServiceVisitCell.xib
[5/104] Copying TKUIServiceTitleView.xib
[6/104] Copying TKUIServiceNumberCell.xib
[7/104] Copying TKUIServiceHeaderView.xib
[7/104] Copying TKUIServiceHeaderMiniView.xib
[8/104] Copying TKUISegmentTitleView.xib
[10/104] Copying TKUISegmentStationaryDoubleCell.xib
[11/104] Copying TKUISegmentStationaryCell.xib
[12/104] Copying TKUISegmentMovingCell.xib
[12/104] Copying TKUISegmentInstructionsView.xib
[12/104] Copying TKUISegmentImpossibleCell.xib
[12/104] Copying TKUISegmentDirectionCell.xib
[12/104] Copying TKUISegmentAlertCell.xib
[12/104] Copying TKUISectionedAlertViewController.xib
[12/104] Copying TKUISectionedAlertTableHeader.xib
[12/104] Copying TKUIRoutingSupportView.xib
[12/104] Copying TKUIRoutingQueryInputTitleView.xib
[12/104] Copying TKUIResultsTitleView.xib
[12/104] Copying TKUIResultsAccessoryView.xib
[12/104] Copying TKUIProgressCell.xib
[16/104] Copying TKUIPathFriendlinessView.xib
[20/104] Copying TKUINotificationView.xib
[24/104] Copying TKUINearbyCell.xib
[27/104] Copying TKUIModePickerCell.xib
[27/104] Copying TKUILoadingAlertView.xib
[27/104] Copying TKUIHomeCustomizerCell.xib
[27/104] Copying TKUIGroupedAlertCell.xib
[27/104] Copying TKUIEmptyAlertView.xib
[27/104] Copying TKUIDepartureCell.xib
[33/104] Copying TKUIAttributionTableViewController.xib
[33/104] Copying TKUIAttributionCell.xib
[33/104] Copying TKUIAlertCell.xib
[33/104] Copying Info.plist
[33/104] Copying TripKit.strings
[33/104] Copying Shared.strings
[33/104] Copying TripKit.strings
[35/104] Copying Shared.strings
[36/104] Copying TripKit.strings
[38/104] Copying Shared.strings
[39/104] Copying TripKit.strings
[40/104] Copying Shared.strings
[42/104] Copying TripKit.strings
[44/104] Copying Shared.strings
[45/104] Copying TripKit.strings
[46/104] Copying Shared.strings
[49/104] Copying TripKit.strings
[49/104] Copying Shared.strings
[49/104] Copying TripKit.strings
[50/104] Copying Shared.strings
[52/104] Copying TripKit.strings
[54/104] Copying Shared.strings
[54/104] Copying TripKit.strings
[54/104] Copying Shared.strings
[54/104] Copying TripKit.strings
[54/104] Copying Shared.strings
[54/104] Copying TripKit.strings
[54/104] Copying Shared.strings
[54/104] Copying TripKit.strings
[54/104] Copying Shared.strings
[54/104] Copying TripKit.strings
[54/104] Copying Shared.strings
[54/104] Copying TripKit.strings
[54/104] Copying Shared.strings
[54/104] Copying TripKit.strings
[54/104] Copying Shared.strings
[54/104] Copying TripKit.strings
[54/104] Copying Shared.strings
[54/104] Copying TripKit.strings
[54/104] Copying Shared.strings
[58/104] Copying TripKitModel.xcdatamodeld
[61/104] Copying Info.plist
In file included from /host/spi-builder-workspace/Sources/TripKitObjc/NSUserDefaults+SharedDefaults.m:10:
/host/spi-builder-workspace/Sources/TripKitObjc/include/TripKitObjc/NSUserDefaults+SharedDefaults.h:9:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[75/104] Compiling TripKitObjc NSUserDefaults+SharedDefaults.m
[75/104] Compiling TripKitObjc UIFont+CustomFonts.m
[75/104] Compiling TripKitObjc TKTransportModes.m
[75/104] Compiling TripKitObjc TKStyleManager.m
[75/104] Compiling TripKitObjc TKStyleManager+UIKit.m
In file included from /host/spi-builder-workspace/Sources/TripKitObjc/NSString+Sizing.m:9:
In file included from /host/spi-builder-workspace/Sources/TripKitObjc/NSString+Sizing.h:10:
/host/spi-builder-workspace/Sources/TripKitObjc/include/TripKitObjc/TKCrossPlatform.h:12:10: fatal error: 'TargetConditionals.h' file not found
#include <TargetConditionals.h>
^~~~~~~~~~~~~~~~~~~~~~
[75/104] Compiling TripKitObjc NSString+Sizing.m
[75/104] Compiling TripKitObjc NSManagedObjectContext+SimpleFetch.m
warning: 'spi-builder-workspace': ignoring target 'TripKitObjcTests' in package 'spi-builder-workspace'; C language in tests is not yet supported
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/Sources/TripKitUI/vendor/RxCombine/LICENSE
[0/1] Planning build
Building for debugging...
[0/29] Copying Localizable.strings
[0/29] Copying Info.plist
[0/29] Copying TGCardDefaultTitleView.xib
[0/29] Copying TGPageHeaderView.xib
[0/29] Copying TGPageCardView.xib
[0/29] Copying TGCardViewController.xib
In file included from /host/spi-builder-workspace/Sources/TripKitObjc/TKSettings.m:10:
/host/spi-builder-workspace/Sources/TripKitObjc/include/TripKitObjc/NSUserDefaults+SharedDefaults.h:9:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[6/29] Compiling TripKitObjc TKSettings.m
/host/spi-builder-workspace/Sources/TripKitObjc/UIFont+CustomFonts.m:9:9: fatal error: 'TargetConditionals.h' file not found
#import "TargetConditionals.h"
^~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[6/29] Compiling TripKitObjc UIFont+CustomFonts.m
[6/29] Compiling TripKitObjc TKServer.m
/host/spi-builder-workspace/Sources/TripKitObjc/TKStyleManager+UIKit.m:9:9: fatal error: 'TargetConditionals.h' file not found
#import "TargetConditionals.h"
^~~~~~~~~~~~~~~~~~~~~~
1 error generated.
In file included from /host/spi-builder-workspace/Sources/TripKitObjc/TKTransportModes.m:10:
In file included from /host/spi-builder-workspace/Sources/TripKitObjc/include/TripKitObjc/TKTransportModes.h:9:
/host/spi-builder-workspace/Sources/TripKitObjc/include/TripKitObjc/TKCrossPlatform.h:12:10: fatal error: 'TargetConditionals.h' file not found
#include <TargetConditionals.h>
^~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[6/29] Compiling TripKitObjc TKTransportModes.m
[6/29] Compiling TripKitObjc TKStyleManager+UIKit.m
In file included from /host/spi-builder-workspace/Sources/TripKitObjc/TKStyleManager.m:12:
/host/spi-builder-workspace/Sources/TripKitObjc/include/TripKitObjc/TKConfig.h:9:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
^~~~~~~~~~~~~~~~~~~~~~~~~
[6/29] Compiling TripKitObjc TKStyleManager.m
In file included from /host/spi-builder-workspace/Sources/TripKitObjc/TKTripKit.m:10:
/host/spi-builder-workspace/Sources/TripKitObjc/include/TripKitObjc/TKTripKit.h:9:9: fatal error: module 'CoreData' not found
@import CoreData;
~~~~~~~^~~~~~~~
[6/29] Compiling TripKitObjc TKTripKit.m
BUILD FAILURE 5.8 linux