Build Information
Failed to build Segment, reference 4.1.8 (78423a), with Swift 6.3 for Android on 13 Apr 2026 20:11:18 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/segmentio/analytics-ios.git
Reference: 4.1.8
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/segmentio/analytics-ios
* tag 4.1.8 -> FETCH_HEAD
HEAD is now at 78423aa Prepare for release 4.1.8.
Cloned https://github.com/segmentio/analytics-ios.git
Revision (git rev-parse @):
78423aaae2e48e32a07246850f37c76f3d34cb84
SUCCESS checkout https://github.com/segmentio/analytics-ios.git at 4.1.8
========================================
Build
========================================
Selected platform: android
Swift version: 6.3
Building package at path: $PWD
https://github.com/segmentio/analytics-ios.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:9008270ea37a55e78725e6225015adb5eff8582da520c5232bf0499f32c36dc4
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:android-6.3-latest
Building for debugging...
In file included from /host/spi-builder-workspace/Segment/Internal/NSViewController+SEGScreen.m:9:
In file included from /host/spi-builder-workspace/Segment/Internal/NSViewController+SEGScreen.h:9:
/host/spi-builder-workspace/Segment/Classes/SEGSerializableValue.h:9:1: error: use of '@import' when modules are disabled
9 | @import Foundation;
| ^
/host/spi-builder-workspace/Segment/Internal/NSViewController+SEGScreen.m:10:9: fatal error: 'objc/runtime.h' file not found
10 | #import <objc/runtime.h>
| ^~~~~~~~~~~~~~~~
2 errors generated.
[0/26] Compiling NSViewController+SEGScreen.m
/host/spi-builder-workspace/Segment/Classes/SEGAnalytics.m:1:9: fatal error: 'objc/runtime.h' file not found
1 | #import <objc/runtime.h>
| ^~~~~~~~~~~~~~~~
1 error generated.
[0/26] Compiling SEGAnalytics.m
/host/spi-builder-workspace/Segment/Internal/SEGAES256Crypto.m:9:9: fatal error: 'CommonCrypto/CommonCryptor.h' file not found
9 | #import <CommonCrypto/CommonCryptor.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/26] Compiling SEGAES256Crypto.m
In file included from /host/spi-builder-workspace/Segment/Classes/SEGAliasPayload.m:1:
/host/spi-builder-workspace/Segment/Classes/SEGAliasPayload.h:1:1: error: use of '@import' when modules are disabled
1 | @import Foundation;
| ^
In file included from /host/spi-builder-workspace/Segment/Classes/SEGAliasPayload.m:1:
In file included from /host/spi-builder-workspace/Segment/Classes/SEGAliasPayload.h:2:
/host/spi-builder-workspace/Segment/Classes/SEGPayload.h:1:1: error: use of '@import' when modules are disabled
1 | @import Foundation;
| ^
In file included from /host/spi-builder-workspace/Segment/Classes/SEGAliasPayload.m:1:
In file included from /host/spi-builder-workspace/Segment/Classes/SEGAliasPayload.h:2:
In file included from /host/spi-builder-workspace/Segment/Classes/SEGPayload.h:2:
/host/spi-builder-workspace/Segment/Classes/SEGSerializableValue.h:9:1: error: use of '@import' when modules are disabled
9 | @import Foundation;
| ^
In file included from /host/spi-builder-workspace/Segment/Classes/SEGAliasPayload.m:1:
In file included from /host/spi-builder-workspace/Segment/Classes/SEGAliasPayload.h:2:
/host/spi-builder-workspace/Segment/Classes/SEGPayload.h:4:1: error: unknown type name 'NS_ASSUME_NONNULL_BEGIN'
4 | NS_ASSUME_NONNULL_BEGIN
| ^
/host/spi-builder-workspace/Segment/Classes/SEGPayload.h:7:1: error: expected function body after function declarator
7 | @interface SEGPayload : NSObject
| ^
/host/spi-builder-workspace/Segment/Classes/SEGPayload.h:10:1: error: unexpected '@' in program
10 | @property (nonatomic, readonly) JSON_DICT integrations;
| ^
/host/spi-builder-workspace/Segment/Classes/SEGPayload.h:11:1: error: unexpected '@' in program
11 | @property (nonatomic, strong) NSString *timestamp;
| ^
/host/spi-builder-workspace/Segment/Classes/SEGPayload.h:12:1: error: unexpected '@' in program
12 | @property (nonatomic, strong) NSString *messageId;
| ^
/host/spi-builder-workspace/Segment/Classes/SEGPayload.h:13:1: error: unexpected '@' in program
13 | @property (nonatomic, strong) NSString *anonymousId;
| ^
/host/spi-builder-workspace/Segment/Classes/SEGPayload.h:14:1: error: unexpected '@' in program
14 | @property (nonatomic, strong) NSString *userId;
| ^
/host/spi-builder-workspace/Segment/Classes/SEGPayload.h:16:34: error: expected a type
16 | - (instancetype)initWithContext:(JSON_DICT)context integrations:(JSON_DICT)integrations;
| ^
/host/spi-builder-workspace/Segment/Classes/SEGSerializableValue.h:31:19: note: expanded from macro 'JSON_DICT'
31 | #define JSON_DICT NSDictionary<NSString *, id> *
| ^
In file included from /host/spi-builder-workspace/Segment/Classes/SEGAliasPayload.m:1:
In file included from /host/spi-builder-workspace/Segment/Classes/SEGAliasPayload.h:2:
/host/spi-builder-workspace/Segment/Classes/SEGPayload.h:16:66: error: expected a type
16 | - (instancetype)initWithContext:(JSON_DICT)context integrations:(JSON_DICT)integrations;
| ^
/host/spi-builder-workspace/Segment/Classes/SEGSerializableValue.h:31:19: note: expanded from macro 'JSON_DICT'
31 | #define JSON_DICT NSDictionary<NSString *, id> *
| ^
In file included from /host/spi-builder-workspace/Segment/Classes/SEGAliasPayload.m:1:
In file included from /host/spi-builder-workspace/Segment/Classes/SEGAliasPayload.h:2:
/host/spi-builder-workspace/Segment/Classes/SEGPayload.h:16:1: error: missing context for method declaration
16 | - (instancetype)initWithContext:(JSON_DICT)context integrations:(JSON_DICT)integrations;
| ^
/host/spi-builder-workspace/Segment/Classes/SEGPayload.h:18:1: error: expected method body
18 | @end
| ^
/host/spi-builder-workspace/Segment/Classes/SEGPayload.h:27:1: error: unexpected '@' in program
27 | @property (nonatomic, strong, nullable) NSDictionary *launchOptions;
| ^
/host/spi-builder-workspace/Segment/Classes/SEGPayload.h:29:1: error: '@end' must appear in an Objective-C context
29 | @end
| ^
/host/spi-builder-workspace/Segment/Classes/SEGPayload.h:33:1: error: expected function body after function declarator
33 | @interface SEGContinueUserActivityPayload : SEGPayload
| ^
/host/spi-builder-workspace/Segment/Classes/SEGPayload.h:37:1: error: '@end' must appear in an Objective-C context
37 | @end
| ^
/host/spi-builder-workspace/Segment/Classes/SEGPayload.h:40:1: error: expected function body after function declarator
40 | @interface SEGOpenURLPayload : SEGPayload
| ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
[0/26] Compiling SEGAliasPayload.m
In file included from /host/spi-builder-workspace/Segment/Internal/NSData+SEGGZIP.m:34:
/host/spi-builder-workspace/Segment/Internal/NSData+SEGGZIP.h:34:1: error: use of '@import' when modules are disabled
34 | @import Foundation;
| ^
/host/spi-builder-workspace/Segment/Internal/NSData+SEGGZIP.h:39:12: error: cannot find interface declaration for 'NSData'
39 | @interface NSData (SEG_GZIP)
| ^
/host/spi-builder-workspace/Segment/Internal/NSData+SEGGZIP.h:41:13: error: expected a type
41 | - (nullable NSData *)seg_gzippedData;
| ^
/host/spi-builder-workspace/Segment/Internal/NSData+SEGGZIP.h:42:4: error: expected a type
42 | - (BOOL)seg_isGzippedData;
| ^
[0/26] Compiling NSData+SEGGZIP.m
In file included from /host/spi-builder-workspace/Segment/Classes/SEGIdentifyPayload.m:1:
/host/spi-builder-workspace/Segment/Classes/SEGIdentifyPayload.h:1:1: error: use of '@import' when modules are disabled
1 | @import Foundation;
| ^
In file included from /host/spi-builder-workspace/Segment/Classes/SEGIdentifyPayload.m:1:
In file included from /host/spi-builder-workspace/Segment/Classes/SEGIdentifyPayload.h:2:
/host/spi-builder-workspace/Segment/Classes/SEGPayload.h:1:1: error: use of '@import' when modules are disabled
1 | @import Foundation;
| ^
In file included from /host/spi-builder-workspace/Segment/Classes/SEGIdentifyPayload.m:1:
In file included from /host/spi-builder-workspace/Segment/Classes/SEGIdentifyPayload.h:2:
In file included from /host/spi-builder-workspace/Segment/Classes/SEGPayload.h:2:
/host/spi-builder-workspace/Segment/Classes/SEGSerializableValue.h:9:1: error: use of '@import' when modules are disabled
9 | @import Foundation;
| ^
In file included from /host/spi-builder-workspace/Segment/Classes/SEGIdentifyPayload.m:1:
In file included from /host/spi-builder-workspace/Segment/Classes/SEGIdentifyPayload.h:2:
/host/spi-builder-workspace/Segment/Classes/SEGPayload.h:4:1: error: unknown type name 'NS_ASSUME_NONNULL_BEGIN'
4 | NS_ASSUME_NONNULL_BEGIN
| ^
/host/spi-builder-workspace/Segment/Classes/SEGPayload.h:7:1: error: expected function body after function declarator
7 | @interface SEGPayload : NSObIn file included from /host/spi-builder-workspace/Segment/Classes/SEGAnalyticsConfiguration.m:9:
/host/spi-builder-workspace/Segment/Classes/SEGAnalyticsConfiguration.h:9:1: error: use of '@import' when modules are disabled
9 | @import Foundation;
| ^
/host/spi-builder-workspace/Segment/Classes/SEGAnalyticsConfiguration.h:18:1: error: expected function body after function declarator
18 | @protocol SEGApplicationProtocol <NSObject>
| ^
/host/spi-builder-workspace/Segment/Classes/SEGAnalyticsConfiguration.h:26:32: error: expected a type
26 | - (void)seg_endBackgroundTask:(NSUInteger)identifier;
| ^
/host/spi-builder-workspace/Segment/Classes/SEGAnalyticsConfiguration.h:26:1: error: missing context for method declaration
26 | - (void)seg_endBackgroundTask:(NSUInteger)identifier;
| ^
/host/spi-builder-workspace/Segment/Classes/SEGAnalyticsConfiguration.h:27:1: error: expected method body
27 | @end
| ^
/host/spi-builder-workspace/Segment/Classes/SEGAnalyticsConfiguration.h:39:9: error: unknown type name 'NSString'
39 | typedef NSString *_Nonnull (^SEGAdSupportBlock)(void);
| ^
/host/spi-builder-workspace/Segment/Classes/SEGAnalyticsConfiguration.h:53:1: error: expected function body after function declarator
53 | @interface SEGAnalyticsConfiguration : NSObject
| ^
/host/spi-builder-workspace/Segment/Classes/SEGAnalyticsConfiguration.h:69:53: error: expected a type
69 | + (_Nonnull instancetype)configurationWithWriteKey:(NSString *_Nonnull)writeKey defaultAPIHost:(NSURL *_Nullable)defaultAPIHost;
| ^
/host/spi-builder-workspace/Segment/Classes/SEGAnalyticsConfiguration.h:69:97: error: expected a type
69 | + (_Nonnull instancetype)configurationWithWriteKey:(NSString *_Nonnull)writeKey defaultAPIHost:(NSURL *_Nullable)defaultAPIHost;
| ^
/host/spi-builder-workspace/Segment/Classes/SEGAnalyticsConfiguration.h:69:1: error: missing context for method declaration
69 | + (_Nonnull instancetype)configurationWithWriteKey:(NSString *_Nonnull)writeKey defaultAPIHost:(NSURL *_Nullable)defaultAPIHost;
| ^
/host/spi-builder-workspace/Segment/Classes/SEGAnalyticsConfiguration.h:76:1: error: expected method body
76 | @property (nonatomic, copy, readonly, nonnull) NSString *writeKey;
| ^
/host/spi-builder-workspace/Segment/Classes/SEGAnalyticsConfiguration.h:82:1: error: unexpected '@' in program
82 | @property (nonatomic, copy, readonly, nullable) NSURL *apiHost;
| ^
/host/spi-builder-workspace/Segment/Classes/SEGAnalyticsConfiguration.h:89:1: error: unexpected '@' in program
89 | @property (nonatomic, assign) BOOL shouldUseLo[0/26] Compiling SEGAnalyticsConfiguration.m
[0/26] Compiling SEGIdentifyPayload.m
In file included from /host/spi-builder-workspace/Segment/Classes/SEGHTTPClient.m:1:
/host/spi-builder-workspace/Segment/Classes/SEGHTTPClient.h:1:1: error: use of '@import' when modules are disabled
1 | @import Foundation;
| ^
In file included from /host/spi-builder-workspace/Segment/Classes/SEGHTTPClient.m:1:
In file included from /host/spi-builder-workspace/Segment/Classes/SEGHTTPClient.h:2:
/host/spi-builder-workspace/Segment/Classes/SEGAnalytics.h:1:1: error: use of '@import' when modules are disabled
1 | @import Foundation;
| ^
In file included from /host/spi-builder-workspace/Segment/Classes/SEGHTTPClient.m:1:
In file included from /host/spi-builder-workspace/Segment/Classes/SEGHTTPClient.h:2:
In file included from /host/spi-builder-workspace/Segment/Classes/SEGAnalytics.h:2:
/host/spi-builder-workspace/Segment/Classes/SEGIntegrationFactory.h:1:1: error: use of '@import' when modules are disabled
1 | @import Foundation;
| ^
In file included from /host/spi-builder-workspace/Segment/Classes/SEGHTTPClient.m:1:
In file included from /host/spi-builder-workspace/Segment/Classes/SEGHTTPClient.h:2:
In file included from /host/spi-builder-workspace/Segment/Classes/SEGAnalytics.h:2:
In file included from /host/spi-builder-workspace/Segment/Classes/SEGIntegrationFactory.h:2:
/host/spi-builder-workspace/Segment/Classes/SEGIntegration.h:1:1: error: use of '@import' when modules are disabled
1 | @import Foundation;
| ^
In file included from /host/spi-builder-workspace/Segment/Classes/SEGHTTPClient.m:1:
In file included from /host/spi-builder-workspace/Segment/Classes/SEGHTTPClient.h:2:
In file included from /host/spi-builder-workspace/Segment/Classes/SEGAnalytics.h:2:
In file included from /host/spi-builder-workspace/Segment/Classes/SEGIntegrationFactory.h:2:
In file included from /host/spi-builder-workspace/Segment/Classes/SEGIntegration.h:2:
/host/spi-builder-workspace/Segment/Classes/SEGIdentifyPayload.h:1:1: error: use of '@import' when modules are disabled
1 | @import Foundation;
| ^
In file included from /host/spi-builder-workspace/Segment/Classes/SEGHTTPClient.m:1:
In file included from /host/spi-builder-workspace/Segment/Classes/SEGHTTPClient.h:2:
In file included from /host/spi-builder-workspace/Segment/Classes/SEGAnalytics.h:2:
In file included from /host/spi-builder-workspace/Segment/Classes/SEGIntegrationFactory.h:2:
In file included from /host/spi-builder-workspace/Segment/Classes/SEGIntegration.h:2:
In file included from /host/spi-builder-workspace/Segment/Classes/SEGIdentifyPayload.h:2:
/host/spi-builder-workspace/Segment/Classes/SEGPayload.h:1:1: error: use of '@import' when modules are disabled
1 | @import Foundation;
| ^
In file included from /host/spi-builder-workspace/Segment/Classes/SEGHTTPClient.m:1:
In file included from /host/spi-builder-workspace/Segment/Classes/SEGHTTPClient.h:2:
In file included from /host/spi-builder-workspace/Segment/Classes/SEGAnalytics.h:2:
In file included from /host/spi-builder-workspace/Segment/Classes/SEGIntegrationFactory.h:2:
In file included from /host/spi-builder-workspace/Segment/Classes/SEGIntegration.h:2:
In file included from /host/spi-builder-workspace/Segment/Classes/SEGIdentifyPayload.h:2:
In file included from /host/spi-builder-workspace/Segment/Classes/SEGPayload.h:2:
/host/spi-builder-workspace/Segment/Classes/SEGSerializableValue.h:9:1: error: use of '@import' when modules are disabled
9 | @import Foundation;
| ^
In file included from /host/spi-builder-workspace/Segment/Classes/SEGHTTPClient.m:1:
In file included from /host/spi-builder-workspace/Segment/Classes/SEGHTTPClient.h:2:
In file included from /host/spi-builder-workspace/Segment/Classes/SEGAnalytics.h:2:
In file included from /host/spi-builder-workspace/Segment/Classes/SEGIntegrationFactory.h:2:
In file included from /host/spi-builder-workspace/Segment/Classes/SEGIntegration.h:2:
In file included from /host/spi-builder-workspace/Segment/Classes/SEGIdentifyPayload.h:2:
/host/spi-builder-workspace/Segment/Classes/SEGPayload.h:4:1: error: unknown type name 'NS_ASSUME_NONNULL_BEGIN'
4 | NS_ASSUME_NONNULL_BEGIN
| ^
/host/spi-builder-workspace/Segment/Classes/SEGPayload.h:7:1: error: expected function body after function declarator
7 | @interface SEGPayload : NSObject
| ^
/host/spi-builder-workspace/Segment/Classes/SEGPayload.h:10:1: error: unexpected '@' in program
10 | @property (nonatomic, readonly) JSON_DICT integrations;
| ^
/host/spi-builder-workspace/Segment/Classes/SEGPayload.h:11:1: error: unexpected '@' in program
11 | @property (nonatomic, strong) NSString *timestamp;
| ^
/host/spi-builder-workspace/Segment/Classes/SEGPayload.h:12:1: error: unexpected '@' in program
12 | @property (nonatomic, strong) NSString *messageId;
| ^
/host/spi-builder-workspace/Segment/Classes/SEGPayload.h:13:1: error: unexpected '@' in program
13 | @property (nonatomic, strong) NSString *anonymousId;
| ^
/host/spi-builder-workspace/Segment/Classes/SEGPayload.h:14:1: error: unexpected '@' in program
14 | @property (nonatomic, strong) NSString *userId;
| ^
/host/spi-builder-workspace/Segment/Classes/SEGPayload.h:16:34: error: expected a type
16 | - (instancetype)initWithContext:(JSON_DICT)context integrations:(JSON_DICT)integrations;
| ^
/host/spi-builder-workspace/Segment/Classes/SEGSerializableValue.h:31:19: note: expanded from macro 'JSON_DICT'
31 | #define JSON_DICT NSDictionary<NSString *, id> *
| ^
In file included from /host/spi-builder-workspace/Segment/Classes/SEGHTTPClient.m:1:
In file included from /host/spi-builder-workspace/Segment/Classes/SEGHTTPClient.h:2:
In file included from /host/spi-builder-workspace/Segment/Classes/SEGAnalytics.h:2:
In file included from /host/spi-builder-workspace/Segment/Classes/SEGIntegrationFactory.h:2:
In file included from /host/spi-builder-workspace/Segment/Classes/SEGIntegration.h:2:
In file included from /host/spi-builder-workspace/Segment/Classes/SEGIdentifyPayload.h:2:
/host/spi-builder-workspace/Segment/Classes/SEGPayload.h:16:66: error: expected a type
16 | - (instancetype)initWithContext:(JSON_DICT)context integrations:(JSON_DICT)integrations;
| ^
/host/spi-builder-workspace/Segment/Classes/SEGSerializableValue.h:31:19: note: expanded from macro 'JSON_DICT'
31 | #define JSON_DICT NSDictionary<NSString *, id> *
| ^
In file included from /host/spi-builder-workspace/Segment/Classes/SEGHTTPClient.m:1:
In file included from /host/spi-builder-workspace/Segment/Classes/SEGHTTPClient.h:2:
In file included from /host/spi-builder-workspace/Segment/Classes/SEGAnalytics.h:2:
In file included from /host/spi-builder-workspace/Segment/Classes/SEGIntegrationFactory.h:2:
In file included from /host/spi-builder-workspace/Segment/Classes/SEGIntegration.h:2:
In file included from /host/spi-builder-workspace/Segment/Classes/SEGIdentifyPayload.h:2:
/host/spi-builder-workspace/Segment/Classes/SEGPayload.h:16:1: error: missing context for method declaration
16 | - (instancetype)initWithContext:(JSON_DICT)context integrations:(JSON_DICT)integrations;
| ^
/host/spi-builder-workspace/Segment/Classes/SEGPayload.h:18:1: error: expected method body
18 | @end
| ^
/host/spi-builder-workspace/Segment/Classes/SEGPayload.h:27:1: error: unexpected '@' in program
27 | @property (nonatomic, strong, nullable) NSDicti[0/26] Compiling SEGHTTPClient.m
BUILD FAILURE 6.3 android