Build Information
Failed to build TripKit 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 --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.10
Building package at path: $workDir
https://github.com/skedgo/tripkit-ios.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 --triple x86_64-unknown-linux-gnu 2>&1
Fetching https://github.com/skedgo/TGCardViewController.git
Fetching https://github.com/onevcat/Kingfisher.git
Fetching https://github.com/skedgo/GeoMonitor.git
Fetching https://github.com/ReactiveX/RxSwift.git
[1/5251] Fetching tgcardviewcontroller
[1314/5438] Fetching tgcardviewcontroller, geomonitor
[5439/35526] Fetching tgcardviewcontroller, geomonitor, kingfisher
[5440/86896] Fetching tgcardviewcontroller, geomonitor, kingfisher, rxswift
Fetched https://github.com/skedgo/GeoMonitor.git from cache (4.76s)
Fetched https://github.com/skedgo/TGCardViewController.git from cache (4.77s)
Fetched https://github.com/onevcat/Kingfisher.git from cache (4.87s)
Fetched https://github.com/ReactiveX/RxSwift.git from cache (4.91s)
Computing version for https://github.com/skedgo/TGCardViewController.git
Computed https://github.com/skedgo/TGCardViewController.git at 2.2.10 (0.39s)
Computing version for https://github.com/skedgo/GeoMonitor.git
Computed https://github.com/skedgo/GeoMonitor.git at 0.1.3 (0.37s)
Computing version for https://github.com/onevcat/Kingfisher.git
Computed https://github.com/onevcat/Kingfisher.git at 7.8.1 (0.39s)
Computing version for https://github.com/ReactiveX/RxSwift.git
Computed https://github.com/ReactiveX/RxSwift.git at 6.6.0 (0.44s)
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/onevcat/Kingfisher.git
Working copy of https://github.com/onevcat/Kingfisher.git resolved at 7.8.1
Creating working copy for https://github.com/skedgo/GeoMonitor.git
Working copy of https://github.com/skedgo/GeoMonitor.git resolved at 0.1.3
Creating working copy for https://github.com/skedgo/TGCardViewController.git
Working copy of https://github.com/skedgo/TGCardViewController.git resolved at 2.2.10
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...
In file included from /host/spi-builder-workspace/Sources/TripKitObjc/TKConstants.m:10:
/host/spi-builder-workspace/Sources/TripKitObjc/include/TripKitObjc/TKConstants.h:9:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
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.
[0/113] Compiling TripKitObjc NSUserDefaults+SharedDefaults.m
[0/113] Compiling TripKitObjc TKConstants.m
In file included from /host/spi-builder-workspace/Sources/TripKitObjc/NSDate+Helpers.m:10:
/host/spi-builder-workspace/Sources/TripKitObjc/include/TripKitObjc/NSDate+Helpers.h:9:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/113] Compiling TripKitObjc NSDate+Helpers.m
In file included from /host/spi-builder-workspace/Sources/TripKitObjc/TKAutocompletionResult.m:10:
/host/spi-builder-workspace/Sources/TripKitObjc/include/TripKitObjc/TKAutocompletionResult.h:9:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/113] Compiling TripKitObjc TKAutocompletionResult.m
In file included from /host/spi-builder-workspace/Sources/TripKitObjc/TKConfig.m:10:
/host/spi-builder-workspace/Sources/TripKitObjc/include/TripKitObjc/TKConfig.h:9:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
In file included from /host/spi-builder-workspace/Sources/TripKitObjc/NSManagedObject+TKPersistence.m:12:
/host/spi-builder-workspace/Sources/TripKitObjc/include/TripKitObjc/NSManagedObject+TKPersistence.h:9:9: fatal error: 'CoreData/CoreData.h' file not found
#import <CoreData/CoreData.h>
^~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/113] Compiling TripKitObjc NSManagedObject+TKPersistence.m
[0/113] Compiling TripKitObjc TKConfig.m
In file included from /host/spi-builder-workspace/Sources/TripKitObjc/NSManagedObjectContext+SimpleFetch.m:12:
/host/spi-builder-workspace/Sources/TripKitObjc/include/TripKitObjc/NSManagedObjectContext+SimpleFetch.h:14:9: fatal error: 'CoreData/CoreData.h' file not found
#import <CoreData/CoreData.h>
^~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/113] Compiling TripKitObjc NSManagedObjectContext+SimpleFetch.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>
^~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/113] Compiling TripKitObjc NSString+Sizing.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/113] Copying Info.plist
[0/113] Copying Localizable.strings
[0/113] Copying TGPageCardView.xib
[0/113] Copying TGPageHeaderView.xib
[0/113] Copying TGCardDefaultTitleView.xib
[0/113] Copying TGScrollCardView.xib
[0/113] Copying TGCardViewController.xib
[0/113] Copying TGPlainCardView.xib
[0/113] Write sources
[0/113] Copying TKUITripBoyView.xib
[0/113] Copying TKUITripCell.xib
[0/113] Copying TKUITripTitleView.xib
[0/113] Copying TKUITimetableAccessoryView.xib
[0/113] Copying TKUIServiceNumberCell.xib
[0/113] Copying TKUIServiceVisitCell.xib
[0/113] Copying TKUISegmentTitleView.xib
[0/113] Copying TKUIServiceHeaderView.xib
[0/113] Copying TKUIServiceHeaderMiniView.xib
[0/113] Copying TKUISegmentStationaryDoubleCell.xib
[0/113] Copying TKUISegmentStationaryCell.xib
[0/113] Copying TKUISegmentImpossibleCell.xib
[0/113] Copying TKUISegmentInstructionsView.xib
[0/113] Copying TKUISegmentMovingCell.xib
[0/113] Copying TKUISegmentDirectionCell.xib
[0/113] Copying TKUISegmentAlertCell.xib
[0/113] Copying TKUISectionedAlertViewController.xib
[0/113] Copying TKUIServiceTitleView.xib
[0/113] Copying TKUISectionedAlertTableHeader.xib
[0/113] Copying TKUIRoutingQueryInputTitleView.xib
[0/113] Copying TKUIRoutingSupportView.xib
[0/113] Copying TKUIResultsAccessoryView.xib
[0/113] Copying TKUIResultsTitleView.xib
[0/113] Copying TKUIPathFriendlinessView.xib
[0/113] Copying TKUINearbyCell.xib
[0/113] Copying TKUINotificationView.xib
[0/113] Copying TKUIModePickerCell.xib
[0/113] Copying TKUIHomeCustomizerCell.xib
[1/113] Copying TKUIProgressCell.xib
[2/113] Copying TKUIAttributionTableViewController.xib
[2/113] Copying TKUILoadingAlertView.xib
[7/113] Copying TKUIAlertCell.xib
[11/113] Copying Info.plist
[16/113] Copying TripKit.strings
[19/113] Copying TKUIGroupedAlertCell.xib
[21/113] Copying Shared.strings
[28/113] Copying TripKit.strings
[36/113] Copying Shared.strings
[44/113] Copying TKUIAttributionCell.xib
[46/113] Copying TripKit.strings
[50/113] Copying Shared.strings
[53/113] Copying TripKit.strings
[53/113] Copying Shared.strings
[53/113] Copying TripKit.strings
[53/113] Copying TKUIDepartureCell.xib
[53/113] Copying Shared.strings
[53/113] Copying TripKit.strings
[53/113] Copying Shared.strings
[53/113] Copying TripKit.strings
[53/113] Copying Shared.strings
[53/113] Copying TripKit.strings
[53/113] Copying Shared.strings
[53/113] Copying TripKit.strings
[53/113] Copying Shared.strings
[53/113] Copying TripKit.strings
[53/113] Copying Shared.strings
[53/113] Copying TripKit.strings
[53/113] Copying Info.plist
[53/113] Copying Shared.strings
[53/113] Copying TKUIEmptyAlertView.xib
[53/113] Copying Shared.strings
[53/113] Write sources
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.
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.
/host/spi-builder-workspace/Sources/TripKitObjc/TKStyleManager+UIKit.m:9:9: fatal error: 'TargetConditionals.h' file not found
#import "TargetConditionals.h"
^~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[85/113] Compiling TripKitObjc TKStyleManager+UIKit.m
[85/113] 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.
[85/113] Compiling TripKitObjc UIFont+CustomFonts.m
In file included from /host/spi-builder-workspace/Sources/TripKitObjc/TKServer.m:12:
/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.
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>
^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[85/113] Compiling TripKitObjc TKServer.m
[85/113] 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;
~~~~~~~^~~~~~~~
1 error generated.
[85/113] Compiling TripKitObjc TKTripKit.m
[85/113] Compiling TripKitObjc TKTransportModes.m
[85/113] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 5.10 linux