Build Information
Failed to build swift-distributed-actors, reference main (824865), with Swift 6.1 for Android on 18 Nov 2025 19:09:25 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-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>&1Build Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/apple/swift-distributed-actors.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/apple/swift-distributed-actors
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 8248655 Fix glibc failing tests (#1228)
Cloned https://github.com/apple/swift-distributed-actors.git
Revision (git rev-parse @):
82486556b7238986310305ec840d0503ce3b774a
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/apple/swift-distributed-actors.git at main
========================================
Build
========================================
Selected platform: android
Swift version: 6.1
Building package at path: $PWD
https://github.com/apple/swift-distributed-actors.git
https://github.com/apple/swift-distributed-actors.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"cxx_language_standard" : "c++11",
"dependencies" : [
{
"identity" : "swift-atomics",
"requirement" : {
"range" : [
{
"lower_bound" : "1.1.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-atomics"
},
{
"identity" : "swift-cluster-membership",
"requirement" : {
"branch" : [
"main"
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-cluster-membership"
},
{
"identity" : "swift-nio",
"requirement" : {
"range" : [
{
"lower_bound" : "2.61.1",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-nio"
},
{
"identity" : "swift-nio-extras",
"requirement" : {
"range" : [
{
"lower_bound" : "1.20.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-nio-extras"
},
{
"identity" : "swift-nio-ssl",
"requirement" : {
"range" : [
{
"lower_bound" : "2.25.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-nio-ssl"
},
{
"identity" : "swift-protobuf",
"requirement" : {
"range" : [
{
"lower_bound" : "1.25.1",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-protobuf"
},
{
"identity" : "swift-backtrace",
"requirement" : {
"range" : [
{
"lower_bound" : "1.1.1",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/swift-server/swift-backtrace"
},
{
"identity" : "swift-async-algorithms",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0-beta",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-async-algorithms"
},
{
"identity" : "swift-collections",
"requirement" : {
"range" : [
{
"lower_bound" : "1.1.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-collections"
},
{
"identity" : "swift-log",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-log"
},
{
"identity" : "swift-metrics",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-metrics"
},
{
"identity" : "swift-service-discovery",
"requirement" : {
"range" : [
{
"lower_bound" : "1.3.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-service-discovery"
},
{
"identity" : "swift-argument-parser",
"requirement" : {
"range" : [
{
"lower_bound" : "1.2.3",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-argument-parser"
}
],
"manifest_display_name" : "swift-distributed-actors",
"name" : "swift-distributed-actors",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "DistributedCluster",
"targets" : [
"DistributedCluster"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "swift-clusterd",
"targets" : [
"swift-clusterd"
],
"type" : {
"executable" : null
}
},
{
"name" : "it_Clustered_swim_suspension_reachability",
"targets" : [
"it_Clustered_swim_suspension_reachability"
],
"type" : {
"executable" : null
}
},
{
"name" : "MultiNodeTestKitRunner",
"targets" : [
"MultiNodeTestKitRunner"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "swift_clusterd",
"module_type" : "SwiftTarget",
"name" : "swift-clusterd",
"path" : "Sources/Clusterd",
"product_dependencies" : [
"ArgumentParser"
],
"product_memberships" : [
"swift-clusterd"
],
"sources" : [
"boot+ClusterD.swift"
],
"target_dependencies" : [
"DistributedCluster"
],
"type" : "executable"
},
{
"c99name" : "it_Clustered_swim_suspension_reachability",
"module_type" : "SwiftTarget",
"name" : "it_Clustered_swim_suspension_reachability",
"path" : "IntegrationTests/tests_01_cluster/it_Clustered_swim_suspension_reachability",
"product_memberships" : [
"it_Clustered_swim_suspension_reachability"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"DistributedCluster"
],
"type" : "executable"
},
{
"c99name" : "MultiNodeTestPlugin",
"module_type" : "PluginTarget",
"name" : "MultiNodeTestPlugin",
"path" : "Plugins/MultiNodeTestPlugin",
"plugin_capability" : {
"intent" : {
"description" : "Run MultiNodeTestKit based tests across multiple processes or physical compute nodes",
"type" : "custom",
"verb" : "multi-node"
},
"permissions" : [
],
"type" : "command"
},
"sources" : [
"plugin.swift"
],
"type" : "plugin"
},
{
"c99name" : "MultiNodeTestKitRunner",
"module_type" : "SwiftTarget",
"name" : "MultiNodeTestKitRunner",
"path" : "Sources/MultiNodeTestKitRunner",
"product_dependencies" : [
"ArgumentParser"
],
"product_memberships" : [
"MultiNodeTestKitRunner"
],
"sources" : [
"MultiNode+LogCapture.swift",
"MultiNode+TestSuites.swift",
"NaiveLogger.swift",
"OutputGrepper.swift",
"Process+Extensions.swift",
"Terminal+Rainbow.swift",
"Time.swift",
"boot+MultiNodeTestKitRunner+Exec.swift",
"boot+MultiNodeTestKitRunner+Test.swift",
"boot+MultiNodeTestKitRunner.swift"
],
"target_dependencies" : [
"DistributedActorsMultiNodeTests",
"MultiNodeTestKit"
],
"type" : "executable"
},
{
"c99name" : "MultiNodeTestKit",
"module_type" : "SwiftTarget",
"name" : "MultiNodeTestKit",
"path" : "Sources/MultiNodeTestKit",
"product_dependencies" : [
"Backtrace",
"AsyncAlgorithms",
"Atomics",
"OrderedCollections"
],
"product_memberships" : [
"MultiNodeTestKitRunner"
],
"sources" : [
"MultiNodeTestConductor.swift",
"MultiNodeTestKit+Control.swift",
"MultiNodeTestKit.swift",
"MultiNodeTestSettings.swift"
],
"target_dependencies" : [
"DistributedCluster"
],
"type" : "library"
},
{
"c99name" : "DistributedClusterTests",
"module_type" : "SwiftTarget",
"name" : "DistributedClusterTests",
"path" : "Tests/DistributedClusterTests",
"product_dependencies" : [
"Atomics"
],
"sources" : [
"ActorAskTests.swift",
"ActorIDMetadataTests.swift",
"ActorIDTests.swift",
"ActorIsolationFailureHandlingTests.swift",
"ActorLeakingTests.swift",
"ActorLifecycleTests.swift",
"ActorLoggingTests.swift",
"ActorNamingTests.swift",
"ActorPathTests.swift",
"ActorRefAdapterTests.swift",
"ActorSubReceiveTests.swift",
"BackoffStrategyTests.swift",
"BasicClusterSystemLifecycleTests.swift",
"BehaviorCanonicalizeTests.swift",
"BehaviorMatchers.swift",
"BehaviorTests.swift",
"BlockingReceptacleTests.swift",
"Clocks/Protobuf/VersionVector+SerializationTests.swift",
"Clocks/VersionVectorTests.swift",
"Cluster/AggressiveNodeReplacementClusteredTests.swift",
"Cluster/AssociationClusteredTests.swift",
"Cluster/ClusterDiscoveryTests.swift",
"Cluster/ClusterEventStreamTests.swift",
"Cluster/ClusterLeaderActionsClusteredTests.swift",
"Cluster/ClusterLeaderActionsTests.swift",
"Cluster/ClusterMembershipSnapshotTests.swift",
"Cluster/ClusterOnDownActionTests.swift",
"Cluster/Daemon/DaemonJoiningClusteredTests.swift",
"Cluster/DowningStrategy/DowningClusteredTests.swift",
"Cluster/DowningStrategy/TimeoutBasedDowningInstanceTests.swift",
"Cluster/GossipSeenTableTests.swift",
"Cluster/LeadershipTests.swift",
"Cluster/MembershipGossipClusteredTests.swift",
"Cluster/MembershipGossipLogicSimulationTests.swift",
"Cluster/MembershipGossipTests.swift",
"Cluster/Protobuf/ClusterEvents+SerializationTests.swift",
"Cluster/Protobuf/Membership+SerializationTests.swift",
"Cluster/ProtobufRoundTripTests.swift",
"Cluster/Reception/OpLogDistributedReceptionistClusteredTests.swift",
"Cluster/Reception/OpLogStreamTests.swift",
"Cluster/Reception/_OpLogClusterReceptionistClusteredTests.swift",
"Cluster/RemoteActorRefProviderTests.swift",
"Cluster/RemoteMessagingClusteredTests.swift",
"Cluster/RemotingHandshakeStateMachineTests.swift",
"Cluster/RemotingTLSClusteredTests.swift",
"Cluster/SWIM/Protobuf/SWIM+SerializationTests.swift",
"Cluster/SWIM/SWIMActorClusteredTests.swift",
"Cluster/ShootTheOtherNodeClusteredTests.swift",
"Cluster/SystemMessagesRedeliveryTests.swift",
"Cluster/TestExtensions+MembershipDSL.swift",
"Cluster/TestExtensions.swift",
"ClusterSystem+Testing.swift",
"ClusterSystemTests.swift",
"CustomStringInterpolationTests.swift",
"DeadLetterTests.swift",
"DefaultActorSystem.swift",
"DispatcherTests.swift",
"DistributedReceptionistTests.swift",
"EndpointTests.swift",
"FixedThreadPoolTests.swift",
"Gossip/GossiperShellTests.swift",
"HeapTests.swift",
"InterceptorTests.swift",
"LifecycleWatchTests.swift",
"MPSCLinkedQueueTests.swift",
"MailboxTests.swift",
"MembershipTests.swift",
"Metrics/ActorMemoryTests.swift",
"Metrics/ActorMetricsTests.swift",
"Metrics/SWIMActorPeerMetricsTests.swift",
"MetricsTestKit/MetricsTestKit.swift",
"NIOExtensionsTests.swift",
"NodeDeathWatcherTests.swift",
"NoopLogger.swift",
"ParentChildActorTests.swift",
"Pattern/WorkerPoolTests.swift",
"Plugins/ClusterSingleton/ClusterSingletonPluginClusteredTests.swift",
"Plugins/ClusterSingleton/ClusterSingletonPluginTests.swift",
"Plugins/PluginsSettingsTests.swift",
"RemoteCallTests.swift",
"RingBufferTests.swift",
"SerializationPoolTests.swift",
"SerializationTests.swift",
"StashBufferTests.swift",
"StubDistributedActorTests.swift",
"SupervisionTests.swift",
"TimeSpecTests.swift",
"TimersTests.swift",
"TraversalTests.swift",
"XCTest+Async.swift",
"_ActorRefReceptionistTests.swift",
"_DeathWatchTests.swift",
"_TerminationWatchTests.swift"
],
"target_dependencies" : [
"DistributedCluster",
"DistributedActorsTestKit"
],
"type" : "test"
},
{
"c99name" : "DistributedCluster",
"module_type" : "SwiftTarget",
"name" : "DistributedCluster",
"path" : "Sources/DistributedCluster",
"product_dependencies" : [
"OrderedCollections",
"Atomics",
"SWIM",
"NIO",
"NIOPosix",
"NIOFoundationCompat",
"NIOSSL",
"NIOExtras",
"SwiftProtobuf",
"Logging",
"Metrics",
"ServiceDiscovery",
"Backtrace",
"AsyncAlgorithms"
],
"product_memberships" : [
"DistributedCluster",
"swift-clusterd",
"it_Clustered_swim_suspension_reachability",
"MultiNodeTestKitRunner"
],
"sources" : [
"ActorContext.swift",
"ActorID.swift",
"ActorIDMetadataSettings.swift",
"ActorLogging.swift",
"ActorMessage+Protobuf.swift",
"ActorMessages.swift",
"ActorMetadata.swift",
"ActorRef+Ask.swift",
"ActorRefFactory.swift",
"ActorRefProvider.swift",
"ActorShell+Children.swift",
"Adapters.swift",
"AsyncResult.swift",
"Backoff.swift",
"Behaviors.swift",
"Clocks/Protobuf/VersionVector+Serialization.swift",
"Clocks/Protobuf/VersionVector.pb.swift",
"Clocks/VersionVector.swift",
"Cluster/Association.swift",
"Cluster/Chaos/FaultyNetworkSimulatingHandler.swift",
"Cluster/Cluster+Event.swift",
"Cluster/Cluster+Member.swift",
"Cluster/Cluster+Membership.swift",
"Cluster/ClusterControl.swift",
"Cluster/ClusterEventStream.swift",
"Cluster/ClusterShell+LeaderActions.swift",
"Cluster/ClusterShell+Logging.swift",
"Cluster/ClusterShell.swift",
"Cluster/ClusterShellState.swift",
"Cluster/DiscoveryShell.swift",
"Cluster/DistributedNodeDeathWatcher.swift",
"Cluster/Downing/DowningSettings.swift",
"Cluster/Downing/DowningStrategy.swift",
"Cluster/Downing/TimeoutBasedDowningStrategy.swift",
"Cluster/HandshakeStateMachine.swift",
"Cluster/Leadership.swift",
"Cluster/MembershipGossip/Cluster+MembershipGossip+Serialization.swift",
"Cluster/MembershipGossip/Cluster+MembershipGossip.swift",
"Cluster/MembershipGossip/Cluster+MembershipGossipLogic.swift",
"Cluster/NodeDeathWatcher.swift",
"Cluster/Protobuf/Cluster+Serialization.swift",
"Cluster/Protobuf/Cluster.pb.swift",
"Cluster/Protobuf/ClusterEvents+Serialization.swift",
"Cluster/Protobuf/ClusterEvents.pb.swift",
"Cluster/Protobuf/Membership+Serialization.swift",
"Cluster/Protobuf/Membership.pb.swift",
"Cluster/Reception/OperationLog.swift",
"Cluster/Reception/OperationLogClusterReceptionist+Codable.swift",
"Cluster/Reception/OperationLogDistributedReceptionist.swift",
"Cluster/Reception/_OperationLogClusterReceptionistBehavior.swift",
"Cluster/SWIM/ClusterMembership+Converters.swift",
"Cluster/SWIM/Protobuf/SWIM+Serialization.swift",
"Cluster/SWIM/Protobuf/SWIM.pb.swift",
"Cluster/SWIM/SWIMActor+NotUsedCalls.swift",
"Cluster/SWIM/SWIMActor.swift",
"Cluster/SystemMessages+Redelivery.swift",
"Cluster/Transport/RemoteClusterActorPersonality.swift",
"Cluster/Transport/TransportPipelines.swift",
"Cluster/Transport/WireMessages.swift",
"ClusterEndpoint.swift",
"ClusterNode.swift",
"ClusterSystem+Clusterd.swift",
"ClusterSystem.swift",
"ClusterSystemSettings.swift",
"Collections/Heap.swift",
"Collections/MPSCLinkedQueue.swift",
"Collections/RingBuffer.swift",
"Collections/_LinkedBlockingQueue.swift",
"Concurrency/AffinityThreadPool.swift",
"Concurrency/CountDownLatch.swift",
"Concurrency/_ClusterCancellableCheckedContinuation.swift",
"Concurrency/_Condition.swift",
"Concurrency/_FixedThreadPool.swift",
"Concurrency/_Thread.swift",
"Concurrency/locks.swift",
"DeadLetters.swift",
"Dispatchers.swift",
"DistributedActor+Extensions.swift",
"DistributedActor+Internal.swift",
"DistributedActor+Messages.swift",
"DistributedActorContext.swift",
"Gossip/Gossip+Serialization.swift",
"Gossip/Gossip+Settings.swift",
"Gossip/GossipLogic.swift",
"Gossip/Gossiper+Shell+Serialization.swift",
"Gossip/Gossiper+Shell.swift",
"Gossip/Gossiper.swift",
"Instrumentation/ActorTransportInstrumentation.swift",
"Instrumentation/ReceptionistInstrumentation.swift",
"Instrumentation/os_signpost/ActorTransportInstrumentation+os_signpost.swift",
"Instrumentation/os_signpost/InstrumentationProvider+os_signpost.swift",
"Instrumentation/os_signpost/ReceptionistInstrumentation+os_signpost.swift",
"InvocationBehavior.swift",
"LifecycleMonitoring/LifecycleWatch.swift",
"LifecycleMonitoring/LifecycleWatchContainer.swift",
"LifecycleMonitoring/_BehaviorDeathWatch.swift",
"Metrics/CoreMetrics+Extensions.swift",
"Metrics/CoreMetrics+MetricsPNCounter.swift",
"Metrics/Metrics+Actor.swift",
"Metrics/Metrics+ClusterSystem.swift",
"Metrics/MetricsSettings.swift",
"NIO+Extensions.swift",
"Pattern/WorkerPool.swift",
"Plugins/ClusterSingleton/ClusterSingleton.swift",
"Plugins/ClusterSingleton/ClusterSingletonAllocationStrategy.swift",
"Plugins/ClusterSingleton/ClusterSingletonBoss.swift",
"Plugins/ClusterSingleton/ClusterSingletonPlugin.swift",
"Plugins/ClusterSingleton/ClusterSingletonSettings.swift",
"Plugins/ClusterSystem+Plugins.swift",
"Plugins/ClusterSystemSettings+Plugins.swift",
"Props+Metrics.swift",
"Props.swift",
"Protobuf/ActorID+Serialization.swift",
"Protobuf/ActorID.pb.swift",
"Protobuf/ProtobufMessage+Extensions.swift",
"Protobuf/SystemMessages+Serialization.swift",
"Protobuf/SystemMessages.pb.swift",
"Protobuf/WireProtocol+Serialization.swift",
"Protobuf/WireProtocol.pb.swift",
"Receptionist/ActorContext+Receptionist.swift",
"Receptionist/DistributedReception.swift",
"Receptionist/DistributedReceptionist.swift",
"Receptionist/Reception.swift",
"Receptionist/Receptionist+Serialization.swift",
"Receptionist/Receptionist.swift",
"Receptionist/ReceptionistOperations.swift",
"Receptionist/ReceptionistSettings.swift",
"Receptionist/SystemReceptionist.swift",
"Refs+any.swift",
"Refs.swift",
"Scheduler.swift",
"Serialization/ActorRef+Serialization.swift",
"Serialization/Protobuf/Serialization.pb.swift",
"Serialization/Serialization+Codable.swift",
"Serialization/Serialization+Context.swift",
"Serialization/Serialization+Invocation.swift",
"Serialization/Serialization+Manifest.swift",
"Serialization/Serialization+PrimitiveSerializers.swift",
"Serialization/Serialization+SerializerID.swift",
"Serialization/Serialization+Serializers+Codable.swift",
"Serialization/Serialization+Serializers+Protobuf.swift",
"Serialization/Serialization+Serializers.swift",
"Serialization/Serialization+Settings.swift",
"Serialization/Serialization.swift",
"Serialization/SerializationPool.swift",
"Serialization/TopLevelBlobCoders.swift",
"Serialization/TopLevelBytesBlobCoders.swift",
"Serialization/TopLevelBytesBlobSerializer.swift",
"Serialization/TopLevelProtobufCoders.swift",
"Serialization/TopLevelProtobufSerializer.swift",
"StashBuffer.swift",
"String+Extensions.swift",
"Supervision.swift",
"SystemMessages.swift",
"Time.swift",
"TimeSpec.swift",
"Version.swift",
"WeakActorDictionary.swift",
"_ActorNaming.swift",
"_ActorShell.swift",
"_BehaviorTimers.swift",
"_Mailbox.swift",
"_OrderedSet+Extensions.swift",
"_Signals.swift",
"utils.swift"
],
"target_dependencies" : [
"DistributedActorsConcurrencyHelpers",
"CDistributedActorsMailbox"
],
"type" : "library"
},
{
"c99name" : "DistributedActorsTestKitTests",
"module_type" : "SwiftTarget",
"name" : "DistributedActorsTestKitTests",
"path" : "Tests/DistributedActorsTestKitTests",
"sources" : [
"ActorTestKitTests.swift",
"ActorTestProbeTests.swift",
"DeadlineTests.swift",
"DurationTests.swift"
],
"target_dependencies" : [
"DistributedCluster",
"DistributedActorsTestKit"
],
"type" : "test"
},
{
"c99name" : "DistributedActorsTestKit",
"module_type" : "SwiftTarget",
"name" : "DistributedActorsTestKit",
"path" : "Sources/DistributedActorsTestKit",
"product_dependencies" : [
"Atomics"
],
"sources" : [
"ActorTestKit.swift",
"ByteBuffer+Testing.swift",
"Cluster/ClusteredActorSystemsXCTestCase.swift",
"Cluster/DistributedActor+Assertions.swift",
"Data+Testing.swift",
"InspectKit.swift",
"LogCapture.swift",
"ShouldMatchers.swift",
"SingleClusterSystemXCTestCase.swift",
"Task+Testing.swift",
"TestProbes+Receptionist.swift",
"TestProbes.swift"
],
"target_dependencies" : [
"DistributedCluster",
"DistributedActorsConcurrencyHelpers"
],
"type" : "library"
},
{
"c99name" : "DistributedActorsMultiNodeTests",
"module_type" : "SwiftTarget",
"name" : "DistributedActorsMultiNodeTests",
"path" : "MultiNodeTests/DistributedActorsMultiNodeTests",
"product_memberships" : [
"MultiNodeTestKitRunner"
],
"sources" : [
"MultiNode+ClusterSingletonTests.swift",
"MultiNode+MultiNodeConductorTests.swift",
"MultiNode+ReceptionistTests.swift"
],
"target_dependencies" : [
"MultiNodeTestKit"
],
"type" : "library"
},
{
"c99name" : "DistributedActorsConcurrencyHelpers",
"module_type" : "SwiftTarget",
"name" : "DistributedActorsConcurrencyHelpers",
"path" : "Sources/DistributedActorsConcurrencyHelpers",
"product_memberships" : [
"DistributedCluster",
"swift-clusterd",
"it_Clustered_swim_suspension_reachability",
"MultiNodeTestKitRunner"
],
"sources" : [
"lock.swift"
],
"type" : "library"
},
{
"c99name" : "CDistributedActorsMailbox",
"module_type" : "ClangTarget",
"name" : "CDistributedActorsMailbox",
"path" : "Sources/CDistributedActorsMailbox",
"product_memberships" : [
"DistributedCluster",
"swift-clusterd",
"it_Clustered_swim_suspension_reachability",
"MultiNodeTestKitRunner"
],
"sources" : [
"backtrace_support.c",
"c_mpsc_linked_queue.c"
],
"type" : "library"
}
],
"tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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:496d77b037d0552dd779110e0d7093275ebb8376a63c7a364a5a4acca11a4ff5
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/apple/swift-cluster-membership
[1/2619] Fetching swift-cluster-membership
Fetched https://github.com/apple/swift-cluster-membership from cache (0.56s)
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/apple/swift-service-discovery
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-metrics.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-argument-parser
[1/1154] Fetching swift-service-discovery
[232/3641] Fetching swift-service-discovery, swift-metrics
[599/9955] Fetching swift-service-discovery, swift-metrics, swift-nio-extras
[2593/14353] Fetching swift-service-discovery, swift-metrics, swift-nio-extras, swift-log
[4194/31039] Fetching swift-service-discovery, swift-metrics, swift-nio-extras, swift-log, swift-argument-parser
[14621/111429] Fetching swift-service-discovery, swift-metrics, swift-nio-extras, swift-log, swift-argument-parser, swift-nio
Fetched https://github.com/apple/swift-log.git from cache (2.15s)
Fetched https://github.com/apple/swift-metrics.git from cache (2.15s)
Fetching https://github.com/apple/swift-collections
Fetched https://github.com/apple/swift-argument-parser from cache (2.16s)
[28370/87858] Fetching swift-service-discovery, swift-nio-extras, swift-nio
Fetching https://github.com/swift-server/swift-backtrace
[38822/88489] Fetching swift-service-discovery, swift-nio-extras, swift-nio, swift-backtrace
[41864/106803] Fetching swift-service-discovery, swift-nio-extras, swift-nio, swift-backtrace, swift-collections
Fetched https://github.com/swift-server/swift-backtrace from cache (0.51s)
[42586/106172] Fetching swift-service-discovery, swift-nio-extras, swift-nio, swift-collections
Fetching https://github.com/apple/swift-protobuf
[74821/147585] Fetching swift-service-discovery, swift-nio-extras, swift-nio, swift-collections, swift-protobuf
Fetching https://github.com/apple/swift-async-algorithms
Fetched https://github.com/apple/swift-collections from cache (2.86s)
[62621/129271] Fetching swift-service-discovery, swift-nio-extras, swift-nio, swift-protobuf
Fetching https://github.com/apple/swift-nio-ssl
[65059/134952] Fetching swift-service-discovery, swift-nio-extras, swift-nio, swift-protobuf, swift-async-algorithms
[72600/150240] Fetching swift-service-discovery, swift-nio-extras, swift-nio, swift-protobuf, swift-async-algorithms, swift-nio-ssl
Fetched https://github.com/apple/swift-async-algorithms from cache (1.09s)
Fetching https://github.com/apple/swift-atomics
[71316/144559] Fetching swift-service-discovery, swift-nio-extras, swift-nio, swift-protobuf, swift-nio-ssl
[74541/146379] Fetching swift-service-discovery, swift-nio-extras, swift-nio, swift-protobuf, swift-nio-ssl, swift-atomics
Fetched https://github.com/apple/swift-atomics from cache (1.09s)
[85501/144559] Fetching swift-service-discovery, swift-nio-extras, swift-nio, swift-protobuf, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-ssl from cache (6.22s)
[126373/129271] Fetching swift-service-discovery, swift-nio-extras, swift-nio, swift-protobuf
Fetched https://github.com/apple/swift-nio-extras.git from cache (19.33s)
Fetched https://github.com/apple/swift-service-discovery from cache (19.33s)
Fetched https://github.com/apple/swift-nio.git from cache (19.73s)
Fetched https://github.com/apple/swift-protobuf from cache (20.70s)
Computing version for https://github.com/apple/swift-service-discovery
Computed https://github.com/apple/swift-service-discovery at 1.4.0 (24.43s)
Computing version for https://github.com/apple/swift-atomics
Computed https://github.com/apple/swift-atomics at 1.3.0 (1.07s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.6.2 (1.20s)
Computing version for https://github.com/apple/swift-collections
Computed https://github.com/apple/swift-collections at 1.3.0 (1.43s)
Computing version for https://github.com/swift-server/swift-backtrace
Computed https://github.com/swift-server/swift-backtrace at 1.3.5 (1.24s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.7.1 (1.17s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.31.0 (1.28s)
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/apple/swift-http-types.git
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-http-structured-headers.git
[1/2568] Fetching swift-service-lifecycle
[721/4221] Fetching swift-service-lifecycle, swift-asn1
[1015/5425] Fetching swift-service-lifecycle, swift-asn1, swift-http-structured-headers
[1147/12440] Fetching swift-service-lifecycle, swift-asn1, swift-http-structured-headers, swift-certificates
[2000/13379] Fetching swift-service-lifecycle, swift-asn1, swift-http-structured-headers, swift-certificates, swift-http-types
[3207/19408] Fetching swift-service-lifecycle, swift-asn1, swift-http-structured-headers, swift-certificates, swift-http-types, swift-algorithms
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.82s)
[9586/18204] Fetching swift-service-lifecycle, swift-asn1, swift-certificates, swift-http-types, swift-algorithms
Fetching https://github.com/apple/swift-nio-http2.git
Fetched https://github.com/apple/swift-algorithms.git from cache (1.29s)
Fetched https://github.com/apple/swift-http-types.git from cache (1.29s)
Fetched https://github.com/apple/swift-asn1.git from cache (1.29s)
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (1.49s)
Fetched https://github.com/apple/swift-certificates.git from cache (1.49s)
[1/11718] Fetching swift-nio-http2
Fetched https://github.com/apple/swift-nio-http2.git from cache (2.35s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.4 (4.35s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (1.17s)
Fetching https://github.com/apple/swift-numerics.git
[1/6384] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.68s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.9.1 (1.80s)
Computing version for https://github.com/apple/swift-async-algorithms
Computed https://github.com/apple/swift-async-algorithms at 1.0.4 (1.24s)
Computing version for https://github.com/apple/swift-nio-ssl
Computed https://github.com/apple/swift-nio-ssl at 2.36.0 (1.14s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.5.0 (1.28s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.5.1 (1.11s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (1.15s)
Computing version for https://github.com/apple/swift-http-structured-headers.git
Computed https://github.com/apple/swift-http-structured-headers.git at 1.6.0 (1.17s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.15.1 (1.28s)
Fetching https://github.com/apple/swift-crypto.git
[1/17442] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (3.19s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 4.1.0 (6.75s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.90.0 (1.84s)
Fetching https://github.com/apple/swift-system.git
[1/5182] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.83s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.3 (2.48s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.39.0 (1.23s)
Computing version for https://github.com/apple/swift-protobuf
Computed https://github.com/apple/swift-protobuf at 1.33.3 (1.23s)
Creating working copy for https://github.com/apple/swift-service-discovery
Working copy of https://github.com/apple/swift-service-discovery resolved at 1.4.0
Creating working copy for https://github.com/apple/swift-http-structured-headers.git
Working copy of https://github.com/apple/swift-http-structured-headers.git resolved at 1.6.0
Creating working copy for https://github.com/apple/swift-protobuf
Working copy of https://github.com/apple/swift-protobuf resolved at 1.33.3
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 4.1.0
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.2
Creating working copy for https://github.com/apple/swift-algorithms.git
Working copy of https://github.com/apple/swift-algorithms.git resolved at 1.2.1
Creating working copy for https://github.com/apple/swift-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.15.1
Creating working copy for https://github.com/apple/swift-atomics
Working copy of https://github.com/apple/swift-atomics resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-metrics.git
Working copy of https://github.com/apple/swift-metrics.git resolved at 2.7.1
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.4
Creating working copy for https://github.com/apple/swift-nio-http2.git
Working copy of https://github.com/apple/swift-nio-http2.git resolved at 1.39.0
Creating working copy for https://github.com/apple/swift-nio-ssl
Working copy of https://github.com/apple/swift-nio-ssl resolved at 2.36.0
Creating working copy for https://github.com/swift-server/swift-backtrace
Working copy of https://github.com/swift-server/swift-backtrace resolved at 1.3.5
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.90.0
Creating working copy for https://github.com/apple/swift-nio-extras.git
Working copy of https://github.com/apple/swift-nio-extras.git resolved at 1.31.0
Creating working copy for https://github.com/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.1.1
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.6.3
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
Creating working copy for https://github.com/apple/swift-collections
Working copy of https://github.com/apple/swift-collections resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-http-types.git
Working copy of https://github.com/apple/swift-http-types.git resolved at 1.5.1
Creating working copy for https://github.com/apple/swift-cluster-membership
Working copy of https://github.com/apple/swift-cluster-membership resolved at main (020d875)
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.5.0
Creating working copy for https://github.com/swift-server/swift-service-lifecycle.git
Working copy of https://github.com/swift-server/swift-service-lifecycle.git resolved at 2.9.1
/host/spi-builder-workspace/Plugins/MultiNodeTestPlugin/plugin.swift:68:25: warning: 'path' is deprecated: renamed to 'url'
66 | let multiNodeRunner = buildResult.builtArtifacts
67 | .filter { $0.kind == .executable }
68 | .first { $0.path.lastComponent.starts(with: toolName) }
| |- warning: 'path' is deprecated: renamed to 'url'
| `- note: use 'url' instead
69 | guard let multiNodeRunner = multiNodeRunner else {
70 | throw MultiNodeTestPluginError(message: "Failed")
/host/spi-builder-workspace/Plugins/MultiNodeTestPlugin/plugin.swift:68:30: warning: 'lastComponent' is deprecated: Use `URL` type instead of `Path`.
66 | let multiNodeRunner = buildResult.builtArtifacts
67 | .filter { $0.kind == .executable }
68 | .first { $0.path.lastComponent.starts(with: toolName) }
| `- warning: 'lastComponent' is deprecated: Use `URL` type instead of `Path`.
69 | guard let multiNodeRunner = multiNodeRunner else {
70 | throw MultiNodeTestPluginError(message: "Failed")
/host/spi-builder-workspace/Plugins/MultiNodeTestPlugin/plugin.swift:73:65: warning: 'path' is deprecated: renamed to 'url'
71 | }
72 |
73 | log("Detected multi-node test runner: \(multiNodeRunner.path.lastComponent)")
| |- warning: 'path' is deprecated: renamed to 'url'
| `- note: use 'url' instead
74 |
75 | let process = Process()
/host/spi-builder-workspace/Plugins/MultiNodeTestPlugin/plugin.swift:73:70: warning: 'lastComponent' is deprecated: Use `URL` type instead of `Path`.
71 | }
72 |
73 | log("Detected multi-node test runner: \(multiNodeRunner.path.lastComponent)")
| `- warning: 'lastComponent' is deprecated: Use `URL` type instead of `Path`.
74 |
75 | let process = Process()
/host/spi-builder-workspace/Plugins/MultiNodeTestPlugin/plugin.swift:76:46: warning: 'path' is deprecated: renamed to 'url'
74 |
75 | let process = Process()
76 | process.binaryPath = multiNodeRunner.path.string
| |- warning: 'path' is deprecated: renamed to 'url'
| `- note: use 'url' instead
77 | process.arguments = arguments
78 |
/host/spi-builder-workspace/Plugins/MultiNodeTestPlugin/plugin.swift:76:51: warning: 'string' is deprecated: Use `URL` type instead of `Path`.
74 |
75 | let process = Process()
76 | process.binaryPath = multiNodeRunner.path.string
| `- warning: 'string' is deprecated: Use `URL` type instead of `Path`.
77 | process.arguments = arguments
78 |
[1/1] Compiling plugin MultiNodeTestPlugin
[2/2] Compiling plugin GenerateManual
[3/3] Compiling plugin GenerateDoccReference
[4/4] Compiling plugin SwiftProtobufPlugin
Building for debugging...
[4/508] Write sources
[25/508] Compiling CDistributedActorsMailbox backtrace_support.c
[25/508] Copying PrivacyInfo.xcprivacy
[25/508] Write sources
[36/508] Compiling chacha-armv8-apple.S
[37/508] Compiling CNIOWindows shim.c
[38/508] Compiling _AtomicsShims.c
[39/508] Compiling chacha-x86-apple.S
[40/508] Compiling chacha-armv8-win.S
[41/508] Compiling CNIOWindows WSAStartup.c
[42/508] Compiling CNIOWASI CNIOWASI.c
[42/508] Compiling CNIOPosix event_loop_id.c
[44/508] Compiling chacha-armv8-linux.S
[45/508] Compiling CNIOLinux liburing_shims.c
[46/508] Compiling CNIODarwin shim.c
[47/508] Compiling CNIOLLHTTP c_nio_http.c
[48/508] Compiling CNIOLinux shim.c
[49/508] Compiling fiat_p256_adx_sqr.S
[50/508] Compiling fiat_p256_adx_mul.S
[51/508] Compiling fiat_curve25519_adx_square.S
[52/508] Compiling CNIOLLHTTP c_nio_api.c
[53/508] Compiling fiat_curve25519_adx_mul.S
[54/508] Compiling CDistributedActorsMailbox c_mpsc_linked_queue.c
[55/508] Write swift-version-24593BA9C3E375BF.txt
[56/508] Compiling CNIOLLHTTP c_nio_llhttp.c
[57/512] Compiling CNIOBoringSSLShims shims.c
[59/514] Emitting module _NIOBase64
[59/514] Compiling tls_method.cc
[60/514] Compiling tls_record.cc
[61/514] Compiling tls13_server.cc
[62/514] Compiling tls13_enc.cc
[63/547] Compiling tls13_both.cc
[64/622] Compiling tls13_client.cc
[66/627] Emitting module InternalCollectionsUtilities
[67/629] Compiling InternalCollectionsUtilities LifetimeOverride.swift
[68/629] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[69/629] Compiling ClusterMembership Node.swift
[70/629] Emitting module ClusterMembership
[71/630] Compiling InternalCollectionsUtilities UInt+reversed.swift
[72/630] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[73/630] Emitting module DistributedActorsConcurrencyHelpers
/host/spi-builder-workspace/Sources/DistributedActorsConcurrencyHelpers/lock.swift:42:49: error: cannot find type 'pthread_mutex_t' in scope
40 | @available(*, noasync, message: "Locks are bad in async code; If you truly must, use DispatchSemaphore")
41 | public final class Lock {
42 | fileprivate let mutex: UnsafeMutablePointer<pthread_mutex_t> = UnsafeMutablePointer.allocate(capacity: 1)
| `- error: cannot find type 'pthread_mutex_t' in scope
43 |
44 | /// Create a new lock.
/host/spi-builder-workspace/Sources/DistributedActorsConcurrencyHelpers/lock.swift:113:44: error: cannot find type 'pthread_cond_t' in scope
111 | private var _value: T
112 | private let mutex: Lock
113 | private let cond: UnsafeMutablePointer<pthread_cond_t> = UnsafeMutablePointer.allocate(capacity: 1)
| `- error: cannot find type 'pthread_cond_t' in scope
114 |
115 | /// Create the lock, and initialize the state variable to `value`.
[74/630] Compiling DistributedActorsConcurrencyHelpers lock.swift
/host/spi-builder-workspace/Sources/DistributedActorsConcurrencyHelpers/lock.swift:42:49: error: cannot find type 'pthread_mutex_t' in scope
40 | @available(*, noasync, message: "Locks are bad in async code; If you truly must, use DispatchSemaphore")
41 | public final class Lock {
42 | fileprivate let mutex: UnsafeMutablePointer<pthread_mutex_t> = UnsafeMutablePointer.allocate(capacity: 1)
| `- error: cannot find type 'pthread_mutex_t' in scope
43 |
44 | /// Create a new lock.
/host/spi-builder-workspace/Sources/DistributedActorsConcurrencyHelpers/lock.swift:113:44: error: cannot find type 'pthread_cond_t' in scope
111 | private var _value: T
112 | private let mutex: Lock
113 | private let cond: UnsafeMutablePointer<pthread_cond_t> = UnsafeMutablePointer.allocate(capacity: 1)
| `- error: cannot find type 'pthread_cond_t' in scope
114 |
115 | /// Create the lock, and initialize the state variable to `value`.
/host/spi-builder-workspace/Sources/DistributedActorsConcurrencyHelpers/lock.swift:46:20: error: cannot find 'pthread_mutexattr_t' in scope
44 | /// Create a new lock.
45 | public init() {
46 | var attr = pthread_mutexattr_t()
| `- error: cannot find 'pthread_mutexattr_t' in scope
47 | pthread_mutexattr_init(&attr)
48 | pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
/host/spi-builder-workspace/Sources/DistributedActorsConcurrencyHelpers/lock.swift:47:9: error: cannot find 'pthread_mutexattr_init' in scope
45 | public init() {
46 | var attr = pthread_mutexattr_t()
47 | pthread_mutexattr_init(&attr)
| `- error: cannot find 'pthread_mutexattr_init' in scope
48 | pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
49 |
/host/spi-builder-workspace/Sources/DistributedActorsConcurrencyHelpers/lock.swift:48:9: error: cannot find 'pthread_mutexattr_settype' in scope
46 | var attr = pthread_mutexattr_t()
47 | pthread_mutexattr_init(&attr)
48 | pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
| `- error: cannot find 'pthread_mutexattr_settype' in scope
49 |
50 | let err = pthread_mutex_init(self.mutex, &attr)
/host/spi-builder-workspace/Sources/DistributedActorsConcurrencyHelpers/lock.swift:48:48: error: cannot find 'PTHREAD_MUTEX_ERRORCHECK' in scope
46 | var attr = pthread_mutexattr_t()
47 | pthread_mutexattr_init(&attr)
48 | pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
| `- error: cannot find 'PTHREAD_MUTEX_ERRORCHECK' in scope
49 |
50 | let err = pthread_mutex_init(self.mutex, &attr)
/host/spi-builder-workspace/Sources/DistributedActorsConcurrencyHelpers/lock.swift:48:43: error: cannot infer contextual base in reference to member 'init'
46 | var attr = pthread_mutexattr_t()
47 | pthread_mutexattr_init(&attr)
48 | pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
| `- error: cannot infer contextual base in reference to member 'init'
49 |
50 | let err = pthread_mutex_init(self.mutex, &attr)
/host/spi-builder-workspace/Sources/DistributedActorsConcurrencyHelpers/lock.swift:50:19: error: cannot find 'pthread_mutex_init' in scope
48 | pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
49 |
50 | let err = pthread_mutex_init(self.mutex, &attr)
| `- error: cannot find 'pthread_mutex_init' in scope
51 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
52 | }
/host/spi-builder-workspace/Sources/DistributedActorsConcurrencyHelpers/lock.swift:55:19: error: cannot find 'pthread_mutex_destroy' in scope
53 |
54 | deinit {
55 | let err = pthread_mutex_destroy(self.mutex)
| `- error: cannot find 'pthread_mutex_destroy' in scope
56 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
57 | mutex.deallocate()
/host/spi-builder-workspace/Sources/DistributedActorsConcurrencyHelpers/lock.swift:65:19: error: cannot find 'pthread_mutex_lock' in scope
63 | /// `unlock`, to simplify lock handling.
64 | public func lock() {
65 | let err = pthread_mutex_lock(self.mutex)
| `- error: cannot find 'pthread_mutex_lock' in scope
66 | if err != 0 {
67 | fatalError("\(#function) failed in pthread_mutex with error \(err)")
/host/spi-builder-workspace/Sources/DistributedActorsConcurrencyHelpers/lock.swift:76:19: error: cannot find 'pthread_mutex_unlock' in scope
74 | /// `lock`, to simplify lock handling.
75 | public func unlock() {
76 | let err = pthread_mutex_unlock(self.mutex)
| `- error: cannot find 'pthread_mutex_unlock' in scope
77 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
78 | }
/host/spi-builder-workspace/Sources/DistributedActorsConcurrencyHelpers/lock.swift:121:19: error: cannot find 'pthread_cond_init' in scope
119 | self._value = value
120 | self.mutex = Lock()
121 | let err = pthread_cond_init(self.cond, nil)
| `- error: cannot find 'pthread_cond_init' in scope
122 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
123 | }
/host/spi-builder-workspace/Sources/DistributedActorsConcurrencyHelpers/lock.swift:121:48: error: 'nil' requires a contextual type
119 | self._value = value
120 | self.mutex = Lock()
121 | let err = pthread_cond_init(self.cond, nil)
| `- error: 'nil' requires a contextual type
122 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
123 | }
/host/spi-builder-workspace/Sources/DistributedActorsConcurrencyHelpers/lock.swift:126:19: error: cannot find 'pthread_cond_destroy' in scope
124 |
125 | deinit {
126 | let err = pthread_cond_destroy(self.cond)
| `- error: cannot find 'pthread_cond_destroy' in scope
127 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
128 | self.cond.deallocate()
/host/spi-builder-workspace/Sources/DistributedActorsConcurrencyHelpers/lock.swift:164:23: error: cannot find 'pthread_cond_wait' in scope
162 | break
163 | }
164 | let err = pthread_cond_wait(self.cond, self.mutex.mutex)
| `- error: cannot find 'pthread_cond_wait' in scope
165 | precondition(err == 0, "\(#function) failed in pthread_cond with error \(err)")
166 | }
/host/spi-builder-workspace/Sources/DistributedActorsConcurrencyHelpers/lock.swift:185:23: error: cannot find 'timeval' in scope
183 | let timeoutNS = Int64(timeoutSeconds * Double(nsecPerSec))
184 |
185 | var curTime = timeval()
| `- error: cannot find 'timeval' in scope
186 | gettimeofday(&curTime, nil)
187 |
/host/spi-builder-workspace/Sources/DistributedActorsConcurrencyHelpers/lock.swift:186:9: error: cannot find 'gettimeofday' in scope
184 |
185 | var curTime = timeval()
186 | gettimeofday(&curTime, nil)
| `- error: cannot find 'gettimeofday' in scope
187 |
188 | let allNSecs: Int64 = timeoutNS + Int64(curTime.tv_usec) * 1000
/host/spi-builder-workspace/Sources/DistributedActorsConcurrencyHelpers/lock.swift:186:32: error: 'nil' requires a contextual type
184 |
185 | var curTime = timeval()
186 | gettimeofday(&curTime, nil)
| `- error: 'nil' requires a contextual type
187 |
188 | let allNSecs: Int64 = timeoutNS + Int64(curTime.tv_usec) * 1000
/host/spi-builder-workspace/Sources/DistributedActorsConcurrencyHelpers/lock.swift:189:26: error: cannot find 'timespec' in scope
187 |
188 | let allNSecs: Int64 = timeoutNS + Int64(curTime.tv_usec) * 1000
189 | var timeoutAbs = timespec(
| `- error: cannot find 'timespec' in scope
190 | tv_sec: curTime.tv_sec + Int(allNSecs / nsecPerSec),
191 | tv_nsec: Int(allNSecs % nsecPerSec)
/host/spi-builder-workspace/Sources/DistributedActorsConcurrencyHelpers/lock.swift:199:20: error: cannot find 'pthread_cond_timedwait' in scope
197 | return true
198 | }
199 | switch pthread_cond_timedwait(self.cond, self.mutex.mutex, &timeoutAbs) {
| `- error: cannot find 'pthread_cond_timedwait' in scope
200 | case 0:
201 | continue
/host/spi-builder-workspace/Sources/DistributedActorsConcurrencyHelpers/lock.swift:202:18: error: cannot find 'ETIMEDOUT' in scope
200 | case 0:
201 | continue
202 | case ETIMEDOUT:
| `- error: cannot find 'ETIMEDOUT' in scope
203 | self.unlock()
204 | return false
/host/spi-builder-workspace/Sources/DistributedActorsConcurrencyHelpers/lock.swift:218:19: error: cannot find 'pthread_cond_broadcast' in scope
216 | self._value = newValue
217 | self.unlock()
218 | let err = pthread_cond_broadcast(self.cond)
| `- error: cannot find 'pthread_cond_broadcast' in scope
219 | precondition(err == 0, "\(#function) failed in pthread_cond with error \(err)")
220 | }
[75/630] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[76/630] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[77/630] Compiling InternalCollectionsUtilities _SortedCollection.swift
[78/630] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[79/630] Compiling InternalCollectionsUtilities Debugging.swift
[80/630] Compiling InternalCollectionsUtilities Descriptions.swift
[81/630] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
[82/630] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[83/630] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[84/630] Compiling InternalCollectionsUtilities Integer rank.swift
[85/630] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[86/630] Compiling _NIOBase64 Base64.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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:496d77b037d0552dd779110e0d7093275ebb8376a63c7a364a5a4acca11a4ff5
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
/host/spi-builder-workspace/Plugins/MultiNodeTestPlugin/plugin.swift:68:25: warning: 'path' is deprecated: renamed to 'url'
66 | let multiNodeRunner = buildResult.builtArtifacts
67 | .filter { $0.kind == .executable }
68 | .first { $0.path.lastComponent.starts(with: toolName) }
| |- warning: 'path' is deprecated: renamed to 'url'
| `- note: use 'url' instead
69 | guard let multiNodeRunner = multiNodeRunner else {
70 | throw MultiNodeTestPluginError(message: "Failed")
/host/spi-builder-workspace/Plugins/MultiNodeTestPlugin/plugin.swift:68:30: warning: 'lastComponent' is deprecated: Use `URL` type instead of `Path`.
66 | let multiNodeRunner = buildResult.builtArtifacts
67 | .filter { $0.kind == .executable }
68 | .first { $0.path.lastComponent.starts(with: toolName) }
| `- warning: 'lastComponent' is deprecated: Use `URL` type instead of `Path`.
69 | guard let multiNodeRunner = multiNodeRunner else {
70 | throw MultiNodeTestPluginError(message: "Failed")
/host/spi-builder-workspace/Plugins/MultiNodeTestPlugin/plugin.swift:73:65: warning: 'path' is deprecated: renamed to 'url'
71 | }
72 |
73 | log("Detected multi-node test runner: \(multiNodeRunner.path.lastComponent)")
| |- warning: 'path' is deprecated: renamed to 'url'
| `- note: use 'url' instead
74 |
75 | let process = Process()
/host/spi-builder-workspace/Plugins/MultiNodeTestPlugin/plugin.swift:73:70: warning: 'lastComponent' is deprecated: Use `URL` type instead of `Path`.
71 | }
72 |
73 | log("Detected multi-node test runner: \(multiNodeRunner.path.lastComponent)")
| `- warning: 'lastComponent' is deprecated: Use `URL` type instead of `Path`.
74 |
75 | let process = Process()
/host/spi-builder-workspace/Plugins/MultiNodeTestPlugin/plugin.swift:76:46: warning: 'path' is deprecated: renamed to 'url'
74 |
75 | let process = Process()
76 | process.binaryPath = multiNodeRunner.path.string
| |- warning: 'path' is deprecated: renamed to 'url'
| `- note: use 'url' instead
77 | process.arguments = arguments
78 |
/host/spi-builder-workspace/Plugins/MultiNodeTestPlugin/plugin.swift:76:51: warning: 'string' is deprecated: Use `URL` type instead of `Path`.
74 |
75 | let process = Process()
76 | process.binaryPath = multiNodeRunner.path.string
| `- warning: 'string' is deprecated: Use `URL` type instead of `Path`.
77 | process.arguments = arguments
78 |
[1/1] Compiling plugin MultiNodeTestPlugin
[2/2] Compiling plugin GenerateManual
[3/3] Compiling plugin GenerateDoccReference
[4/4] Compiling plugin SwiftProtobufPlugin
Building for debugging...
[4/448] Write sources
[9/449] Compiling t1_enc.cc
[10/449] Write swift-version-24593BA9C3E375BF.txt
[11/449] Compiling ssl_stat.cc
[12/449] Compiling ssl_x509.cc
[13/449] Compiling ssl_privkey.cc
[14/455] Compiling ssl_versions.cc
[15/455] Compiling ssl_session.cc
[16/543] Compiling ssl_transcript.cc
[18/561] Emitting module _NIOBase64
[19/561] Compiling _NIOBase64 Base64.swift
[19/562] Compiling ssl_lib.cc
[21/564] Compiling _NIODataStructures Heap.swift
[23/564] Compiling _NIODataStructures _TinyArray.swift
[24/564] Compiling _NIODataStructures PriorityQueue.swift
[25/564] Emitting module _NIODataStructures
[26/564] Emitting module Logging
[28/568] Compiling DistributedActorsConcurrencyHelpers lock.swift
/host/spi-builder-workspace/Sources/DistributedActorsConcurrencyHelpers/lock.swift:42:49: error: cannot find type 'pthread_mutex_t' in scope
40 | @available(*, noasync, message: "Locks are bad in async code; If you truly must, use DispatchSemaphore")
41 | public final class Lock {
42 | fileprivate let mutex: UnsafeMutablePointer<pthread_mutex_t> = UnsafeMutablePointer.allocate(capacity: 1)
| `- error: cannot find type 'pthread_mutex_t' in scope
43 |
44 | /// Create a new lock.
/host/spi-builder-workspace/Sources/DistributedActorsConcurrencyHelpers/lock.swift:113:44: error: cannot find type 'pthread_cond_t' in scope
111 | private var _value: T
112 | private let mutex: Lock
113 | private let cond: UnsafeMutablePointer<pthread_cond_t> = UnsafeMutablePointer.allocate(capacity: 1)
| `- error: cannot find type 'pthread_cond_t' in scope
114 |
115 | /// Create the lock, and initialize the state variable to `value`.
/host/spi-builder-workspace/Sources/DistributedActorsConcurrencyHelpers/lock.swift:46:20: error: cannot find 'pthread_mutexattr_t' in scope
44 | /// Create a new lock.
45 | public init() {
46 | var attr = pthread_mutexattr_t()
| `- error: cannot find 'pthread_mutexattr_t' in scope
47 | pthread_mutexattr_init(&attr)
48 | pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
/host/spi-builder-workspace/Sources/DistributedActorsConcurrencyHelpers/lock.swift:47:9: error: cannot find 'pthread_mutexattr_init' in scope
45 | public init() {
46 | var attr = pthread_mutexattr_t()
47 | pthread_mutexattr_init(&attr)
| `- error: cannot find 'pthread_mutexattr_init' in scope
48 | pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
49 |
/host/spi-builder-workspace/Sources/DistributedActorsConcurrencyHelpers/lock.swift:48:9: error: cannot find 'pthread_mutexattr_settype' in scope
46 | var attr = pthread_mutexattr_t()
47 | pthread_mutexattr_init(&attr)
48 | pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
| `- error: cannot find 'pthread_mutexattr_settype' in scope
49 |
50 | let err = pthread_mutex_init(self.mutex, &attr)
/host/spi-builder-workspace/Sources/DistributedActorsConcurrencyHelpers/lock.swift:48:48: error: cannot find 'PTHREAD_MUTEX_ERRORCHECK' in scope
46 | var attr = pthread_mutexattr_t()
47 | pthread_mutexattr_init(&attr)
48 | pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
| `- error: cannot find 'PTHREAD_MUTEX_ERRORCHECK' in scope
49 |
50 | let err = pthread_mutex_init(self.mutex, &attr)
/host/spi-builder-workspace/Sources/DistributedActorsConcurrencyHelpers/lock.swift:48:43: error: cannot infer contextual base in reference to member 'init'
46 | var attr = pthread_mutexattr_t()
47 | pthread_mutexattr_init(&attr)
48 | pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
| `- error: cannot infer contextual base in reference to member 'init'
49 |
50 | let err = pthread_mutex_init(self.mutex, &attr)
/host/spi-builder-workspace/Sources/DistributedActorsConcurrencyHelpers/lock.swift:50:19: error: cannot find 'pthread_mutex_init' in scope
48 | pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
49 |
50 | let err = pthread_mutex_init(self.mutex, &attr)
| `- error: cannot find 'pthread_mutex_init' in scope
51 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
52 | }
/host/spi-builder-workspace/Sources/DistributedActorsConcurrencyHelpers/lock.swift:55:19: error: cannot find 'pthread_mutex_destroy' in scope
53 |
54 | deinit {
55 | let err = pthread_mutex_destroy(self.mutex)
| `- error: cannot find 'pthread_mutex_destroy' in scope
56 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
57 | mutex.deallocate()
/host/spi-builder-workspace/Sources/DistributedActorsConcurrencyHelpers/lock.swift:65:19: error: cannot find 'pthread_mutex_lock' in scope
63 | /// `unlock`, to simplify lock handling.
64 | public func lock() {
65 | let err = pthread_mutex_lock(self.mutex)
| `- error: cannot find 'pthread_mutex_lock' in scope
66 | if err != 0 {
67 | fatalError("\(#function) failed in pthread_mutex with error \(err)")
/host/spi-builder-workspace/Sources/DistributedActorsConcurrencyHelpers/lock.swift:76:19: error: cannot find 'pthread_mutex_unlock' in scope
74 | /// `lock`, to simplify lock handling.
75 | public func unlock() {
76 | let err = pthread_mutex_unlock(self.mutex)
| `- error: cannot find 'pthread_mutex_unlock' in scope
77 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
78 | }
/host/spi-builder-workspace/Sources/DistributedActorsConcurrencyHelpers/lock.swift:121:19: error: cannot find 'pthread_cond_init' in scope
119 | self._value = value
120 | self.mutex = Lock()
121 | let err = pthread_cond_init(self.cond, nil)
| `- error: cannot find 'pthread_cond_init' in scope
122 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
123 | }
/host/spi-builder-workspace/Sources/DistributedActorsConcurrencyHelpers/lock.swift:121:48: error: 'nil' requires a contextual type
119 | self._value = value
120 | self.mutex = Lock()
121 | let err = pthread_cond_init(self.cond, nil)
| `- error: 'nil' requires a contextual type
122 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
123 | }
/host/spi-builder-workspace/Sources/DistributedActorsConcurrencyHelpers/lock.swift:126:19: error: cannot find 'pthread_cond_destroy' in scope
124 |
125 | deinit {
126 | let err = pthread_cond_destroy(self.cond)
| `- error: cannot find 'pthread_cond_destroy' in scope
127 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
128 | self.cond.deallocate()
/host/spi-builder-workspace/Sources/DistributedActorsConcurrencyHelpers/lock.swift:164:23: error: cannot find 'pthread_cond_wait' in scope
162 | break
163 | }
164 | let err = pthread_cond_wait(self.cond, self.mutex.mutex)
| `- error: cannot find 'pthread_cond_wait' in scope
165 | precondition(err == 0, "\(#function) failed in pthread_cond with error \(err)")
166 | }
/host/spi-builder-workspace/Sources/DistributedActorsConcurrencyHelpers/lock.swift:185:23: error: cannot find 'timeval' in scope
183 | let timeoutNS = Int64(timeoutSeconds * Double(nsecPerSec))
184 |
185 | var curTime = timeval()
| `- error: cannot find 'timeval' in scope
186 | gettimeofday(&curTime, nil)
187 |
/host/spi-builder-workspace/Sources/DistributedActorsConcurrencyHelpers/lock.swift:186:9: error: cannot find 'gettimeofday' in scope
184 |
185 | var curTime = timeval()
186 | gettimeofday(&curTime, nil)
| `- error: cannot find 'gettimeofday' in scope
187 |
188 | let allNSecs: Int64 = timeoutNS + Int64(curTime.tv_usec) * 1000
/host/spi-builder-workspace/Sources/DistributedActorsConcurrencyHelpers/lock.swift:186:32: error: 'nil' requires a contextual type
184 |
185 | var curTime = timeval()
186 | gettimeofday(&curTime, nil)
| `- error: 'nil' requires a contextual type
187 |
188 | let allNSecs: Int64 = timeoutNS + Int64(curTime.tv_usec) * 1000
/host/spi-builder-workspace/Sources/DistributedActorsConcurrencyHelpers/lock.swift:189:26: error: cannot find 'timespec' in scope
187 |
188 | let allNSecs: Int64 = timeoutNS + Int64(curTime.tv_usec) * 1000
189 | var timeoutAbs = timespec(
| `- error: cannot find 'timespec' in scope
190 | tv_sec: curTime.tv_sec + Int(allNSecs / nsecPerSec),
191 | tv_nsec: Int(allNSecs % nsecPerSec)
/host/spi-builder-workspace/Sources/DistributedActorsConcurrencyHelpers/lock.swift:199:20: error: cannot find 'pthread_cond_timedwait' in scope
197 | return true
198 | }
199 | switch pthread_cond_timedwait(self.cond, self.mutex.mutex, &timeoutAbs) {
| `- error: cannot find 'pthread_cond_timedwait' in scope
200 | case 0:
201 | continue
/host/spi-builder-workspace/Sources/DistributedActorsConcurrencyHelpers/lock.swift:202:18: error: cannot find 'ETIMEDOUT' in scope
200 | case 0:
201 | continue
202 | case ETIMEDOUT:
| `- error: cannot find 'ETIMEDOUT' in scope
203 | self.unlock()
204 | return false
/host/spi-builder-workspace/Sources/DistributedActorsConcurrencyHelpers/lock.swift:218:19: error: cannot find 'pthread_cond_broadcast' in scope
216 | self._value = newValue
217 | self.unlock()
218 | let err = pthread_cond_broadcast(self.cond)
| `- error: cannot find 'pthread_cond_broadcast' in scope
219 | precondition(err == 0, "\(#function) failed in pthread_cond with error \(err)")
220 | }
error: emit-module command failed with exit code 1 (use -v to see invocation)
[29/568] Emitting module DistributedActorsConcurrencyHelpers
/host/spi-builder-workspace/Sources/DistributedActorsConcurrencyHelpers/lock.swift:42:49: error: cannot find type 'pthread_mutex_t' in scope
40 | @available(*, noasync, message: "Locks are bad in async code; If you truly must, use DispatchSemaphore")
41 | public final class Lock {
42 | fileprivate let mutex: UnsafeMutablePointer<pthread_mutex_t> = UnsafeMutablePointer.allocate(capacity: 1)
| `- error: cannot find type 'pthread_mutex_t' in scope
43 |
44 | /// Create a new lock.
/host/spi-builder-workspace/Sources/DistributedActorsConcurrencyHelpers/lock.swift:113:44: error: cannot find type 'pthread_cond_t' in scope
111 | private var _value: T
112 | private let mutex: Lock
113 | private let cond: UnsafeMutablePointer<pthread_cond_t> = UnsafeMutablePointer.allocate(capacity: 1)
| `- error: cannot find type 'pthread_cond_t' in scope
114 |
115 | /// Create the lock, and initialize the state variable to `value`.
[30/570] Compiling InternalCollectionsUtilities _SortedCollection.swift
[31/570] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[32/570] Compiling InternalCollectionsUtilities Debugging.swift
[33/570] Compiling InternalCollectionsUtilities Descriptions.swift
[33/572] Compiling ssl_key_share.cc
BUILD FAILURE 6.1 android