Build Information
Failed to build AblyChat, reference main (37afde
), with Swift 6.1 for Android on 12 Sep 2025 10:48:59 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ably/ably-chat-swift.git
Reference: main
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/ably/ably-chat-swift
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 37afde8 Adds new getting started link (#352)
Submodule path 'Tests/AblyChatTests/ably-common': checked out '60fd9cf106abb1d6292fdd87d63ea33c552c8f33'
Submodule 'Tests/AblyChatTests/ably-common' (https://github.com/ably/ably-common) registered for path 'Tests/AblyChatTests/ably-common'
Cloning into '/host/spi-builder-workspace/Tests/AblyChatTests/ably-common'...
Cloned https://github.com/ably/ably-chat-swift.git
Revision (git rev-parse @):
37afde8158c0379ad5b19ccfd21d089846942cf0
SUCCESS checkout https://github.com/ably/ably-chat-swift.git at main
========================================
Build
========================================
Selected platform: android
Swift version: 6.1
Building package at path: $PWD
https://github.com/ably/ably-chat-swift.git
https://github.com/ably/ably-chat-swift.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "ably-cocoa",
"requirement" : {
"range" : [
{
"lower_bound" : "1.2.41",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/ably/ably-cocoa"
},
{
"identity" : "swift-argument-parser",
"requirement" : {
"range" : [
{
"lower_bound" : "1.5.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-argument-parser"
},
{
"identity" : "swift-async-algorithms",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.1",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-async-algorithms"
},
{
"identity" : "table",
"requirement" : {
"range" : [
{
"lower_bound" : "1.1.1",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/JanGorman/Table.git"
},
{
"identity" : "swift-docc-plugin",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-docc-plugin"
},
{
"identity" : "semaphore",
"requirement" : {
"range" : [
{
"lower_bound" : "0.1.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/groue/Semaphore"
},
{
"identity" : "swift-clocks",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/pointfreeco/swift-clocks"
}
],
"manifest_display_name" : "AblyChat",
"name" : "AblyChat",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "11.0"
},
{
"name" : "ios",
"version" : "14.0"
},
{
"name" : "tvos",
"version" : "14.0"
}
],
"products" : [
{
"name" : "AblyChat",
"targets" : [
"AblyChat"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "BuildTool",
"targets" : [
"BuildTool"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "BuildTool",
"module_type" : "SwiftTarget",
"name" : "BuildTool",
"path" : "Sources/BuildTool",
"product_dependencies" : [
"ArgumentParser",
"AsyncAlgorithms",
"Table"
],
"product_memberships" : [
"BuildTool"
],
"sources" : [
"BuildTool.swift",
"Configuration.swift",
"DestinationFetcher.swift",
"DestinationPredicate.swift",
"DestinationSpecifier.swift",
"DestinationStrategy.swift",
"Error.swift",
"Platform.swift",
"ProcessRunner.swift",
"String+Decoding.swift",
"XcodeRunner.swift"
],
"type" : "executable"
},
{
"c99name" : "AblyChatTests",
"module_type" : "SwiftTarget",
"name" : "AblyChatTests",
"path" : "Tests/AblyChatTests",
"product_dependencies" : [
"AsyncAlgorithms",
"Clocks",
"Semaphore"
],
"resources" : [
{
"path" : "/host/spi-builder-workspace/Tests/AblyChatTests/ably-common",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"ChatAPITests.swift",
"DefaultChatClientTests.swift",
"DefaultInternalLoggerTests.swift",
"DefaultMessageReactionsTests.swift",
"DefaultMessagesTests.swift",
"DefaultPresenceTests.swift",
"DefaultRoomLifecycleManagerTests.swift",
"DefaultRoomOccupancyTests.swift",
"DefaultRoomReactionsTests.swift",
"DefaultRoomTests.swift",
"DefaultRoomsTests.swift",
"DefaultTypingTests.swift",
"Helpers/Helpers.swift",
"Helpers/RoomLifecycleManager+AsyncSequence.swift",
"Helpers/Sandbox.swift",
"Helpers/SubscriptionAsyncSequence+RoomStatus.swift",
"Helpers/SynchronizedAccess.swift",
"Helpers/TestLogger.swift",
"IntegrationTests.swift",
"InternalErrorTests.swift",
"InternalLoggerTests.swift",
"JSONValueTests.swift",
"MessageSubscriptionAsyncSequenceTests.swift",
"Mocks/MockChannels.swift",
"Mocks/MockConnection.swift",
"Mocks/MockHTTPPaginatedResponse.swift",
"Mocks/MockInternalLogger.swift",
"Mocks/MockInternalRealtimeClientFactory.swift",
"Mocks/MockLogHandler.swift",
"Mocks/MockRealtime.swift",
"Mocks/MockRealtimeAnnotations.swift",
"Mocks/MockRealtimeChannel.swift",
"Mocks/MockRealtimePresence.swift",
"Mocks/MockRoom.swift",
"Mocks/MockRoomFactory.swift",
"Mocks/MockRoomLifecycleManager.swift",
"Mocks/MockRoomLifecycleManagerFactory.swift",
"Mocks/MockSimpleClock.swift",
"Mocks/MockSuppliedRealtime.swift",
"Mocks/MockTestClock.swift",
"RoomOptionsTests.swift",
"RoomReactionDTOTests.swift",
"SubscriptionAsyncSequenceTests.swift",
"SubscriptionStorageTests.swift",
"TypingOperationQueueTests.swift",
"TypingTimerManagerTests.swift"
],
"target_dependencies" : [
"AblyChat"
],
"type" : "test"
},
{
"c99name" : "AblyChat",
"module_type" : "SwiftTarget",
"name" : "AblyChat",
"path" : "Sources/AblyChat",
"product_dependencies" : [
"Ably"
],
"product_memberships" : [
"AblyChat"
],
"sources" : [
"AblyCocoaExtensions/Ably+Dependencies.swift",
"AblyCocoaExtensions/InternalAblyCocoaTypes.swift",
"BufferingPolicy.swift",
"ChatAPI.swift",
"ChatClient.swift",
"ClockProtocol.swift",
"Connection.swift",
"DefaultConnection.swift",
"DefaultMessageReactions.swift",
"DefaultMessages.swift",
"DefaultOccupancy.swift",
"DefaultPresence.swift",
"DefaultRoomReactions.swift",
"DefaultTyping.swift",
"Dependencies.swift",
"DiscontinuityEvent.swift",
"Errors.swift",
"Events.swift",
"Extensions/Dictionary+Extensions.swift",
"Headers.swift",
"InternalError.swift",
"InternalRawRepresentable.swift",
"JSONCodable.swift",
"JSONValue.swift",
"Logging.swift",
"Message.swift",
"MessageReaction+JSON.swift",
"MessageReaction.swift",
"MessageReactions.swift",
"Messages.swift",
"Metadata.swift",
"Occupancy.swift",
"PaginatedResult.swift",
"Presence.swift",
"Room.swift",
"RoomFeature.swift",
"RoomLifecycleManager.swift",
"RoomOptions.swift",
"RoomReaction.swift",
"RoomReactionDTO.swift",
"RoomReactions.swift",
"RoomStatus.swift",
"Rooms.swift",
"SimpleClock.swift",
"Subscription.swift",
"SubscriptionAsyncSequence.swift",
"SubscriptionStorage.swift",
"TimerManager.swift",
"Typing.swift",
"TypingOperationQueue.swift",
"TypingTimerManager.swift",
"Version.swift"
],
"type" : "library"
}
],
"tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:8106a39f56f5bb7aad9f0d9a94f1e5362f9a40b692f7bc17efe17b7b91dc65fc
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/groue/Semaphore
Fetching https://github.com/pointfreeco/swift-clocks
[1/293] Fetching semaphore
[294/2387] Fetching semaphore, swift-docc-plugin
[525/18322] Fetching semaphore, swift-docc-plugin, swift-argument-parser
[1184/19614] Fetching semaphore, swift-docc-plugin, swift-argument-parser, swift-clocks
Fetched https://github.com/groue/Semaphore from cache (0.45s)
Fetched https://github.com/pointfreeco/swift-clocks from cache (0.45s)
[6875/18029] Fetching swift-docc-plugin, swift-argument-parser
Fetching https://github.com/ably/ably-cocoa
Fetched https://github.com/apple/swift-docc-plugin from cache (0.56s)
Fetching https://github.com/JanGorman/Table.git
Fetching https://github.com/apple/swift-async-algorithms
Fetched https://github.com/apple/swift-argument-parser from cache (0.83s)
[1/139] Fetching table
[97/46893] Fetching table, ably-cocoa
[2903/52274] Fetching table, ably-cocoa, swift-async-algorithms
Fetched https://github.com/JanGorman/Table.git from cache (0.49s)
[21745/52135] Fetching ably-cocoa, swift-async-algorithms
Fetched https://github.com/apple/swift-async-algorithms from cache (0.49s)
[16832/46754] Fetching ably-cocoa
Fetched https://github.com/ably/ably-cocoa from cache (3.89s)
Computing version for https://github.com/groue/Semaphore
Computed https://github.com/groue/Semaphore at 0.1.0 (4.99s)
Computing version for https://github.com/JanGorman/Table.git
Computed https://github.com/JanGorman/Table.git at 1.1.1 (2.35s)
Computing version for https://github.com/apple/swift-async-algorithms
Computed https://github.com/apple/swift-async-algorithms at 1.0.4 (0.70s)
Fetching https://github.com/apple/swift-collections.git
[1/17453] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.65s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.6.1 (2.34s)
Computing version for https://github.com/ably/ably-cocoa
Computed https://github.com/ably/ably-cocoa at 1.2.44 (0.64s)
Fetching https://github.com/ably/delta-codec-cocoa
Fetching https://github.com/ably/ably-cocoa-plugin-support
Fetching https://github.com/rvi/msgpack-objective-C
[1/32] Fetching ably-cocoa-plugin-support
[33/629] Fetching ably-cocoa-plugin-support, delta-codec-cocoa
[422/1135] Fetching ably-cocoa-plugin-support, delta-codec-cocoa, msgpack-objective-c
Fetched https://github.com/rvi/msgpack-objective-C from cache (0.29s)
Fetched https://github.com/ably/ably-cocoa-plugin-support from cache (0.29s)
Fetched https://github.com/ably/delta-codec-cocoa from cache (0.29s)
Computing version for https://github.com/ably/ably-cocoa-plugin-support
Computed https://github.com/ably/ably-cocoa-plugin-support at 0.1.0 (0.92s)
Computing version for https://github.com/ably/delta-codec-cocoa
Computed https://github.com/ably/delta-codec-cocoa at 1.3.3 (0.64s)
Computing version for https://github.com/rvi/msgpack-objective-C
Computed https://github.com/rvi/msgpack-objective-C at 0.4.0 (0.61s)
Computing version for https://github.com/pointfreeco/swift-clocks
Computed https://github.com/pointfreeco/swift-clocks at 1.0.6 (0.56s)
Fetching https://github.com/pointfreeco/swift-concurrency-extras
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/878] Fetching swift-concurrency-extras
Fetched https://github.com/pointfreeco/swift-concurrency-extras from cache (0.30s)
[1/5499] Fetching xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (0.73s)
Computing version for https://github.com/pointfreeco/swift-concurrency-extras
Computed https://github.com/pointfreeco/swift-concurrency-extras at 1.3.2 (1.36s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.1 (0.77s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.5 (0.66s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3509] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.44s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.14s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.6.1 (0.61s)
Creating working copy for https://github.com/ably/ably-cocoa-plugin-support
Working copy of https://github.com/ably/ably-cocoa-plugin-support resolved at 0.1.0
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 1.6.1
Creating working copy for https://github.com/pointfreeco/swift-concurrency-extras
Working copy of https://github.com/pointfreeco/swift-concurrency-extras resolved at 1.3.2
Creating working copy for https://github.com/rvi/msgpack-objective-C
Working copy of https://github.com/rvi/msgpack-objective-C resolved at 0.4.0
Creating working copy for https://github.com/ably/delta-codec-cocoa
Working copy of https://github.com/ably/delta-codec-cocoa resolved at 1.3.3
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.5
Creating working copy for https://github.com/groue/Semaphore
Working copy of https://github.com/groue/Semaphore resolved at 0.1.0
Creating working copy for https://github.com/ably/ably-cocoa
Working copy of https://github.com/ably/ably-cocoa resolved at 1.2.44
Creating working copy for https://github.com/JanGorman/Table.git
Working copy of https://github.com/JanGorman/Table.git resolved at 1.1.1
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.2.1
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.6.1
Creating working copy for https://github.com/pointfreeco/swift-clocks
Working copy of https://github.com/pointfreeco/swift-clocks resolved at 1.0.6
Creating working copy for https://github.com/apple/swift-async-algorithms
Working copy of https://github.com/apple/swift-async-algorithms resolved at 1.0.4
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
[3/3] Compiling plugin GenerateManual
[4/4] Compiling plugin GenerateDoccReference
Building for debugging...
[4/160] Write sources
[4/160] Copying PrivacyInfo.xcprivacy
[4/160] Write sources
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/aarch64-unknown-linux-android24/debug/Ably.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
2 | #import <Foundation/Foundation.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/aarch64-unknown-linux-android24/debug/Ably.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
2 | #import <Foundation/Foundation.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/aarch64-unknown-linux-android24/debug/Ably.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
2 | #import <Foundation/Foundation.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[14/160] Compiling NSURLRequest+ARTSRWebSocket.m
[14/160] Compiling NSRunLoop+ARTSRWebSocket.m
[14/160] Compiling ARTSRMutex.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/aarch64-unknown-linux-android24/debug/Ably.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
2 | #import <Foundation/Foundation.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[14/160] Compiling ARTSRSIMDHelpers.m
[14/160] Compiling Ably resource_bundle_accessor.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/aarch64-unknown-linux-android24/debug/Ably.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
2 | #import <Foundation/Foundation.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[14/160] Compiling ARTSRRandom.m
[14/160] Compiling ARTSRURLUtilities.m
[14/160] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:8106a39f56f5bb7aad9f0d9a94f1e5362f9a40b692f7bc17efe17b7b91dc65fc
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
[3/3] Compiling plugin GenerateManual
[4/4] Compiling plugin GenerateDoccReference
Building for debugging...
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/aarch64-unknown-linux-android24/debug/Ably.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
2 | #import <Foundation/Foundation.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[4/150] Compiling NSRunLoop+ARTSRWebSocket.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/aarch64-unknown-linux-android24/debug/Ably.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
2 | #import <Foundation/Foundation.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[4/150] Compiling NSURLRequest+ARTSRWebSocket.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/aarch64-unknown-linux-android24/debug/Ably.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
2 | #import <Foundation/Foundation.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[4/150] Compiling ARTSRURLUtilities.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/aarch64-unknown-linux-android24/debug/Ably.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
2 | #import <Foundation/Foundation.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[4/150] Compiling ARTSRSIMDHelpers.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/aarch64-unknown-linux-android24/debug/Ably.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
2 | #import <Foundation/Foundation.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[4/150] Compiling ARTSRRandom.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/aarch64-unknown-linux-android24/debug/Ably.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
2 | #import <Foundation/Foundation.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[4/150] Compiling ARTSRMutex.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/aarch64-unknown-linux-android24/debug/Ably.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
2 | #import <Foundation/Foundation.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[4/150] Compiling ARTSRHash.m
[4/150] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 android