The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build velox-serve, reference main (c5ac9c), with Swift 6.0 for Linux on 15 Sep 2024 12:39:05 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.53.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/t089/velox-serve.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/t089/velox-serve
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at c5ac9cf make ResponseWrite non-copyable
Cloned https://github.com/t089/velox-serve.git
Revision (git rev-parse @):
c5ac9cf571aa1408bca34b5798781d3252ed539d
SUCCESS checkout https://github.com/t089/velox-serve.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/t089/velox-serve.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:9d7dab235f2b0b46edadd73b1fb0c3b5323df02053420324a4a2f8ca89cb54a5
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-nio-transport-services.git
Fetching https://github.com/apple/swift-numerics.git
Fetching https://github.com/apple/swift-collections.git
[1/2154] Fetching swift-nio-transport-services
[2155/7045] Fetching swift-nio-transport-services, swift-nio-extras
[7046/12621] Fetching swift-nio-transport-services, swift-nio-extras, swift-numerics
[7493/16259] Fetching swift-nio-transport-services, swift-nio-extras, swift-numerics, swift-system
[14583/31293] Fetching swift-nio-transport-services, swift-nio-extras, swift-numerics, swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (0.43s)
[14426/27655] Fetching swift-nio-transport-services, swift-nio-extras, swift-numerics, swift-collections
Fetching https://github.com/apple/swift-argument-parser
[15329/40236] Fetching swift-nio-transport-services, swift-nio-extras, swift-numerics, swift-collections, swift-nio-ssl
[27483/52405] Fetching swift-nio-transport-services, swift-nio-extras, swift-numerics, swift-collections, swift-nio-ssl, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (0.87s)
Fetching https://github.com/apple/swift-nio.git
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (1.46s)
Fetched https://github.com/apple/swift-numerics.git from cache (1.46s)
Fetched https://github.com/apple/swift-nio-extras.git from cache (1.46s)
Fetching https://github.com/apple/swift-metrics.git
Fetching https://github.com/apple/swift-nio-http2.git
Fetched https://github.com/apple/swift-nio-ssl.git from cache (1.48s)
Fetching https://github.com/apple/swift-http-types
Fetched https://github.com/apple/swift-collections.git from cache (1.49s)
Fetching https://github.com/apple/swift-atomics.git
[1/528] Fetching swift-http-types
[529/2587] Fetching swift-http-types, swift-metrics
Fetched https://github.com/apple/swift-http-types from cache (0.20s)
[639/2059] Fetching swift-metrics
Fetching https://github.com/apple/swift-algorithms
[1916/3628] Fetching swift-metrics, swift-atomics
Fetching https://github.com/apple/swift-log.git
Fetched https://github.com/apple/swift-metrics.git from cache (0.30s)
[1413/1569] Fetching swift-atomics
Fetching https://github.com/swift-server/async-http-client.git
[1570/12183] Fetching swift-atomics, swift-nio-http2
Fetched https://github.com/apple/swift-atomics.git from cache (0.43s)
[2549/16113] Fetching swift-nio-http2, swift-algorithms
[2714/19699] Fetching swift-nio-http2, swift-algorithms, swift-log
[12271/89485] Fetching swift-nio-http2, swift-algorithms, swift-log, swift-nio
[14879/102539] Fetching swift-nio-http2, swift-algorithms, swift-log, swift-nio, async-http-client
Fetched https://github.com/apple/swift-log.git from cache (0.35s)
[15452/98953] Fetching swift-nio-http2, swift-algorithms, swift-nio, async-http-client
Fetched https://github.com/apple/swift-algorithms from cache (0.44s)
[13144/93454] Fetching swift-nio-http2, swift-nio, async-http-client
Fetched https://github.com/apple/swift-nio-http2.git from cache (1.22s)
[47250/82840] Fetching swift-nio, async-http-client
Fetched https://github.com/swift-server/async-http-client.git from cache (0.95s)
[34893/69786] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (4.53s)
Computing version for https://github.com/swift-server/async-http-client.git
Computed https://github.com/swift-server/async-http-client.git at 1.20.1 (2.47s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.21.0 (0.59s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.4.1 (0.50s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.5.4 (0.53s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.3.0 (0.48s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.63.0 (0.69s)
Computing version for https://github.com/apple/swift-algorithms
Computed https://github.com/apple/swift-algorithms at 1.2.0 (0.51s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (0.49s)
Computing version for https://github.com/apple/swift-nio-transport-services.git
Computed https://github.com/apple/swift-nio-transport-services.git at 1.20.1 (0.53s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.30.0 (0.57s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.26.0 (0.63s)
Computing version for https://github.com/apple/swift-http-types
Computed https://github.com/apple/swift-http-types at 1.0.3 (0.52s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.2.1 (0.52s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.0 (0.85s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.2 (0.53s)
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.1
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.30.0
Creating working copy for https://github.com/swift-server/async-http-client.git
Working copy of https://github.com/swift-server/async-http-client.git resolved at 1.20.1
Creating working copy for https://github.com/apple/swift-http-types
Working copy of https://github.com/apple/swift-http-types resolved at 1.0.3
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.2
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.21.0
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.2.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.5.4
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.63.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.3.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.26.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.20.1
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.1.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.2.0
Creating working copy for https://github.com/apple/swift-algorithms
Working copy of https://github.com/apple/swift-algorithms resolved at 1.2.0
warning: 'spi-builder-workspace': dependency 'swift-metrics' is not used by any target
warning: 'swift-algorithms': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/.build/checkouts/swift-algorithms/Sources/Algorithms/Documentation.docc
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/49] Write sources
[15/49] Compiling CNIOWindows shim.c
[16/49] Compiling CNIOWindows WSAStartup.c
[16/49] Compiling CNIOLinux liburing_shims.c
[18/49] Compiling _AtomicsShims.c
[19/49] Compiling CNIODarwin shim.c
[19/49] Write sources
[23/49] Compiling CNIOLLHTTP c_nio_api.c
[24/49] Compiling CNIOLinux shim.c
[25/49] Compiling CNIOLLHTTP c_nio_http.c
[26/49] Write swift-version-24593BA9C3E375BF.txt
[27/51] Compiling CNIOLLHTTP c_nio_llhttp.c
[29/98] Emitting module ArgumentParserToolInfo
[30/98] Emitting module _NIOBase64
[30/98] Compiling c-nioatomics.c
[31/98] Compiling c-atomics.c
[33/104] Compiling _NIODataStructures _TinyArray.swift
[34/104] Emitting module Atomics
[35/104] Compiling Atomics AtomicMemoryOrderings.swift
[36/104] Compiling Atomics DoubleWord.swift
[37/106] Compiling Atomics UnsafeAtomic.swift
[38/106] Compiling Atomics UnsafeAtomicLazyReference.swift
[39/106] Compiling Atomics AtomicStorage.swift
[40/106] Compiling Atomics AtomicValue.swift
[43/106] Compiling Atomics ManagedAtomic.swift
[44/106] Compiling Atomics ManagedAtomicLazyReference.swift
[45/108] Compiling Atomics IntegerConformances.swift
[46/108] Compiling Atomics PointerConformances.swift
[47/108] Compiling Atomics Primitives.native.swift
[48/108] Compiling Atomics OptionalRawRepresentable.swift
[49/108] Compiling Atomics RawRepresentable.swift
[50/108] Compiling Atomics AtomicBool.swift
[51/108] Emitting module _CollectionsUtilities
[52/108] Compiling Atomics Primitives.shims.swift
[53/108] Compiling Atomics AtomicInteger.swift
[54/108] Compiling Atomics AtomicOptionalWrappable.swift
[55/108] Compiling Atomics AtomicReference.swift
[58/108] Compiling ArgumentParserToolInfo ToolInfo.swift
[66/109] Compiling _NIODataStructures PriorityQueue.swift
[67/109] Compiling _NIOBase64 Base64.swift
[68/110] Emitting module NIOConcurrencyHelpers
[75/110] Wrapping AST for ArgumentParserToolInfo for debugging
[77/110] Compiling Atomics IntegerOperations.swift
[78/110] Compiling Atomics Unmanaged extensions.swift
[78/111] Wrapping AST for _NIOBase64 for debugging
[81/148] Compiling ArgumentParser ExpressibleByArgument.swift
[82/148] Compiling ArgumentParser ParsableArguments.swift
[83/149] Wrapping AST for Atomics for debugging
[84/149] Wrapping AST for _CollectionsUtilities for debugging
[86/165] Compiling NIOConcurrencyHelpers atomics.swift
[87/165] Compiling Logging MetadataProvider.swift
[88/165] Compiling Logging LogHandler.swift
[89/165] Compiling Logging Logging.swift
[90/165] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[91/165] Compiling NIOConcurrencyHelpers NIOLock.swift
[92/165] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[93/165] Compiling NIOConcurrencyHelpers lock.swift
[94/166] Emitting module _NIODataStructures
[95/166] Compiling _NIODataStructures Heap.swift
[96/167] Emitting module Logging
[97/167] Compiling Logging Locks.swift
[100/168] Wrapping AST for _NIODataStructures for debugging
[101/168] Wrapping AST for Logging for debugging
[102/168] Wrapping AST for NIOConcurrencyHelpers for debugging
[104/168] Compiling DequeModule _DequeBuffer.swift
[105/168] Compiling DequeModule _DequeBufferHeader.swift
[106/168] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[107/168] Compiling DequeModule Deque+Extras.swift
[108/170] Compiling DequeModule Deque._UnsafeHandle.swift
[109/170] Compiling DequeModule Deque.swift
[110/170] Compiling DequeModule _DequeSlot.swift
[111/170] Compiling DequeModule _UnsafeWrappedBuffer.swift
[112/170] Compiling DequeModule Deque+Testing.swift
[113/170] Compiling DequeModule Deque._Storage.swift
[114/170] Emitting module DequeModule
[115/170] Compiling DequeModule Deque+Hashable.swift
[116/170] Compiling DequeModule Deque+Sendable.swift
[117/170] Compiling DequeModule Deque+Descriptions.swift
[118/170] Compiling DequeModule Deque+Equatable.swift
[119/170] Compiling DequeModule Deque+Codable.swift
[120/170] Compiling DequeModule Deque+Collection.swift
[121/170] Compiling DequeModule Deque+CustomReflectable.swift
[122/171] Wrapping AST for DequeModule for debugging
[124/228] Compiling NIOCore BSDSocketAPI.swift
[125/228] Compiling NIOCore ByteBuffer-aux.swift
[126/228] Compiling NIOCore ByteBuffer-conversions.swift
[127/228] Compiling NIOCore ByteBuffer-core.swift
[128/228] Compiling NIOCore ByteBuffer-hexdump.swift
[129/233] Compiling NIOCore AsyncChannelOutboundWriterHandler.swift
[130/233] Compiling NIOCore NIOAsyncSequenceProducer.swift
[131/233] Compiling NIOCore NIOAsyncSequenceProducerStrategies.swift
[132/233] Compiling NIOCore NIOAsyncWriter.swift
[133/233] Compiling NIOCore NIOThrowingAsyncSequenceProducer.swift
[134/233] Emitting module ArgumentParser
[135/233] Compiling NIOCore MarkedCircularBuffer.swift
[136/233] Compiling NIOCore MulticastChannel.swift
[137/233] Compiling NIOCore NIOAny.swift
[138/233] Compiling NIOCore NIOCloseOnErrorHandler.swift
[139/233] Compiling NIOCore NIOLoopBound.swift
[140/233] Compiling NIOCore NIOSendable.swift
[141/233] Compiling NIOCore PointerHelpers.swift
[142/233] Compiling NIOCore RecvByteBufferAllocator.swift
[143/241] Compiling NIOCore AddressedEnvelope.swift
[144/241] Compiling NIOCore AsyncAwaitSupport.swift
[145/241] Compiling NIOCore AsyncChannel.swift
[146/241] Compiling NIOCore AsyncChannelInboundStream.swift
[147/241] Compiling NIOCore AsyncChannelInboundStreamChannelHandler.swift
[148/241] Compiling NIOCore AsyncChannelOutboundWriter.swift
[149/241] Compiling ArgumentParser CollectionExtensions.swift
[150/241] Compiling ArgumentParser Platform.swift
[151/241] Compiling ArgumentParser SequenceExtensions.swift
[152/241] Compiling ArgumentParser StringExtensions.swift
[153/241] Compiling ArgumentParser Tree.swift
[154/241] Compiling NIOCore GlobalSingletons.swift
[155/241] Compiling NIOCore IO.swift
[156/241] Compiling NIOCore IOData.swift
[157/241] Compiling NIOCore IPProtocol.swift
[162/241] Compiling NIOCore ByteBuffer-int.swift
[163/241] Compiling NIOCore ByteBuffer-lengthPrefix.swift
[164/241] Compiling NIOCore ByteBuffer-multi-int.swift
[165/241] Compiling NIOCore ByteBuffer-views.swift
[166/241] Compiling NIOCore Channel.swift
[167/241] Compiling NIOCore ChannelHandler.swift
[168/241] Compiling NIOCore ChannelHandlers.swift
[169/241] Compiling NIOCore ChannelInvoker.swift
[170/241] Compiling NIOCore ChannelOption.swift
[171/241] Compiling NIOCore ChannelPipeline.swift
[181/241] Compiling NIOCore EventLoop.swift
[182/241] Compiling NIOCore EventLoopFuture+Deprecated.swift
[183/241] Compiling NIOCore EventLoopFuture+WithEventLoop.swift
[184/241] Compiling NIOCore EventLoopFuture.swift
[185/241] Compiling NIOCore FileDescriptor.swift
[186/241] Compiling NIOCore FileHandle.swift
[187/241] Compiling NIOCore FileRegion.swift
[190/241] Compiling NIOCore CircularBuffer.swift
[191/241] Compiling NIOCore Codec.swift
[192/241] Compiling NIOCore ConvenienceOptionSupport.swift
[193/241] Compiling NIOCore DeadChannel.swift
[194/241] Compiling NIOCore DispatchQueue+WithFuture.swift
[195/241] Compiling NIOCore EventLoop+Deprecated.swift
[196/241] Compiling NIOCore SingleStepByteToMessageDecoder.swift
[197/241] Compiling NIOCore SocketAddresses.swift
[198/241] Compiling NIOCore SocketOptionProvider.swift
[199/241] Compiling NIOCore SystemCallHelpers.swift
[200/241] Compiling NIOCore TimeAmount+Duration.swift
[201/241] Compiling NIOCore TypeAssistedChannelHandler.swift
[202/241] Compiling NIOCore UniversalBootstrapSupport.swift
[203/241] Compiling NIOCore Utilities.swift
[214/242] Wrapping AST for ArgumentParser for debugging
[232/242] Emitting module NIOCore
[233/243] Wrapping AST for NIOCore for debugging
[235/294] Compiling NIOEmbedded AsyncTestingEventLoop.swift
[236/294] Compiling NIOEmbedded AsyncTestingChannel.swift
[237/294] Compiling NIOEmbedded Embedded.swift
[238/294] Emitting module NIOEmbedded
[239/295] Wrapping AST for NIOEmbedded for debugging
[241/295] Emitting module NIOPosix
[242/301] Compiling NIOPosix IntegerBitPacking.swift
[243/301] Compiling NIOPosix IntegerTypes.swift
[244/301] Compiling NIOPosix Linux.swift
[245/301] Compiling NIOPosix LinuxCPUSet.swift
[246/301] Compiling NIOPosix LinuxUring.swift
[247/301] Compiling NIOPosix MultiThreadedEventLoopGroup.swift
[248/301] Compiling NIOPosix NIOThreadPool.swift
[249/301] Compiling NIOPosix SelectableChannel.swift
[250/301] Compiling NIOPosix SelectableEventLoop.swift
[251/301] Compiling NIOPosix SelectorEpoll.swift
[252/301] Compiling NIOPosix SelectorGeneric.swift
[253/301] Compiling NIOPosix SelectorKqueue.swift
[254/301] Compiling NIOPosix SelectorUring.swift
[255/301] Compiling NIOPosix ServerSocket.swift
[256/301] Compiling NIOPosix Socket.swift
[257/301] Compiling NIOPosix SocketChannel.swift
[258/301] Compiling NIOPosix SocketProtocols.swift
[259/301] Compiling NIOPosix System.swift
[260/301] Compiling NIOPosix Thread.swift
[261/301] Compiling NIOPosix Bootstrap.swift
[262/301] Compiling NIOPosix ControlMessage.swift
[263/301] Compiling NIOPosix DatagramVectorReadManager.swift
[264/301] Compiling NIOPosix FileDescriptor.swift
[265/301] Compiling NIOPosix GetaddrinfoResolver.swift
[266/301] Compiling NIOPosix HappyEyeballs.swift
[267/301] Compiling NIOPosix IO.swift
[268/301] Compiling NIOPosix ThreadPosix.swift
[269/301] Compiling NIOPosix ThreadWindows.swift
[270/301] Compiling NIOPosix UnsafeTransfer.swift
[271/301] Compiling NIOPosix Utilities.swift
[272/301] Compiling NIOPosix VsockAddress.swift
[273/301] Compiling NIOPosix VsockChannelEvents.swift
[274/301] Compiling NIOPosix PooledRecvBufferAllocator.swift
[275/301] Compiling NIOPosix PosixSingletons+ConcurrencyTakeOver.swift
[276/301] Compiling NIOPosix PosixSingletons.swift
[277/301] Compiling NIOPosix RawSocketBootstrap.swift
[278/301] Compiling NIOPosix Resolver.swift
[279/301] Compiling NIOPosix Selectable.swift
[280/301] Compiling NIOPosix NonBlockingFileIO.swift
[281/301] Compiling NIOPosix PendingDatagramWritesManager.swift
[282/301] Compiling NIOPosix PendingWritesManager.swift
[283/301] Compiling NIOPosix PipeChannel.swift
[284/301] Compiling NIOPosix PipePair.swift
[285/301] Compiling NIOPosix PointerHelpers.swift
[286/301] Compiling NIOPosix Pool.swift
[287/301] Compiling NIOPosix BSDSocketAPICommon.swift
[288/301] Compiling NIOPosix BSDSocketAPIPosix.swift
[289/301] Compiling NIOPosix BSDSocketAPIWindows.swift
[290/301] Compiling NIOPosix BaseSocket.swift
[291/301] Compiling NIOPosix BaseSocketChannel+SocketOptionProvider.swift
[292/301] Compiling NIOPosix BaseSocketChannel.swift
[293/301] Compiling NIOPosix BaseStreamSocketChannel.swift
[294/302] Wrapping AST for NIOPosix for debugging
[296/304] Compiling NIO Exports.swift
[297/304] Emitting module NIO
[298/306] Wrapping AST for NIO for debugging
[300/321] Compiling NIOHTTP1 HTTPHeaderValidator.swift
[301/321] Compiling NIOHTTP1 HTTPHeaders+Validation.swift
[302/323] Emitting module NIOHTTP1
[303/323] Compiling NIOHTTP1 HTTPPipelineSetup.swift
[304/323] Compiling NIOHTTP1 HTTPServerPipelineHandler.swift
[305/323] Compiling NIOHTTP1 NIOTypedHTTPServerUpgradeHandler.swift
[306/323] Compiling NIOHTTP1 NIOTypedHTTPServerUpgraderStateMachine.swift
[307/323] Compiling NIOHTTP1 NIOHTTPClientUpgradeHandler.swift
[308/323] Compiling NIOHTTP1 NIOHTTPObjectAggregator.swift
[309/323] Compiling NIOHTTP1 NIOTypedHTTPClientUpgradeHandler.swift
[310/323] Compiling NIOHTTP1 NIOTypedHTTPClientUpgraderStateMachine.swift
[311/323] Compiling NIOHTTP1 HTTPTypedPipelineSetup.swift
[312/323] Compiling NIOHTTP1 HTTPTypes.swift
[313/323] Compiling NIOHTTP1 HTTPServerProtocolErrorHandler.swift
[314/323] Compiling NIOHTTP1 HTTPServerUpgradeHandler.swift
[315/323] Compiling NIOHTTP1 ByteCollectionUtils.swift
[316/323] Compiling NIOHTTP1 HTTPDecoder.swift
[317/323] Compiling NIOHTTP1 HTTPEncoder.swift
[318/324] Wrapping AST for NIOHTTP1 for debugging
[320/341] Compiling NIOExtras NIOExtrasError.swift
[321/341] Compiling NIOExtras NIOLengthFieldBitLength.swift
[322/343] Compiling NIOExtras QuiescingHelper.swift
[323/343] Compiling NIOExtras RequestResponseHandler.swift
[324/343] Compiling NIOExtras NIORequestIdentifiable.swift
[325/343] Compiling NIOExtras PCAPRingBuffer.swift
[326/343] Compiling NIOExtras LineBasedFrameDecoder.swift
[327/343] Compiling NIOExtras MarkedCircularBuffer+PopFirstCheckMarked.swift
[328/343] Compiling NIOExtras DebugInboundEventsHandler.swift
[329/343] Compiling NIOExtras DebugOutboundEventsHandler.swift
[330/343] Compiling NIOExtras FixedLengthFrameDecoder.swift
[331/343] Compiling NIOExtras LengthFieldBasedFrameDecoder.swift
[332/343] Compiling NIOExtras LengthFieldPrepender.swift
[333/343] Compiling NIOExtras HTTP1ProxyConnectHandler.swift
[334/343] Compiling NIOExtras JSONRPCFraming+ContentLengthHeader.swift
[335/343] Compiling NIOExtras JSONRPCFraming.swift
[336/343] Emitting module NIOExtras
[337/343] Compiling NIOExtras RequestResponseWithIDHandler.swift
[338/343] Compiling NIOExtras WritePCAPHandler.swift
[339/344] Wrapping AST for NIOExtras for debugging
[341/348] Emitting module VeloxServe
/host/spi-builder-workspace/Sources/VeloxServe/server.swift:509:8: warning: type 'ResponsePart' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
507 |
508 | @usableFromInline
509 | struct HTTPHandlerWriterSinkDelegate: @unchecked Sendable, NIOAsyncWriterSinkDelegate {
    |        `- warning: type 'ResponsePart' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
510 |     @usableFromInline
511 |     let eventLoop: EventLoop
    :
740 |
741 | @usableFromInline
742 | enum ResponsePart {
    |      `- note: consider making enum 'ResponsePart' conform to the 'Sendable' protocol
743 |     case head(HTTPResponseHead)
744 |     case bodyPart(ByteBuffer)
/host/spi-builder-workspace/Sources/VeloxServe/server.swift:528:28: warning: capture of 'sequence' with non-sendable type 'Deque<ResponsePart>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
526 |     func didYield(contentsOf sequence: DequeModule.Deque<ResponsePart>) {
527 |         self.eventLoop.execute {
528 |             self._didYield(sequence)
    |                            `- warning: capture of 'sequence' with non-sendable type 'Deque<ResponsePart>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
529 |         }
530 |     }
    :
740 |
741 | @usableFromInline
742 | enum ResponsePart {
    |      `- note: consider making enum 'ResponsePart' conform to the 'Sendable' protocol
743 |     case head(HTTPResponseHead)
744 |     case bodyPart(ByteBuffer)
[342/348] Compiling VeloxServe UserInfo.swift
[343/348] Compiling VeloxServe UTCInstant.swift
[344/348] Compiling VeloxServe server.swift
/host/spi-builder-workspace/Sources/VeloxServe/server.swift:509:8: warning: type 'ResponsePart' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
507 |
508 | @usableFromInline
509 | struct HTTPHandlerWriterSinkDelegate: @unchecked Sendable, NIOAsyncWriterSinkDelegate {
    |        `- warning: type 'ResponsePart' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
510 |     @usableFromInline
511 |     let eventLoop: EventLoop
    :
740 |
741 | @usableFromInline
742 | enum ResponsePart {
    |      `- note: consider making enum 'ResponsePart' conform to the 'Sendable' protocol
743 |     case head(HTTPResponseHead)
744 |     case bodyPart(ByteBuffer)
/host/spi-builder-workspace/Sources/VeloxServe/server.swift:44:34: warning: capture of 'handler' with non-sendable type '(RequestReader, inout ResponseWriter) async throws -> Void' in a `@Sendable` local function; this is an error in the Swift 6 language mode
 42 |                         eventLoop: channel.eventLoop,
 43 |                         logger: logger,
 44 |                         handler: handler))
    |                                  |- warning: capture of 'handler' with non-sendable type '(RequestReader, inout ResponseWriter) async throws -> Void' in a `@Sendable` local function; this is an error in the Swift 6 language mode
    |                                  `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 45 |             }
 46 |         }
/host/spi-builder-workspace/Sources/VeloxServe/server.swift:44:34: warning: capture of 'handler' with non-sendable type '(RequestReader, inout ResponseWriter) async throws -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 42 |                         eventLoop: channel.eventLoop,
 43 |                         logger: logger,
 44 |                         handler: handler))
    |                                  |- warning: capture of 'handler' with non-sendable type '(RequestReader, inout ResponseWriter) async throws -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |                                  `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 45 |             }
 46 |         }
/host/spi-builder-workspace/Sources/VeloxServe/server.swift:528:28: warning: capture of 'sequence' with non-sendable type 'Deque<ResponsePart>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
526 |     func didYield(contentsOf sequence: DequeModule.Deque<ResponsePart>) {
527 |         self.eventLoop.execute {
528 |             self._didYield(sequence)
    |                            `- warning: capture of 'sequence' with non-sendable type 'Deque<ResponsePart>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
529 |         }
530 |     }
    :
740 |
741 | @usableFromInline
742 | enum ResponsePart {
    |      `- note: consider making enum 'ResponsePart' conform to the 'Sendable' protocol
743 |     case head(HTTPResponseHead)
744 |     case bodyPart(ByteBuffer)
/host/spi-builder-workspace/Sources/VeloxServe/server.swift:263:32: warning: value of non-Sendable type '@isolated(any) @async @callee_guaranteed @substituted <τ_0_0> () -> (@out τ_0_0, @error any Error) for <()>' accessed after being transferred; later accesses could race; this is an error in the Swift 6 language mode
261 |             let allocator = context.channel.allocator
262 |
263 |             let responseTask = Task {
    |                                `- warning: value of non-Sendable type '@isolated(any) @async @callee_guaranteed @substituted <τ_0_0> () -> (@out τ_0_0, @error any Error) for <()>' accessed after being transferred; later accesses could race; this is an error in the Swift 6 language mode
264 |                 var out = ResponseWriter(
265 |                     allocator: allocator,
    :
284 |             self.state = .executing(
285 |                 context: context,
286 |                 request: .streaming(head: head, body: seq, trailersPromise: trailersPromise),
    |                           `- note: access can happen concurrently
287 |                 response: .waitingForHead(
288 |                     expects100Continue: head.expects100Continue,
[345/349] Wrapping AST for VeloxServe for debugging
[347/351] Emitting module Example
/host/spi-builder-workspace/Sources/Example/example.swift:118:5: warning: let 'randomStaticBuffer' is not concurrency-safe because non-'Sendable' type 'UnsafeMutableBufferPointer<UInt8>' may have shared mutable state; this is an error in the Swift 6 language mode
116 | }
117 |
118 | let randomStaticBuffer : UnsafeMutableBufferPointer<UInt8> = {
    |     |- warning: let 'randomStaticBuffer' is not concurrency-safe because non-'Sendable' type 'UnsafeMutableBufferPointer<UInt8>' may have shared mutable state; this is an error in the Swift 6 language mode
    |     |- note: annotate 'randomStaticBuffer' with '@MainActor' if property should only be accessed from the main actor
    |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
119 |     let count = 1024 * 1024 * 10
120 |     let buffer = UnsafeMutableBufferPointer<UInt8>.allocate(capacity: count)
Swift.UnsafeMutableBufferPointer:1:23: note: generic struct 'UnsafeMutableBufferPointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeMutableBufferPointer<Element> : Copyable where Element : ~Copyable {
  |                       `- note: generic struct 'UnsafeMutableBufferPointer' does not conform to the 'Sendable' protocol
2 |     public let count: Int
3 |     @inlinable public init(start: UnsafeMutablePointer<Element>?, count: Int)
[348/351] Compiling Example example.swift
/host/spi-builder-workspace/Sources/Example/example.swift:118:5: warning: let 'randomStaticBuffer' is not concurrency-safe because non-'Sendable' type 'UnsafeMutableBufferPointer<UInt8>' may have shared mutable state; this is an error in the Swift 6 language mode
116 | }
117 |
118 | let randomStaticBuffer : UnsafeMutableBufferPointer<UInt8> = {
    |     |- warning: let 'randomStaticBuffer' is not concurrency-safe because non-'Sendable' type 'UnsafeMutableBufferPointer<UInt8>' may have shared mutable state; this is an error in the Swift 6 language mode
    |     |- note: annotate 'randomStaticBuffer' with '@MainActor' if property should only be accessed from the main actor
    |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
119 |     let count = 1024 * 1024 * 10
120 |     let buffer = UnsafeMutableBufferPointer<UInt8>.allocate(capacity: count)
Swift.UnsafeMutableBufferPointer:1:23: note: generic struct 'UnsafeMutableBufferPointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeMutableBufferPointer<Element> : Copyable where Element : ~Copyable {
  |                       `- note: generic struct 'UnsafeMutableBufferPointer' does not conform to the 'Sendable' protocol
2 |     public let count: Int
3 |     @inlinable public init(start: UnsafeMutablePointer<Element>?, count: Int)
/host/spi-builder-workspace/Sources/Example/example.swift:57:29: error: value of type 'DispatchTime' has no member 'distance'
 55 |             uploadedBytes += buffer.readableBytes
 56 |         }
 57 |         let elapsed = start.distance(to: .now())
    |                             `- error: value of type 'DispatchTime' has no member 'distance'
 58 |         try await res.plainText("You uploaded \(uploadedBytes) bytes (\(Double(uploadedBytes)/elapsed.seconds/1024.0/1024.0) MB/s)")
 59 |     }
/host/spi-builder-workspace/Sources/Example/example.swift:57:43: error: cannot infer contextual base in reference to member 'now'
 55 |             uploadedBytes += buffer.readableBytes
 56 |         }
 57 |         let elapsed = start.distance(to: .now())
    |                                           `- error: cannot infer contextual base in reference to member 'now'
 58 |         try await res.plainText("You uploaded \(uploadedBytes) bytes (\(Double(uploadedBytes)/elapsed.seconds/1024.0/1024.0) MB/s)")
 59 |     }
/host/spi-builder-workspace/Sources/Example/example.swift:139:34: error: value of type 'DispatchTime' has no member 'distance'
137 |         do {
138 |             try await serve(req, &res)
139 |             let duration = start.distance(to: .now())
    |                                  `- error: value of type 'DispatchTime' has no member 'distance'
140 |             logger.info(
141 |                 "\(req.head.method) \(req.head.uri) - \(res.head.status.code) - \(duration)")
/host/spi-builder-workspace/Sources/Example/example.swift:139:48: error: cannot infer contextual base in reference to member 'now'
137 |         do {
138 |             try await serve(req, &res)
139 |             let duration = start.distance(to: .now())
    |                                                `- error: cannot infer contextual base in reference to member 'now'
140 |             logger.info(
141 |                 "\(req.head.method) \(req.head.uri) - \(res.head.status.code) - \(duration)")
BUILD FAILURE 6.0 linux