Build Information
Failed to build TripKit, reference 4.7.1 (1a62a5
), with Swift 6.0 for Linux on 4 Nov 2024 23:49:51 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.56.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: 6.0
Building package at path: $PWD
https://github.com/skedgo/tripkit-ios.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/skedgo/GeoMonitor.git
Fetching https://github.com/skedgo/TGCardViewController.git
Fetching https://github.com/ReactiveX/RxSwift.git
Fetching https://github.com/onevcat/Kingfisher.git
[1/187] Fetching geomonitor
[188/5446] Fetching geomonitor, tgcardviewcontroller
[5447/36445] Fetching geomonitor, tgcardviewcontroller, kingfisher
[15057/88814] Fetching geomonitor, tgcardviewcontroller, kingfisher, rxswift
Fetched https://github.com/skedgo/GeoMonitor.git from cache (3.73s)
Fetched https://github.com/skedgo/TGCardViewController.git from cache (3.74s)
Fetched https://github.com/onevcat/Kingfisher.git from cache (3.82s)
Fetched https://github.com/ReactiveX/RxSwift.git from cache (5.00s)
Computing version for https://github.com/skedgo/GeoMonitor.git
Computed https://github.com/skedgo/GeoMonitor.git at 0.1.3 (0.42s)
Computing version for https://github.com/skedgo/TGCardViewController.git
Computed https://github.com/skedgo/TGCardViewController.git at 2.3.3 (0.41s)
Computing version for https://github.com/ReactiveX/RxSwift.git
Computed https://github.com/ReactiveX/RxSwift.git at 6.8.0 (0.66s)
Computing version for https://github.com/onevcat/Kingfisher.git
Computed https://github.com/onevcat/Kingfisher.git at 7.12.0 (0.37s)
Creating working copy for https://github.com/ReactiveX/RxSwift.git
Working copy of https://github.com/ReactiveX/RxSwift.git resolved at 6.8.0
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.3.3
Creating working copy for https://github.com/onevcat/Kingfisher.git
Working copy of https://github.com/onevcat/Kingfisher.git resolved at 7.12.0
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
warning: 'kingfisher': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/.build/checkouts/Kingfisher/Sources/Info.plist
Building for debugging...
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
9 | #import <Foundation/Foundation.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/119] Compiling TripKitObjc TKStyleManager.m
/host/spi-builder-workspace/Sources/TripKitObjc/UIFont+CustomFonts.m:9:9: fatal error: 'TargetConditionals.h' file not found
9 | #import "TargetConditionals.h"
| ^~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/119] Compiling TripKitObjc UIFont+CustomFonts.m
[69/119] Compiling TripKitObjc TKStyleManager+UIKit.m
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
12 | #include <TargetConditionals.h>
| ^~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[112/119] Compiling TripKitObjc TKTransportModes.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
14 | #import <CoreData/CoreData.h>
| ^~~~~~~~~~~~~~~~~~~~~
[112/119] Compiling TripKitObjc NSManagedObjectContext+SimpleFetch.m
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
9 | #import <Foundation/Foundation.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
[112/119] Compiling TripKitObjc TKSettings.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:1: error: use of '@import' when modules are disabled
9 | @import CoreData;
| ^
/host/spi-builder-workspace/Sources/TripKitObjc/include/TripKitObjc/TKTripKit.h:11:1: error: unknown type name 'NS_ASSUME_NONNULL_BEGIN'
11 | NS_ASSUME_NONNULL_BEGIN
| ^
/host/spi-builder-workspace/Sources/TripKitObjc/include/TripKitObjc/TKTripKit.h:13:18: error: expected ';' after top level declarator
13 | FOUNDATION_EXPORT NSString *const TKTripKitDidResetNotification;
| ^
| ;
/host/spi-builder-workspace/Sources/TripKitObjc/include/TripKitObjc/TKTripKit.h:15:24: error: cannot find interface declaration for 'NSObject', superclass of 'TKTripKit'
15 | @interface TKTripKit : NSObject
| ~~~~~~~~~~~~~~~~~~~~ ^
/host/spi-builder-workspace/Sources/TripKitObjc/include/TripKitObjc/TKTripKit.h:17:48: error: unknown type name 'NSPersistentStoreCoordinator'
17 | @property (nonatomic, strong, null_resettable) NSPersistentStoreCoordinator *persistentStoreCoordinator;
| ^
[112/119] Compiling TripKitObjc TKTripKit.m
[112/119] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.0 linux