Build Information
Successful build of hummingbird-compression, reference 1.3.0 (50d959
), with Swift 6.0 for Linux on 3 Nov 2024 08:43:16 UTC.
Swift 6 data race errors: 1
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-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.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/hummingbird-project/hummingbird-compression.git
Reference: 1.3.0
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/hummingbird-project/hummingbird-compression
* tag 1.3.0 -> FETCH_HEAD
HEAD is now at 50d9593 compress-nio v1.0.0
Cloned https://github.com/hummingbird-project/hummingbird-compression.git
Revision (git rev-parse @):
50d95939e00fe9125024715c8340cb3f7e181cd6
SUCCESS checkout https://github.com/hummingbird-project/hummingbird-compression.git at 1.3.0
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/hummingbird-project/hummingbird-compression.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/hummingbird-project/hummingbird.git
Fetching https://github.com/adam-fowler/compress-nio.git
Fetching https://github.com/apple/swift-nio.git
[1/613] Fetching compress-nio
[614/22941] Fetching compress-nio, hummingbird
[22942/94088] Fetching compress-nio, hummingbird, swift-nio
Fetched https://github.com/adam-fowler/compress-nio.git from cache (4.52s)
Fetched https://github.com/hummingbird-project/hummingbird.git from cache (4.55s)
Fetched https://github.com/apple/swift-nio.git from cache (4.63s)
Computing version for https://github.com/adam-fowler/compress-nio.git
Computed https://github.com/adam-fowler/compress-nio.git at 1.3.0 (0.69s)
Computing version for https://github.com/hummingbird-project/hummingbird.git
Computed https://github.com/hummingbird-project/hummingbird.git at 1.12.2 (0.49s)
Fetching https://github.com/apple/swift-distributed-tracing.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/hummingbird-project/hummingbird-core.git
Fetching https://github.com/apple/swift-metrics.git
Fetching https://github.com/swift-server/swift-service-lifecycle.git
[1/2213] Fetching hummingbird-core
[2214/4300] Fetching hummingbird-core, swift-metrics
[4301/9125] Fetching hummingbird-core, swift-metrics, swift-distributed-tracing
[4302/11335] Fetching hummingbird-core, swift-metrics, swift-distributed-tracing, swift-service-lifecycle
[4597/14995] Fetching hummingbird-core, swift-metrics, swift-distributed-tracing, swift-service-lifecycle, swift-log
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.30s)
Fetched https://github.com/hummingbird-project/hummingbird-core.git from cache (0.31s)
Fetched https://github.com/apple/swift-metrics.git from cache (0.31s)
Fetched https://github.com/apple/swift-log.git from cache (0.37s)
Fetched https://github.com/apple/swift-distributed-tracing.git from cache (0.39s)
Computing version for https://github.com/hummingbird-project/hummingbird-core.git
Computed https://github.com/hummingbird-project/hummingbird-core.git at 1.6.1 (0.56s)
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-nio-http2.git
Fetching https://github.com/apple/swift-nio-transport-services.git
Fetching https://github.com/apple/swift-nio-extras.git
[1/2260] Fetching swift-nio-transport-services
[2126/7331] Fetching swift-nio-transport-services, swift-nio-extras
[5963/18407] Fetching swift-nio-transport-services, swift-nio-extras, swift-nio-http2
[10212/31702] Fetching swift-nio-transport-services, swift-nio-extras, swift-nio-http2, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (0.58s)
[10389/29442] Fetching swift-nio-extras, swift-nio-http2, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-extras.git from cache (0.58s)
[5562/24371] Fetching swift-nio-http2, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-http2.git from cache (1.16s)
[11833/13295] Fetching swift-nio-ssl
Fetched https://github.com/apple/swift-nio-ssl.git from cache (1.81s)
Computing version for https://github.com/apple/swift-distributed-tracing.git
Computed https://github.com/apple/swift-distributed-tracing.git at 1.1.2 (0.57s)
Fetching https://github.com/apple/swift-service-context.git
[1/973] Fetching swift-service-context
Fetched https://github.com/apple/swift-service-context.git from cache (0.21s)
Computing version for https://github.com/apple/swift-service-context.git
Computed https://github.com/apple/swift-service-context.git at 1.1.0 (0.44s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.34.1 (0.40s)
Fetching https://github.com/apple/swift-atomics.git
[1/1569] Fetching swift-atomics
Fetched https://github.com/apple/swift-atomics.git from cache (0.33s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (0.40s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.1 (0.37s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.76.1 (0.62s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-system.git
[1/3901] Fetching swift-system
[3902/19376] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (1.01s)
Fetched https://github.com/apple/swift-collections.git from cache (1.03s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.0 (0.39s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.4 (0.61s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.5.0 (0.38s)
Computing version for https://github.com/apple/swift-nio-transport-services.git
Computed https://github.com/apple/swift-nio-transport-services.git at 1.23.0 (0.39s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.24.1 (0.42s)
Fetching https://github.com/apple/swift-http-types
[1/648] Fetching swift-http-types
Fetched https://github.com/apple/swift-http-types from cache (0.21s)
Computing version for https://github.com/apple/swift-http-types
Computed https://github.com/apple/swift-http-types at 1.3.0 (0.42s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.29.0 (0.47s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/swift-server/swift-service-lifecycle.git at 1.0.0-alpha.11 (0.46s)
Fetching https://github.com/swift-server/swift-backtrace.git
[1/631] Fetching swift-backtrace
Fetched https://github.com/swift-server/swift-backtrace.git from cache (0.18s)
Computing version for https://github.com/swift-server/swift-backtrace.git
Computed https://github.com/swift-server/swift-backtrace.git at 1.3.5 (0.46s)
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.34.1
Creating working copy for https://github.com/hummingbird-project/hummingbird.git
Working copy of https://github.com/hummingbird-project/hummingbird.git resolved at 1.12.2
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.29.0
Creating working copy for https://github.com/swift-server/swift-backtrace.git
Working copy of https://github.com/swift-server/swift-backtrace.git resolved at 1.3.5
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 1.0.0-alpha.11
Creating working copy for https://github.com/apple/swift-http-types
Working copy of https://github.com/apple/swift-http-types resolved at 1.3.0
Creating working copy for https://github.com/hummingbird-project/hummingbird-core.git
Working copy of https://github.com/hummingbird-project/hummingbird-core.git resolved at 1.6.1
Creating working copy for https://github.com/apple/swift-distributed-tracing.git
Working copy of https://github.com/apple/swift-distributed-tracing.git resolved at 1.1.2
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.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.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.76.1
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.24.1
Creating working copy for https://github.com/adam-fowler/compress-nio.git
Working copy of https://github.com/adam-fowler/compress-nio.git resolved at 1.3.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.23.0
Creating working copy for https://github.com/apple/swift-service-context.git
Working copy of https://github.com/apple/swift-service-context.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-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.4.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.5.0
Building for debugging...
[0/54] Write sources
[26/54] Compiling CNIOWindows shim.c
[27/54] Compiling CNIOWASI CNIOWASI.c
[28/54] Compiling CNIOWindows WSAStartup.c
[29/54] Compiling CNIOLinux liburing_shims.c
[30/54] Compiling CNIODarwin shim.c
[31/54] Compiling CNIOLLHTTP c_nio_http.c
[32/54] Compiling CCompressZlib empty.c
[33/54] Compiling CNIOLLHTTP c_nio_api.c
[34/54] Compiling CNIOLinux shim.c
[35/54] Compiling CBacktrace state.c
[36/54] Compiling CBacktrace simple.c
[37/54] Compiling CBacktrace sort.c
[38/54] Compiling CBacktrace print.c
[39/54] Compiling CBacktrace posix.c
[40/54] Compiling CBacktrace mmapio.c
[41/54] Compiling CBacktrace mmap.c
[42/54] Compiling _AtomicsShims.c
[43/54] Write swift-version-24593BA9C3E375BF.txt
[44/54] Compiling CBacktrace fileline.c
[45/54] Compiling CBacktrace atomic.c
[45/54] Compiling CBacktrace backtrace.c
[47/54] Compiling CNIOLLHTTP c_nio_llhttp.c
[48/54] Compiling CBacktrace elf.c
[49/54] Compiling CBacktrace dwarf.c
[51/88] Emitting module CoreMetrics
[51/88] Compiling c-nioatomics.c
[51/88] Write sources
[54/91] Compiling c-atomics.c
[56/97] Compiling InternalCollectionsUtilities Debugging.swift
[57/97] Compiling InternalCollectionsUtilities Descriptions.swift
[58/97] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[59/97] Compiling InternalCollectionsUtilities Specialize.swift
[60/99] Compiling Logging LogHandler.swift
[61/99] Compiling Backtrace Demangle.swift
[62/99] Compiling InternalCollectionsUtilities _SortedCollection.swift
[63/99] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[64/99] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[65/99] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[66/99] Compiling Backtrace Backtrace.swift
[67/99] Emitting module Backtrace
[68/99] Compiling _NIODataStructures PriorityQueue.swift
[69/99] Compiling _NIODataStructures _TinyArray.swift
[70/100] Compiling _NIOBase64 Base64.swift
[71/100] Emitting module _NIOBase64
[72/100] Emitting module ServiceContextModule
[75/101] Compiling ServiceContextModule ServiceContext.swift
[76/101] Compiling ServiceContextModule ServiceContextKey.swift
[77/101] Emitting module InternalCollectionsUtilities
[78/102] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+SE-0370.swift
[79/102] Compiling InternalCollectionsUtilities UnsafeMutablePointer+SE-0370.swift
[80/102] Compiling InternalCollectionsUtilities UnsafeRawPointer extensions.swift
[81/102] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[82/102] Compiling InternalCollectionsUtilities Integer rank.swift
[83/102] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[84/102] Compiling InternalCollectionsUtilities UInt+reversed.swift
[85/102] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[86/102] Compiling CoreMetrics Metrics.swift
[88/109] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[89/109] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[91/128] Compiling Instrumentation Instrument.swift
[92/128] Emitting module Instrumentation
[93/128] Compiling Instrumentation MultiplexInstrument.swift
[94/128] Compiling Instrumentation NoOpInstrument.swift
[95/128] Compiling Atomics ManagedAtomic.swift
[96/128] Compiling Atomics ManagedAtomicLazyReference.swift
[97/130] Compiling Atomics UnsafeAtomic.swift
[98/130] Compiling Atomics UnsafeAtomicLazyReference.swift
[99/135] Compiling Instrumentation InstrumentationSystem.swift
[100/139] Compiling Atomics AtomicMemoryOrderings.swift
[101/139] Compiling Atomics DoubleWord.swift
[102/145] Emitting module NIOConcurrencyHelpers
[103/145] Compiling DequeModule Deque+Equatable.swift
[104/145] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[105/145] Emitting module Logging
[106/145] Compiling Logging Locks.swift
[107/145] Compiling DequeModule Deque+CustomReflectable.swift
[108/145] Compiling DequeModule Deque+Descriptions.swift
[109/145] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[110/145] Compiling NIOConcurrencyHelpers NIOLock.swift
[111/147] Compiling Instrumentation Locks.swift
[112/148] Compiling NIOConcurrencyHelpers lock.swift
[113/148] Compiling DequeModule _DequeBuffer.swift
[114/148] Compiling DequeModule _DequeBufferHeader.swift
[115/148] Compiling Logging MetadataProvider.swift
[116/148] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[117/148] Compiling NIOConcurrencyHelpers atomics.swift
[118/148] Compiling CoreMetrics Locks.swift
[119/148] Emitting module _NIODataStructures
[120/148] Compiling _NIODataStructures Heap.swift
[122/151] Compiling Logging Logging.swift
[125/152] Compiling Atomics IntegerOperations.swift
[126/152] Compiling Atomics Unmanaged extensions.swift
[129/152] Compiling DequeModule Deque+Extras.swift
[130/152] Compiling DequeModule Deque+Hashable.swift
[131/152] Compiling DequeModule Deque+Testing.swift
[132/152] Compiling DequeModule Deque._Storage.swift
[133/152] Compiling DequeModule Deque._UnsafeHandle.swift
[134/152] Compiling DequeModule Deque.swift
[137/162] Compiling Tracing TracingTime.swift
[138/162] Compiling DequeModule _DequeSlot.swift
[139/162] Compiling DequeModule _UnsafeWrappedBuffer.swift
[140/162] Compiling DequeModule Deque+Codable.swift
[141/162] Compiling DequeModule Deque+Collection.swift
[146/162] Emitting module Tracing
[147/162] Compiling Tracing TracerProtocol+Legacy.swift
[148/162] Compiling Tracing TracerProtocol.swift
[149/162] Compiling Tracing Tracer.swift
[150/162] Emitting module DequeModule
[151/163] Compiling Tracing InstrumentationSystem+Tracing.swift
[152/163] Compiling Tracing SpanProtocol.swift
[153/163] Compiling Tracing NoOpTracer.swift
[162/164] Emitting module Atomics
[164/225] Compiling Metrics Metrics.swift
[165/225] Emitting module Metrics
[167/230] Compiling NIOCore MulticastChannel.swift
[168/230] Compiling NIOCore NIOAny.swift
[169/230] Compiling NIOCore NIOCloseOnErrorHandler.swift
[170/230] Compiling NIOCore NIOLoopBound.swift
[171/230] Compiling NIOCore NIOScheduledCallback.swift
[172/230] Compiling NIOCore NIOSendable.swift
[173/230] Compiling NIOCore PointerHelpers.swift
[174/230] Compiling NIOCore RecvByteBufferAllocator.swift
[175/238] Compiling Lifecycle Locks.swift
[176/238] Emitting module Lifecycle
[177/238] Compiling NIOCore IO.swift
[178/238] Compiling NIOCore IOData.swift
[179/238] Compiling NIOCore IPProtocol.swift
[180/238] Compiling NIOCore IntegerBitPacking.swift
[181/238] Compiling NIOCore IntegerTypes.swift
[182/238] Compiling NIOCore Interfaces.swift
[183/238] Compiling NIOCore Linux.swift
[184/238] Compiling NIOCore MarkedCircularBuffer.swift
[185/238] Compiling Lifecycle Lifecycle.swift
[186/238] Compiling Lifecycle Atomics.swift
[187/239] Compiling NIOCore EventLoopFuture+AssumeIsolated.swift
[188/239] Compiling NIOCore EventLoopFuture+Deprecated.swift
[189/239] Compiling NIOCore EventLoopFuture+WithEventLoop.swift
[190/239] Compiling NIOCore EventLoopFuture.swift
[191/239] Compiling NIOCore FileDescriptor.swift
[192/239] Compiling NIOCore FileHandle.swift
[193/239] Compiling NIOCore FileRegion.swift
[194/239] Compiling NIOCore GlobalSingletons.swift
[196/239] Compiling NIOCore CircularBuffer.swift
[197/239] Compiling NIOCore Codec.swift
[198/239] Compiling NIOCore ConvenienceOptionSupport.swift
[199/239] Compiling NIOCore DeadChannel.swift
[200/239] Compiling NIOCore DispatchQueue+WithFuture.swift
[201/239] Compiling NIOCore EventLoop+Deprecated.swift
[202/239] Compiling NIOCore EventLoop+SerialExecutor.swift
[203/239] Compiling NIOCore EventLoop.swift
[204/239] Compiling NIOCore SingleStepByteToMessageDecoder.swift
[205/239] Compiling NIOCore SocketAddresses.swift
[206/239] Compiling NIOCore SocketOptionProvider.swift
[207/239] Compiling NIOCore SystemCallHelpers.swift
[208/239] Compiling NIOCore TimeAmount+Duration.swift
[209/239] Compiling NIOCore TypeAssistedChannelHandler.swift
[210/239] Compiling NIOCore UniversalBootstrapSupport.swift
[211/239] Compiling NIOCore Utilities.swift
[212/239] Compiling NIOCore AddressedEnvelope.swift
[213/239] Compiling NIOCore AsyncAwaitSupport.swift
[214/239] Compiling NIOCore AsyncChannel.swift
[215/239] Compiling NIOCore AsyncChannelHandler.swift
[216/239] Compiling NIOCore AsyncChannelInboundStream.swift
[217/239] Compiling NIOCore AsyncChannelOutboundWriter.swift
[218/239] Compiling NIOCore NIOAsyncSequenceProducer.swift
[219/239] Compiling NIOCore NIOAsyncSequenceProducerStrategies.swift
[220/239] Compiling NIOCore NIOAsyncWriter.swift
[221/239] Emitting module NIOCore
[222/239] Compiling NIOCore ByteBuffer-multi-int.swift
[223/239] Compiling NIOCore ByteBuffer-quicBinaryEncodingStrategy.swift
[224/239] Compiling NIOCore ByteBuffer-views.swift
[225/239] Compiling NIOCore Channel.swift
[226/239] Compiling NIOCore ChannelHandler.swift
[227/239] Compiling NIOCore ChannelHandlers.swift
[228/239] Compiling NIOCore ChannelInvoker.swift
[229/239] Compiling NIOCore ChannelOption.swift
[230/239] Compiling NIOCore ChannelPipeline.swift
[231/239] Compiling NIOCore NIOThrowingAsyncSequenceProducer.swift
[232/239] Compiling NIOCore BSDSocketAPI.swift
[233/239] Compiling NIOCore ByteBuffer-aux.swift
[234/239] Compiling NIOCore ByteBuffer-binaryEncodedLengthPrefix.swift
[235/239] Compiling NIOCore ByteBuffer-conversions.swift
[236/239] Compiling NIOCore ByteBuffer-core.swift
[237/239] Compiling NIOCore ByteBuffer-hex.swift
[238/239] Compiling NIOCore ByteBuffer-int.swift
[239/239] Compiling NIOCore ByteBuffer-lengthPrefix.swift
[241/301] Compiling CompressNIO Compressor.swift
[242/301] Compiling CompressNIO CompressionAlgorithm.swift
[243/301] Compiling CompressNIO Error.swift
[244/302] Compiling CompressNIO ByteBuffer+zlib+compress.swift
[245/302] Compiling CompressNIO ZlibWrapper.swift
[246/302] Compiling CompressNIO Zlib.swift
[247/302] Compiling CompressNIO ByteBuffer+zlib+decompress.swift
[248/302] Emitting module CompressNIO
[249/302] Compiling CompressNIO ByteBuffer+compress.swift
[250/302] Compiling CompressNIO ByteBuffer+decompress.swift
[251/303] Emitting module NIOEmbedded
[253/303] Compiling NIOEmbedded AsyncTestingChannel.swift
[254/303] Compiling NIOEmbedded Embedded.swift
[255/303] Compiling NIOEmbedded AsyncTestingEventLoop.swift
[257/304] Compiling NIOPosix Pool.swift
[258/304] Compiling NIOPosix PooledRecvBufferAllocator.swift
[259/304] Compiling NIOPosix PosixSingletons+ConcurrencyTakeOver.swift
[260/304] Compiling NIOPosix PosixSingletons.swift
[261/304] Compiling NIOPosix RawSocketBootstrap.swift
[262/304] Compiling NIOPosix Resolver.swift
[263/304] Compiling NIOPosix Selectable.swift
[264/304] Compiling NIOPosix SelectableChannel.swift
[265/304] Compiling NIOPosix SelectableEventLoop.swift
[266/304] Compiling NIOPosix SelectorEpoll.swift
[267/304] Compiling NIOPosix SelectorGeneric.swift
[268/304] Compiling NIOPosix SelectorKqueue.swift
[269/304] Compiling NIOPosix SelectorUring.swift
[270/310] Compiling NIOPosix ThreadPosix.swift
[271/310] Compiling NIOPosix ThreadWindows.swift
[272/310] Compiling NIOPosix UnsafeTransfer.swift
[273/310] Compiling NIOPosix Utilities.swift
[274/310] Compiling NIOPosix VsockAddress.swift
[275/310] Compiling NIOPosix VsockChannelEvents.swift
[276/310] Emitting module NIOPosix
[277/310] Compiling NIOPosix ServerSocket.swift
[278/310] Compiling NIOPosix Socket.swift
[279/310] Compiling NIOPosix SocketChannel.swift
[280/310] Compiling NIOPosix SocketProtocols.swift
[281/310] Compiling NIOPosix System.swift
[282/310] Compiling NIOPosix Thread.swift
[285/310] Compiling NIOPosix BSDSocketAPIWindows.swift
[286/310] Compiling NIOPosix BaseSocket.swift
[287/310] Compiling NIOPosix BaseSocketChannel+SocketOptionProvider.swift
[288/310] Compiling NIOPosix BaseSocketChannel.swift
[289/310] Compiling NIOPosix BaseStreamSocketChannel.swift
[290/310] Compiling NIOPosix Bootstrap.swift
[291/310] Compiling NIOPosix ControlMessage.swift
[292/310] Compiling NIOPosix DatagramVectorReadManager.swift
[293/310] Compiling NIOPosix Errors+Any.swift
[294/310] Compiling NIOPosix FileDescriptor.swift
[295/310] Compiling NIOPosix GetaddrinfoResolver.swift
[296/310] Compiling NIOPosix HappyEyeballs.swift
[297/310] Compiling NIOPosix IO.swift
[298/310] Compiling NIOPosix IntegerBitPacking.swift
[299/310] Compiling NIOPosix IntegerTypes.swift
[300/310] Compiling NIOPosix Linux.swift
[301/310] Compiling NIOPosix LinuxCPUSet.swift
[302/310] Compiling NIOPosix LinuxUring.swift
[303/310] Compiling NIOPosix MultiThreadedEventLoopGroup.swift
[304/310] Compiling NIOPosix NIOThreadPool.swift
[305/310] Compiling NIOPosix NonBlockingFileIO.swift
[306/310] Compiling NIOPosix PendingDatagramWritesManager.swift
[307/310] Compiling NIOPosix PendingWritesManager.swift
[308/310] Compiling NIOPosix PipeChannel.swift
[309/310] Compiling NIOPosix PipePair.swift
[310/310] Compiling NIOPosix PointerHelpers.swift
[312/313] Compiling NIO Exports.swift
[313/313] Emitting module NIO
[315/342] Compiling NIOTLS TLSEvents.swift
[316/342] Compiling NIOFoundationCompat JSONSerialization+ByteBuffer.swift
[317/342] Emitting module LifecycleNIOCompat
[318/342] Compiling LifecycleNIOCompat Bridge.swift
[319/342] Compiling NIOTLS SNIHandler.swift
[320/343] Compiling NIOFoundationCompat Codable+ByteBuffer.swift
[321/343] Emitting module NIOTLS
[322/343] Compiling NIOTLS NIOTypedApplicationProtocolNegotiationHandler.swift
[323/343] Compiling NIOTLS ApplicationProtocolNegotiationHandler.swift
[324/343] Compiling NIOTLS ProtocolNegotiationHandlerStateMachine.swift
[327/344] Compiling NIOHTTP1 NIOTypedHTTPClientUpgradeHandler.swift
[328/344] Compiling NIOHTTP1 NIOTypedHTTPClientUpgraderStateMachine.swift
[329/346] Emitting module NIOFoundationCompat
[330/346] Compiling NIOFoundationCompat ByteBuffer-foundation.swift
[332/347] Compiling NIOHTTP1 NIOHTTPClientUpgradeHandler.swift
[333/347] Compiling NIOHTTP1 NIOHTTPObjectAggregator.swift
[334/347] Emitting module NIOHTTP1
[335/369] Compiling NIOTransportServices AcceptHandler.swift
[336/369] Compiling NIOTransportServices NIOTSDatagramBootstrap.swift
[337/369] Compiling NIOTransportServices NIOTSDatagramChannel.swift
[338/371] Compiling NIOTransportServices NIOTSBootstraps.swift
[339/371] Compiling NIOTransportServices NIOTSChannelOptions.swift
[340/371] Compiling NIOTransportServices NIOTSConnectionBootstrap.swift
[341/371] Compiling NIOTransportServices NIOTSEventLoopGroup.swift
[342/371] Compiling NIOTransportServices NIOTSListenerBootstrap.swift
[343/371] Compiling NIOTransportServices NIOTSListenerChannel.swift
[344/371] Compiling NIOTransportServices NIOTSConnectionChannel.swift
[345/371] Compiling NIOTransportServices NIOTSErrors.swift
[346/371] Compiling NIOTransportServices NIOTSEventLoop.swift
[347/371] Compiling NIOTransportServices NIOTSNetworkEvents.swift
[348/371] Compiling NIOTransportServices NIOTSSingletons.swift
[349/371] Compiling NIOTransportServices SocketAddress+NWEndpoint.swift
[350/371] Compiling NIOTransportServices StateManagedChannel.swift
[351/371] Compiling NIOTransportServices StateManagedListenerChannel.swift
[352/371] Compiling NIOTransportServices StateManagedNWConnectionChannel.swift
[353/371] Emitting module NIOTransportServices
[354/371] Compiling NIOTransportServices TCPOptions+SocketChannelOption.swift
[355/371] Compiling NIOTransportServices UDPOptions+SocketChannelOption.swift
[356/371] Compiling NIOTransportServices NIOTSDatagramListener.swift
[357/371] Compiling NIOTransportServices NIOTSDatagramListenerChannel.swift
[358/371] Compiling NIOTransportServices NIOFilterEmptyWritesHandler.swift
[374/390] Compiling NIOExtras LineBasedFrameDecoder.swift
[375/390] Compiling NIOExtras MarkedCircularBuffer+PopFirstCheckMarked.swift
[376/392] Compiling NIOExtras NIORequestIdentifiable.swift
[377/392] Compiling NIOExtras PCAPRingBuffer.swift
[378/392] Compiling NIOExtras NIOExtrasError.swift
[379/392] Compiling NIOExtras NIOLengthFieldBitLength.swift
[380/392] Compiling NIOExtras HTTP1ProxyConnectHandler.swift
[381/392] Compiling NIOExtras JSONRPCFraming+ContentLengthHeader.swift
[382/392] Compiling NIOExtras JSONRPCFraming.swift
[383/392] Compiling NIOExtras QuiescingHelper.swift
[384/392] Compiling NIOExtras RequestResponseHandler.swift
[385/392] Emitting module NIOExtras
[386/392] Compiling NIOExtras DebugInboundEventsHandler.swift
[387/392] Compiling NIOExtras DebugOutboundEventsHandler.swift
[388/392] Compiling NIOExtras FixedLengthFrameDecoder.swift
[389/392] Compiling NIOExtras LengthFieldBasedFrameDecoder.swift
[390/392] Compiling NIOExtras LengthFieldPrepender.swift
[391/392] Compiling NIOExtras RequestResponseWithIDHandler.swift
[392/392] Compiling NIOExtras WritePCAPHandler.swift
[394/409] Emitting module HummingbirdCore
[395/411] Compiling HummingbirdCore RequestBodyStreamer+async.swift
[396/411] Compiling HummingbirdCore Sendable.swift
[397/411] Compiling HummingbirdCore HTTPError.swift
[398/411] Compiling HummingbirdCore ResponseBody.swift
[399/411] Compiling HummingbirdCore BindAddress.swift
[400/411] Compiling HummingbirdCore RequestBody.swift
[401/411] Compiling HummingbirdCore Response.swift
[402/411] Compiling HummingbirdCore HTTPServer+Configuration.swift
[403/411] Compiling HummingbirdCore HTTPServer.swift
[404/411] Compiling HummingbirdCore ChannelInitializer.swift
[405/411] Compiling HummingbirdCore HTTPChannelHandlers.swift
[406/411] Compiling HummingbirdCore HTTPErrorResponse.swift
[407/411] Compiling HummingbirdCore HTTPResponder.swift
[408/411] Compiling HummingbirdCore ByteBufferStreamer.swift
[409/411] Compiling HummingbirdCore Request.swift
[410/411] Compiling HummingbirdCore HTTPServerHandler.swift
[411/411] Compiling HummingbirdCore TSTLSOptions.swift
[413/461] Compiling Hummingbird EndpointResponder.swift
[414/461] Compiling Hummingbird Parameters.swift
[415/461] Compiling Hummingbird ResponseGenerator.swift
[416/461] Compiling Hummingbird RouteHandler.swift
[417/461] Compiling Hummingbird Router.swift
[418/461] Compiling Hummingbird RouterBuilder.swift
[419/461] Compiling Hummingbird RouterGroup.swift
[420/461] Compiling Hummingbird Responder.swift
[421/461] Compiling Hummingbird Response.swift
[422/461] Compiling Hummingbird ResponsePatch.swift
[423/461] Compiling Hummingbird ServiceContext.swift
[424/461] Compiling Hummingbird Application+Persist.swift
[425/461] Compiling Hummingbird MemoryPersistDriver.swift
[426/467] Compiling Hummingbird Router+async.swift
[427/467] Compiling Hummingbird Sendable.swift
[428/467] Compiling Hummingbird UnsafeTransfer.swift
[429/467] Compiling Hummingbird CodableProtocols.swift
[430/467] Compiling Hummingbird RequestDecodable.swift
[431/467] Compiling Hummingbird ResponseEncodable.swift
[432/467] Compiling Hummingbird Configuration.swift
[433/467] Compiling Hummingbird ServiceLifecycleProvider.swift
[434/467] Compiling Hummingbird CORSMiddleware.swift
[435/467] Compiling Hummingbird LogRequestMiddleware.swift
[436/467] Compiling Hummingbird MetricsMiddleware.swift
[437/467] Compiling Hummingbird Middleware.swift
[438/467] Compiling Hummingbird MiddlewareGroup.swift
[439/467] Compiling Hummingbird TracingMiddleware.swift
[440/467] Compiling Hummingbird Application.swift
[441/467] Compiling Hummingbird AsyncMiddleware.swift
[442/467] Compiling Hummingbird AsyncResponder.swift
[443/467] Compiling Hummingbird ConnectionPool+async.swift
[444/467] Compiling Hummingbird Request+Persist+async.swift
[445/467] Compiling Hummingbird ResponseGenerator+async.swift
[446/467] Compiling Hummingbird RouteHandler+async.swift
[447/467] Compiling Hummingbird RouterMethods.swift
[448/467] Compiling Hummingbird RouterPath.swift
[449/467] Compiling Hummingbird TrieRouter.swift
[450/467] Compiling Hummingbird Application+HTTPResponder.swift
[451/467] Compiling Hummingbird Request.swift
[452/467] Compiling Hummingbird RequestContext.swift
[453/467] Compiling Hummingbird RequestID.swift
[454/467] Emitting module Hummingbird
[455/467] Compiling Hummingbird ConnectionPool.swift
[456/467] Compiling Hummingbird ConnectionPoolGroup.swift
[457/467] Compiling Hummingbird Environment.swift
[458/467] Compiling Hummingbird Exports.swift
[459/467] Compiling Hummingbird Extensions.swift
[460/467] Compiling Hummingbird MediaType.swift
[461/467] Compiling Hummingbird URL.swift
[462/467] Compiling Hummingbird PersistDriver.swift
[463/467] Compiling Hummingbird PersistError.swift
[464/467] Compiling Hummingbird DateCache.swift
[465/467] Compiling Hummingbird FlatDictionary.swift
[466/467] Compiling Hummingbird HBParser.swift
[467/467] Compiling Hummingbird StringProtocol.swift
[469/474] Compiling HummingbirdCompression Application+Compression.swift
[470/474] Emitting module HummingbirdCompression
/host/spi-builder-workspace/Sources/HummingbirdCompression/TaskQueue.swift:21:24: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
18 | /// Manage a queue of tasks, ensuring only one task is running concurrently. Based off code posted by
19 | /// Cory Benfield on Vapor Discord. https://discord.com/channels/431917998102675485/448584561845338139/766320821206908959
20 | class TaskQueue<Value> {
| `- note: 'Value' previously declared here
21 | struct PendingTask<Value> {
| `- warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
22 | let id: UUID
23 | let task: () -> EventLoopFuture<Value>
[471/474] Compiling HummingbirdCompression RequestDecompression.swift
/host/spi-builder-workspace/Sources/HummingbirdCompression/RequestDecompression.swift:149:33: warning: capture of 'decompressionState' with non-sendable type 'HTTPRequestDecompressHandler.State.DecompressionState' in a `@Sendable` closure; this is an error in the Swift 6 language mode
58 | case idle
59 |
60 | class DecompressionState {
| `- note: class 'DecompressionState' does not conform to the 'Sendable' protocol
61 | init(decompressor: NIODecompressor, limit: HTTPDecompressionLimit) {
62 | self.decompressor = decompressor
:
147 | threadPool.runIfActive(eventLoop: context.eventLoop) {
148 | do {
149 | try decompressionState.writeBuffer(buffer: part) { buffer in
| `- warning: capture of 'decompressionState' with non-sendable type 'HTTPRequestDecompressHandler.State.DecompressionState' in a `@Sendable` closure; this is an error in the Swift 6 language mode
150 | context.eventLoop.execute {
151 | context.fireChannelRead(self.wrapInboundOut(.body(buffer)))
/host/spi-builder-workspace/Sources/HummingbirdCompression/RequestDecompression.swift:150:33: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
148 | do {
149 | try decompressionState.writeBuffer(buffer: part) { buffer in
150 | context.eventLoop.execute {
| `- warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
151 | context.fireChannelRead(self.wrapInboundOut(.body(buffer)))
152 | }
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/ChannelPipeline.swift:1507:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1505 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1506 | /// `ChannelHandler`.
1507 | public final class ChannelHandlerContext: ChannelInvoker {
| `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1508 | // visible for ChannelPipeline to modify
1509 | fileprivate var next: Optional<ChannelHandlerContext>
/host/spi-builder-workspace/Sources/HummingbirdCompression/RequestDecompression.swift:151:61: warning: capture of 'self' with non-sendable type 'HTTPRequestDecompressHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
48 |
49 | /// HTTP Request Decompression Channel Handler
50 | class HTTPRequestDecompressHandler: ChannelInboundHandler, RemovableChannelHandler {
| `- note: class 'HTTPRequestDecompressHandler' does not conform to the 'Sendable' protocol
51 | public typealias InboundIn = HTTPServerRequestPart
52 | public typealias InboundOut = HTTPServerRequestPart
:
149 | try decompressionState.writeBuffer(buffer: part) { buffer in
150 | context.eventLoop.execute {
151 | context.fireChannelRead(self.wrapInboundOut(.body(buffer)))
| `- warning: capture of 'self' with non-sendable type 'HTTPRequestDecompressHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
152 | }
153 | }
/host/spi-builder-workspace/Sources/HummingbirdCompression/RequestDecompression.swift:150:33: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in an isolated closure; this is an error in the Swift 6 language mode
148 | do {
149 | try decompressionState.writeBuffer(buffer: part) { buffer in
150 | context.eventLoop.execute {
| `- warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in an isolated closure; this is an error in the Swift 6 language mode
151 | context.fireChannelRead(self.wrapInboundOut(.body(buffer)))
152 | }
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/ChannelPipeline.swift:1507:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1505 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1506 | /// `ChannelHandler`.
1507 | public final class ChannelHandlerContext: ChannelInvoker {
| `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1508 | // visible for ChannelPipeline to modify
1509 | fileprivate var next: Optional<ChannelHandlerContext>
/host/spi-builder-workspace/Sources/HummingbirdCompression/RequestDecompression.swift:151:61: warning: capture of 'self' with non-sendable type 'HTTPRequestDecompressHandler' in an isolated closure; this is an error in the Swift 6 language mode
48 |
49 | /// HTTP Request Decompression Channel Handler
50 | class HTTPRequestDecompressHandler: ChannelInboundHandler, RemovableChannelHandler {
| `- note: class 'HTTPRequestDecompressHandler' does not conform to the 'Sendable' protocol
51 | public typealias InboundIn = HTTPServerRequestPart
52 | public typealias InboundOut = HTTPServerRequestPart
:
149 | try decompressionState.writeBuffer(buffer: part) { buffer in
150 | context.eventLoop.execute {
151 | context.fireChannelRead(self.wrapInboundOut(.body(buffer)))
| `- warning: capture of 'self' with non-sendable type 'HTTPRequestDecompressHandler' in an isolated closure; this is an error in the Swift 6 language mode
152 | }
153 | }
/host/spi-builder-workspace/Sources/HummingbirdCompression/RequestDecompression.swift:151:37: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
149 | try decompressionState.writeBuffer(buffer: part) { buffer in
150 | context.eventLoop.execute {
151 | context.fireChannelRead(self.wrapInboundOut(.body(buffer)))
| `- warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
152 | }
153 | }
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/ChannelPipeline.swift:1507:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1505 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1506 | /// `ChannelHandler`.
1507 | public final class ChannelHandlerContext: ChannelInvoker {
| `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1508 | // visible for ChannelPipeline to modify
1509 | fileprivate var next: Optional<ChannelHandlerContext>
/host/spi-builder-workspace/Sources/HummingbirdCompression/RequestDecompression.swift:151:61: warning: capture of 'self' with non-sendable type 'HTTPRequestDecompressHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
48 |
49 | /// HTTP Request Decompression Channel Handler
50 | class HTTPRequestDecompressHandler: ChannelInboundHandler, RemovableChannelHandler {
| `- note: class 'HTTPRequestDecompressHandler' does not conform to the 'Sendable' protocol
51 | public typealias InboundIn = HTTPServerRequestPart
52 | public typealias InboundOut = HTTPServerRequestPart
:
149 | try decompressionState.writeBuffer(buffer: part) { buffer in
150 | context.eventLoop.execute {
151 | context.fireChannelRead(self.wrapInboundOut(.body(buffer)))
| `- warning: capture of 'self' with non-sendable type 'HTTPRequestDecompressHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
152 | }
153 | }
/host/spi-builder-workspace/Sources/HummingbirdCompression/RequestDecompression.swift:156:33: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
154 | } catch {
155 | context.eventLoop.execute {
156 | context.fireErrorCaught(error)
| `- warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
157 | }
158 | }
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/ChannelPipeline.swift:1507:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1505 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1506 | /// `ChannelHandler`.
1507 | public final class ChannelHandlerContext: ChannelInvoker {
| `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1508 | // visible for ChannelPipeline to modify
1509 | fileprivate var next: Optional<ChannelHandlerContext>
/host/spi-builder-workspace/Sources/HummingbirdCompression/RequestDecompression.swift:179:21: warning: capture of 'self' with non-sendable type 'HTTPRequestDecompressHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
48 |
49 | /// HTTP Request Decompression Channel Handler
50 | class HTTPRequestDecompressHandler: ChannelInboundHandler, RemovableChannelHandler {
| `- note: class 'HTTPRequestDecompressHandler' does not conform to the 'Sendable' protocol
51 | public typealias InboundIn = HTTPServerRequestPart
52 | public typealias InboundOut = HTTPServerRequestPart
:
177 | // wait until last body part has been passed on
178 | future.whenComplete { _ in
179 | self.state = .idle
| `- warning: capture of 'self' with non-sendable type 'HTTPRequestDecompressHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
180 | do {
181 | try decompressionState.finish()
/host/spi-builder-workspace/Sources/HummingbirdCompression/RequestDecompression.swift:181:29: warning: capture of 'decompressionState' with non-sendable type 'HTTPRequestDecompressHandler.State.DecompressionState' in a `@Sendable` closure; this is an error in the Swift 6 language mode
58 | case idle
59 |
60 | class DecompressionState {
| `- note: class 'DecompressionState' does not conform to the 'Sendable' protocol
61 | init(decompressor: NIODecompressor, limit: HTTPDecompressionLimit) {
62 | self.decompressor = decompressor
:
179 | self.state = .idle
180 | do {
181 | try decompressionState.finish()
| `- warning: capture of 'decompressionState' with non-sendable type 'HTTPRequestDecompressHandler.State.DecompressionState' in a `@Sendable` closure; this is an error in the Swift 6 language mode
182 | } catch {
183 | context.fireErrorCaught(HBHTTPError(.internalServerError))
/host/spi-builder-workspace/Sources/HummingbirdCompression/RequestDecompression.swift:183:25: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
181 | try decompressionState.finish()
182 | } catch {
183 | context.fireErrorCaught(HBHTTPError(.internalServerError))
| `- warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
184 | }
185 | context.fireChannelRead(data)
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/ChannelPipeline.swift:1507:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1505 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1506 | /// `ChannelHandler`.
1507 | public final class ChannelHandlerContext: ChannelInvoker {
| `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1508 | // visible for ChannelPipeline to modify
1509 | fileprivate var next: Optional<ChannelHandlerContext>
/host/spi-builder-workspace/Sources/HummingbirdCompression/RequestDecompression.swift:185:45: warning: capture of 'data' with non-sendable type 'NIOAny' in a `@Sendable` closure; this is an error in the Swift 6 language mode
183 | context.fireErrorCaught(HBHTTPError(.internalServerError))
184 | }
185 | context.fireChannelRead(data)
| `- warning: capture of 'data' with non-sendable type 'NIOAny' in a `@Sendable` closure; this is an error in the Swift 6 language mode
186 | }
187 | } else {
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/NIOAny.swift:45:15: note: struct 'NIOAny' does not conform to the 'Sendable' protocol
43 | /// }
44 | /// }
45 | public struct NIOAny {
| `- note: struct 'NIOAny' does not conform to the 'Sendable' protocol
46 | @usableFromInline
47 | let _storage: _NIOAny
[472/474] Compiling HummingbirdCompression HTTPServer+Compression.swift
[473/474] Compiling HummingbirdCompression TaskQueue.swift
/host/spi-builder-workspace/Sources/HummingbirdCompression/TaskQueue.swift:21:24: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
18 | /// Manage a queue of tasks, ensuring only one task is running concurrently. Based off code posted by
19 | /// Cory Benfield on Vapor Discord. https://discord.com/channels/431917998102675485/448584561845338139/766320821206908959
20 | class TaskQueue<Value> {
| `- note: 'Value' previously declared here
21 | struct PendingTask<Value> {
| `- warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
22 | let id: UUID
23 | let task: () -> EventLoopFuture<Value>
/host/spi-builder-workspace/Sources/HummingbirdCompression/TaskQueue.swift:46:24: warning: type 'Value' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
18 | /// Manage a queue of tasks, ensuring only one task is running concurrently. Based off code posted by
19 | /// Cory Benfield on Vapor Discord. https://discord.com/channels/431917998102675485/448584561845338139/766320821206908959
20 | class TaskQueue<Value> {
| `- note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
21 | struct PendingTask<Value> {
22 | let id: UUID
:
44 |
45 | @discardableResult func submitTask(_ task: @escaping () -> EventLoopFuture<Value>) -> EventLoopFuture<Value> {
46 | self.eventLoop.flatSubmit {
| `- warning: type 'Value' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
47 | let task = PendingTask(task, on: self.eventLoop)
48 |
/host/spi-builder-workspace/Sources/HummingbirdCompression/TaskQueue.swift:47:36: warning: capture of 'task' with non-sendable type '() -> EventLoopFuture<Value>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
45 | @discardableResult func submitTask(_ task: @escaping () -> EventLoopFuture<Value>) -> EventLoopFuture<Value> {
46 | self.eventLoop.flatSubmit {
47 | let task = PendingTask(task, on: self.eventLoop)
| |- warning: capture of 'task' with non-sendable type '() -> EventLoopFuture<Value>' 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'
48 |
49 | if self.inflightTask == nil {
/host/spi-builder-workspace/Sources/HummingbirdCompression/TaskQueue.swift:47:46: warning: capture of 'self' with non-sendable type 'TaskQueue<Value>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
18 | /// Manage a queue of tasks, ensuring only one task is running concurrently. Based off code posted by
19 | /// Cory Benfield on Vapor Discord. https://discord.com/channels/431917998102675485/448584561845338139/766320821206908959
20 | class TaskQueue<Value> {
| `- note: generic class 'TaskQueue' does not conform to the 'Sendable' protocol
21 | struct PendingTask<Value> {
22 | let id: UUID
:
45 | @discardableResult func submitTask(_ task: @escaping () -> EventLoopFuture<Value>) -> EventLoopFuture<Value> {
46 | self.eventLoop.flatSubmit {
47 | let task = PendingTask(task, on: self.eventLoop)
| `- warning: capture of 'self' with non-sendable type 'TaskQueue<Value>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
48 |
49 | if self.inflightTask == nil {
/host/spi-builder-workspace/Sources/HummingbirdCompression/TaskQueue.swift:63:21: warning: type 'Value' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
18 | /// Manage a queue of tasks, ensuring only one task is running concurrently. Based off code posted by
19 | /// Cory Benfield on Vapor Discord. https://discord.com/channels/431917998102675485/448584561845338139/766320821206908959
20 | class TaskQueue<Value> {
| `- note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
21 | struct PendingTask<Value> {
22 | let id: UUID
:
61 |
62 | self.inflightTask = task
63 | task.task().hop(to: self.eventLoop).whenComplete { result in
| `- warning: type 'Value' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
64 | self.inflightTask = nil
65 | self.invokeIfNeeded()
/host/spi-builder-workspace/Sources/HummingbirdCompression/TaskQueue.swift:66:26: warning: type 'Value' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
18 | /// Manage a queue of tasks, ensuring only one task is running concurrently. Based off code posted by
19 | /// Cory Benfield on Vapor Discord. https://discord.com/channels/431917998102675485/448584561845338139/766320821206908959
20 | class TaskQueue<Value> {
| `- note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
21 | struct PendingTask<Value> {
22 | let id: UUID
:
64 | self.inflightTask = nil
65 | self.invokeIfNeeded()
66 | task.promise.completeWith(result)
| `- warning: type 'Value' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
67 | }
68 | }
/host/spi-builder-workspace/Sources/HummingbirdCompression/TaskQueue.swift:64:13: warning: capture of 'self' with non-sendable type 'TaskQueue<Value>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
18 | /// Manage a queue of tasks, ensuring only one task is running concurrently. Based off code posted by
19 | /// Cory Benfield on Vapor Discord. https://discord.com/channels/431917998102675485/448584561845338139/766320821206908959
20 | class TaskQueue<Value> {
| `- note: generic class 'TaskQueue' does not conform to the 'Sendable' protocol
21 | struct PendingTask<Value> {
22 | let id: UUID
:
62 | self.inflightTask = task
63 | task.task().hop(to: self.eventLoop).whenComplete { result in
64 | self.inflightTask = nil
| `- warning: capture of 'self' with non-sendable type 'TaskQueue<Value>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
65 | self.invokeIfNeeded()
66 | task.promise.completeWith(result)
/host/spi-builder-workspace/Sources/HummingbirdCompression/TaskQueue.swift:66:13: warning: capture of 'task' with non-sendable type 'TaskQueue<Value>.PendingTask<Value>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
19 | /// Cory Benfield on Vapor Discord. https://discord.com/channels/431917998102675485/448584561845338139/766320821206908959
20 | class TaskQueue<Value> {
21 | struct PendingTask<Value> {
| `- note: consider making generic struct 'PendingTask' conform to the 'Sendable' protocol
22 | let id: UUID
23 | let task: () -> EventLoopFuture<Value>
:
64 | self.inflightTask = nil
65 | self.invokeIfNeeded()
66 | task.promise.completeWith(result)
| `- warning: capture of 'task' with non-sendable type 'TaskQueue<Value>.PendingTask<Value>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
67 | }
68 | }
[474/474] Compiling HummingbirdCompression ResponseCompression.swift
/host/spi-builder-workspace/Sources/HummingbirdCompression/ResponseCompression.swift:101:33: warning: capture of 'self' with non-sendable type 'HTTPResponseCompressHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
20 | /// HTTP Response compression channel handler. Compresses HTTP body when accept-encoding header in Request indicates
21 | /// the client will accept compressed data
22 | class HTTPResponseCompressHandler: ChannelDuplexHandler, RemovableChannelHandler {
| `- note: class 'HTTPResponseCompressHandler' does not conform to the 'Sendable' protocol
23 | public typealias InboundIn = HTTPServerRequestPart
24 | public typealias OutboundIn = HTTPServerResponsePart
:
99 | self.queue.submitTask {
100 | threadPool.runIfActive(eventLoop: context.eventLoop) {
101 | self.writeBuffer(context: context, part: part, compressor: compressor, promise: nil)
| `- warning: capture of 'self' with non-sendable type 'HTTPResponseCompressHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
102 | }
103 | }
/host/spi-builder-workspace/Sources/HummingbirdCompression/ResponseCompression.swift:101:59: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
99 | self.queue.submitTask {
100 | threadPool.runIfActive(eventLoop: context.eventLoop) {
101 | self.writeBuffer(context: context, part: part, compressor: compressor, promise: nil)
| `- warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
102 | }
103 | }
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/ChannelPipeline.swift:1507:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1505 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1506 | /// `ChannelHandler`.
1507 | public final class ChannelHandlerContext: ChannelInvoker {
| `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1508 | // visible for ChannelPipeline to modify
1509 | fileprivate var next: Optional<ChannelHandlerContext>
/host/spi-builder-workspace/Sources/HummingbirdCompression/ResponseCompression.swift:101:74: warning: capture of 'part' with non-sendable type 'IOData' in a `@Sendable` closure; this is an error in the Swift 6 language mode
99 | self.queue.submitTask {
100 | threadPool.runIfActive(eventLoop: context.eventLoop) {
101 | self.writeBuffer(context: context, part: part, compressor: compressor, promise: nil)
| `- warning: capture of 'part' with non-sendable type 'IOData' in a `@Sendable` closure; this is an error in the Swift 6 language mode
102 | }
103 | }
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/IOData.swift:19:13: note: enum 'IOData' does not conform to the 'Sendable' protocol
17 | /// Many `ChannelHandler`s receive or emit bytes and in most cases this can be either a `ByteBuffer` or a `FileRegion`
18 | /// from disk. To still form a well-typed `ChannelPipeline` such handlers should receive and emit value of type `IOData`.
19 | public enum IOData {
| `- note: enum 'IOData' does not conform to the 'Sendable' protocol
20 | /// A `ByteBuffer`.
21 | case byteBuffer(ByteBuffer)
/host/spi-builder-workspace/Sources/HummingbirdCompression/ResponseCompression.swift:101:92: warning: capture of 'compressor' with non-sendable type 'any NIOCompressor' in a `@Sendable` closure; this is an error in the Swift 6 language mode
99 | self.queue.submitTask {
100 | threadPool.runIfActive(eventLoop: context.eventLoop) {
101 | self.writeBuffer(context: context, part: part, compressor: compressor, promise: nil)
| `- warning: capture of 'compressor' with non-sendable type 'any NIOCompressor' in a `@Sendable` closure; this is an error in the Swift 6 language mode
102 | }
103 | }
/host/spi-builder-workspace/.build/checkouts/compress-nio/Sources/CompressNIO/Compressor.swift:57:17: note: protocol 'NIOCompressor' does not conform to the 'Sendable' protocol
55 |
56 | /// Protocol for compressor
57 | public protocol NIOCompressor: AnyObject {
| `- note: protocol 'NIOCompressor' does not conform to the 'Sendable' protocol
58 | /// Compress byte buffer to another byte buffer
59 | /// - Parameters:
/host/spi-builder-workspace/Sources/HummingbirdCompression/ResponseCompression.swift:15:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CompressNIO'
13 | //===----------------------------------------------------------------------===//
14 |
15 | import CompressNIO
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CompressNIO'
16 | import Hummingbird
17 | import NIO
/host/spi-builder-workspace/Sources/HummingbirdCompression/ResponseCompression.swift:124:25: warning: capture of 'self' with non-sendable type 'HTTPResponseCompressHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
20 | /// HTTP Response compression channel handler. Compresses HTTP body when accept-encoding header in Request indicates
21 | /// the client will accept compressed data
22 | class HTTPResponseCompressHandler: ChannelDuplexHandler, RemovableChannelHandler {
| `- note: class 'HTTPResponseCompressHandler' does not conform to the 'Sendable' protocol
23 | public typealias InboundIn = HTTPServerRequestPart
24 | public typealias OutboundIn = HTTPServerResponsePart
:
122 | self.queue.submitTask {
123 | threadPool.runIfActive(eventLoop: context.eventLoop) {
124 | self.writeBuffer(context: context, part: part, compressor: compressor, promise: nil)
| `- warning: capture of 'self' with non-sendable type 'HTTPResponseCompressHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
125 | }
126 | }
/host/spi-builder-workspace/Sources/HummingbirdCompression/ResponseCompression.swift:124:51: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
122 | self.queue.submitTask {
123 | threadPool.runIfActive(eventLoop: context.eventLoop) {
124 | self.writeBuffer(context: context, part: part, compressor: compressor, promise: nil)
| `- warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
125 | }
126 | }
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/ChannelPipeline.swift:1507:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1505 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1506 | /// `ChannelHandler`.
1507 | public final class ChannelHandlerContext: ChannelInvoker {
| `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1508 | // visible for ChannelPipeline to modify
1509 | fileprivate var next: Optional<ChannelHandlerContext>
/host/spi-builder-workspace/Sources/HummingbirdCompression/ResponseCompression.swift:124:66: warning: capture of 'part' with non-sendable type 'IOData' in a `@Sendable` closure; this is an error in the Swift 6 language mode
122 | self.queue.submitTask {
123 | threadPool.runIfActive(eventLoop: context.eventLoop) {
124 | self.writeBuffer(context: context, part: part, compressor: compressor, promise: nil)
| `- warning: capture of 'part' with non-sendable type 'IOData' in a `@Sendable` closure; this is an error in the Swift 6 language mode
125 | }
126 | }
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/IOData.swift:19:13: note: enum 'IOData' does not conform to the 'Sendable' protocol
17 | /// Many `ChannelHandler`s receive or emit bytes and in most cases this can be either a `ByteBuffer` or a `FileRegion`
18 | /// from disk. To still form a well-typed `ChannelPipeline` such handlers should receive and emit value of type `IOData`.
19 | public enum IOData {
| `- note: enum 'IOData' does not conform to the 'Sendable' protocol
20 | /// A `ByteBuffer`.
21 | case byteBuffer(ByteBuffer)
/host/spi-builder-workspace/Sources/HummingbirdCompression/ResponseCompression.swift:124:84: warning: capture of 'compressor' with non-sendable type 'any NIOCompressor' in a `@Sendable` closure; this is an error in the Swift 6 language mode
122 | self.queue.submitTask {
123 | threadPool.runIfActive(eventLoop: context.eventLoop) {
124 | self.writeBuffer(context: context, part: part, compressor: compressor, promise: nil)
| `- warning: capture of 'compressor' with non-sendable type 'any NIOCompressor' in a `@Sendable` closure; this is an error in the Swift 6 language mode
125 | }
126 | }
/host/spi-builder-workspace/.build/checkouts/compress-nio/Sources/CompressNIO/Compressor.swift:57:17: note: protocol 'NIOCompressor' does not conform to the 'Sendable' protocol
55 |
56 | /// Protocol for compressor
57 | public protocol NIOCompressor: AnyObject {
| `- note: protocol 'NIOCompressor' does not conform to the 'Sendable' protocol
58 | /// Compress byte buffer to another byte buffer
59 | /// - Parameters:
/host/spi-builder-workspace/Sources/HummingbirdCompression/ResponseCompression.swift:147:29: warning: capture of 'self' with non-sendable type 'HTTPResponseCompressHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
20 | /// HTTP Response compression channel handler. Compresses HTTP body when accept-encoding header in Request indicates
21 | /// the client will accept compressed data
22 | class HTTPResponseCompressHandler: ChannelDuplexHandler, RemovableChannelHandler {
| `- note: class 'HTTPResponseCompressHandler' does not conform to the 'Sendable' protocol
23 | public typealias InboundIn = HTTPServerRequestPart
24 | public typealias OutboundIn = HTTPServerResponsePart
:
145 | threadPool.runIfActive(eventLoop: context.eventLoop) {
146 | do {
147 | self.finalizeStream(context: context, compressor: compressor, promise: nil)
| `- warning: capture of 'self' with non-sendable type 'HTTPResponseCompressHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
148 | try compressor.finishStream()
149 | } catch {
/host/spi-builder-workspace/Sources/HummingbirdCompression/ResponseCompression.swift:147:58: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
145 | threadPool.runIfActive(eventLoop: context.eventLoop) {
146 | do {
147 | self.finalizeStream(context: context, compressor: compressor, promise: nil)
| `- warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
148 | try compressor.finishStream()
149 | } catch {
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/ChannelPipeline.swift:1507:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1505 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1506 | /// `ChannelHandler`.
1507 | public final class ChannelHandlerContext: ChannelInvoker {
| `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1508 | // visible for ChannelPipeline to modify
1509 | fileprivate var next: Optional<ChannelHandlerContext>
/host/spi-builder-workspace/Sources/HummingbirdCompression/ResponseCompression.swift:147:79: warning: capture of 'compressor' with non-sendable type 'any NIOCompressor' in a `@Sendable` closure; this is an error in the Swift 6 language mode
145 | threadPool.runIfActive(eventLoop: context.eventLoop) {
146 | do {
147 | self.finalizeStream(context: context, compressor: compressor, promise: nil)
| `- warning: capture of 'compressor' with non-sendable type 'any NIOCompressor' in a `@Sendable` closure; this is an error in the Swift 6 language mode
148 | try compressor.finishStream()
149 | } catch {
/host/spi-builder-workspace/.build/checkouts/compress-nio/Sources/CompressNIO/Compressor.swift:57:17: note: protocol 'NIOCompressor' does not conform to the 'Sendable' protocol
55 |
56 | /// Protocol for compressor
57 | public protocol NIOCompressor: AnyObject {
| `- note: protocol 'NIOCompressor' does not conform to the 'Sendable' protocol
58 | /// Compress byte buffer to another byte buffer
59 | /// - Parameters:
/host/spi-builder-workspace/Sources/HummingbirdCompression/ResponseCompression.swift:153:51: warning: capture of 'data' with non-sendable type 'NIOAny' in a `@Sendable` closure; this is an error in the Swift 6 language mode
151 | }
152 | context.eventLoop.execute {
153 | context.writeAndFlush(data, promise: pendingPromise)
| `- warning: capture of 'data' with non-sendable type 'NIOAny' in a `@Sendable` closure; this is an error in the Swift 6 language mode
154 | }
155 | }
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/NIOAny.swift:45:15: note: struct 'NIOAny' does not conform to the 'Sendable' protocol
43 | /// }
44 | /// }
45 | public struct NIOAny {
| `- note: struct 'NIOAny' does not conform to the 'Sendable' protocol
46 | @usableFromInline
47 | let _storage: _NIOAny
/host/spi-builder-workspace/Sources/HummingbirdCompression/ResponseCompression.swift:153:29: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
151 | }
152 | context.eventLoop.execute {
153 | context.writeAndFlush(data, promise: pendingPromise)
| `- warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
154 | }
155 | }
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/ChannelPipeline.swift:1507:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1505 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1506 | /// `ChannelHandler`.
1507 | public final class ChannelHandlerContext: ChannelInvoker {
| `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1508 | // visible for ChannelPipeline to modify
1509 | fileprivate var next: Optional<ChannelHandlerContext>
/host/spi-builder-workspace/Sources/HummingbirdCompression/ResponseCompression.swift:153:51: warning: capture of 'data' with non-sendable type 'NIOAny' in a `@Sendable` closure; this is an error in the Swift 6 language mode
151 | }
152 | context.eventLoop.execute {
153 | context.writeAndFlush(data, promise: pendingPromise)
| `- warning: capture of 'data' with non-sendable type 'NIOAny' in a `@Sendable` closure; this is an error in the Swift 6 language mode
154 | }
155 | }
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/NIOAny.swift:45:15: note: struct 'NIOAny' does not conform to the 'Sendable' protocol
43 | /// }
44 | /// }
45 | public struct NIOAny {
| `- note: struct 'NIOAny' does not conform to the 'Sendable' protocol
46 | @usableFromInline
47 | let _storage: _NIOAny
/host/spi-builder-workspace/Sources/HummingbirdCompression/ResponseCompression.swift:187:25: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
185 | } else {
186 | context.eventLoop.execute {
187 | context.write(self.wrapOutboundOut(.body(.byteBuffer(buffer))), promise: nil)
| `- warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
188 | }
189 | }
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/ChannelPipeline.swift:1507:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1505 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1506 | /// `ChannelHandler`.
1507 | public final class ChannelHandlerContext: ChannelInvoker {
| `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1508 | // visible for ChannelPipeline to modify
1509 | fileprivate var next: Optional<ChannelHandlerContext>
/host/spi-builder-workspace/Sources/HummingbirdCompression/ResponseCompression.swift:187:39: warning: capture of 'self' with non-sendable type 'HTTPResponseCompressHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
20 | /// HTTP Response compression channel handler. Compresses HTTP body when accept-encoding header in Request indicates
21 | /// the client will accept compressed data
22 | class HTTPResponseCompressHandler: ChannelDuplexHandler, RemovableChannelHandler {
| `- note: class 'HTTPResponseCompressHandler' does not conform to the 'Sendable' protocol
23 | public typealias InboundIn = HTTPServerRequestPart
24 | public typealias OutboundIn = HTTPServerResponsePart
:
185 | } else {
186 | context.eventLoop.execute {
187 | context.write(self.wrapOutboundOut(.body(.byteBuffer(buffer))), promise: nil)
| `- warning: capture of 'self' with non-sendable type 'HTTPResponseCompressHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
188 | }
189 | }
/host/spi-builder-workspace/Sources/HummingbirdCompression/ResponseCompression.swift:198:28: warning: 'finishWindowedStream(process:)' is deprecated: This function isn't used anymore
196 | private func finalizeStream(context: ChannelHandlerContext, compressor: NIOCompressor, promise: EventLoopPromise<Void>?) {
197 | do {
198 | try compressor.finishWindowedStream { buffer in
| `- warning: 'finishWindowedStream(process:)' is deprecated: This function isn't used anymore
199 | if context.eventLoop.inEventLoop {
200 | context.write(self.wrapOutboundOut(.body(.byteBuffer(buffer))), promise: nil)
/host/spi-builder-workspace/Sources/HummingbirdCompression/ResponseCompression.swift:203:25: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
201 | } else {
202 | context.eventLoop.execute {
203 | context.write(self.wrapOutboundOut(.body(.byteBuffer(buffer))), promise: nil)
| `- warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
204 | }
205 | }
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/ChannelPipeline.swift:1507:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1505 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1506 | /// `ChannelHandler`.
1507 | public final class ChannelHandlerContext: ChannelInvoker {
| `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1508 | // visible for ChannelPipeline to modify
1509 | fileprivate var next: Optional<ChannelHandlerContext>
/host/spi-builder-workspace/Sources/HummingbirdCompression/ResponseCompression.swift:203:39: warning: capture of 'self' with non-sendable type 'HTTPResponseCompressHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
20 | /// HTTP Response compression channel handler. Compresses HTTP body when accept-encoding header in Request indicates
21 | /// the client will accept compressed data
22 | class HTTPResponseCompressHandler: ChannelDuplexHandler, RemovableChannelHandler {
| `- note: class 'HTTPResponseCompressHandler' does not conform to the 'Sendable' protocol
23 | public typealias InboundIn = HTTPServerRequestPart
24 | public typealias OutboundIn = HTTPServerResponsePart
:
201 | } else {
202 | context.eventLoop.execute {
203 | context.write(self.wrapOutboundOut(.body(.byteBuffer(buffer))), promise: nil)
| `- warning: capture of 'self' with non-sendable type 'HTTPResponseCompressHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
204 | }
205 | }
Build complete! (108.80s)
Build complete.
{
"dependencies" : [
{
"identity" : "hummingbird",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/hummingbird-project/hummingbird.git"
},
{
"identity" : "compress-nio",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/adam-fowler/compress-nio.git"
},
{
"identity" : "swift-nio",
"requirement" : {
"range" : [
{
"lower_bound" : "2.32.1",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-nio.git"
}
],
"manifest_display_name" : "hummingbird-compression",
"name" : "hummingbird-compression",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "12.0"
},
{
"name" : "tvos",
"version" : "12.0"
}
],
"products" : [
{
"name" : "HummingbirdCompression",
"targets" : [
"HummingbirdCompression"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "HummingbirdCompressionTests",
"module_type" : "SwiftTarget",
"name" : "HummingbirdCompressionTests",
"path" : "Tests/HummingbirdCompressionTests",
"product_dependencies" : [
"HummingbirdXCT"
],
"sources" : [
"CompressionTests.swift"
],
"target_dependencies" : [
"HummingbirdCompression"
],
"type" : "test"
},
{
"c99name" : "HummingbirdCompression",
"module_type" : "SwiftTarget",
"name" : "HummingbirdCompression",
"path" : "Sources/HummingbirdCompression",
"product_dependencies" : [
"Hummingbird",
"NIO",
"NIOHTTP1",
"NIOPosix",
"CompressNIO"
],
"product_memberships" : [
"HummingbirdCompression"
],
"sources" : [
"Application+Compression.swift",
"HTTPServer+Compression.swift",
"RequestDecompression.swift",
"ResponseCompression.swift",
"TaskQueue.swift"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.