Build Information
Failed to build swift-cluster-membership, reference main (a297d7
), with Swift 6.1 for Android on 30 Jul 2025 10:49:48 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" 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.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/apple/swift-cluster-membership.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-cluster-membership
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at a297d76 Enable release mode builds (#121)
Cloned https://github.com/apple/swift-cluster-membership.git
Revision (git rev-parse @):
a297d7621bd305676e40fd8fc2c4548777cd40cc
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/apple/swift-cluster-membership.git at main
========================================
Build
========================================
Selected platform: android
Swift version: 6.1
Building package at path: $PWD
https://github.com/apple/swift-cluster-membership.git
https://github.com/apple/swift-cluster-membership.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"cxx_language_standard" : "c++11",
"dependencies" : [
{
"identity" : "swift-nio",
"requirement" : {
"range" : [
{
"lower_bound" : "2.19.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-nio.git"
},
{
"identity" : "swift-nio-ssl",
"requirement" : {
"range" : [
{
"lower_bound" : "2.8.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-nio-ssl.git"
},
{
"identity" : "swift-nio-extras",
"requirement" : {
"range" : [
{
"lower_bound" : "1.5.1",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-nio-extras.git"
},
{
"identity" : "swift-log",
"requirement" : {
"range" : [
{
"lower_bound" : "1.4.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-log.git"
},
{
"identity" : "swift-metrics",
"requirement" : {
"range" : [
{
"lower_bound" : "2.3.2",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-metrics.git"
}
],
"manifest_display_name" : "swift-cluster-membership",
"name" : "swift-cluster-membership",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "13.0"
},
{
"name" : "ios",
"version" : "16.0"
},
{
"name" : "tvos",
"version" : "16.0"
},
{
"name" : "watchos",
"version" : "9.0"
}
],
"products" : [
{
"name" : "ClusterMembership",
"targets" : [
"ClusterMembership"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "SWIM",
"targets" : [
"SWIM"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "SWIMNIOExample",
"targets" : [
"SWIMNIOExample"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SWIMTests",
"module_type" : "SwiftTarget",
"name" : "SWIMTests",
"path" : "Tests/SWIMTests",
"sources" : [
"HeapTests.swift",
"SWIMInstanceTests.swift",
"SWIMMetricsTests.swift",
"SWIMSettingsTests.swift",
"TestPeer.swift"
],
"target_dependencies" : [
"SWIM",
"SWIMTestKit"
],
"type" : "test"
},
{
"c99name" : "SWIMTestKit",
"module_type" : "SwiftTarget",
"name" : "SWIMTestKit",
"path" : "Tests/SWIMTestKit",
"product_dependencies" : [
"NIO",
"Logging",
"Metrics"
],
"sources" : [
"LogCapture.swift",
"TestMetrics.swift"
],
"target_dependencies" : [
"SWIM"
],
"type" : "test"
},
{
"c99name" : "SWIMNIOExampleTests",
"module_type" : "SwiftTarget",
"name" : "SWIMNIOExampleTests",
"path" : "Tests/SWIMNIOExampleTests",
"sources" : [
"CodingTests.swift",
"SWIMNIOClusteredTests.swift",
"SWIMNIOEventClusteredTests.swift",
"SWIMNIOMetricsTests.swift",
"Utils/BaseXCTestCases.swift"
],
"target_dependencies" : [
"SWIMNIOExample",
"SWIMTestKit"
],
"type" : "test"
},
{
"c99name" : "SWIMNIOExample",
"module_type" : "SwiftTarget",
"name" : "SWIMNIOExample",
"path" : "Sources/SWIMNIOExample",
"product_dependencies" : [
"NIO",
"NIOFoundationCompat",
"NIOConcurrencyHelpers",
"NIOExtras",
"Logging",
"Metrics"
],
"product_memberships" : [
"SWIMNIOExample"
],
"sources" : [
"Coding.swift",
"Logging.swift",
"Message.swift",
"NIOPeer.swift",
"SWIMNIOHandler.swift",
"SWIMNIOShell.swift",
"Settings.swift",
"Utils/String+Extensions.swift",
"Utils/time.swift"
],
"target_dependencies" : [
"SWIM"
],
"type" : "library"
},
{
"c99name" : "SWIM",
"module_type" : "SwiftTarget",
"name" : "SWIM",
"path" : "Sources/SWIM",
"product_dependencies" : [
"Logging",
"Metrics"
],
"product_memberships" : [
"SWIM",
"SWIMNIOExample"
],
"sources" : [
"Events.swift",
"Member.swift",
"Metrics.swift",
"Peer.swift",
"SWIM.swift",
"SWIMInstance.swift",
"SWIMProtocol.swift",
"Settings.swift",
"Status.swift",
"Utils/Heap.swift",
"Utils/String+Extensions.swift",
"Utils/_PrettyLog.swift",
"Utils/time.swift"
],
"target_dependencies" : [
"ClusterMembership"
],
"type" : "library"
},
{
"c99name" : "ClusterMembershipTests",
"module_type" : "SwiftTarget",
"name" : "ClusterMembershipTests",
"path" : "Tests/ClusterMembershipTests",
"sources" : [
"NodeTests.swift"
],
"target_dependencies" : [
"ClusterMembership"
],
"type" : "test"
},
{
"c99name" : "ClusterMembershipDocumentationTests",
"module_type" : "SwiftTarget",
"name" : "ClusterMembershipDocumentationTests",
"path" : "Tests/ClusterMembershipDocumentationTests",
"sources" : [
"SWIMDocExamples.swift"
],
"target_dependencies" : [
"SWIM"
],
"type" : "test"
},
{
"c99name" : "ClusterMembership",
"module_type" : "SwiftTarget",
"name" : "ClusterMembership",
"path" : "Sources/ClusterMembership",
"product_memberships" : [
"ClusterMembership",
"SWIM",
"SWIMNIOExample"
],
"sources" : [
"Node.swift"
],
"type" : "library"
}
],
"tools_version" : "5.10"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" 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 -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:873b43b7be6289c04a5a3fd4b2c372c2a5abf90643451079297d3dc6dc0b7d36
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/apple/swift-metrics.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-nio-ssl.git
[1/2219] Fetching swift-metrics
[2220/8342] Fetching swift-metrics, swift-nio-extras
[3568/12222] Fetching swift-metrics, swift-nio-extras, swift-log
[12223/89291] Fetching swift-metrics, swift-nio-extras, swift-log, swift-nio
[14536/104276] Fetching swift-metrics, swift-nio-extras, swift-log, swift-nio, swift-nio-ssl
Fetched https://github.com/apple/swift-metrics.git from cache (1.94s)
[85102/102057] Fetching swift-nio-extras, swift-log, swift-nio, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-extras.git from cache (4.33s)
Fetched https://github.com/apple/swift-log.git from cache (4.34s)
Fetched https://github.com/apple/swift-nio-ssl.git from cache (4.36s)
Fetched https://github.com/apple/swift-nio.git from cache (4.43s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.7.0 (4.94s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.4 (0.49s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.29.0 (0.62s)
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-async-algorithms.git
[1/1629] Fetching swift-asn1
[1630/4062] Fetching swift-asn1, swift-service-lifecycle
[2482/10486] Fetching swift-asn1, swift-service-lifecycle, swift-certificates
[3639/12294] Fetching swift-asn1, swift-service-lifecycle, swift-certificates, swift-atomics
[5171/17289] Fetching swift-asn1, swift-service-lifecycle, swift-certificates, swift-atomics, swift-async-algorithms
[6224/23248] Fetching swift-asn1, swift-service-lifecycle, swift-certificates, swift-atomics, swift-async-algorithms, swift-algorithms
Fetched https://github.com/apple/swift-asn1.git from cache (0.57s)
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.57s)
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.57s)
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetching https://github.com/apple/swift-nio-http2.git
Fetching https://github.com/apple/swift-http-types.git
Fetched https://github.com/apple/swift-atomics.git from cache (0.58s)
Fetched https://github.com/apple/swift-algorithms.git from cache (0.59s)
Fetched https://github.com/apple/swift-certificates.git from cache (0.59s)
[1/1176] Fetching swift-http-structured-headers
[425/2093] Fetching swift-http-structured-headers, swift-http-types
[2094/13754] Fetching swift-http-structured-headers, swift-http-types, swift-nio-http2
Fetched https://github.com/apple/swift-http-types.git from cache (0.30s)
[1526/12837] Fetching swift-http-structured-headers, swift-nio-http2
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.31s)
[584/11661] Fetching swift-nio-http2
Fetched https://github.com/apple/swift-nio-http2.git from cache (0.95s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.8.0 (2.03s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.0.4 (0.63s)
Fetching https://github.com/apple/swift-collections.git
[1/16916] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.12s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (1.66s)
Fetching https://github.com/apple/swift-numerics.git
[1/5769] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.45s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (0.98s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.4.0 (0.59s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.11.0 (0.59s)
Fetching https://github.com/apple/swift-crypto.git
[1/15888] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (1.71s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.4.0 (2.27s)
Computing version for https://github.com/apple/swift-http-structured-headers.git
Computed https://github.com/apple/swift-http-structured-headers.git at 1.3.0 (0.58s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.3 (3.95s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.33.0 (0.67s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.85.0 (0.88s)
Fetching https://github.com/apple/swift-system.git
[1/4776] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.83s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.13.2 (2.93s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.1 (1.06s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.1 (0.83s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.38.0 (0.62s)
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.4.0
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.38.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.4.0
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.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.29.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.0
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-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.85.0
Creating working copy for https://github.com/apple/swift-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.11.0
Creating working copy for https://github.com/apple/swift-nio-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 2.33.0
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/swift-server/swift-service-lifecycle.git
Working copy of https://github.com/swift-server/swift-service-lifecycle.git resolved at 2.8.0
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 3.13.2
Creating working copy for https://github.com/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.0.3
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.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-http-structured-headers.git
Working copy of https://github.com/apple/swift-http-structured-headers.git resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-async-algorithms.git
Working copy of https://github.com/apple/swift-async-algorithms.git resolved at 1.0.4
Building for debugging...
[0/33] Write sources
[18/33] Compiling CNIOWindows shim.c
[19/33] Compiling CNIOWASI CNIOWASI.c
[20/33] Compiling CNIOWindows WSAStartup.c
[21/33] Compiling CNIODarwin shim.c
[22/33] Compiling CNIOPosix event_loop_id.c
[23/33] Compiling CNIOLinux liburing_shims.c
[23/33] Compiling _AtomicsShims.c
[25/33] Write sources
[26/33] Compiling CNIOLLHTTP c_nio_http.c
[27/33] Compiling CNIOLLHTTP c_nio_api.c
[28/33] Compiling CNIOLinux shim.c
[29/33] Write swift-version-24593BA9C3E375BF.txt
[30/33] Compiling CNIOLLHTTP c_nio_llhttp.c
[32/79] Emitting module _NIODataStructures
[33/79] Emitting module CoreMetrics
[33/79] Compiling c-nioatomics.c
[35/81] Compiling _NIODataStructures PriorityQueue.swift
[36/81] Compiling _NIODataStructures _TinyArray.swift
[37/81] Emitting module InternalCollectionsUtilities
[38/81] Compiling Atomics IntegerConformances.swift
[39/81] Compiling Atomics PointerConformances.swift
[40/82] Compiling Atomics Primitives.native.swift
[41/82] Compiling Atomics AtomicInteger.swift
[42/82] Compiling ClusterMembership Node.swift
[43/82] Emitting module ClusterMembership
[44/83] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[44/83] Compiling c-atomics.c
[46/83] Compiling Atomics UnsafeAtomic.swift
[47/83] Compiling Atomics UnsafeAtomicLazyReference.swift
[48/83] Compiling CoreMetrics Metrics.swift
[50/85] Compiling Atomics AtomicOptionalWrappable.swift
[51/85] Compiling Atomics AtomicReference.swift
[52/85] Emitting module Atomics
[55/85] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[56/85] Compiling InternalCollectionsUtilities _SortedCollection.swift
[57/85] Compiling Atomics AtomicStorage.swift
[58/85] Compiling Atomics AtomicValue.swift
[59/85] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[60/85] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[61/85] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[62/85] Compiling Atomics AtomicMemoryOrderings.swift
[63/85] Compiling Atomics DoubleWord.swift
[68/85] Emitting module _NIOBase64
[69/85] Compiling _NIOBase64 Base64.swift
[71/87] Compiling _NIODataStructures Heap.swift
[74/94] Compiling Atomics AtomicBool.swift
[79/94] Compiling Atomics IntegerOperations.swift
[80/94] Compiling Atomics Unmanaged extensions.swift
[84/110] Compiling NIOConcurrencyHelpers NIOLock.swift
[85/110] Compiling DequeModule Deque+CustomReflectable.swift
[86/110] Compiling DequeModule Deque+Descriptions.swift
[87/112] Compiling NIOConcurrencyHelpers lock.swift
[88/112] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[89/112] Emitting module NIOConcurrencyHelpers
[90/112] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[91/112] Compiling NIOConcurrencyHelpers atomics.swift
[92/113] Compiling DequeModule _DequeBuffer.swift
[93/113] Compiling DequeModule _DequeBufferHeader.swift
[95/113] Compiling DequeModule Deque+Equatable.swift
[96/113] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[97/113] Compiling DequeModule Deque+Extras.swift
[98/113] Compiling DequeModule Deque+Hashable.swift
[99/113] Compiling DequeModule _DequeSlot.swift
[100/113] Compiling DequeModule _UnsafeWrappedBuffer.swift
[101/113] Compiling DequeModule Deque+Testing.swift
[102/113] Compiling DequeModule Deque._Storage.swift
[103/113] Compiling DequeModule Deque._UnsafeHandle.swift
[104/113] Compiling DequeModule Deque.swift
[105/113] Compiling DequeModule Deque+Codable.swift
[106/113] Compiling DequeModule Deque+Collection.swift
[107/113] Emitting module DequeModule
[109/114] Compiling CoreMetrics Locks.swift
[110/114] Compiling Logging MetadataProvider.swift
[111/115] Compiling Logging Locks.swift
[112/115] Emitting module Logging
[113/115] Compiling Logging LogHandler.swift
[114/115] Compiling Logging Logging.swift
[117/179] Emitting module Metrics
[118/179] Compiling Metrics Metrics.swift
[120/180] Compiling NIOCore EventLoopFuture+Deprecated.swift
[121/180] Compiling NIOCore EventLoopFuture+WithEventLoop.swift
[122/180] Compiling NIOCore EventLoopFuture.swift
[123/180] Compiling NIOCore FileDescriptor.swift
[124/180] Compiling NIOCore FileHandle.swift
[125/180] Compiling NIOCore FileRegion.swift
[126/180] Compiling NIOCore GlobalSingletons.swift
[127/180] Compiling NIOCore IO.swift
[128/201] Compiling SWIM _PrettyLog.swift
[129/201] Compiling SWIM String+Extensions.swift
[130/202] Compiling SWIM Status.swift
/host/spi-builder-workspace/Sources/SWIM/Utils/Heap.swift:24:8: error: Unsupported platform
22 | import Musl
23 | #else
24 | #error("Unsupported platform")
| `- error: Unsupported platform
25 | #endif
26 |
/host/spi-builder-workspace/Sources/SWIM/Utils/Heap.swift:223:21: error: cannot find 'log2' in scope
221 |
222 | func height(index: Int) -> Int {
223 | Int(log2(Double(index + 1)))
| `- error: cannot find 'log2' in scope
224 | }
225 | let myHeight = height(index: index)
[131/202] Compiling SWIM Heap.swift
/host/spi-builder-workspace/Sources/SWIM/Utils/Heap.swift:24:8: error: Unsupported platform
22 | import Musl
23 | #else
24 | #error("Unsupported platform")
| `- error: Unsupported platform
25 | #endif
26 |
/host/spi-builder-workspace/Sources/SWIM/Utils/Heap.swift:223:21: error: cannot find 'log2' in scope
221 |
222 | func height(index: Int) -> Int {
223 | Int(log2(Double(index + 1)))
| `- error: cannot find 'log2' in scope
224 | }
225 | let myHeight = height(index: index)
[132/202] Compiling SWIM SWIMProtocol.swift
/host/spi-builder-workspace/Sources/SWIM/SWIMProtocol.swift:27:8: error: Unsupported platform
25 | import Musl
26 | #else
27 | #error("Unsupported platform")
| `- error: Unsupported platform
28 | #endif
29 |
/host/spi-builder-workspace/Sources/SWIM/Settings.swift:27:8: error: Unsupported platform
25 | import Musl
26 | #else
27 | #error("Unsupported platform")
| `- error: Unsupported platform
28 | #endif
29 |
/host/spi-builder-workspace/Sources/SWIM/Settings.swift:228:71: error: cannot find 'log2' in scope
226 | return false
227 | }
228 | let maxTimesDouble = self.gossipedEnoughTimesBaseMultiplier * log2(Double(n + 1))
| `- error: cannot find 'log2' in scope
229 | return gossip.numberOfTimesGossiped > Int(maxTimesDouble)
230 | }
[133/202] Compiling SWIM Settings.swift
/host/spi-builder-workspace/Sources/SWIM/SWIMProtocol.swift:27:8: error: Unsupported platform
25 | import Musl
26 | #else
27 | #error("Unsupported platform")
| `- error: Unsupported platform
28 | #endif
29 |
/host/spi-builder-workspace/Sources/SWIM/Settings.swift:27:8: error: Unsupported platform
25 | import Musl
26 | #else
27 | #error("Unsupported platform")
| `- error: Unsupported platform
28 | #endif
29 |
/host/spi-builder-workspace/Sources/SWIM/Settings.swift:228:71: error: cannot find 'log2' in scope
226 | return false
227 | }
228 | let maxTimesDouble = self.gossipedEnoughTimesBaseMultiplier * log2(Double(n + 1))
| `- error: cannot find 'log2' in scope
229 | return gossip.numberOfTimesGossiped > Int(maxTimesDouble)
230 | }
error: emit-module command failed with exit code 1 (use -v to see invocation)
[134/202] Emitting module SWIM
/host/spi-builder-workspace/Sources/SWIM/SWIMInstance.swift:28:8: error: Unsupported platform
26 | import Musl
27 | #else
28 | #error("Unsupported platform")
| `- error: Unsupported platform
29 | #endif
30 |
/host/spi-builder-workspace/Sources/SWIM/SWIMProtocol.swift:27:8: error: Unsupported platform
25 | import Musl
26 | #else
27 | #error("Unsupported platform")
| `- error: Unsupported platform
28 | #endif
29 |
/host/spi-builder-workspace/Sources/SWIM/Settings.swift:27:8: error: Unsupported platform
25 | import Musl
26 | #else
27 | #error("Unsupported platform")
| `- error: Unsupported platform
28 | #endif
29 |
/host/spi-builder-workspace/Sources/SWIM/Utils/Heap.swift:24:8: error: Unsupported platform
22 | import Musl
23 | #else
24 | #error("Unsupported platform")
| `- error: Unsupported platform
25 | #endif
26 |
[135/202] Compiling SWIM Events.swift
[136/202] Compiling SWIM Member.swift
[137/202] Compiling SWIM time.swift
[138/202] Compiling SWIM SWIMInstance.swift
[139/202] Compiling NIOCore NIOCloseOnErrorHandler.swift
[140/202] Compiling NIOCore NIOCoreSendableMetatype.swift
[141/202] Compiling NIOCore NIOLoopBound.swift
[142/202] Compiling NIOCore NIOPooledRecvBufferAllocator.swift
[143/202] Compiling NIOCore NIOScheduledCallback.swift
[144/202] Compiling NIOCore NIOSendable.swift
[145/202] Compiling NIOCore RecvByteBufferAllocator.swift
[148/202] Compiling SWIM Metrics.swift
[149/202] Compiling SWIM Peer.swift
[154/202] Compiling SWIM SWIM.swift
[155/202] Compiling NIOCore SingleStepByteToMessageDecoder.swift
[156/202] Compiling NIOCore SocketAddresses.swift
[157/202] Compiling NIOCore SocketOptionProvider.swift
[158/202] Compiling NIOCore SystemCallHelpers.swift
[159/202] Compiling NIOCore TimeAmount+Duration.swift
[160/202] Compiling NIOCore TypeAssistedChannelHandler.swift
[161/202] Compiling NIOCore UniversalBootstrapSupport.swift
[162/202] Compiling NIOCore Utilities.swift
[163/202] Compiling NIOCore CircularBuffer.swift
[164/202] Compiling NIOCore Codec.swift
[165/202] Compiling NIOCore ConvenienceOptionSupport.swift
[166/202] Compiling NIOCore DeadChannel.swift
[167/202] Compiling NIOCore DispatchQueue+WithFuture.swift
[168/202] Compiling NIOCore EventLoop+Deprecated.swift
[169/202] Compiling NIOCore EventLoop+SerialExecutor.swift
[170/202] Compiling NIOCore EventLoop.swift
[171/202] Compiling NIOCore EventLoopFuture+AssumeIsolated.swift
[172/202] Compiling NIOCore IOData.swift
[173/202] Compiling NIOCore IPProtocol.swift
[174/202] Compiling NIOCore IntegerBitPacking.swift
[175/202] Compiling NIOCore IntegerTypes.swift
[176/202] Compiling NIOCore Interfaces.swift
[177/202] Compiling NIOCore Linux.swift
[178/202] Compiling NIOCore MarkedCircularBuffer.swift
[179/202] Compiling NIOCore MulticastChannel.swift
[180/202] Compiling NIOCore NIOThrowingAsyncSequenceProducer.swift
[181/202] Compiling NIOCore BSDSocketAPI.swift
[182/202] Compiling NIOCore ByteBuffer-aux.swift
[183/202] Compiling NIOCore ByteBuffer-binaryEncodedLengthPrefix.swift
[184/202] Compiling NIOCore ByteBuffer-conversions.swift
[185/202] Compiling NIOCore ByteBuffer-core.swift
[186/202] Compiling NIOCore ByteBuffer-hex.swift
[187/202] Compiling NIOCore ByteBuffer-int.swift
[188/202] Compiling NIOCore ByteBuffer-lengthPrefix.swift
[189/202] Compiling NIOCore ByteBuffer-multi-int.swift
[190/202] Compiling NIOCore ByteBuffer-quicBinaryEncodingStrategy.swift
[191/202] Compiling NIOCore ByteBuffer-views.swift
[192/202] Compiling NIOCore Channel.swift
[193/202] Compiling NIOCore ChannelHandler.swift
[194/202] Compiling NIOCore ChannelHandlers.swift
[195/202] Compiling NIOCore ChannelInvoker.swift
[196/202] Compiling NIOCore ChannelOption.swift
[197/202] Compiling NIOCore ChannelPipeline.swift
[198/202] Emitting module NIOCore
[200/255] Compiling NIOEmbedded AsyncTestingEventLoop.swift
[201/255] Compiling NIOEmbedded AsyncTestingChannel.swift
[202/255] Emitting module NIOEmbedded
[203/255] Compiling NIOPosix DatagramVectorReadManager.swift
[204/255] Compiling NIOPosix Errors+Any.swift
[205/255] Compiling NIOPosix BSDSocketAPIPosix.swift
/host/spi-builder-workspace/Sources/SWIM/SWIMInstance.swift:28:8: error: Unsupported platform
26 | import Musl
27 | #else
28 | #error("Unsupported platform")
| `- error: Unsupported platform
29 | #endif
30 |
/host/spi-builder-workspace/Sources/SWIM/SWIMInstance.swift:544:33: error: cannot find 'round' in scope
542 | maxTimeout
543 | - Int64(
544 | round(
| `- error: cannot find 'round' in scope
545 | Double(maxTimeout - minTimeout)
546 | * (log2(Double(suspectedByCount + 1))
/host/spi-builder-workspace/Sources/SWIM/SWIMInstance.swift:546:44: error: cannot find 'log2' in scope
544 | round(
545 | Double(maxTimeout - minTimeout)
546 | * (log2(Double(suspectedByCount + 1))
| `- error: cannot find 'log2' in scope
547 | / log2(Double(self.settings.lifeguard.maxIndependentSuspicions + 1)))
548 | )
/host/spi-builder-workspace/Sources/SWIM/SWIMInstance.swift:547:47: error: cannot find 'log2' in scope
545 | Double(maxTimeout - minTimeout)
546 | * (log2(Double(suspectedByCount + 1))
547 | / log2(Double(self.settings.lifeguard.maxIndependentSuspicions + 1)))
| `- error: cannot find 'log2' in scope
548 | )
549 | )
[206/255] Compiling NIOPosix BSDSocketAPIWindows.swift
/host/spi-builder-workspace/Sources/SWIM/SWIMInstance.swift:28:8: error: Unsupported platform
26 | import Musl
27 | #else
28 | #error("Unsupported platform")
| `- error: Unsupported platform
29 | #endif
30 |
/host/spi-builder-workspace/Sources/SWIM/SWIMInstance.swift:544:33: error: cannot find 'round' in scope
542 | maxTimeout
543 | - Int64(
544 | round(
| `- error: cannot find 'round' in scope
545 | Double(maxTimeout - minTimeout)
546 | * (log2(Double(suspectedByCount + 1))
/host/spi-builder-workspace/Sources/SWIM/SWIMInstance.swift:546:44: error: cannot find 'log2' in scope
544 | round(
545 | Double(maxTimeout - minTimeout)
546 | * (log2(Double(suspectedByCount + 1))
| `- error: cannot find 'log2' in scope
547 | / log2(Double(self.settings.lifeguard.maxIndependentSuspicions + 1)))
548 | )
/host/spi-builder-workspace/Sources/SWIM/SWIMInstance.swift:547:47: error: cannot find 'log2' in scope
545 | Double(maxTimeout - minTimeout)
546 | * (log2(Double(suspectedByCount + 1))
547 | / log2(Double(self.settings.lifeguard.maxIndependentSuspicions + 1)))
| `- error: cannot find 'log2' in scope
548 | )
549 | )
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" 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:873b43b7be6289c04a5a3fd4b2c372c2a5abf90643451079297d3dc6dc0b7d36
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/55] Compiling ClusterMembership Node.swift
[3/55] Emitting module ClusterMembership
[4/56] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[5/57] Compiling Logging MetadataProvider.swift
[7/57] Compiling Atomics PointerConformances.swift
[8/57] Compiling Atomics Primitives.native.swift
[9/57] Compiling Atomics AtomicReference.swift
[10/57] Compiling Atomics IntegerConformances.swift
[11/57] Compiling InternalCollectionsUtilities _SortedCollection.swift
[12/57] Compiling Atomics UnsafeAtomicLazyReference.swift
[13/57] Compiling Atomics ManagedAtomic.swift
[14/57] Compiling Atomics ManagedAtomicLazyReference.swift
[15/59] Compiling Atomics AtomicStorage.swift
[16/59] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[17/59] Compiling Atomics AtomicMemoryOrderings.swift
[18/59] Compiling Atomics DoubleWord.swift
[19/59] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[20/59] Compiling Logging Locks.swift
[21/59] Emitting module Logging
[22/59] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[23/59] Compiling NIOConcurrencyHelpers atomics.swift
[24/59] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[25/59] Compiling NIOConcurrencyHelpers NIOLock.swift
[26/59] Compiling NIOConcurrencyHelpers lock.swift
[27/59] Compiling _NIODataStructures Heap.swift
[28/59] Compiling Atomics IntegerOperations.swift
[29/59] Compiling Atomics Unmanaged extensions.swift
[30/59] Emitting module _NIODataStructures
[31/59] Emitting module _NIOBase64
[32/59] Compiling _NIOBase64 Base64.swift
[33/59] Emitting module NIOConcurrencyHelpers
[34/59] Compiling Atomics AtomicInteger.swift
[35/59] Compiling Atomics AtomicOptionalWrappable.swift
[39/61] Compiling _NIODataStructures _TinyArray.swift
[40/61] Compiling _NIODataStructures PriorityQueue.swift
[41/62] Compiling Atomics OptionalRawRepresentable.swift
[42/62] Compiling Atomics RawRepresentable.swift
[45/62] Emitting module InternalCollectionsUtilities
[46/62] Compiling Atomics AtomicBool.swift
[52/78] Emitting module CoreMetrics
[53/78] Compiling CoreMetrics Locks.swift
[54/78] Compiling CoreMetrics Metrics.swift
[55/79] Compiling Logging Logging.swift
[56/79] Compiling Logging LogHandler.swift
[57/80] Compiling DequeModule _DequeBuffer.swift
[58/80] Compiling DequeModule _DequeBufferHeader.swift
[60/82] Compiling DequeModule Deque+CustomReflectable.swift
[61/82] Compiling DequeModule Deque+Descriptions.swift
[62/84] Compiling DequeModule Deque+Equatable.swift
[63/84] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[64/84] Compiling DequeModule Deque+Extras.swift
[65/84] Compiling DequeModule Deque+Hashable.swift
[67/84] Compiling DequeModule _DequeSlot.swift
[68/84] Compiling DequeModule _UnsafeWrappedBuffer.swift
[69/84] Compiling DequeModule Deque+Testing.swift
[70/84] Compiling DequeModule Deque._Storage.swift
[71/84] Compiling DequeModule Deque._UnsafeHandle.swift
[72/84] Compiling DequeModule Deque.swift
[73/84] Emitting module Metrics
[74/84] Compiling Metrics Metrics.swift
[76/85] Compiling DequeModule Deque+Codable.swift
[77/85] Compiling DequeModule Deque+Collection.swift
[78/85] Emitting module DequeModule
[79/86] Emitting module Atomics
[81/99] Compiling SWIM SWIMProtocol.swift
[82/99] Compiling SWIM Settings.swift
[83/99] Compiling SWIM Status.swift
[84/99] Compiling SWIM Peer.swift
[85/99] Compiling SWIM SWIM.swift
[86/99] Compiling SWIM SWIMInstance.swift
[88/100] Compiling SWIM Metrics.swift
/host/spi-builder-workspace/Sources/SWIM/SWIMProtocol.swift:27:8: error: Unsupported platform
25 | import Musl
26 | #else
27 | #error("Unsupported platform")
| `- error: Unsupported platform
28 | #endif
29 |
/host/spi-builder-workspace/Sources/SWIM/Settings.swift:27:8: error: Unsupported platform
25 | import Musl
26 | #else
27 | #error("Unsupported platform")
| `- error: Unsupported platform
28 | #endif
29 |
/host/spi-builder-workspace/Sources/SWIM/Settings.swift:228:71: error: cannot find 'log2' in scope
226 | return false
227 | }
228 | let maxTimesDouble = self.gossipedEnoughTimesBaseMultiplier * log2(Double(n + 1))
| `- error: cannot find 'log2' in scope
229 | return gossip.numberOfTimesGossiped > Int(maxTimesDouble)
230 | }
/host/spi-builder-workspace/Sources/SWIM/SWIMProtocol.swift:27:8: error: Unsupported platform
25 | import Musl
26 | #else
27 | #error("Unsupported platform")
| `- error: Unsupported platform
28 | #endif
29 |
/host/spi-builder-workspace/Sources/SWIM/Settings.swift:27:8: error: Unsupported platform
25 | import Musl
26 | #else
27 | #error("Unsupported platform")
| `- error: Unsupported platform
28 | #endif
29 |
/host/spi-builder-workspace/Sources/SWIM/Settings.swift:228:71: error: cannot find 'log2' in scope
226 | return false
227 | }
228 | let maxTimesDouble = self.gossipedEnoughTimesBaseMultiplier * log2(Double(n + 1))
| `- error: cannot find 'log2' in scope
229 | return gossip.numberOfTimesGossiped > Int(maxTimesDouble)
230 | }
/host/spi-builder-workspace/Sources/SWIM/Utils/Heap.swift:24:8: error: Unsupported platform
22 | import Musl
23 | #else
24 | #error("Unsupported platform")
| `- error: Unsupported platform
25 | #endif
26 |
/host/spi-builder-workspace/Sources/SWIM/Utils/Heap.swift:223:21: error: cannot find 'log2' in scope
221 |
222 | func height(index: Int) -> Int {
223 | Int(log2(Double(index + 1)))
| `- error: cannot find 'log2' in scope
224 | }
225 | let myHeight = height(index: index)
[93/101] Compiling SWIM Heap.swift
/host/spi-builder-workspace/Sources/SWIM/Utils/Heap.swift:24:8: error: Unsupported platform
22 | import Musl
23 | #else
24 | #error("Unsupported platform")
| `- error: Unsupported platform
25 | #endif
26 |
/host/spi-builder-workspace/Sources/SWIM/Utils/Heap.swift:223:21: error: cannot find 'log2' in scope
221 |
222 | func height(index: Int) -> Int {
223 | Int(log2(Double(index + 1)))
| `- error: cannot find 'log2' in scope
224 | }
225 | let myHeight = height(index: index)
[94/101] Compiling SWIM String+Extensions.swift
[95/101] Compiling SWIM _PrettyLog.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[96/101] Compiling SWIM Events.swift
[97/101] Compiling SWIM Member.swift
[98/101] Emitting module SWIM
/host/spi-builder-workspace/Sources/SWIM/SWIMInstance.swift:28:8: error: Unsupported platform
26 | import Musl
27 | #else
28 | #error("Unsupported platform")
| `- error: Unsupported platform
29 | #endif
30 |
/host/spi-builder-workspace/Sources/SWIM/SWIMProtocol.swift:27:8: error: Unsupported platform
25 | import Musl
26 | #else
27 | #error("Unsupported platform")
| `- error: Unsupported platform
28 | #endif
29 |
/host/spi-builder-workspace/Sources/SWIM/Settings.swift:27:8: error: Unsupported platform
25 | import Musl
26 | #else
27 | #error("Unsupported platform")
| `- error: Unsupported platform
28 | #endif
29 |
/host/spi-builder-workspace/Sources/SWIM/Utils/Heap.swift:24:8: error: Unsupported platform
22 | import Musl
23 | #else
24 | #error("Unsupported platform")
| `- error: Unsupported platform
25 | #endif
26 |
[99/101] Compiling SWIM time.swift
[100/162] Compiling NIOCore NIOAny.swift
[101/162] Compiling NIOCore NIOCloseOnErrorHandler.swift
[102/162] Compiling NIOCore NIOCoreSendableMetatype.swift
[103/162] Compiling NIOCore NIOLoopBound.swift
[104/162] Compiling NIOCore NIOPooledRecvBufferAllocator.swift
[105/162] Compiling NIOCore NIOScheduledCallback.swift
[106/162] Compiling NIOCore NIOSendable.swift
[107/162] Compiling NIOCore RecvByteBufferAllocator.swift
[108/170] Compiling NIOCore IOData.swift
[109/170] Compiling NIOCore IPProtocol.swift
[110/170] Compiling NIOCore IntegerBitPacking.swift
[111/170] Compiling NIOCore IntegerTypes.swift
[112/170] Compiling NIOCore Interfaces.swift
[113/170] Compiling NIOCore Linux.swift
[114/170] Compiling NIOCore MarkedCircularBuffer.swift
[115/170] Compiling NIOCore MulticastChannel.swift
[116/170] Compiling NIOCore CircularBuffer.swift
[117/170] Compiling NIOCore Codec.swift
[118/170] Compiling NIOCore ConvenienceOptionSupport.swift
[119/170] Compiling NIOCore DeadChannel.swift
[120/170] Compiling NIOCore DispatchQueue+WithFuture.swift
[121/170] Compiling NIOCore EventLoop+Deprecated.swift
[122/170] Compiling NIOCore EventLoop+SerialExecutor.swift
[123/170] Compiling NIOCore EventLoop.swift
[124/170] Compiling NIOCore EventLoopFuture+AssumeIsolated.swift
[125/170] Compiling NIOCore SingleStepByteToMessageDecoder.swift
[126/170] Compiling NIOCore SocketAddresses.swift
[127/170] Compiling NIOCore SocketOptionProvider.swift
[128/170] Compiling NIOCore SystemCallHelpers.swift
[129/170] Compiling NIOCore TimeAmount+Duration.swift
[130/170] Compiling NIOCore TypeAssistedChannelHandler.swift
[131/170] Compiling NIOCore UniversalBootstrapSupport.swift
[132/170] Compiling NIOCore Utilities.swift
[133/170] Compiling NIOCore FileHandle.swift
/host/spi-builder-workspace/Sources/SWIM/SWIMInstance.swift:28:8: error: Unsupported platform
26 | import Musl
27 | #else
28 | #error("Unsupported platform")
| `- error: Unsupported platform
29 | #endif
30 |
/host/spi-builder-workspace/Sources/SWIM/SWIMInstance.swift:544:33: error: cannot find 'round' in scope
542 | maxTimeout
543 | - Int64(
544 | round(
| `- error: cannot find 'round' in scope
545 | Double(maxTimeout - minTimeout)
546 | * (log2(Double(suspectedByCount + 1))
/host/spi-builder-workspace/Sources/SWIM/SWIMInstance.swift:546:44: error: cannot find 'log2' in scope
544 | round(
545 | Double(maxTimeout - minTimeout)
546 | * (log2(Double(suspectedByCount + 1))
| `- error: cannot find 'log2' in scope
547 | / log2(Double(self.settings.lifeguard.maxIndependentSuspicions + 1)))
548 | )
/host/spi-builder-workspace/Sources/SWIM/SWIMInstance.swift:547:47: error: cannot find 'log2' in scope
545 | Double(maxTimeout - minTimeout)
546 | * (log2(Double(suspectedByCount + 1))
547 | / log2(Double(self.settings.lifeguard.maxIndependentSuspicions + 1)))
| `- error: cannot find 'log2' in scope
548 | )
549 | )
[134/170] Compiling NIOCore FileRegion.swift
/host/spi-builder-workspace/Sources/SWIM/SWIMInstance.swift:28:8: error: Unsupported platform
26 | import Musl
27 | #else
28 | #error("Unsupported platform")
| `- error: Unsupported platform
29 | #endif
30 |
/host/spi-builder-workspace/Sources/SWIM/SWIMInstance.swift:544:33: error: cannot find 'round' in scope
542 | maxTimeout
543 | - Int64(
544 | round(
| `- error: cannot find 'round' in scope
545 | Double(maxTimeout - minTimeout)
546 | * (log2(Double(suspectedByCount + 1))
/host/spi-builder-workspace/Sources/SWIM/SWIMInstance.swift:546:44: error: cannot find 'log2' in scope
544 | round(
545 | Double(maxTimeout - minTimeout)
546 | * (log2(Double(suspectedByCount + 1))
| `- error: cannot find 'log2' in scope
547 | / log2(Double(self.settings.lifeguard.maxIndependentSuspicions + 1)))
548 | )
/host/spi-builder-workspace/Sources/SWIM/SWIMInstance.swift:547:47: error: cannot find 'log2' in scope
545 | Double(maxTimeout - minTimeout)
546 | * (log2(Double(suspectedByCount + 1))
547 | / log2(Double(self.settings.lifeguard.maxIndependentSuspicions + 1)))
| `- error: cannot find 'log2' in scope
548 | )
549 | )
BUILD FAILURE 6.1 android