Build Information
Failed to build stomp-nio, reference main (964e25), with Swift 6.3 for Wasm on 29 Apr 2026 10:54:23 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/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/fpseverino/stomp-nio.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/fpseverino/stomp-nio
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 964e25e Fix docs
Cloned https://github.com/fpseverino/stomp-nio.git
Revision (git rev-parse @):
964e25e78a49ff2769f768532457bb6085b680e0
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/fpseverino/stomp-nio.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.3
Building package at path: $PWD
https://github.com/fpseverino/stomp-nio.git
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/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d69f4e7582c319245442d62a08b2d7c7fd5a0c0c69f5d2ef11d1530cd8d3329b
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-nio-transport-services.git
[1/2847] Fetching swift-nio-transport-services
[258/5598] Fetching swift-nio-transport-services, swift-service-lifecycle
[1214/29401] Fetching swift-nio-transport-services, swift-service-lifecycle, swift-collections
Fetching https://github.com/apple/swift-nio-ssl.git
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (0.83s)
Fetching https://github.com/apple/swift-nio.git
[4656/26554] Fetching swift-service-lifecycle, swift-collections
[14178/41994] Fetching swift-service-lifecycle, swift-collections, swift-nio-ssl
[19601/125205] Fetching swift-service-lifecycle, swift-collections, swift-nio-ssl, swift-nio
Fetching https://github.com/apple/swift-configuration.git
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (3.67s)
Fetching https://github.com/apple/swift-atomics.git
[71164/122454] Fetching swift-collections, swift-nio-ssl, swift-nio
Fetching https://github.com/apple/swift-log.git
Fetched https://github.com/apple/swift-collections.git from cache (3.80s)
[47670/98651] Fetching swift-nio-ssl, swift-nio
[51543/101903] Fetching swift-nio-ssl, swift-nio, swift-configuration
[52543/103723] Fetching swift-nio-ssl, swift-nio, swift-configuration, swift-atomics
[54510/110449] Fetching swift-nio-ssl, swift-nio, swift-configuration, swift-atomics, swift-log
Fetched https://github.com/apple/swift-configuration.git from cache (1.07s)
[59704/107197] Fetching swift-nio-ssl, swift-nio, swift-atomics, swift-log
Fetched https://github.com/apple/swift-atomics.git from cache (1.14s)
[58422/105377] Fetching swift-nio-ssl, swift-nio, swift-log
Fetched https://github.com/apple/swift-log.git from cache (1.58s)
[51697/98651] Fetching swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-nio-ssl.git from cache (5.63s)
[50759/83211] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (13.40s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (15.13s)
Computing version for https://github.com/apple/swift-nio-transport-services.git
Computed https://github.com/apple/swift-nio-transport-services.git at 1.28.0 (0.81s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.37.0 (0.87s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.12.0 (0.75s)
Computing version for https://github.com/apple/swift-configuration.git
Computed https://github.com/apple/swift-configuration.git at 1.2.0 (3.37s)
Fetching https://github.com/apple/swift-system
[1/5601] Fetching swift-system
Fetched https://github.com/apple/swift-system from cache (0.72s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (1.87s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.11.0 (0.81s)
Fetching https://github.com/apple/swift-async-algorithms.git
[1/6245] Fetching swift-async-algorithms
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.75s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.1.3 (1.64s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.6.4 (0.82s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.99.0 (1.22s)
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.12.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.37.0
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.6.4
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.4.1
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.1.3
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.11.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-configuration.git
Working copy of https://github.com/apple/swift-configuration.git resolved at 1.2.0
Creating working copy for https://github.com/apple/swift-nio-transport-services.git
Working copy of https://github.com/apple/swift-nio-transport-services.git resolved at 1.28.0
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.99.0
Building for debugging...
[0/42] Write sources
[23/42] Compiling CSystem shims.c
[23/42] Compiling _AtomicsShims.c
[25/42] Compiling CNIOWindows shim.c
[26/42] Compiling CNIOWASI CNIOWASI.c
[26/42] Compiling CNIOWindows WSAStartup.c
[28/42] Compiling CNIOPosix event_loop_id.c
[29/42] Compiling CNIOLinux shim.c
[30/42] Compiling CNIOOpenBSD shim.c
[31/42] Compiling CNIOLinux liburing_shims.c
[32/42] Compiling CNIODarwin shim.c
[33/42] Compiling CNIOSHA1 c_nio_sha1.c
[34/42] Compiling CNIOLLHTTP c_nio_http.c
[35/42] Write sources
[37/42] Write swift-version-24593BA9C3E375BF.txt
[38/42] Compiling CNIOLLHTTP c_nio_api.c
[40/72] Emitting module _NIOBase64
[41/103] Emitting module _NIODataStructures
[42/103] Emitting module InternalCollectionsUtilities
[43/105] Emitting module SystemPackage
[43/109] Compiling CNIOLLHTTP c_nio_llhttp.c
[44/112] Compiling c-nioatomics.c
[45/113] Compiling c-atomics.c
[47/137] Emitting module Atomics
[48/139] Compiling Atomics OptionalRawRepresentable.swift
[49/139] Compiling Atomics RawRepresentable.swift
[50/139] Compiling Atomics AtomicBool.swift
[51/139] Compiling ConcurrencyHelpers LockedValueBox.swift
[52/139] Compiling Atomics AtomicOptionalWrappable.swift
[53/139] Compiling Atomics AtomicReference.swift
[57/139] Compiling Atomics IntegerOperations.swift
[58/139] Compiling Atomics Unmanaged extensions.swift
[59/139] Compiling Atomics UnsafeAtomic.swift
[60/139] Compiling Atomics UnsafeAtomicLazyReference.swift
[61/139] Compiling _NIOBase64 Base64.swift
[62/140] Compiling SystemPackage FilePathSyntax.swift
[63/140] Compiling SystemPackage FilePathTemp.swift
[64/140] Compiling SystemPackage FilePathTempPosix.swift
[65/140] Compiling SystemPackage FilePathTempWindows.swift
[66/140] Compiling Atomics AtomicMemoryOrderings.swift
[67/140] Compiling Atomics DoubleWord.swift
[68/140] Compiling Atomics AtomicInteger.swift
[69/140] Compiling Atomics ManagedAtomic.swift
[70/140] Compiling Atomics ManagedAtomicLazyReference.swift
[71/140] Compiling Atomics AtomicStorage.swift
[72/140] Compiling Atomics AtomicValue.swift
[73/140] Compiling Atomics IntegerConformances.swift
[74/140] Compiling Atomics PointerConformances.swift
[75/140] Compiling Atomics Primitives.native.swift
[81/141] Compiling SystemPackage SystemString.swift
[82/141] Compiling SystemPackage Util+StringArray.swift
[83/141] Compiling SystemPackage Util.swift
[84/141] Compiling SystemPackage UtilConsumers.swift
[90/141] Compiling Logging LogEvent.swift
[96/141] Compiling SystemPackage FilePath.swift
[97/141] Compiling SystemPackage FilePathComponentView.swift
[98/141] Compiling SystemPackage FilePathComponents.swift
[99/141] Compiling SystemPackage FilePathParsing.swift
[100/141] Compiling SystemPackage FilePathString.swift
[103/155] Compiling _NIODataStructures _TinyArray.swift
[104/155] Compiling _NIODataStructures PriorityQueue.swift
[105/226] Compiling OrderedCollections _HashTable+Constants.swift
[106/226] Compiling OrderedCollections _HashTable+CustomStringConvertible.swift
[107/226] Compiling OrderedCollections _HashTable+Testing.swift
[108/226] Compiling OrderedCollections _HashTable+UnsafeHandle.swift
[109/229] Compiling OrderedCollections OrderedSet+Hashable.swift
[110/229] Compiling OrderedCollections OrderedDictionary+Hashable.swift
[111/229] Compiling OrderedCollections OrderedDictionary+Initializers.swift
[112/229] Compiling OrderedCollections OrderedDictionary+Invariants.swift
[113/233] Compiling OrderedCollections OrderedSet+Descriptions.swift
[114/233] Compiling OrderedCollections OrderedSet+Diffing.swift
[115/233] Compiling OrderedCollections OrderedSet+Equatable.swift
[116/233] Compiling OrderedCollections OrderedSet+ExpressibleByArrayLiteral.swift
[117/233] Compiling OrderedCollections OrderedDictionary+Elements.swift
[118/233] Compiling OrderedCollections OrderedDictionary+Equatable.swift
[119/233] Compiling OrderedCollections OrderedDictionary+ExpressibleByDictionaryLiteral.swift
[120/233] Compiling OrderedCollections _HashTable+Bucket.swift
[121/233] Compiling OrderedCollections _HashTable+BucketIterator.swift
[122/233] Compiling OrderedCollections _HashTable.swift
[123/233] Compiling OrderedCollections _Hashtable+Header.swift
[124/233] Compiling OrderedCollections OrderedDictionary.swift
[125/233] Compiling OrderedCollections OrderedSet+Codable.swift
[126/233] Compiling OrderedCollections OrderedSet+CustomReflectable.swift
[127/233] Compiling OrderedCollections OrderedDictionary+Partial MutableCollection.swift
[128/233] Compiling OrderedCollections OrderedDictionary+Partial RangeReplaceableCollection.swift
[129/233] Compiling OrderedCollections OrderedDictionary+Sendable.swift
[130/233] Compiling OrderedCollections OrderedDictionary+Sequence.swift
[131/233] Compiling OrderedCollections OrderedDictionary+Values.swift
[135/233] Compiling ContainersPreview Box.swift
[136/233] Compiling ContainersPreview Inout.swift
[137/233] Compiling ContainersPreview InputSpan.swift
[138/233] Compiling ContainersPreview Shared.swift
[139/233] Emitting module ContainersPreview
[140/233] Compiling OrderedCollections OrderedDictionary+Codable.swift
[141/233] Compiling OrderedCollections OrderedDictionary+CustomReflectable.swift
[142/233] Compiling OrderedCollections OrderedDictionary+Deprecations.swift
[143/233] Compiling OrderedCollections OrderedDictionary+Descriptions.swift
[144/233] Compiling OrderedCollections OrderedDictionary+Elements.SubSequence.swift
[149/234] Emitting module Logging
[150/234] Compiling Logging Locks.swift
[159/235] Compiling NIOConcurrencyHelpers NIOThreadPoolWorkAvailable.swift
[160/235] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[161/235] Compiling NIOConcurrencyHelpers lock.swift
[163/235] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[164/235] Compiling NIOConcurrencyHelpers NIOLock.swift
[165/235] Emitting module ConcurrencyHelpers
[166/235] Compiling ConcurrencyHelpers Lock.swift
[167/235] Emitting module NIOConcurrencyHelpers
[168/236] Compiling Logging MetadataProvider.swift
[170/236] Compiling _NIODataStructures Heap.swift
[173/280] Compiling NIOConcurrencyHelpers atomics.swift
[174/281] Emitting module UnixSignals
[176/281] Compiling DequeModule UniqueDeque+Consumption.swift
[177/281] Compiling DequeModule UniqueDeque+Container.swift
[178/281] Compiling DequeModule UniqueDeque+Descriptions.swift
[179/281] Compiling DequeModule UniqueDeque+Equatable.swift
[180/281] Compiling DequeModule UniqueDeque+Experimental.swift
[181/286] Compiling DequeModule UniqueDeque+Replacements.swift
[182/286] Compiling DequeModule UniqueDeque.swift
[183/286] Compiling DequeModule _DequeSlot.swift
[184/286] Compiling DequeModule _UnsafeDequeHandle.swift
[185/286] Compiling DequeModule _UnsafeDequeSegments.swift
[186/286] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[187/286] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[188/293] Compiling UnixSignals UnixSignalsSequence.swift
[189/293] Compiling UnixSignals UnixSignal.swift
[190/294] Compiling DequeModule _DequeBuffer.swift
[191/294] Compiling DequeModule _DequeBufferHeader.swift
[192/294] Compiling DequeModule RigidDeque+Append.swift
[193/294] Compiling DequeModule RigidDeque+Consumption.swift
[194/294] Compiling DequeModule RigidDeque+Container.swift
[195/294] Compiling DequeModule RigidDeque+Descriptions.swift
[197/294] Compiling DequeModule UniqueDeque+Hashable.swift
[198/294] Compiling DequeModule UniqueDeque+Initializers.swift
[199/294] Compiling DequeModule UniqueDeque+Insertions.swift
[200/294] Compiling DequeModule UniqueDeque+Prepend.swift
[201/294] Compiling DequeModule UniqueDeque+Removals.swift
[202/294] Compiling Logging Logging.swift
[205/294] Compiling DequeModule RigidDeque+Equatable.swift
[206/294] Compiling DequeModule RigidDeque+Experimental.swift
[207/294] Compiling DequeModule RigidDeque+Hashable.swift
[208/294] Compiling DequeModule RigidDeque+Initializers.swift
[209/294] Compiling DequeModule RigidDeque+Insertions.swift
[210/294] Compiling DequeModule RigidDeque+Prepend.swift
[211/294] Compiling Logging LogHandler.swift
[212/295] Compiling DequeModule RigidDeque+Removals.swift
[213/295] Compiling DequeModule RigidDeque+Replacements.swift
[214/295] Compiling DequeModule RigidDeque+Testing.swift
[215/295] Compiling DequeModule RigidDeque.swift
[216/295] Compiling DequeModule UniqueDeque+Append.swift
[227/295] Compiling OrderedCollections OrderedSet+Initializers.swift
[228/295] Compiling OrderedCollections OrderedSet+Insertions.swift
[229/295] Compiling OrderedCollections OrderedSet+Invariants.swift
[230/295] Compiling OrderedCollections OrderedSet+Partial MutableCollection.swift
[231/295] Compiling OrderedCollections OrderedSet+Partial RangeReplaceableCollection.swift
[232/295] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formIntersection.swift
[233/295] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formSymmetricDifference.swift
[234/295] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formUnion.swift
[235/295] Compiling DequeModule Deque+Codable.swift
[236/295] Compiling DequeModule Deque+Collection.swift
[237/295] Compiling DequeModule Deque+CustomReflectable.swift
[238/295] Compiling DequeModule Deque+Descriptions.swift
[239/295] Compiling DequeModule Deque+Equatable.swift
[240/295] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[241/295] Compiling DequeModule Deque+Extras.swift
[242/295] Compiling DequeModule Deque+Hashable.swift
[255/295] Compiling OrderedCollections OrderedSet+Sendable.swift
[256/295] Compiling OrderedCollections OrderedSet+SubSequence.swift
[257/295] Compiling OrderedCollections OrderedSet+Testing.swift
[258/295] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[259/295] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[260/295] Compiling OrderedCollections OrderedSet.swift
[261/295] Compiling OrderedCollections _UnsafeBitset.swift
[262/295] Compiling DequeModule Deque+Testing.swift
[263/295] Compiling DequeModule Deque._Storage.swift
[264/295] Compiling DequeModule Deque._UnsafeHandle.swift
[265/295] Compiling DequeModule Deque.swift
[290/296] Emitting module OrderedCollections
[292/297] Emitting module DequeModule
[299/473] Compiling AsyncAlgorithms AsyncChunksOfCountOrSignalSequence.swift
/host/spi-builder-workspace/Sources/STOMPConnectionPool/NIOLock.swift:32:8: warning: public import of 'wasi_pthread' was not used in public declarations or inlinable code
30 | public import WASILibc
31 | #if canImport(wasi_pthread)
32 | public import wasi_pthread
| `- warning: public import of 'wasi_pthread' was not used in public declarations or inlinable code
33 | #endif
34 | #else
[300/473] Compiling AsyncAlgorithms AsyncChunksOfCountSequence.swift
/host/spi-builder-workspace/Sources/STOMPConnectionPool/NIOLock.swift:32:8: warning: public import of 'wasi_pthread' was not used in public declarations or inlinable code
30 | public import WASILibc
31 | #if canImport(wasi_pthread)
32 | public import wasi_pthread
| `- warning: public import of 'wasi_pthread' was not used in public declarations or inlinable code
33 | #endif
34 | #else
[301/473] Compiling AsyncAlgorithms AsyncChunkedByGroupSequence.swift
/host/spi-builder-workspace/Sources/STOMPConnectionPool/ConnectionRequest.swift:30:46: warning: cannot use default expression for inference of 'ConnectionIDGenerator' because it is inferrable from parameters #1, #5; this will be an error in a future Swift language mode
28 | public convenience init(
29 | configuration: ConnectionPoolConfiguration,
30 | idGenerator: ConnectionIDGenerator = _STOMPConnectionPool.ConnectionIDGenerator(),
| `- warning: cannot use default expression for inference of 'ConnectionIDGenerator' because it is inferrable from parameters #1, #5; this will be an error in a future Swift language mode
31 | keepAliveBehavior: KeepAliveBehavior,
32 | observabilityDelegate: ObservabilityDelegate,
/host/spi-builder-workspace/Sources/STOMPConnectionPool/ConnectionRequest.swift:33:24: warning: cannot use default expression for inference of 'Clock' because it is inferrable from parameters #4, #5; this will be an error in a future Swift language mode
31 | keepAliveBehavior: KeepAliveBehavior,
32 | observabilityDelegate: ObservabilityDelegate,
33 | clock: Clock = ContinuousClock(),
| `- warning: cannot use default expression for inference of 'Clock' because it is inferrable from parameters #4, #5; this will be an error in a future Swift language mode
34 | connectionFactory: @escaping ConnectionFactory
35 | ) {
[302/473] Compiling AsyncAlgorithms AsyncChunkedOnProjectionSequence.swift
/host/spi-builder-workspace/Sources/STOMPConnectionPool/ConnectionRequest.swift:30:46: warning: cannot use default expression for inference of 'ConnectionIDGenerator' because it is inferrable from parameters #1, #5; this will be an error in a future Swift language mode
28 | public convenience init(
29 | configuration: ConnectionPoolConfiguration,
30 | idGenerator: ConnectionIDGenerator = _STOMPConnectionPool.ConnectionIDGenerator(),
| `- warning: cannot use default expression for inference of 'ConnectionIDGenerator' because it is inferrable from parameters #1, #5; this will be an error in a future Swift language mode
31 | keepAliveBehavior: KeepAliveBehavior,
32 | observabilityDelegate: ObservabilityDelegate,
/host/spi-builder-workspace/Sources/STOMPConnectionPool/ConnectionRequest.swift:33:24: warning: cannot use default expression for inference of 'Clock' because it is inferrable from parameters #4, #5; this will be an error in a future Swift language mode
31 | keepAliveBehavior: KeepAliveBehavior,
32 | observabilityDelegate: ObservabilityDelegate,
33 | clock: Clock = ContinuousClock(),
| `- warning: cannot use default expression for inference of 'Clock' because it is inferrable from parameters #4, #5; this will be an error in a future Swift language mode
34 | connectionFactory: @escaping ConnectionFactory
35 | ) {
[303/474] Compiling Configuration JSONSnapshot.swift
/host/spi-builder-workspace/Sources/STOMPConnectionPool/PoolStateMachine.swift:845:48: error: cannot find 'pow' in scope
843 |
844 | let start = Double(100_000_000)
845 | let backoffNanosecondsDouble = start * pow(1.25, Double(attempts - 1))
| `- error: cannot find 'pow' in scope
846 |
847 | // Cap to 60s _before_ we convert to Int64, to avoid trapping in the Int64 initializer.
/host/spi-builder-workspace/Sources/STOMPConnectionPool/PoolStateMachine.swift:855:74: error: referencing instance method 'randomElement()' on 'ClosedRange' requires that 'Float16' conform to 'SignedInteger'
853 | let jitterRange = (backoffNanoseconds / 100) * 3
854 | // Pick a random element from the range +/- jitter range.
855 | let jitter: Duration = .nanoseconds((-jitterRange...jitterRange).randomElement()!)
| `- error: referencing instance method 'randomElement()' on 'ClosedRange' requires that 'Float16' conform to 'SignedInteger'
856 | let jitteredBackoff = backoff + jitter
857 | return jitteredBackoff
Swift.ClosedRange:1:11: note: requirement from conditional conformance of 'ClosedRange<Float16>' to 'Collection'
1 | extension ClosedRange : Collection, BidirectionalCollection, RandomAccessCollection where Bound : Strideable, Bound.Stride : SignedInteger {
| `- note: requirement from conditional conformance of 'ClosedRange<Float16>' to 'Collection'
2 | public typealias SubSequence = Slice<ClosedRange<Bound>>
3 | @inlinable public var startIndex: ClosedRange<Bound>.Index { get }
[304/474] Compiling Configuration PropertyListSnapshot.swift
/host/spi-builder-workspace/Sources/STOMPConnectionPool/PoolStateMachine.swift:845:48: error: cannot find 'pow' in scope
843 |
844 | let start = Double(100_000_000)
845 | let backoffNanosecondsDouble = start * pow(1.25, Double(attempts - 1))
| `- error: cannot find 'pow' in scope
846 |
847 | // Cap to 60s _before_ we convert to Int64, to avoid trapping in the Int64 initializer.
/host/spi-builder-workspace/Sources/STOMPConnectionPool/PoolStateMachine.swift:855:74: error: referencing instance method 'randomElement()' on 'ClosedRange' requires that 'Float16' conform to 'SignedInteger'
853 | let jitterRange = (backoffNanoseconds / 100) * 3
854 | // Pick a random element from the range +/- jitter range.
855 | let jitter: Duration = .nanoseconds((-jitterRange...jitterRange).randomElement()!)
| `- error: referencing instance method 'randomElement()' on 'ClosedRange' requires that 'Float16' conform to 'SignedInteger'
856 | let jitteredBackoff = backoff + jitter
857 | return jitteredBackoff
Swift.ClosedRange:1:11: note: requirement from conditional conformance of 'ClosedRange<Float16>' to 'Collection'
1 | extension ClosedRange : Collection, BidirectionalCollection, RandomAccessCollection where Bound : Strideable, Bound.Stride : SignedInteger {
| `- note: requirement from conditional conformance of 'ClosedRange<Float16>' to 'Collection'
2 | public typealias SubSequence = Slice<ClosedRange<Bound>>
3 | @inlinable public var startIndex: ClosedRange<Bound>.Index { get }
[305/474] Compiling _STOMPConnectionPool TinyFastSequence.swift
[306/474] Compiling Configuration FileAccessLogger.swift
[307/474] Compiling AsyncAlgorithms AsyncChain3Sequence.swift
[308/474] Compiling Configuration AccessReporter.swift
[309/474] Compiling Configuration AccessLogger.swift
[318/481] Compiling Configuration SeparatorKeyEncoder.swift
[319/481] Compiling Configuration MultiProvider.swift
[320/481] Compiling NIOCore MarkedCircularBuffer.swift
[321/481] Compiling NIOCore MulticastChannel.swift
[322/481] Compiling NIOCore NIOAny.swift
[323/481] Compiling Configuration EnvironmentFileParser.swift
[324/481] Compiling NIOCore NIOCoreSendableMetatype.swift
[326/481] Compiling NIOCore NIODecodedAsyncSequence.swift
[327/481] Compiling NIOCore NIOLoopBound.swift
[328/481] Compiling NIOCore NIOPooledRecvBufferAllocator.swift
[329/481] Compiling NIOCore NIOScheduledCallback.swift
[330/481] Compiling NIOCore NIOSendable.swift
[331/481] Compiling NIOCore NIOSplitLinesMessageDecoder.swift
[332/481] Compiling NIOCore NIOTransportAccessibleChannelCore.swift
[333/481] Compiling NIOCore RecvByteBufferAllocator.swift
[334/489] Emitting module _STOMPConnectionPool
/host/spi-builder-workspace/Sources/STOMPConnectionPool/ConnectionRequest.swift:30:46: warning: cannot use default expression for inference of 'ConnectionIDGenerator' because it is inferrable from parameters #1, #5; this will be an error in a future Swift language mode
28 | public convenience init(
29 | configuration: ConnectionPoolConfiguration,
30 | idGenerator: ConnectionIDGenerator = _STOMPConnectionPool.ConnectionIDGenerator(),
| `- warning: cannot use default expression for inference of 'ConnectionIDGenerator' because it is inferrable from parameters #1, #5; this will be an error in a future Swift language mode
31 | keepAliveBehavior: KeepAliveBehavior,
32 | observabilityDelegate: ObservabilityDelegate,
/host/spi-builder-workspace/Sources/STOMPConnectionPool/ConnectionRequest.swift:33:24: warning: cannot use default expression for inference of 'Clock' because it is inferrable from parameters #4, #5; this will be an error in a future Swift language mode
31 | keepAliveBehavior: KeepAliveBehavior,
32 | observabilityDelegate: ObservabilityDelegate,
33 | clock: Clock = ContinuousClock(),
| `- warning: cannot use default expression for inference of 'Clock' because it is inferrable from parameters #4, #5; this will be an error in a future Swift language mode
34 | connectionFactory: @escaping ConnectionFactory
35 | ) {
[343/489] Emitting module AsyncAlgorithms
[344/489] Compiling NIOCore ByteBuffer-multi-int.swift
[345/489] Compiling NIOCore ByteBuffer-quicBinaryEncodingStrategy.swift
[346/489] Compiling NIOCore ByteBuffer-views.swift
[347/489] Compiling NIOCore Channel.swift
[348/489] Compiling NIOCore ChannelHandler.swift
[349/489] Compiling NIOCore ChannelHandlers.swift
[350/489] Compiling NIOCore ChannelInvoker.swift
[351/489] Compiling Configuration DirectoryFilesProvider.swift
[352/489] Compiling Configuration FileProvider.swift
[353/489] Compiling NIOCore IntegerTypes.swift
[360/489] Emitting module Configuration
[363/494] Compiling AsyncAlgorithms AsyncCompactedSequence.swift
[364/494] Compiling NIOCore NIOThrowingAsyncSequenceProducer.swift
[365/494] Compiling NIOCore BSDSocketAPI.swift
[366/494] Compiling NIOCore ByteBuffer-aux.swift
BUILD FAILURE 6.3 wasm