Build Information
Failed to build Segment, reference 4.1.8 (78423a), with Swift 6.4 for Wasm on 19 Sep 2026 12:19:23 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886770-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:wasm-6.4-latest swift build --swift-sdk swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm 2>&1Build 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: wasm
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-53886770-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:wasm-6.4-latest swift build --swift-sdk swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm 2>&1
wasm-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:4328fdb43c680d205c1d6761b1e3267aa38277eefdda9ddfb17b6a0f1a77857a
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest
Building for debugging...
[Planning deferred tasks]
[1m/host/spi-builder-workspace/Segment/Classes/SEGWebhookIntegration.m:1:1: [0m[0;1;31merror: [0m[1muse of '@import' when modules are disabled[0m
1 | @import Foundation;[0m
| [0;1;32m^
[0mIn 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:
[1m/host/spi-builder-workspace/Segment/Classes/SEGIntegration.h:1:1: [0m[0;1;31merror: [0m[1muse of '@import' when modules are disabled[0m
1 | @import Foundation;[0m
| [0;1;32m^
[0mIn 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:
[1m/host/spi-builder-workspace/Segment/Classes/SEGIdentifyPayload.h:1:1: [0m[0;1;31merror: [0m[1muse of '@import' when modules are disabled[0m
1 | @import Foundation;[0m
| [0;1;32m^
[0mIn 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:
[1m/host/spi-builder-workspace/Segment/Classes/SEGPayload.h:1:1: [0m[0;1;31merror: [0m[1muse of '@import' when modules are disabled[0m
1 | @import Foundation;[0m
| [0;1;32m^
[0mIn 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:
[1m/host/spi-builder-workspace/Segment/Classes/SEGSerializableValue.h:9:1: [0m[0;1;31merror: [0m[1muse of '@import' when modules are disabled[0m
9 | @import Foundation;[0m
| [0;1;32m^
[0mIn 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:
[1m/host/spi-builder-workspace/Segment/Classes/SEGPayload.h:4:1: [0m[0;1;31merror: [0m[1munknown type name 'NS_ASSUME_NONNULL_BEGIN'[0m
4 | NS_ASSUME_NONNULL_BEGIN[0m
| [0;1;32m^
[0m[1m/host/spi-builder-workspace/Segment/Classes/SEGPayload.h:7:1: [0m[0;1;31merror: [0m[1mexpected function body after function declarator[0m
7 | @interface SEGPayload : NSObject[0m
| [0;1;32m^
[0m[1m/host/spi-builder-workspace/Segment/Classes/SEGPayload.h:10:1: [0m[0;1;31merror: [0m[1munexpected '@' in program[0m
10 | @property (nonatomic, readonly) JSON_DICT integrations;[0m
| [0;1;32m^
[0m[1m/host/spi-builder-workspace/Segment/Classes/SEGPayload.h:11:1: [0m[0;1;31merror: [0m[1munexpected '@' in program[0m
11 | @property (nonatomic, strong) NSString *timestamp;[0m
| [0;1;32m^
[0m[1m/host/spi-builder-workspace/Segment/Classes/SEGPayload.h:12:1: [0m[0;1;31merror: [0m[1munexpected '@' in program[0m
12 | @property (nonatomic, strong) NSString *messageId;[0m
| [0;1;32m^
[0m[1m/host/spi-builder-workspace/Segment/Classes/SEGPayload.h:13:1: [0m[0;1;31merror: [0m[1munexpected '@' in program[0m
13 | @property (nonatomic, strong) NSString *anonymousId;[0m
| [0;1;32m^
[0m[1m/host/spi-builder-workspace/Segment/Classes/SEGPayload.h:14:1: [0m[0;1;31merror: [0m[1munexpected '@' in program[0m
14 | @property (nonatomic, strong) NSString *userId;[0m
| [0;1;32m^
[0m[1m/host/spi-builder-workspace/Segment/Classes/SEGPayload.h:16:34: [0m[0;1;31merror: [0m[1mexpected a type[0m
16 | - (instancetype)initWithContext:(JSON_DICT)context integrations:(JSON_DICT)integrations;[0m
| [0;1;32m ^
[0mIn 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:
[1m/host/spi-builder-workspace/Segment/Classes/SEGSerializableValue.h:31:19: [0m[0;1;36mnote: [0mexpanded from macro 'JSON_DICT'[0m
31 | #define JSON_DICT NSDictionary<NSString *, id> *[0m
| [0;1;32m ^
[0mIn 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:
[1m/host/spi-builder-workspace/Segment/Classes/SEGPayload.h:16:66: [0m[0;1;31merror: [0m[1mexpected a type[0m
16 | - (instancetype)initWithContext:(JSON_DICT)context integrations:(JSON_DICT)integrations;[0m
| [0;1;32m ^
[0mIn 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:
[1m/host/spi-builder-workspace/Segment/Classes/SEGSerializableValue.h:31:19: [0m[0;1;36mnote: [0mexpanded from macro 'JSON_DICT'[0m
31 | #define JSON_DICT NSDictionary<NSString *, id> *[0m
| [0;1;32m ^
[0mIn 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:
[1m/host/spi-builder-workspace/Segment/Classes/SEGPayload.h:16:1: [0m[0;1;31merror: [0m[1mmissing context for method declaration[0m
16 | - (instancetype)initWithContext:(JSON_DICT)context integrations:(JSON_DICT)integrations;[0m
| [0;1;32m^
[0m[1m/host/spi-builder-workspace/Segment/Classes/SEGPayload.h:18:1: [0m[0;1;31merror: [0m[1mexpected method body[0m
18 | @end[0m
| [0;1;32m^
[0m[1m/host/spi-builder-workspace/Segment/Classes/SEGPayload.h:27:1: [0m[0;1;31merror: [0m[1munexpected '@' in program[0m
27 | @property (nonatomic, strong, nullable) NSDictionary *launchOptions;[0m
| [0;1;32m^
[0m[1m/host/spi-builder-workspace/Segment/Classes/SEGPayload.h:29:1: [0m[0;1;31merror: [0m[1m'@end' must appear in an Objective-C context[0m
29 | @end[0m
| [0;1;32m^
[0m[1m/host/spi-builder-workspace/Segment/Classes/SEGPayload.h:33:1: [0m[0;1;31merror: [0m[1mexpected function body after function declarator[0m
33 | @interface SEGContinueUserActivityPayload : SEGPayload[0m
| [0;1;32m^
[0m[0;1;31mfatal error: [0m[1mtoo many errors emitted, stopping now [-ferror-limit=][0m
20 errors generated.
error: CompileC /host/spi-builder-workspace/.build/out/Intermediates.noindex/Segment.build/Debug-webassembly-wasm32/Segment-t.build/Objects-normal/wasm32/SEGWebhookIntegration.o /host/spi-builder-workspace/Segment/Classes/SEGWebhookIntegration.m normal wasm32 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-webassembly-wasm32/Segment-t.build/Objects-normal/wasm32/6f95552a3397ee1cec971b90cf334075d5f321c3a3b0689ad55c3d1e24702600-common-args.resp
/usr/bin/clang -x objective-c -target wasm32-unknown-wasip1 -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 /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/WASI.sdk @/host/spi-builder-workspace/.build/out/Intermediates.noindex/Segment.build/Debug-webassembly-wasm32/Segment-t.build/Objects-normal/wasm32/6f95552a3397ee1cec971b90cf334075d5f321c3a3b0689ad55c3d1e24702600-common-args.resp -MMD -MT dependencies -MF /host/spi-builder-workspace/.build/out/Intermediates.noindex/Segment.build/Debug-webassembly-wasm32/Segment-t.build/Objects-normal/wasm32/SEGWebhookIntegration.d --serialize-diagnostics /host/spi-builder-workspace/.build/out/Intermediates.noindex/Segment.build/Debug-webassembly-wasm32/Segment-t.build/Objects-normal/wasm32/SEGWebhookIntegration.dia -c /host/spi-builder-workspace/Segment/Classes/SEGWebhookIntegration.m -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/Segment.build/Debug-webassembly-wasm32/Segment-t.build/Objects-normal/wasm32/SEGWebhookIntegration.o
In file included from /host/spi-builder-workspace/Segment/Internal/SEGStoreKitTracker.m:1:
[1m/host/spi-builder-workspace/Segment/Internal/SEGStoreKitTracker.h:1:1: [0m[0;1;31merror: [0m[1muse of '@import' when modules are disabled[0m
1 | @import Foundation;[0m
| [0;1;32m^
[0m[1m/host/spi-builder-workspace/Segment/Internal/SEGStoreKitTracker.h:2:1: [0m[0;1;31merror: [0m[1muse of '@import' when modules are disabled[0m
2 | @import StoreKit;[0m
| [0;1;32m^
[0mIn 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:
[1m/host/spi-builder-workspace/Segment/Classes/SEGAnalytics.h:1:1: [0m[0;1;31merror: [0m[1muse of '@import' when modules are disabled[0m
1 | @import Foundation;[0m
| [0;1;32m^
[0mIn 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:
[1m/host/spi-builder-workspace/Segment/Classes/SEGIntegrationFactory.h:1:1: [0m[0;1;31merror: [0m[1muse of '@import' when modules are disabled[0m
1 | @import Foundation;[0m
| [0;1;32m^
[0mIn 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:
[1m/host/spi-builder-workspace/Segment/Classes/SEGIntegration.h:1:1: [0m[0;1;31merror: [0m[1muse of '@import' when modules are disabled[0m
1 | @import Foundation;[0m
| [0;1;32m^
[0mIn 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:
[1m/host/spi-builder-workspace/Segment/Classes/SEGIdentifyPayload.h:1:1: [0m[0;1;31merror: [0m[1muse of '@import' when modules are disabled[0m
1 | @import Foundation;[0m
| [0;1;32m^
[0mIn 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:
[1m/host/spi-builder-workspace/Segment/Classes/SEGPayload.h:1:1: [0m[0;1;31merror: [0m[1muse of '@import' when modules are disabled[0m
1 | @import Foundation;[0m
| [0;1;32m^
[0mIn 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:
[1m/host/spi-builder-workspace/Segment/Classes/SEGSerializableValue.h:9:1: [0m[0;1;31merror: [0m[1muse of '@import' when modules are disabled[0m
9 | @import Foundation;[0m
| [0;1;32m^
[0mIn 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:
[1m/host/spi-builder-workspace/Segment/Classes/SEGPayload.h:4:1: [0m[0;1;31merror: [0m[1munknown type name 'NS_ASSUME_NONNULL_BEGIN'[0m
4 | NS_ASSUME_NONNULL_BEGIN[0m
| [0;1;32m^
[0m[1m/host/spi-builder-workspace/Segment/Classes/SEGPayload.h:7:1: [0m[0;1;31merror: [0m[1mexpected function body after function declarator[0m
7 | @interface SEGPayload : NSObject[0m
| [0;1;32m^
[0m[1m/host/spi-builder-workspace/Segment/Classes/SEGPayload.h:10:1: [0m[0;1;31merror: [0m[1munexpected '@' in program[0m
10 | @property (nonatomic, readonly) JSON_DICT integrations;[0m
| [0;1;32m^
[0m[1m/host/spi-builder-workspace/Segment/Classes/SEGPayload.h:11:1: [0m[0;1;31merror: [0m[1munexpected '@' in program[0m
11 | @property (nonatomic, strong) NSString *timestamp;[0m
| [0;1;32m^
[0m[1m/host/spi-builder-workspace/Segment/Classes/SEGPayload.h:12:1: [0m[0;1;31merror: [0m[1munexpected '@' in program[0m
12 | @property (nonatomic, strong) NSString *messageId;[0m
| [0;1;32m^
[0m[1m/host/spi-builder-workspace/Segment/Classes/SEGPayload.h:13:1: [0m[0;1;31merror: [0m[1munexpected '@' in program[0m
13 | @property (nonatomic, strong) NSString *anonymousId;[0m
| [0;1;32m^
[0m[1m/host/spi-builder-workspace/Segment/Classes/SEGPayload.h:14:1: [0m[0;1;31merror: [0m[1munexpected '@' in program[0m
14 | @property (nonatomic, strong) NSString *userId;[0m
| [0;1;32m^
[0m[1m/host/spi-builder-workspace/Segment/Classes/SEGPayload.h:16:34: [0m[0;1;31merror: [0m[1mexpected a type[0m
16 | - (instancetype)initWithContext:(JSON_DICT)context integrations:(JSON_DICT)integrations;[0m
| [0;1;32m ^
[0mIn 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:
[1m/host/spi-builder-workspace/Segment/Classes/SEGSerializableValue.h:31:19: [0m[0;1;36mnote: [0mexpanded from macro 'JSON_DICT'[0m
31 | #define JSON_DICT NSDictionary<NSString *, id> *[0m
| [0;1;32m ^
[0mIn 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:
[1m/host/spi-builder-workspace/Segment/Classes/SEGPayload.h:16:66: [0m[0;1;31merror: [0m[1mexpected a type[0m
16 | - (instancetype)initWithContext:(JSON_DICT)context integrations:(JSON_DICT)integrations;[0m
| [0;1;32m ^
[0mIn 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:
[1m/host/spi-builder-workspace/Segment/Classes/SEGSerializableValue.h:31:19: [0m[0;1;36mnote: [0mexpanded from macro 'JSON_DICT'[0m
31 | #define JSON_DICT NSDictionary<NSString *, id> *[0m
| [0;1;32m ^
[0mIn 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:
[1m/host/spi-builder-workspace/Segment/Classes/SEGPayload.h:16:1: [0m[0;1;31merror: [0m[1mmissing context for method declaration[0m
16 | - (instancetype)initWithContext:(JSON_DICT)context integrations:(JSON_DICT)integrations;[0m
| [0;1;32m^
[0m[1m/host/spi-builder-workspace/Segment/Classes/SEGPayload.h:18:1: [0m[0;1;31merror: [0m[1mexpected method body[0m
18 | @end[0m
| [0;1;32m^
[0m[0;1;31mfatal error: [0m[1mtoo many errors emitted, stopping now [-ferror-limit=][0m
20 errors generated.
error: CompileC /host/spi-builder-workspace/.build/out/Intermediates.noindex/Segment.build/Debug-webassembly-wasm32/Segment-t.build/Objects-normal/wasm32/SEGStoreKitTracker.o /host/spi-builder-workspace/Segment/Internal/SEGStoreKitTracker.m normal wasm32 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-webassembly-wasm32/Segment-t.build/Objects-normal/wasm32/6f95552a3397ee1cec971b90cf334075d5f321c3a3b0689ad55c3d1e24702600-common-args.resp
/usr/bin/clang -x objective-c -target wasm32-unknown-wasip1 -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 /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/WASI.sdk @/host/spi-builder-workspace/.build/out/Intermediates.noindex/Segment.build/Debug-webassembly-wasm32/Segment-t.build/Objects-normal/wasm32/6f95552a3397ee1cec971b90cf334075d5f321c3a3b0689ad55c3d1e24702600-common-args.resp -MMD -MT dependencies -MF /host/spi-builder-workspace/.build/out/Intermediates.noindex/Segment.build/Debug-webassembly-wasm32/Segment-t.build/Objects-normal/wasm32/SEGStoreKitTracker.d --serialize-diagnostics /host/spi-builder-workspace/.build/out/Intermediates.noindex/Segment.build/Debug-webassembly-wasm32/Segment-t.build/Objects-normal/wasm32/SEGStoreKitTracker.dia -c /host/spi-builder-workspace/Segment/Internal/SEGStoreKitTracker.m -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/Segment.build/Debug-webassembly-wasm32/Segment-t.build/Objects-normal/wasm32/SEGStoreKitTracker.o
[1m/host/spi-builder-workspace/Segment/Internal/SEGIntegrationsManager.m:9:1: [0m[0;1;31merror: [0m[1muse of '@import' when modules are disabled[0m
9 | @import Foundation;[0m
| [0;1;32m^
[0m[1m/host/spi-builder-workspace/Segment/Internal/SEGIntegrationsManager.m:13:9: [0m[0;1;31mfatal error: [0m[1m'objc/runtime.h' file not found[0m
13 | #import <objc/runtime.h>[0m
| [0;1;32m ^~~~~~~~~~~~~~~~
[0m2 errors generated.
error: CompileC /host/spi-builder-workspace/.build/out/Intermediates.noindex/Segment.build/Debug-webassembly-wasm32/Segment-t.build/Objects-normal/wasm32/SEGIntegrationsManager.o /host/spi-builder-workspace/Segment/Internal/SEGIntegrationsManager.m normal wasm32 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-webassembly-wasm32/Segment-t.build/Objects-normal/wasm32/6f95552a3397ee1cec971b90cf334075d5f321c3a3b0689ad55c3d1e24702600-common-args.resp
/usr/bin/clang -x objective-c -target wasm32-unknown-wasip1 -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 /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/WASI.sdk @/host/spi-builder-workspace/.build/out/Intermediates.noindex/Segment.build/Debug-webassembly-wasm32/Segment-t.build/Objects-normal/wasm32/6f95552a3397ee1cec971b90cf334075d5f321c3a3b0689ad55c3d1e24702600-common-args.resp -MMD -MT dependencies -MF /host/spi-builder-workspace/.build/out/Intermediates.noindex/Segment.build/Debug-webassembly-wasm32/Segment-t.build/Objects-normal/wasm32/SEGIntegrationsManager.d --serialize-diagnostics /host/spi-builder-workspace/.build/out/Intermediates.noindex/Segment.build/Debug-webassembly-wasm32/Segment-t.build/Objects-normal/wasm32/SEGIntegrationsManager.dia -c /host/spi-builder-workspace/Segment/Internal/SEGIntegrationsManager.m -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/Segment.build/Debug-webassembly-wasm32/Segment-t.build/Objects-normal/wasm32/SEGIntegrationsManager.o
In file included from /host/spi-builder-workspace/Segment/Internal/SEGUserDefaultsStorage.m:9:
[1m/host/spi-builder-workspace/Segment/Internal/SEGUtils.h:6:1: [0m[0;1;31merror: [0m[1muse of '@import' when modules are disabled[0m
6 | @import Foundation;[0m
| [0;1;32m^
[0mIn file included from /host/spi-builder-workspace/Segment/Internal/SEGUserDefaultsStorage.m:9:
In file included from /host/spi-builder-workspace/Segment/Internal/SEGUtils.h:7:
[1m/host/spi-builder-workspace/Segment/Classes/SEGAnalyticsUtils.h:1:1: [0m[0;1;31merror: [0m[1muse of '@import' when modules are disabled[0m
1 | @import Foundation;[0m
| [0;1;32m^
[0m[1m/host/spi-builder-workspace/Segment/Classes/SEGAnalyticsUtils.h:3:1: [0m[0;1;31merror: [0m[1munknown type name 'NS_ASSUME_NONNULL_BEGIN'[0m
3 | NS_ASSUME_NONNULL_BEGIN[0m
| [0;1;32m^
[0m[1m/host/spi-builder-workspace/Segment/Classes/SEGAnalyticsUtils.h:7:26: [0m[0;1;31merror: [0m[1munknown type name 'BOOL'[0m
7 | [0;34mvoid[0m SEGSetShowDebugLogs(BOOL showDebugLogs);[0m
| [0;1;32m ^
[0m[1m/host/spi-builder-workspace/Segment/Classes/SEGAnalyticsUtils.h:8:13: [0m[0;1;31merror: [0m[1munknown type name 'NSString'[0m
8 | [0;34mvoid[0m SEGLog(NSString *format, ...);[0m
| [0;1;32m ^
[0m[1m/host/spi-builder-workspace/Segment/Classes/SEGAnalyticsUtils.h:14:1: [0m[0;1;31merror: [0m[1mexpected function body after function declarator[0m
14 | @protocol SEGSerializable[0m
| [0;1;32m^
[0m[1m/host/spi-builder-workspace/Segment/Classes/SEGAnalyticsUtils.h:21:1: [0m[0;1;31merror: [0m[1m'@end' must appear in an Objective-C context[0m
21 | @end[0m
| [0;1;32m^
[0m[1m/host/spi-builder-workspace/Segment/Classes/SEGAnalyticsUtils.h:24:1: [0m[0;1;31merror: [0m[1munknown type name 'NS_ASSUME_NONNULL_END'[0m
24 | NS_ASSUME_NONNULL_END[0m
| [0;1;32m^
[0mIn file included from /host/spi-builder-workspace/Segment/Internal/SEGUserDefaultsStorage.m:9:
In file included from /host/spi-builder-workspace/Segment/Internal/SEGUtils.h:8:
[1m/host/spi-builder-workspace/Segment/Classes/SEGSerializableValue.h:9:2: [0m[0;1;31merror: [0m[1mprefix attribute must be followed by an interface, protocol, or implementation[0m
9 | @import Foundation;[0m
| [0;1;32m ^
[0mIn file included from /host/spi-builder-workspace/Segment/Internal/SEGUserDefaultsStorage.m:9:
[1m/host/spi-builder-workspace/Segment/Internal/SEGUtils.h:10:1: [0m[0;1;31merror: [0m[1munknown type name 'NS_ASSUME_NONNULL_BEGIN'[0m
10 | NS_ASSUME_NONNULL_BEGIN[0m
| [0;1;32m^
[0m[1m/host/spi-builder-workspace/Segment/Internal/SEGUtils.h:12:2: [0m[0;1;31merror: [0m[1mprefix attribute must be followed by an interface, protocol, or implementation[0m
12 | @class SEGAnalyticsConfiguration;[0m
| [0;1;32m ^
[0m[1m/host/spi-builder-workspace/Segment/Internal/SEGUtils.h:16:1: [0m[0;1;31merror: [0m[1mexpected function body after function declarator[0m
16 | @interface SEGUtils : NSObject[0m
| [0;1;32m^
[0m[1m/host/spi-builder-workspace/Segment/Internal/SEGUtils.h:19:12: [0m[0;1;31merror: [0m[1mexpected a type[0m
19 | + (nonnull NSString *)getAPIHost;[0m
| [0;1;32m ^
[0m[1m/host/spi-builder-workspace/Segment/Internal/SEGUtils.h:19:1: [0m[0;1;31merror: [0m[1mmissing context for method declaration[0m
19 | + (nonnull NSString *)getAPIHost;[0m
| [0;1;32m^
[0m[1m/host/spi-builder-workspace/Segment/Internal/SEGUtils.h:20:1: [0m[0;1;31merror: [0m[1mexpected method body[0m
20 | + (nullable NSURL *)getAPIHostURL;[0m
| [0;1;32m^
[0m[1m/host/spi-builder-workspace/Segment/Internal/SEGUtils.h:22:4: [0m[0;1;31merror: [0m[1mexpected a type[0m
22 | + (NSData *[0;34m_Nullable[0m)dataFromPlist:(nonnull id)plist;[0m
| [0;1;32m ^
[0m[1m/host/spi-builder-workspace/Segment/Internal/SEGUtils.h:22:1: [0m[0;1;31merror: [0m[1mmissing context for method declaration[0m
22 | + (NSData *[0;34m_Nullable[0m)dataFromPlist:(nonnull id)plist;[0m
| [0;1;32m^
[0m[1m/host/spi-builder-workspace/Segment/Internal/SEGUtils.h:23:1: [0m[0;1;31merror: [0m[1mexpected method body[0m
23 | + (id [0;34m_Nullable[0m)plistFromData:(NSData *)data;[0m
| [0;1;32m^
[0m[1m/host/spi-builder-workspace/Segment/Internal/SEGUtils.h:25:74: [0m[0;1;31merror: [0m[1mexpected a type[0m
25 | + (id [0;34m_Nullable[0m)traverseJSON:(id [0;34m_Nullable[0m)object andReplaceWithFilters:(NSDictionary<NSString*, NSString*>*)patterns;[0m
| [0;1;32m ^
[0m[0;1;31mfatal error: [0m[1mtoo many errors emitted, stopping now [-ferror-limit=][0m
20 errors generated.
error: CompileC /host/spi-builder-workspace/.build/out/Intermediates.noindex/Segment.build/Debug-webassembly-wasm32/Segment-t.build/Objects-normal/wasm32/SEGUserDefaultsStorage.o /host/spi-builder-workspace/Segment/Internal/SEGUserDefaultsStorage.m normal wasm32 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-webassembly-wasm32/Segment-t.build/Objects-normal/wasm32/6f95552a3397ee1cec971b90cf334075d5f321c3a3b0689ad55c3d1e24702600-common-args.resp
/usr/bin/clang -x objective-c -target wasm32-unknown-wasip1 -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 /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/WASI.sdk @/host/spi-builder-workspace/.build/out/Intermediates.noindex/Segment.build/Debug-webassembly-wasm32/Segment-t.build/Objects-normal/wasm32/6f95552a3397ee1cec971b90cf334075d5f321c3a3b0689ad55c3d1e24702600-common-args.resp -MMD -MT dependencies -MF /host/spi-builder-workspace/.build/out/Intermediates.noindex/Segment.build/Debug-webassembly-wasm32/Segment-t.build/Objects-normal/wasm32/SEGUserDefaultsStorage.d --serialize-diagnostics /host/spi-builder-workspace/.build/out/Intermediates.noindex/Segment.build/Debug-webassembly-wasm32/Segment-t.build/Objects-normal/wasm32/SEGUserDefaultsStorage.dia -c /host/spi-builder-workspace/Segment/Internal/SEGUserDefaultsStorage.m -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/Segment.build/Debug-webassembly-wasm32/Segment-t.build/Objects-normal/wasm32/SEGUserDefaultsStorage.o
In file included from /host/spi-builder-workspace/Segment/Internal/SEGUtils.m:6:
[1m/host/spi-builder-workspace/Segment/Internal/SEGUtils.h:6:1: [0m[0;1;31merror: [0m[1muse of '@import' when modules are disabled[0m
6 | @import Foundation;[0m
| [0;1;32m^
[0mIn file included from /host/spi-builder-workspace/Segment/Internal/SEGUtils.m:6:
In file included from /host/spi-builder-workspace/Segment/Internal/SEGUtils.h:7:
[1m/host/spi-builder-workspace/Segment/Classes/SEGAnalyticsUtils.h:1:1: [0m[0;1;31merror: [0m[1muse of '@import' when modules are disabled[0m
1 | @import Foundation;[0m
| [0;1;32m^
[0m[1m/host/spi-builder-workspace/Segment/Classes/SEGAnalyticsUtils.h:3:1: [0m[0;1;31merror: [0m[1munknown type name 'NS_ASSUME_NONNULL_BEGIN'[0m
3 | NS_ASSUME_NONNULL_BEGIN[0m
| [0;1;32m^
[0m[1m/host/spi-builder-workspace/Segment/Classes/SEGAnalyticsUtils.h:7:26: [0m[0;1;31merror: [0m[1munknown type name 'BOOL'[0m
7 | [0;34mvoid[0m SEGSetShowDebugLogs(BOOL showDebugLogs);[0m
| [0;1;32m ^
[0m[1m/host/spi-builder-workspace/Segment/Classes/SEGAnalyticsUtils.h:8:13: [0m[0;1;31merror: [0m[1munknown type name 'NSString'[0m
8 | [0;34mvoid[0m SEGLog(NSString *format, ...);[0m
| [0;1;32m ^
[0m[1m/host/spi-builder-workspace/Segment/Classes/SEGAnalyticsUtils.h:14:1: [0m[0;1;31merror: [0m[1mexpected function body after function declarator[0m
14 | @protocol SEGSerializable[0m
| [0;1;32m^
[0m[1m/host/spi-builder-workspace/Segment/Classes/SEGAnalyticsUtils.h:21:1: [0m[0;1;31merror: [0m[1m'@end' must appear in an Objective-C context[0m
21 | @end[0m
| [0;1;32m^
[0m[1m/host/spi-builder-workspace/Segment/Classes/SEGAnalyticsUtils.h:24:1: [0m[0;1;31merror: [0m[1munknown type name 'NS_ASSUME_NONNULL_END'[0m
24 | NS_ASSUME_NONNULL_END[0m
| [0;1;32m^
[0mIn file included from /host/spi-builder-workspace/Segment/Internal/SEGUtils.m:6:
In file included from /host/spi-builder-workspace/Segment/Internal/SEGUtils.h:8:
[1m/host/spi-builder-workspace/Segment/Classes/SEGSerializableValue.h:9:2: [0m[0;1;31merror: [0m[1mprefix attribute must be followed by an interface, protocol, or implementation[0m
9 | @import Foundation;[0m
| [0;1;32m ^
[0mIn file included from /host/spi-builder-workspace/Segment/Internal/SEGUtils.m:6:
[1m/host/spi-builder-workspace/Segment/Internal/SEGUtils.h:10:1: [0m[0;1;31merror: [0m[1munknown type name 'NS_ASSUME_NONNULL_BEGIN'[0m
10 | NS_ASSUME_NONNULL_BEGIN[0m
| [0;1;32m^
[0m[1m/host/spi-builder-workspace/Segment/Internal/SEGUtils.h:12:2: [0m[0;1;31merror: [0m[1mprefix attribute must be followed by an interface, protocol, or implementation[0m
12 | @class SEGAnalyticsConfiguration;[0m
| [0;1;32m ^
[0m[1m/host/spi-builder-workspace/Segment/Internal/SEGUtils.h:16:1: [0m[0;1;31merror: [0m[1mexpected function body after function declarator[0m
16 | @interface SEGUtils : NSObject[0m
| [0;1;32m^
[0m[1m/host/spi-builder-workspace/Segment/Internal/SEGUtils.h:19:12: [0m[0;1;31merror: [0m[1mexpected a type[0m
19 | + (nonnull NSString *)getAPIHost;[0m
| [0;1;32m ^
[0m[1m/host/spi-builder-workspace/Segment/Internal/SEGUtils.h:19:1: [0m[0;1;31merror: [0m[1mmissing context for method declaration[0m
19 | + (nonnull NSString *)getAPIHost;[0m
| [0;1;32m^
[0m[1m/host/spi-builder-workspace/Segment/Internal/SEGUtils.h:20:1: [0m[0;1;31merror: [0m[1mexpected method body[0m
20 | + (nullable NSURL *)getAPIHostURL;[0m
| [0;1;32m^
[0m[1m/host/spi-builder-workspace/Segment/Internal/SEGUtils.h:22:4: [0m[0;1;31merror: [0m[1mexpected a type[0m
22 | + (NSData *[0;34m_Nullable[0m)dataFromPlist:(nonnull id)plist;[0m
| [0;1;32m ^
[0m[1m/host/spi-builder-workspace/Segment/Internal/SEGUtils.h:22:1: [0m[0;1;31merror: [0m[1mmissing context for method declaration[0m
22 | + (NSData *[0;34m_Nullable[0m)dataFromPlist:(nonnull id)plist;[0m
| [0;1;32m^
[0m[1m/host/spi-builder-workspace/Segment/Internal/SEGUtils.h:23:1: [0m[0;1;31merror: [0m[1mexpected method body[0m
23 | + (id [0;34m_Nullable[0m)plistFromData:(NSData *)data;[0m
| [0;1;32m^
[0m[1m/host/spi-builder-workspace/Segment/Internal/SEGUtils.h:25:74: [0m[0;1;31merror: [0m[1mexpected a type[0m
25 | + (id [0;34m_Nullable[0m)traverseJSON:(id [0;34m_Nullable[0m)object andReplaceWithFilters:(NSDictionary<NSString*, NSString*>*)patterns;[0m
| [0;1;32m ^
[0m[0;1;31mfatal error: [0m[1mtoo many errors emitted, stopping now [-ferror-limit=][0m
20 errors generated.
error: CompileC /host/spi-builder-workspace/.build/out/Intermediates.noindex/Segment.build/Debug-webassembly-wasm32/Segment-t.build/Objects-normal/wasm32/SEGUtils.o /host/spi-builder-workspace/Segment/Internal/SEGUtils.m normal wasm32 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-webassembly-wasm32/Segment-t.build/Objects-normal/wasm32/6f95552a3397ee1cec971b90cf334075d5f321c3a3b0689ad55c3d1e24702600-common-args.resp
/usr/bin/clang -x objective-c -target wasm32-unknown-wasip1 -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 /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/WASI.sdk @/host/spi-builder-workspace/.build/out/Intermediates.noindex/Segment.build/Debug-webassembly-wasm32/Segment-t.build/Objects-normal/wasm32/6f95552a3397ee1cec971b90cf334075d5f321c3a3b0689ad55c3d1e24702600-common-args.resp -MMD -MT dependencies -MF /host/spi-builder-workspace/.build/out/Intermediates.noindex/Segment.build/Debug-webassembly-wasm32/Segment-t.build/Objects-normal/wasm32/SEGUtils.d --serialize-diagnostics /host/spi-builder-workspace/.build/out/Intermediates.noindex/Segment.build/Debug-webassembly-wasm32/Segment-t.build/Objects-normal/wasm32/SEGUtils.dia -c /host/spi-builder-workspace/Segment/Internal/SEGUtils.m -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/Segment.build/Debug-webassembly-wasm32/Segment-t.build/Objects-normal/wasm32/SEGUtils.o
In file included from /host/spi-builder-workspace/Segment/Internal/SEGState.m:9:
[1m/host/spi-builder-workspace/Segment/Internal/SEGState.h:9:1: [0m[0;1;31merror: [0m[1muse of '@import' when modules are disabled[0m
9 | @import Foundation;[0m
| [0;1;32m^
[0m[1m/host/spi-builder-workspace/Segment/Internal/SEGState.h:11:1: [0m[0;1;31merror: [0m[1munknown type name 'NS_ASSUME_NONNULL_BEGIN'[0m
11 | NS_ASSUME_NONNULL_BEGIN[0m
| [0;1;32m^
[0m[1m/host/spi-builder-workspace/Segment/Internal/SEGState.h:13:2: [0m[0;1;31merror: [0m[1mprefix attribute must be followed by an interface, protocol, or implementation[0m
13 | @class SEGAnalyticsConfiguration;[0m
| [0;1;32m ^
[0m[1m/host/spi-builder-workspace/Segment/Internal/SEGState.h:15:25: [0m[0;1;31merror: [0m[1mcannot find interface declaration for 'NSObject', superclass of 'SEGUserInfo'[0m
15 | @interface SEGUserInfo: NSObject[0m
| [0;1;32m~~~~~~~~~~~~~~~~~~~~~~ ^
[0m[1m/host/spi-builder-workspace/Segment/Internal/SEGState.h:16:31: [0m[0;1;31merror: [0m[1munknown type name 'NSString'[0m
16 | @property (nonatomic, strong) NSString *anonymousId;[0m
| [0;1;32m ^
[0m[1m/host/spi-builder-workspace/Segment/Internal/SEGState.h:16:1: [0m[0;1;31merror: [0m[1mproperty with 'retain (or strong)' attribute must be of object type[0m
16 | @property (nonatomic, strong) NSString *anonymousId;[0m
| [0;1;32m^
[0m[1m/host/spi-builder-workspace/Segment/Internal/SEGState.h:17:41: [0m[0;1;31merror: [0m[1munknown type name 'NSString'[0m
17 | @property (nonatomic, strong, nullable) NSString *userId;[0m
| [0;1;32m ^
[0m[1m/host/spi-builder-workspace/Segment/Internal/SEGState.h:16:40: [0m[0;1;35mwarning: [0m[1mpointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness][0m
16 | @property (nonatomic, strong) NSString *anonymousId;[0m
| [0;1;32m ^
[0m[1m/host/spi-builder-workspace/Segment/Internal/SEGState.h:16:40: [0m[0;1;36mnote: [0minsert '_Nullable' if the pointer may be null[0m
16 | @property (nonatomic, strong) NSString *anonymousId;[0m
| [0;1;32m ^
[0m | [0;32m _Nullable
[0m[1m/host/spi-builder-workspace/Segment/Internal/SEGState.h:16:40: [0m[0;1;36mnote: [0minsert '_Nonnull' if the pointer should never be null[0m
16 | @property (nonatomic, strong) NSString *anonymousId;[0m
| [0;1;32m ^
[0m | [0;32m _Nonnull
[0m[1m/host/spi-builder-workspace/Segment/Internal/SEGState.h:17:1: [0m[0;1;31merror: [0m[1mproperty with 'retain (or strong)' attribute must be of object type[0m
17 | @property (nonatomic, strong, nullable) NSString *userId;[0m
| [0;1;32m^
[0m[1m/host/spi-builder-workspace/Segment/Internal/SEGState.h:18:41: [0m[0;1;31merror: [0m[1munknown type name 'NSDictionary'[0m
18 | @property (nonatomic, strong, nullable) NSDictionary *traits;[0m
| [0;1;32m ^
[0m[1m/host/spi-builder-workspace/Segment/Internal/SEGState.h:18:1: [0m[0;1;31merror: [0m[1mproperty with 'retain (or strong)' attribute must be of object type[0m
18 | @property (nonatomic, strong, nullable) NSDictionary *traits;[0m
| [0;1;32m^
[0m[1m/host/spi-builder-workspace/Segment/Internal/SEGState.h:21:31: [0m[0;1;31merror: [0m[1mcannot find interface declaration for 'NSObject', superclass of 'SEGPayloadContext'[0m
21 | @interface SEGPayloadContext: NSObject[0m
| [0;1;32m~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
[0m[1m/host/spi-builder-workspace/Segment/Internal/SEGState.h:22:33: [0m[0;1;31merror: [0m[1munknown type name 'NSDictionary'[0m
22 | @property (nonatomic, readonly) NSDictionary *payload;[0m
| [0;1;32m ^
[0m[1m/host/spi-builder-workspace/Segment/Internal/SEGState.h:22:46: [0m[0;1;35mwarning: [0m[1mpointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness][0m
22 | @property (nonatomic, readonly) NSDictionary *payload;[0m
| [0;1;32m ^
[0m[1m/host/spi-builder-workspace/Segment/Internal/SEGState.h:22:46: [0m[0;1;36mnote: [0minsert '_Nullable' if the pointer may be null[0m
22 | @property (nonatomic, readonly) NSDictionary *payload;[0m
| [0;1;32m ^
[0m | [0;32m _Nullable
[0m[1m/host/spi-builder-workspace/Segment/Internal/SEGState.h:22:46: [0m[0;1;36mnote: [0minsert '_Nonnull' if the pointer should never be null[0m
22 | @property (nonatomic, readonly) NSDictionary *payload;[0m
| [0;1;32m ^
[0m | [0;32m _Nonnull
[0m[1m/host/spi-builder-workspace/Segment/Internal/SEGState.h:23:41: [0m[0;1;31merror: [0m[1munknown type name 'NSDictionary'[0m
23 | @property (nonatomic, strong, nullable) NSDictionary *referrer;[0m
| [0;1;32m ^
[0m[1m/host/spi-builder-workspace/Segment/Internal/SEGState.h:23:1: [0m[0;1;31merror: [0m[1mproperty with 'retain (or strong)' attribute must be of object type[0m
23 | @property (nonatomic, strong, nullable) NSDictionary *referrer;[0m
| [0;1;32m^
[0m[1m/host/spi-builder-workspace/Segment/Internal/SEGState.h:24:41: [0m[0;1;31merror: [0m[1munknown type name 'NSString'[0m
24 | @property (nonatomic, strong, nullable) NSString *deviceToken;[0m
| [0;1;32m ^
[0m[1m/host/spi-builder-workspace/Segment/Internal/SEGState.h:24:1: [0m[0;1;31merror: [0m[1mproperty with 'retain (or strong)' attribute must be of object type[0m
24 | @property (nonatomic, strong, nullable) NSString *deviceToken;[0m
| [0;1;32m^
[0m[1m/host/spi-builder-workspace/Segment/Internal/SEGState.h:32:23: [0m[0;1;31merror: [0m[1mcannot find interface declaration for 'NSObject', superclass of 'SEGState'[0m
32 | @interface SEGState : NSObject[0m
| [0;1;32m~~~~~~~~~~~~~~~~~~~ ^
[0m[1m/host/spi-builder-workspace/Segment/Internal/SEGState.h:34:45: [0m[0;1;35mwarning: [0m[1mpointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness][0m
34 | @property (nonatomic, readonly) SEGUserInfo *userInfo;[0m
| [0;1;32m ^
[0m[1m/host/spi-builder-workspace/Segment/Internal/SEGState.h:34:45: [0m[0;1;36mnote: [0minsert '_Nullable' if the pointer may be null[0m
34 | @property (nonatomic, readonly) SEGUserInfo *userInfo;[0m
| [0;1;32m ^
[0m | [0;32m _Nullable
[0m[1m/host/spi-builder-workspace/Segment/Internal/SEGState.h:34:45: [0m[0;1;36mnote: [0minsert '_Nonnull' if the pointer should never be null[0m
34 | @property (nonatomic, readonly) SEGUserInfo *userInfo;[0m
| [0;1;32m ^
[0m | [0;32m _Nonnull
[0m[1m/host/spi-builder-workspace/Segment/Internal/SEGState.h:35:51: [0m[0;1;35mwarning: [0m[1mpointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness][0m
35 | @property (nonatomic, readonly) SEGPayloadContext *context;[0m
| [0;1;32m ^
[0m[1m/host/spi-builder-workspace/Segment/Internal/SEGState.h:35:51: [0m[0;1;36mnote: [0minsert '_Nullable' if the pointer may be null[0m
35 | @property (nonatomic, readonly) SEGPayloadContext *context;[0m
| [0;1;32m ^
[0m | [0;32m _Nullable
[0m[1m/host/spi-builder-workspace/Segment/Internal/SEGState.h:35:51: [0m[0;1;36mnote: [0minsert '_Nonnull' if the pointer should never be null[0m
35 | @property (nonatomic, readonly) SEGPayloadContext *context;[0m
| [0;1;32m ^
[0m | [0;32m _Nonnull
[0m[1m/host/spi-builder-workspace/Segment/Internal/SEGState.h:37:41: [0m[0;1;31merror: [0m[1munknown type name 'SEGAnalyticsConfiguration'[0m
37 | @property (nonatomic, strong, nullable) SEGAnalyticsConfiguration *configuration;[0m
| [0;1;32m ^
[0m[1m/host/spi-builder-workspace/Segment/Internal/SEGState.h:37:1: [0m[0;1;31merror: [0m[1mproperty with 'retain (or strong)' attribute must be of object type[0m
37 | @property (nonatomic, strong, nullable) SEGAnalyticsConfiguration *configuration;[0m
| [0;1;32m^
[0m[1m/host/spi-builder-workspace/Segment/Internal/SEGState.h:39:4: [0m[0;1;35mwarning: [0m[1mpointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness][0m
39 | + (instancetype)sharedInstance;[0m
| [0;1;32m ^
[0m[1m/host/spi-builder-workspace/Segment/Internal/SEGState.h:39:4: [0m[0;1;36mnote: [0minsert '_Nullable' if the pointer may be null[0m
39 | + (instancetype)sharedInstance;[0m
| [0;1;32m ^
[0m | [0;32m _Nullable
[0m[1m/host/spi-builder-workspace/Segment/Internal/SEGState.h:39:4: [0m[0;1;36mnote: [0minsert '_Nonnull' if the pointer should never be null[0m
39 | + (instancetype)sharedInstance;[0m
| [0;1;32m ^
[0m | [0;32m _Nonnull
[0m[1m/host/spi-builder-workspace/Segment/Internal/SEGState.h:40:4: [0m[0;1;35mwarning: [0m[1mpointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness][0m
40 | - (instancetype)init __unavailable;[0m
| [0;1;32m ^
[0m[1m/host/spi-builder-workspace/Segment/Internal/SEGState.h:40:4: [0m[0;1;36mnote: [0minsert '_Nullable' if the pointer may be null[0m
40 | - (instancetype)init __unavailable;[0m
| [0;1;32m ^
[0m | [0;32m _Nullable
[0m[1m/host/spi-builder-workspace/Segment/Internal/SEGState.h:40:4: [0m[0;1;36mnote: [0minsert '_Nonnull' if the pointer should never be null[0m
40 | - (instancetype)init __unavailable;[0m
| [0;1;32m ^
[0m | [0;32m _Nonnull
[0m[0;1;31mfatal error: [0m[1mtoo many errors emitted, stopping now [-ferror-limit=][0m
6 warnings and 20 errors generated.
error: CompileC /host/spi-builder-workspace/.build/out/Intermediates.noindex/Segment.build/Debug-webassembly-wasm32/Segment-t.build/Objects-normal/wasm32/SEGState.o /host/spi-builder-workspace/Segment/Internal/SEGState.m normal wasm32 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-webassembly-wasm32/Segment-t.build/Objects-normal/wasm32/6f95552a3397ee1cec971b90cf334075d5f321c3a3b0689ad55c3d1e24702600-common-args.resp
/usr/bin/clang -x objective-c -target wasm32-unknown-wasip1 -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 /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/WASI.sdk @/host/spi-builder-workspace/.build/out/Intermediates.noindex/Segment.build/Debug-webassembly-wasm32/Segment-t.build/Objects-normal/wasm32/6f95552a3397ee1cec971b90cf334075d5f321c3a3b0689ad55c3d1e24702600-common-args.resp -MMD -MT dependencies -MF /host/spi-builder-workspace/.build/out/Intermediates.noindex/Segment.build/Debug-webassembly-wasm32/Segment-t.build/Objects-normal/wasm32/SEGState.d --serialize-diagnostics /host/spi-builder-workspace/.build/out/Intermediates.noindex/Segment.build/Debug-webassembly-wasm32/Segment-t.build/Objects-normal/wasm32/SEGState.dia -c /host/spi-builder-workspace/Segment/Internal/SEGState.m -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/Segment.build/Debug-webassembly-wasm32/Segment-t.build/Objects-normal/wasm32/SEGState.o
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:
[1m/host/spi-builder-workspace/Segment/Classes/SEGSerializableValue.h:9:1: [0m[0;1;31merror: [0m[1muse of '@import' when modules are disabled[0m
9 | @import Foundation;[0m
| [0;1;32m^
[0m[1m/host/spi-builder-workspace/Segment/Internal/UIViewController+SEGScreen.m:2:9: [0m[0;1;31mfatal error: [0m[1m'objc/runtime.h' file not found[0m
2 | #import <objc/runtime.h>[0m
| [0;1;32m ^~~~~~~~~~~~~~~~
[0m2 errors generated.
error: CompileC /host/spi-builder-workspace/.build/out/Intermediates.noindex/Segment.build/Debug-webassembly-wasm32/Segment-t.build/Objects-normal/wasm32/UIViewController+SEGScreen.o /host/spi-builder-workspace/Segment/Internal/UIViewController+SEGScreen.m normal wasm32 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-webassembly-wasm32/Segment-t.build/Objects-normal/wasm32/6f95552a3397ee1cec971b90cf334075d5f321c3a3b0689ad55c3d1e24702600-common-args.resp
/usr/bin/clang -x objective-c -target wasm32-unknown-wasip1 -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 /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/WASI.sdk @/host/spi-builder-workspace/.build/out/Intermediates.noindex/Segment.build/Debug-webassembly-wasm32/Segment-t.build/Objects-normal/wasm32/6f95552a3397ee1cec971b90cf334075d5f321c3a3b0689ad55c3d1e24702600-common-args.resp -MMD -MT dependencies -MF /host/spi-builder-workspace/.build/out/Intermediates.noindex/Segment.build/Debug-webassembly-wasm32/Segment-t.build/Objects-normal/wasm32/UIViewController+SEGScreen.d --serialize-diagnostics /host/spi-builder-workspace/.build/out/Intermediates.noindex/Segment.build/Debug-webassembly-wasm32/Segment-t.build/Objects-normal/wasm32/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-webassembly-wasm32/Segment-t.build/Objects-normal/wasm32/UIViewController+SEGScreen.o
error: Build failed
BUILD FAILURE 6.4 wasm