The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Segment, reference 4.1.8 (78423a), with Swift 6.4 for Android on 19 Sep 2026 12:19:24 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344844-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:android-6.4-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.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.4
Building package at path:  $PWD
https://github.com/segmentio/analytics-ios.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344844-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:android-6.4-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:abadcff584c273feba50641b454858d377ba30b35ea7287a94f45ebd8afd0ea0
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.4-latest
Building for debugging...
[Planning deferred tasks]
In file included from /host/spi-builder-workspace/Segment/Internal/UIViewController+SEGScreen.m:1:
In file included from /host/spi-builder-workspace/Segment/Internal/UIViewController+SEGScreen.h:1:
/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/UIViewController+SEGScreen.m:2:9: fatal error: 'objc/runtime.h' file not found
    2 | #import <objc/runtime.h>
      |         ^~~~~~~~~~~~~~~~
2 errors generated.
error: CompileC /host/spi-builder-workspace/.build/out/Intermediates.noindex/Segment.build/Debug-android-aarch64/Segment-t.build/Objects-normal/aarch64/UIViewController+SEGScreen.o /host/spi-builder-workspace/Segment/Internal/UIViewController+SEGScreen.m normal aarch64 objective-c com.apple.compilers.llvm.clang.1_0.compiler failed with a nonzero exit code. Command line:     cd /host

    Using response file: /host/spi-builder-workspace/.build/out/Intermediates.noindex/Segment.build/Debug-android-aarch64/Segment-t.build/Objects-normal/aarch64/6f95552a3397ee1cec971b90cf334075d5f321c3a3b0689ad55c3d1e24702600-common-args.resp

    /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/bin/clang -x objective-c -target aarch64-unknown-linux-android28 -fmessage-length\=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -fcolor-diagnostics -Wno-trigraphs -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-implicit-atomic-properties -Wno-objc-interface-ivars -Wno-arc-repeated-use-of-weak -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wno-undeclared-selector -Wno-deprecated-implementations -Wno-implicit-fallthrough -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body --sysroot /android-ndk/android-ndk-r27d/toolchains/llvm/prebuilt/linux-x86_64/sysroot @/host/spi-builder-workspace/.build/out/Intermediates.noindex/Segment.build/Debug-android-aarch64/Segment-t.build/Objects-normal/aarch64/6f95552a3397ee1cec971b90cf334075d5f321c3a3b0689ad55c3d1e24702600-common-args.resp -MMD -MT dependencies -MF /host/spi-builder-workspace/.build/out/Intermediates.noindex/Segment.build/Debug-android-aarch64/Segment-t.build/Objects-normal/aarch64/UIViewController+SEGScreen.d --serialize-diagnostics /host/spi-builder-workspace/.build/out/Intermediates.noindex/Segment.build/Debug-android-aarch64/Segment-t.build/Objects-normal/aarch64/UIViewController+SEGScreen.dia -c /host/spi-builder-workspace/Segment/Internal/UIViewController+SEGScreen.m -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/Segment.build/Debug-android-aarch64/Segment-t.build/Objects-normal/aarch64/UIViewController+SEGScreen.o
In file included from /host/spi-builder-workspace/Segment/Classes/SEGTrackPayload.m:1:
/host/spi-builder-workspace/Segment/Classes/SEGTrackPayload.h:1:1: error: use of '@import' when modules are disabled
    1 | @import Foundation;
      | ^
In file included from /host/spi-builder-workspace/Segment/Classes/SEGTrackPayload.m:1:
In file included from /host/spi-builder-workspace/Segment/Classes/SEGTrackPayload.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/SEGTrackPayload.m:1:
In file included from /host/spi-builder-workspace/Segment/Classes/SEGTrackPayload.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/SEGTrackPayload.m:1:
In file included from /host/spi-builder-workspace/Segment/Classes/SEGTrackPayload.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;
      |                                  ^
In file included from /host/spi-builder-workspace/Segment/Classes/SEGTrackPayload.m:1:
In file included from /host/spi-builder-workspace/Segment/Classes/SEGTrackPayload.h:2:
In file included from /host/spi-builder-workspace/Segment/Classes/SEGPayload.h:2:
/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/SEGTrackPayload.m:1:
In file included from /host/spi-builder-workspace/Segment/Classes/SEGTrackPayload.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;
      |                                                                  ^
In file included from /host/spi-builder-workspace/Segment/Classes/SEGTrackPayload.m:1:
In file included from /host/spi-builder-workspace/Segment/Classes/SEGTrackPayload.h:2:
In file included from /host/spi-builder-workspace/Segment/Classes/SEGPayload.h:2:
/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/SEGTrackPayload.m:1:
In file included from /host/spi-builder-workspace/Segment/Classes/SEGTrackPayload.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.
error: CompileC /host/spi-builder-workspace/.build/out/Intermediates.noindex/Segment.build/Debug-android-aarch64/Segment-t.build/Objects-normal/aarch64/SEGTrackPayload.o /host/spi-builder-workspace/Segment/Classes/SEGTrackPayload.m normal aarch64 objective-c com.apple.compilers.llvm.clang.1_0.compiler failed with a nonzero exit code. Command line:     cd /host

    Using response file: /host/spi-builder-workspace/.build/out/Intermediates.noindex/Segment.build/Debug-android-aarch64/Segment-t.build/Objects-normal/aarch64/6f95552a3397ee1cec971b90cf334075d5f321c3a3b0689ad55c3d1e24702600-common-args.resp

    /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/bin/clang -x objective-c -target aarch64-unknown-linux-android28 -fmessage-length\=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -fcolor-diagnostics -Wno-trigraphs -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-implicit-atomic-properties -Wno-objc-interface-ivars -Wno-arc-repeated-use-of-weak -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wno-undeclared-selector -Wno-deprecated-implementations -Wno-implicit-fallthrough -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body --sysroot /android-ndk/android-ndk-r27d/toolchains/llvm/prebuilt/linux-x86_64/sysroot @/host/spi-builder-workspace/.build/out/Intermediates.noindex/Segment.build/Debug-android-aarch64/Segment-t.build/Objects-normal/aarch64/6f95552a3397ee1cec971b90cf334075d5f321c3a3b0689ad55c3d1e24702600-common-args.resp -MMD -MT dependencies -MF /host/spi-builder-workspace/.build/out/Intermediates.noindex/Segment.build/Debug-android-aarch64/Segment-t.build/Objects-normal/aarch64/SEGTrackPayload.d --serialize-diagnostics /host/spi-builder-workspace/.build/out/Intermediates.noindex/Segment.build/Debug-android-aarch64/Segment-t.build/Objects-normal/aarch64/SEGTrackPayload.dia -c /host/spi-builder-workspace/Segment/Classes/SEGTrackPayload.m -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/Segment.build/Debug-android-aarch64/Segment-t.build/Objects-normal/aarch64/SEGTrackPayload.o
In file included from /host/spi-builder-workspace/Segment/Internal/SEGStoreKitTracker.m:1:
/host/spi-builder-workspace/Segment/Internal/SEGStoreKitTracker.h:1:1: error: use of '@import' when modules are disabled
    1 | @import Foundation;
      | ^
/host/spi-builder-workspace/Segment/Internal/SEGStoreKitTracker.h:2:1: error: use of '@import' when modules are disabled
    2 | @import StoreKit;
      | ^
In file included from /host/spi-builder-workspace/Segment/Internal/SEGStoreKitTracker.m:1:
In file included from /host/spi-builder-workspace/Segment/Internal/SEGStoreKitTracker.h:3:
/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/Internal/SEGStoreKitTracker.m:1:
In file included from /host/spi-builder-workspace/Segment/Internal/SEGStoreKitTracker.h:3:
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/Internal/SEGStoreKitTracker.m:1:
In file included from /host/spi-builder-workspace/Segment/Internal/SEGStoreKitTracker.h:3:
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/Internal/SEGStoreKitTracker.m:1:
In file included from /host/spi-builder-workspace/Segment/Internal/SEGStoreKitTracker.h:3:
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/Internal/SEGStoreKitTracker.m:1:
In file included from /host/spi-builder-workspace/Segment/Internal/SEGStoreKitTracker.h:3:
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/Internal/SEGStoreKitTracker.m:1:
In file included from /host/spi-builder-workspace/Segment/Internal/SEGStoreKitTracker.h:3:
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/Internal/SEGStoreKitTracker.m:1:
In file included from /host/spi-builder-workspace/Segment/Internal/SEGStoreKitTracker.h:3:
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;
      |                                  ^
In file included from /host/spi-builder-workspace/Segment/Internal/SEGStoreKitTracker.m:1:
In file included from /host/spi-builder-workspace/Segment/Internal/SEGStoreKitTracker.h:3:
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:31:19: note: expanded from macro 'JSON_DICT'
   31 | #define JSON_DICT NSDictionary<NSString *, id> *
      |                   ^
In file included from /host/spi-builder-workspace/Segment/Internal/SEGStoreKitTracker.m:1:
In file included from /host/spi-builder-workspace/Segment/Internal/SEGStoreKitTracker.h:3:
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;
      |                                                                  ^
In file included from /host/spi-builder-workspace/Segment/Internal/SEGStoreKitTracker.m:1:
In file included from /host/spi-builder-workspace/Segment/Internal/SEGStoreKitTracker.h:3:
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:31:19: note: expanded from macro 'JSON_DICT'
   31 | #define JSON_DICT NSDictionary<NSString *, id> *
      |                   ^
In file included from /host/spi-builder-workspace/Segment/Internal/SEGStoreKitTracker.m:1:
In file included from /host/spi-builder-workspace/Segment/Internal/SEGStoreKitTracker.h:3:
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
      | ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
error: CompileC /host/spi-builder-workspace/.build/out/Intermediates.noindex/Segment.build/Debug-android-aarch64/Segment-t.build/Objects-normal/aarch64/SEGStoreKitTracker.o /host/spi-builder-workspace/Segment/Internal/SEGStoreKitTracker.m normal aarch64 objective-c com.apple.compilers.llvm.clang.1_0.compiler failed with a nonzero exit code. Command line:     cd /host

    Using response file: /host/spi-builder-workspace/.build/out/Intermediates.noindex/Segment.build/Debug-android-aarch64/Segment-t.build/Objects-normal/aarch64/6f95552a3397ee1cec971b90cf334075d5f321c3a3b0689ad55c3d1e24702600-common-args.resp

    /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/bin/clang -x objective-c -target aarch64-unknown-linux-android28 -fmessage-length\=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -fcolor-diagnostics -Wno-trigraphs -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-implicit-atomic-properties -Wno-objc-interface-ivars -Wno-arc-repeated-use-of-weak -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wno-undeclared-selector -Wno-deprecated-implementations -Wno-implicit-fallthrough -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body --sysroot /android-ndk/android-ndk-r27d/toolchains/llvm/prebuilt/linux-x86_64/sysroot @/host/spi-builder-workspace/.build/out/Intermediates.noindex/Segment.build/Debug-android-aarch64/Segment-t.build/Objects-normal/aarch64/6f95552a3397ee1cec971b90cf334075d5f321c3a3b0689ad55c3d1e24702600-common-args.resp -MMD -MT dependencies -MF /host/spi-builder-workspace/.build/out/Intermediates.noindex/Segment.build/Debug-android-aarch64/Segment-t.build/Objects-normal/aarch64/SEGStoreKitTracker.d --serialize-diagnostics /host/spi-builder-workspace/.build/out/Intermediates.noindex/Segment.build/Debug-android-aarch64/Segment-t.build/Objects-normal/aarch64/SEGStoreKitTracker.dia -c /host/spi-builder-workspace/Segment/Internal/SEGStoreKitTracker.m -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/Segment.build/Debug-android-aarch64/Segment-t.build/Objects-normal/aarch64/SEGStoreKitTracker.o
/host/spi-builder-workspace/Segment/Classes/SEGWebhookIntegration.m:1:1: error: use of '@import' when modules are disabled
    1 | @import Foundation;
      | ^
In file included from /host/spi-builder-workspace/Segment/Classes/SEGWebhookIntegration.m:2:
In file included from /host/spi-builder-workspace/Segment/Classes/SEGWebhookIntegration.h:1:
/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/SEGWebhookIntegration.m:2:
In file included from /host/spi-builder-workspace/Segment/Classes/SEGWebhookIntegration.h:1:
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/SEGWebhookIntegration.m:2:
In file included from /host/spi-builder-workspace/Segment/Classes/SEGWebhookIntegration.h:1:
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/SEGWebhookIntegration.m:2:
In file included from /host/spi-builder-workspace/Segment/Classes/SEGWebhookIntegration.h:1:
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/SEGWebhookIntegration.m:2:
In file included from /host/spi-builder-workspace/Segment/Classes/SEGWebhookIntegration.h:1:
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;
      |                                  ^
In file included from /host/spi-builder-workspace/Segment/Classes/SEGWebhookIntegration.m:2:
In file included from /host/spi-builder-workspace/Segment/Classes/SEGWebhookIntegration.h:1:
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: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/SEGWebhookIntegration.m:2:
In file included from /host/spi-builder-workspace/Segment/Classes/SEGWebhookIntegration.h:1:
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;
      |                                                                  ^
In file included from /host/spi-builder-workspace/Segment/Classes/SEGWebhookIntegration.m:2:
In file included from /host/spi-builder-workspace/Segment/Classes/SEGWebhookIntegration.h:1:
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: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/SEGWebhookIntegration.m:2:
In file included from /host/spi-builder-workspace/Segment/Classes/SEGWebhookIntegration.h:1:
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) 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
      | ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
error: CompileC /host/spi-builder-workspace/.build/out/Intermediates.noindex/Segment.build/Debug-android-aarch64/Segment-t.build/Objects-normal/aarch64/SEGWebhookIntegration.o /host/spi-builder-workspace/Segment/Classes/SEGWebhookIntegration.m normal aarch64 objective-c com.apple.compilers.llvm.clang.1_0.compiler failed with a nonzero exit code. Command line:     cd /host

    Using response file: /host/spi-builder-workspace/.build/out/Intermediates.noindex/Segment.build/Debug-android-aarch64/Segment-t.build/Objects-normal/aarch64/6f95552a3397ee1cec971b90cf334075d5f321c3a3b0689ad55c3d1e24702600-common-args.resp

    /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/bin/clang -x objective-c -target aarch64-unknown-linux-android28 -fmessage-length\=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -fcolor-diagnostics -Wno-trigraphs -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-implicit-atomic-properties -Wno-objc-interface-ivars -Wno-arc-repeated-use-of-weak -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wno-undeclared-selector -Wno-deprecated-implementations -Wno-implicit-fallthrough -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body --sysroot /android-ndk/android-ndk-r27d/toolchains/llvm/prebuilt/linux-x86_64/sysroot @/host/spi-builder-workspace/.build/out/Intermediates.noindex/Segment.build/Debug-android-aarch64/Segment-t.build/Objects-normal/aarch64/6f95552a3397ee1cec971b90cf334075d5f321c3a3b0689ad55c3d1e24702600-common-args.resp -MMD -MT dependencies -MF /host/spi-builder-workspace/.build/out/Intermediates.noindex/Segment.build/Debug-android-aarch64/Segment-t.build/Objects-normal/aarch64/SEGWebhookIntegration.d --serialize-diagnostics /host/spi-builder-workspace/.build/out/Intermediates.noindex/Segment.build/Debug-android-aarch64/Segment-t.build/Objects-normal/aarch64/SEGWebhookIntegration.dia -c /host/spi-builder-workspace/Segment/Classes/SEGWebhookIntegration.m -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/Segment.build/Debug-android-aarch64/Segment-t.build/Objects-normal/aarch64/SEGWebhookIntegration.o
error: Build failed
BUILD FAILURE 6.4 android