The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-cluster-membership with Swift 5.9 for Linux.

Build Command

docker run --rm -v "checkouts-4609320-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.19.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/apple/swift-cluster-membership.git
Reference: 0.3.1
Cloned https://github.com/apple/swift-cluster-membership.git into spi-builder-workspace
SUCCESS checkout https://github.com/apple/swift-cluster-membership.git at 0.3.1
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4609320-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Fetching https://github.com/apple/swift-metrics.git
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/apple/swift-log.git
[1/3079] Fetching swift-log
[525/7582] Fetching swift-log, swift-nio-extras
[7583/9394] Fetching swift-log, swift-nio-extras, swift-metrics
Fetching https://github.com/apple/swift-nio-ssl.git
Fetched https://github.com/apple/swift-nio-extras.git (1.33s)
Fetched https://github.com/apple/swift-metrics.git (1.33s)
Fetching https://github.com/apple/swift-nio.git
Fetched https://github.com/apple/swift-log.git (1.34s)
[1/11312] Fetching swift-nio-ssl
[5092/71394] Fetching swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-nio-ssl.git (1.40s)
[15021/60082] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git (5.51s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.5.2 (0.31s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.4.0 (0.31s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.19.0 (0.46s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.54.0 (0.58s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-atomics.git
[1/11270] Fetching swift-collections
[903/12315] Fetching swift-collections, swift-atomics
Fetched https://github.com/apple/swift-atomics.git (3.05s)
Fetched https://github.com/apple/swift-collections.git (3.08s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.1.0 (0.44s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.0.4 (0.34s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.24.0 (0.75s)
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.54.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.1.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.19.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.0.4
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.5.2
Creating working copy for https://github.com/apple/swift-metrics.git
Working copy of https://github.com/apple/swift-metrics.git resolved at 2.4.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.24.0
Building for debugging...
[0/18] Compiling CNIOWindows shim.c
[1/18] Compiling CNIOLinux liburing_shims.c
[2/18] Compiling _AtomicsShims.c
[3/18] Compiling CNIOWindows WSAStartup.c
[4/18] Compiling CNIODarwin shim.c
[5/18] Compiling CNIOLLHTTP c_nio_http.c
[6/18] Compiling CNIOLinux shim.c
[7/18] Compiling CNIOLLHTTP c_nio_api.c
[8/49] Compiling CNIOLLHTTP c_nio_llhttp.c
[10/64] Emitting module Logging
[11/64] Compiling Atomics AtomicBool.swift
[12/64] Compiling Atomics AtomicValue.swift
[13/66] Emitting module Atomics
[14/68] Emitting module DequeModule
[15/68] Compiling _NIODataStructures PriorityQueue.swift
[16/68] Compiling Atomics DoubleWord.swift
[17/68] Compiling Atomics AtomicLazyReference.swift
[18/68] Compiling Atomics HighLevelTypes.swift
[19/68] Compiling Atomics Primitives.native.swift
[20/68] Compiling Atomics Primitives.shims.swift
[21/68] Compiling DequeModule _DequeBufferHeader.swift
[22/68] Compiling Atomics AtomicOptionalRawRepresentable.swift
[23/68] Compiling Atomics AtomicRawRepresentable.swift
[24/68] Compiling Atomics AtomicStrongReference.swift
[25/68] Compiling Atomics AtomicInteger.swift
[26/68] Compiling Atomics AtomicMemoryOrderings.swift
[27/68] Compiling Atomics AtomicOptional.swift
[28/68] Compiling Atomics IntegerConformances.swift
[29/68] Compiling Atomics PointerConformances.swift
[30/68] Compiling Atomics Unmanaged extensions.swift
[37/68] Emitting module ClusterMembership
[38/68] Compiling ClusterMembership Node.swift
[48/70] Wrapping AST for ClusterMembership for debugging
[50/70] Compiling DequeModule _DequeSlot.swift
[51/70] Compiling DequeModule _UnsafeWrappedBuffer.swift
[54/72] Compiling CoreMetrics Metrics.swift
[55/72] Compiling Logging MetadataProvider.swift
[56/72] Emitting module _NIODataStructures
[57/72] Compiling _NIODataStructures Heap.swift
[59/74] Emitting module CoreMetrics
[60/74] Compiling CoreMetrics Locks.swift
[63/76] Wrapping AST for CoreMetrics for debugging
[64/76] Compiling c-nioatomics.c
[66/78] Compiling Logging Locks.swift
[67/78] Compiling Logging LogHandler.swift
[68/78] Compiling Logging Logging.swift
[70/80] Wrapping AST for Logging for debugging
[75/82] Compiling c-atomics.c
[77/88] Compiling NIOConcurrencyHelpers NIOLock.swift
[78/88] Emitting module Metrics
[79/88] Compiling Metrics Metrics.swift
[81/90] Wrapping AST for Metrics for debugging
[83/102] Emitting module NIOConcurrencyHelpers
[84/102] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[85/102] Compiling SWIM String+Extensions.swift
[86/103] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[87/103] Compiling NIOConcurrencyHelpers lock.swift
[88/103] Compiling NIOConcurrencyHelpers atomics.swift
[91/105] Compiling SWIM Settings.swift
[92/105] Compiling SWIM Status.swift
[93/131] Compiling SWIM Dispatch+Extensions.swift
[94/131] Compiling SWIM Heap.swift
[95/153] Compiling SWIM _PrettyLog.swift
[96/161] Compiling NIOCore NIOAsyncSequenceProducer.swift
[97/161] Compiling NIOCore NIOAsyncSequenceProducerStrategies.swift
[98/161] Compiling NIOCore ByteBuffer-conversions.swift
[99/161] Compiling NIOCore ByteBuffer-core.swift
[100/161] Compiling NIOCore BSDSocketAPI.swift
[101/161] Compiling NIOCore ByteBuffer-aux.swift
[102/161] Emitting module SWIM
[104/163] Wrapping AST for SWIM for debugging
[106/165] Emitting module it_Clustered_swim_suspension_reachability
[107/165] Compiling it_Clustered_swim_suspension_reachability main.swift
[109/167] Wrapping AST for it_Clustered_swim_suspension_reachability for debugging
[110/167] Linking it_Clustered_swim_suspension_reachability
[112/167] Compiling NIOCore NIOAny.swift
[113/167] Compiling NIOCore NIOCloseOnErrorHandler.swift
[114/167] Compiling NIOCore NIOLoopBound.swift
[115/167] Compiling NIOCore NIOSendable.swift
[116/167] Compiling NIOCore PointerHelpers.swift
[117/167] Compiling NIOCore RecvByteBufferAllocator.swift
[118/167] Compiling NIOCore SingleStepByteToMessageDecoder.swift
[119/167] Compiling NIOCore EventLoop.swift
[120/167] Compiling NIOCore EventLoopFuture+Deprecated.swift
[121/167] Compiling NIOCore EventLoopFuture+WithEventLoop.swift
[122/167] Compiling NIOCore EventLoopFuture.swift
[123/167] Compiling NIOCore FileDescriptor.swift
[124/167] Compiling NIOCore FileHandle.swift
[125/167] Compiling NIOCore FileRegion.swift
[126/167] Compiling NIOCore IO.swift
[127/167] Compiling NIOCore IOData.swift
[128/167] Compiling NIOCore IPProtocol.swift
[129/167] Compiling NIOCore IntegerBitPacking.swift
[130/167] Compiling NIOCore IntegerTypes.swift
[131/167] Compiling NIOCore Interfaces.swift
[132/167] Compiling NIOCore Linux.swift
[133/167] Compiling NIOCore MarkedCircularBuffer.swift
[134/167] Compiling NIOCore MulticastChannel.swift
[135/167] Compiling NIOCore ChannelOption.swift
[136/167] Compiling NIOCore ChannelPipeline.swift
[137/167] Compiling NIOCore CircularBuffer.swift
[138/167] Compiling NIOCore Codec.swift
[139/167] Compiling NIOCore ConvenienceOptionSupport.swift
[140/167] Compiling NIOCore DeadChannel.swift
[141/167] Compiling NIOCore DispatchQueue+WithFuture.swift
[142/167] Compiling NIOCore EventLoop+Deprecated.swift
[145/174] Compiling NIOCore NIOAsyncWriter.swift
[146/174] Compiling NIOCore NIOThrowingAsyncSequenceProducer.swift
[151/174] Compiling NIOCore SocketAddresses.swift
[152/174] Compiling NIOCore SocketOptionProvider.swift
[153/174] Compiling NIOCore SystemCallHelpers.swift
[154/174] Compiling NIOCore TimeAmount+Duration.swift
[155/174] Compiling NIOCore TypeAssistedChannelHandler.swift
[156/174] Compiling NIOCore UniversalBootstrapSupport.swift
[157/174] Compiling NIOCore Utilities.swift
[158/174] Compiling NIOCore AddressedEnvelope.swift
[159/174] Compiling NIOCore AsyncAwaitSupport.swift
[160/174] Compiling NIOCore AsyncChannel.swift
[161/174] Compiling NIOCore AsyncChannelInboundStream.swift
[162/174] Compiling NIOCore AsyncChannelInboundStreamChannelHandler.swift
[163/174] Compiling NIOCore AsyncChannelOutboundWriter.swift
[164/174] Compiling NIOCore AsyncChannelOutboundWriterHandler.swift
[165/174] Compiling NIOCore CloseRatchet.swift
[166/174] Compiling NIOCore ByteBuffer-int.swift
[167/174] Compiling NIOCore ByteBuffer-lengthPrefix.swift
[168/174] Compiling NIOCore ByteBuffer-multi-int.swift
[169/174] Compiling NIOCore ByteBuffer-views.swift
[170/174] Compiling NIOCore Channel.swift
[171/174] Compiling NIOCore ChannelHandler.swift
[172/174] Compiling NIOCore ChannelHandlers.swift
[173/174] Compiling NIOCore ChannelInvoker.swift
[174/174] Emitting module NIOCore
[177/223] Compiling NIOEmbedded AsyncTestingEventLoop.swift
[178/223] Emitting module NIOEmbedded
[179/223] Compiling NIOEmbedded Embedded.swift
[180/223] Compiling NIOEmbedded AsyncTestingChannel.swift
[183/225] Emitting module NIOPosix
[184/230] Compiling NIOPosix SelectorKqueue.swift
[185/230] Compiling NIOPosix SelectorUring.swift
[186/230] Compiling NIOPosix ServerSocket.swift
[187/230] Compiling NIOPosix Socket.swift
[188/230] Compiling NIOPosix SocketChannel.swift
[189/230] Compiling NIOPosix SocketProtocols.swift
[190/230] Compiling NIOPosix BaseStreamSocketChannel.swift
[191/230] Compiling NIOPosix Bootstrap.swift
[192/230] Compiling NIOPosix ControlMessage.swift
[193/230] Compiling NIOPosix DatagramVectorReadManager.swift
[194/230] Compiling NIOPosix FileDescriptor.swift
[195/230] Compiling NIOPosix GetaddrinfoResolver.swift
[196/230] Compiling NIOPosix HappyEyeballs.swift
[197/230] Compiling NIOPosix IO.swift
[198/230] Compiling NIOPosix IntegerBitPacking.swift
[199/230] Compiling NIOPosix IntegerTypes.swift
[200/230] Compiling NIOPosix Linux.swift
[201/230] Compiling NIOPosix LinuxCPUSet.swift
[202/230] Compiling NIOPosix BSDSocketAPICommon.swift
[203/230] Compiling NIOPosix BSDSocketAPIPosix.swift
[204/230] Compiling NIOPosix BSDSocketAPIWindows.swift
[205/230] Compiling NIOPosix BaseSocket.swift
[206/230] Compiling NIOPosix BaseSocketChannel+SocketOptionProvider.swift
[207/230] Compiling NIOPosix BaseSocketChannel.swift
[208/230] Compiling NIOPosix System.swift
[209/230] Compiling NIOPosix Thread.swift
[210/230] Compiling NIOPosix ThreadPosix.swift
[211/230] Compiling NIOPosix ThreadWindows.swift
[212/230] Compiling NIOPosix Utilities.swift
[213/230] Compiling NIOPosix PipeChannel.swift
[214/230] Compiling NIOPosix PipePair.swift
[215/230] Compiling NIOPosix PointerHelpers.swift
[216/230] Compiling NIOPosix Pool.swift
[217/230] Compiling NIOPosix PooledRecvBufferAllocator.swift
[218/230] Compiling NIOPosix RawSocketBootstrap.swift
[219/230] Compiling NIOPosix Resolver.swift
[220/230] Compiling NIOPosix Selectable.swift
[221/230] Compiling NIOPosix SelectableChannel.swift
[222/230] Compiling NIOPosix SelectableEventLoop.swift
[223/230] Compiling NIOPosix SelectorEpoll.swift
[224/230] Compiling NIOPosix SelectorGeneric.swift
[225/230] Compiling NIOPosix LinuxUring.swift
[226/230] Compiling NIOPosix MultiThreadedEventLoopGroup.swift
[227/230] Compiling NIOPosix NIOThreadPool.swift
[228/230] Compiling NIOPosix NonBlockingFileIO.swift
[229/230] Compiling NIOPosix PendingDatagramWritesManager.swift
[230/230] Compiling NIOPosix PendingWritesManager.swift
[233/234] Emitting module NIO
[234/234] Compiling NIO Exports.swift
[237/252] Compiling NIOFoundationCompat JSONSerialization+ByteBuffer.swift
[238/252] Compiling NIOHTTP1 NIOHTTPClientUpgradeHandler.swift
[239/253] Compiling NIOHTTP1 HTTPHeaders+Validation.swift
[240/253] Compiling NIOHTTP1 HTTPPipelineSetup.swift
[241/253] Compiling NIOHTTP1 HTTPServerPipelineHandler.swift
[242/253] Compiling NIOHTTP1 HTTPServerProtocolErrorHandler.swift
[243/253] Compiling NIOHTTP1 HTTPEncoder.swift
[244/253] Compiling NIOHTTP1 HTTPHeaderValidator.swift
[245/253] Compiling NIOHTTP1 NIOHTTPObjectAggregator.swift
[246/253] Compiling NIOHTTP1 HTTPServerUpgradeHandler.swift
[247/253] Compiling NIOHTTP1 HTTPTypes.swift
[248/253] Emitting module NIOHTTP1
[249/253] Compiling NIOHTTP1 ByteCollectionUtils.swift
[250/253] Compiling NIOHTTP1 HTTPDecoder.swift
[253/272] Compiling NIOExtras LineBasedFrameDecoder.swift
[254/272] Compiling NIOExtras MarkedCircularBuffer+PopFirstCheckMarked.swift
[255/272] Compiling NIOExtras QuiescingHelper.swift
[256/272] Compiling NIOExtras RequestResponseHandler.swift
[257/272] Compiling NIOExtras NIOExtrasError.swift
[258/272] Compiling NIOExtras NIOLengthFieldBitLength.swift
[259/272] Compiling NIOExtras HTTP1ProxyConnectHandler.swift
[260/272] Compiling NIOExtras JSONRPCFraming+ContentLengthHeader.swift
[261/272] Compiling NIOExtras JSONRPCFraming.swift
[262/272] Compiling NIOExtras NIORequestIdentifiable.swift
[263/272] Compiling NIOExtras PCAPRingBuffer.swift
[264/272] Compiling NIOExtras DebugInboundEventsHandler.swift
[265/272] Compiling NIOExtras DebugOutboundEventsHandler.swift
[266/272] Compiling NIOExtras FixedLengthFrameDecoder.swift
[267/274] Compiling NIOExtras LengthFieldBasedFrameDecoder.swift
[268/274] Compiling NIOExtras LengthFieldPrepender.swift
[269/274] Emitting module NIOExtras
[270/274] Compiling NIOExtras RequestResponseWithIDHandler.swift
[271/274] Compiling NIOExtras WritePCAPHandler.swift
[274/276] Compiling NIOFoundationCompat Codable+ByteBuffer.swift
[275/276] Emitting module NIOFoundationCompat
[276/276] Compiling NIOFoundationCompat ByteBuffer-foundation.swift
[279/288] Compiling SWIMNIOExample String+Extensions.swift
[280/288] Compiling SWIMNIOExample Settings.swift
[281/289] Compiling SWIMNIOExample time.swift
[282/289] Compiling SWIMNIOExample Message.swift
[283/289] Compiling SWIMNIOExample Metrics+Extensions.swift
[284/289] Emitting module SWIMNIOExample
[285/289] Compiling SWIMNIOExample Coding.swift
[286/289] Compiling SWIMNIOExample Logging.swift
[287/289] Compiling SWIMNIOExample NIOPeer.swift
[288/289] Compiling SWIMNIOExample SWIMNIOHandler.swift
[289/289] Compiling SWIMNIOExample SWIMNIOShell.swift
/host/spi-builder-workspace/Sources/SWIMNIOExample/SWIMNIOShell.swift:398:72: error: ambiguous use of 'recordInterval'
                    self.swim.metrics.shell.pingRequestResponseTimeAll.recordInterval(since: pingRequestSentAt)
                                                                       ^
/host/spi-builder-workspace/Sources/SWIMNIOExample/Metrics+Extensions.swift:21:10: note: found this candidate
    func recordInterval(since: DispatchTime, now: DispatchTime = .now()) {
         ^
/host/spi-builder-workspace/.build/checkouts/swift-metrics/Sources/Metrics/Metrics.swift:42:17: note: found this candidate
    public func recordInterval(since: DispatchTime, end: DispatchTime = .now()) {
                ^
/host/spi-builder-workspace/Sources/SWIMNIOExample/SWIMNIOShell.swift:426:70: error: ambiguous use of 'recordInterval'
                self.swim.metrics.shell.pingRequestResponseTimeFirst.recordInterval(since: startedSendingPingRequestsSentAt)
                                                                     ^
/host/spi-builder-workspace/Sources/SWIMNIOExample/Metrics+Extensions.swift:21:10: note: found this candidate
    func recordInterval(since: DispatchTime, now: DispatchTime = .now()) {
         ^
/host/spi-builder-workspace/.build/checkouts/swift-metrics/Sources/Metrics/Metrics.swift:42:17: note: found this candidate
    public func recordInterval(since: DispatchTime, end: DispatchTime = .now()) {
                ^
error: fatalError
BUILD FAILURE 5.9 linux

Build Machine: Linux 2