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

Successful build of MicroExpress, reference 0.5.4 (08760d), with Swift 6.0 for macOS (SPM) on 2 Nov 2024 15:31:18 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/NozeIO/MicroExpress.git
Reference: 0.5.4
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/NozeIO/MicroExpress
 * tag               0.5.4      -> FETCH_HEAD
HEAD is now at 08760d0 Update README.md
Cloned https://github.com/NozeIO/MicroExpress.git
Revision (git rev-parse @):
08760d00f09f1cc17334290d97fdfc4bf04ea5a8
SUCCESS checkout https://github.com/NozeIO/MicroExpress.git at 0.5.4
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/AlwaysRightInstitute/mustache.git
[1/559] Fetching mustache
[560/71700] Fetching mustache, swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (4.34s)
Fetched https://github.com/AlwaysRightInstitute/mustache.git from cache (4.34s)
Computing version for https://github.com/AlwaysRightInstitute/mustache.git
Computed https://github.com/AlwaysRightInstitute/mustache.git at 0.5.9 (0.70s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.76.1 (0.74s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-system.git
[1/3901] Fetching swift-system
[2/5470] Fetching swift-system, swift-atomics
[1706/20945] Fetching swift-system, swift-atomics, swift-collections
Fetched https://github.com/apple/swift-atomics.git from cache (1.08s)
[2728/19376] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (15.04s)
Fetched https://github.com/apple/swift-system.git from cache (15.04s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.0 (0.53s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (0.55s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.4 (0.83s)
Creating working copy for https://github.com/AlwaysRightInstitute/mustache.git
Working copy of https://github.com/AlwaysRightInstitute/mustache.git resolved at 0.5.9
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-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-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-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.2.0
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "microexpress",
      "name": "MicroExpress",
      "url": "https://github.com/NozeIO/MicroExpress.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/MicroExpress",
      "dependencies": [
        {
          "identity": "swift-nio",
          "name": "swift-nio",
          "url": "https://github.com/apple/swift-nio.git",
          "version": "2.76.1",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-nio",
          "dependencies": [
            {
              "identity": "swift-atomics",
              "name": "swift-atomics",
              "url": "https://github.com/apple/swift-atomics.git",
              "version": "1.2.0",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-atomics",
              "dependencies": [
              ]
            },
            {
              "identity": "swift-collections",
              "name": "swift-collections",
              "url": "https://github.com/apple/swift-collections.git",
              "version": "1.1.4",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-collections",
              "dependencies": [
              ]
            },
            {
              "identity": "swift-system",
              "name": "swift-system",
              "url": "https://github.com/apple/swift-system.git",
              "version": "1.4.0",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-system",
              "dependencies": [
              ]
            }
          ]
        },
        {
          "identity": "mustache",
          "name": "mustache",
          "url": "https://github.com/AlwaysRightInstitute/mustache.git",
          "version": "0.5.9",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/mustache",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/NozeIO/MicroExpress.git
[1/642] Fetching microexpress
Fetched https://github.com/NozeIO/MicroExpress.git from cache (0.87s)
Fetching https://github.com/AlwaysRightInstitute/mustache.git from cache
Fetching https://github.com/apple/swift-nio.git from cache
Fetched https://github.com/AlwaysRightInstitute/mustache.git from cache (0.50s)
Fetched https://github.com/apple/swift-nio.git from cache (0.74s)
Computing version for https://github.com/AlwaysRightInstitute/mustache.git
Computed https://github.com/AlwaysRightInstitute/mustache.git at 0.5.9 (0.04s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.76.1 (0.03s)
Fetching https://github.com/apple/swift-system.git from cache
Fetching https://github.com/apple/swift-atomics.git from cache
Fetching https://github.com/apple/swift-collections.git from cache
Fetched https://github.com/apple/swift-atomics.git from cache (0.56s)
Fetched https://github.com/apple/swift-collections.git from cache (0.56s)
Fetched https://github.com/apple/swift-system.git from cache (0.57s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.0 (0.03s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (0.03s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.4 (0.03s)
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-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.76.1
Creating working copy for https://github.com/NozeIO/MicroExpress.git
Working copy of https://github.com/NozeIO/MicroExpress.git resolved at 0.5.4 (08760d0)
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/AlwaysRightInstitute/mustache.git
Working copy of https://github.com/AlwaysRightInstitute/mustache.git resolved at 0.5.9
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
warning: '.resolve-product-dependencies': dependency 'microexpress' is not used by any target
Found 2 product dependencies
  - swift-nio
  - mustache
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/NozeIO/MicroExpress.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/27] Write sources
[6/27] Copying PrivacyInfo.xcprivacy
[11/27] Write sources
[13/27] Compiling CNIOWindows shim.c
[14/27] Compiling CNIOWindows WSAStartup.c
[15/27] Compiling CNIOWASI CNIOWASI.c
[16/27] Write swift-version--7754E27361AE5C74.txt
[17/27] Write sources
[18/27] Compiling CNIOLinux shim.c
[19/27] Compiling CNIOLinux liburing_shims.c
[20/41] Compiling _AtomicsShims.c
[21/41] Compiling CNIOLLHTTP c_nio_http.c
[22/59] Compiling CNIOLLHTTP c_nio_api.c
[23/78] Compiling CNIOLLHTTP c_nio_llhttp.c
[24/78] Compiling CNIODarwin shim.c
[25/78] Compiling c-nioatomics.c
[26/78] Compiling c-atomics.c
[28/84] Compiling _NIOBase64 Base64.swift
[29/84] Emitting module _NIOBase64
[30/84] Compiling Atomics UnsafeAtomic.swift
[31/84] Compiling Atomics UnsafeAtomicLazyReference.swift
[34/87] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[35/87] Compiling Atomics AtomicStorage.swift
[36/87] Compiling Atomics AtomicValue.swift
[37/87] Compiling Atomics ManagedAtomic.swift
[38/87] Compiling Atomics ManagedAtomicLazyReference.swift
[39/87] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[40/87] Compiling Atomics AtomicMemoryOrderings.swift
[41/87] Compiling Atomics DoubleWord.swift
[42/87] Compiling Atomics OptionalRawRepresentable.swift
[43/87] Compiling Atomics RawRepresentable.swift
[44/87] Compiling Atomics Primitives.shims.swift
[45/87] Compiling Atomics AtomicInteger.swift
[46/87] Compiling Atomics AtomicBool.swift
[47/87] Compiling Atomics IntegerConformances.swift
[48/87] Emitting module InternalCollectionsUtilities
[49/87] Compiling Atomics PointerConformances.swift
[50/87] Compiling Atomics Primitives.native.swift
[51/87] Compiling Atomics IntegerOperations.swift
[52/87] Compiling Atomics Unmanaged extensions.swift
[53/103] Compiling _NIODataStructures PriorityQueue.swift
[54/103] Compiling _NIODataStructures _TinyArray.swift
[55/103] Compiling DequeModule _DequeBufferHeader.swift
[56/103] Compiling DequeModule _DequeBuffer.swift
[57/103] Compiling DequeModule Deque+Testing.swift
[58/103] Compiling DequeModule Deque._Storage.swift
[59/103] Compiling DequeModule _DequeSlot.swift
[60/104] Emitting module _NIODataStructures
[61/104] Compiling _NIODataStructures Heap.swift
[62/104] Compiling DequeModule _UnsafeWrappedBuffer.swift
[63/104] Compiling NIOConcurrencyHelpers lock.swift
[64/104] Compiling NIOConcurrencyHelpers NIOLock.swift
[65/104] Emitting module Atomics
[66/104] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[67/104] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[68/104] Emitting module NIOConcurrencyHelpers
[69/104] Compiling NIOConcurrencyHelpers atomics.swift
[70/104] Compiling DequeModule Deque+CustomReflectable.swift
[71/104] Compiling DequeModule Deque+Descriptions.swift
[72/104] Compiling DequeModule Deque._UnsafeHandle.swift
[73/104] Compiling DequeModule Deque.swift
[74/104] Compiling DequeModule Deque+Extras.swift
[75/104] Compiling DequeModule Deque+Hashable.swift
[76/104] Compiling DequeModule Deque+Equatable.swift
[77/104] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[78/104] Compiling DequeModule Deque+Codable.swift
[79/104] Compiling DequeModule Deque+Collection.swift
[80/104] Emitting module DequeModule
[87/104] Compiling Atomics AtomicOptionalWrappable.swift
[88/104] Compiling Atomics AtomicReference.swift
[97/166] Compiling NIOCore NIOScheduledCallback.swift
[98/166] Compiling NIOCore NIOSendable.swift
[99/166] Compiling NIOCore PointerHelpers.swift
[100/166] Compiling NIOCore RecvByteBufferAllocator.swift
[101/166] Compiling NIOCore SingleStepByteToMessageDecoder.swift
[102/166] Compiling NIOCore SocketAddresses.swift
[103/172] Compiling mustache MustacheNode.swift
[104/172] Emitting module mustache
[105/172] Compiling mustache HTMLEscape.swift
[106/172] Compiling mustache MustacheRenderingContext.swift
[107/172] Compiling mustache Helpers.swift
[108/172] Compiling mustache MustacheParser.swift
[109/172] Compiling mustache Mustacheable.swift
[110/172] Compiling mustache SimpleKVC.swift
[111/172] Compiling NIOCore Linux.swift
[112/172] Compiling NIOCore MarkedCircularBuffer.swift
[113/172] Compiling NIOCore MulticastChannel.swift
[114/172] Compiling NIOCore NIOAny.swift
[115/172] Compiling NIOCore NIOCloseOnErrorHandler.swift
[116/172] Compiling NIOCore NIOLoopBound.swift
[117/172] Compiling NIOCore EventLoopFuture+AssumeIsolated.swift
[118/172] Compiling NIOCore EventLoopFuture+Deprecated.swift
[119/172] Compiling NIOCore EventLoopFuture+WithEventLoop.swift
[120/172] Compiling NIOCore EventLoopFuture.swift
[121/172] Compiling NIOCore FileDescriptor.swift
[122/172] Compiling NIOCore FileHandle.swift
[123/172] Compiling NIOCore FileRegion.swift
[124/172] Compiling NIOCore GlobalSingletons.swift
[125/172] Compiling NIOCore IO.swift
[126/172] Compiling NIOCore IOData.swift
[127/172] Compiling NIOCore IPProtocol.swift
[128/172] Compiling NIOCore IntegerBitPacking.swift
[129/172] Compiling NIOCore IntegerTypes.swift
[130/172] Compiling NIOCore Interfaces.swift
[131/172] Compiling NIOCore Codec.swift
[132/172] Compiling NIOCore ConvenienceOptionSupport.swift
[133/172] Compiling NIOCore DeadChannel.swift
[134/172] Compiling NIOCore DispatchQueue+WithFuture.swift
[135/172] Compiling NIOCore EventLoop+Deprecated.swift
[136/172] Compiling NIOCore EventLoop+SerialExecutor.swift
[137/172] Compiling NIOCore EventLoop.swift
[138/172] Compiling NIOCore SocketOptionProvider.swift
[139/172] Compiling NIOCore SystemCallHelpers.swift
[140/172] Compiling NIOCore TimeAmount+Duration.swift
[141/172] Compiling NIOCore TypeAssistedChannelHandler.swift
[142/172] Compiling NIOCore UniversalBootstrapSupport.swift
[143/172] Compiling NIOCore Utilities.swift
[144/172] Compiling NIOCore NIOAsyncSequenceProducerStrategies.swift
[145/172] Compiling NIOCore NIOAsyncWriter.swift
[146/172] Compiling NIOCore NIOThrowingAsyncSequenceProducer.swift
[147/172] Compiling NIOCore BSDSocketAPI.swift
[148/172] Compiling NIOCore ByteBuffer-aux.swift
[149/172] Compiling NIOCore ByteBuffer-binaryEncodedLengthPrefix.swift
[150/172] Compiling NIOCore ByteBuffer-conversions.swift
[151/172] Compiling NIOCore Channel.swift
[152/172] Compiling NIOCore ChannelHandler.swift
[153/172] Compiling NIOCore ChannelHandlers.swift
[154/172] Compiling NIOCore ChannelInvoker.swift
[155/172] Compiling NIOCore ChannelOption.swift
[156/172] Compiling NIOCore ChannelPipeline.swift
[157/172] Compiling NIOCore CircularBuffer.swift
[158/172] Compiling NIOCore AddressedEnvelope.swift
[159/172] Compiling NIOCore AsyncAwaitSupport.swift
[160/172] Compiling NIOCore AsyncChannel.swift
[161/172] Compiling NIOCore AsyncChannelHandler.swift
[162/172] Compiling NIOCore AsyncChannelInboundStream.swift
[163/172] Compiling NIOCore AsyncChannelOutboundWriter.swift
[164/172] Compiling NIOCore NIOAsyncSequenceProducer.swift
[165/172] Compiling NIOCore ByteBuffer-core.swift
[166/172] Compiling NIOCore ByteBuffer-hex.swift
[167/172] Compiling NIOCore ByteBuffer-int.swift
[168/172] Compiling NIOCore ByteBuffer-lengthPrefix.swift
[169/172] Compiling NIOCore ByteBuffer-multi-int.swift
[170/172] Compiling NIOCore ByteBuffer-quicBinaryEncodingStrategy.swift
[171/172] Compiling NIOCore ByteBuffer-views.swift
[172/172] Emitting module NIOCore
[173/226] Compiling NIOEmbedded AsyncTestingEventLoop.swift
[174/226] Compiling NIOEmbedded AsyncTestingChannel.swift
[175/226] Emitting module NIOEmbedded
[176/226] Compiling NIOEmbedded Embedded.swift
[177/226] Compiling NIOPosix GetaddrinfoResolver.swift
[178/226] Compiling NIOPosix HappyEyeballs.swift
[179/226] Compiling NIOPosix IO.swift
[180/226] Compiling NIOPosix IntegerBitPacking.swift
[181/226] Compiling NIOPosix IntegerTypes.swift
[182/226] Compiling NIOPosix Linux.swift
[183/231] Compiling NIOPosix PooledRecvBufferAllocator.swift
[184/231] Compiling NIOPosix PosixSingletons+ConcurrencyTakeOver.swift
[185/231] Compiling NIOPosix PosixSingletons.swift
[186/231] Compiling NIOPosix RawSocketBootstrap.swift
[187/231] Compiling NIOPosix Resolver.swift
[188/231] Compiling NIOPosix UnsafeTransfer.swift
[189/231] Compiling NIOPosix Utilities.swift
[190/231] Compiling NIOPosix VsockAddress.swift
[191/231] Compiling NIOPosix VsockChannelEvents.swift
[192/231] Compiling NIOPosix resource_bundle_accessor.swift
[193/231] Compiling NIOPosix PendingWritesManager.swift
[194/231] Compiling NIOPosix PipeChannel.swift
[195/231] Compiling NIOPosix PipePair.swift
[196/231] Compiling NIOPosix PointerHelpers.swift
[197/231] Compiling NIOPosix Pool.swift
[198/231] Compiling NIOPosix SocketProtocols.swift
[199/231] Compiling NIOPosix System.swift
[200/231] Compiling NIOPosix Thread.swift
[201/231] Compiling NIOPosix ThreadPosix.swift
[202/231] Compiling NIOPosix ThreadWindows.swift
[203/231] Compiling NIOPosix Selectable.swift
[204/231] Compiling NIOPosix SelectableChannel.swift
[205/231] Compiling NIOPosix SelectableEventLoop.swift
[206/231] Compiling NIOPosix SelectorEpoll.swift
[207/231] Compiling NIOPosix SelectorGeneric.swift
[208/231] Compiling NIOPosix SelectorKqueue.swift
[209/231] Compiling NIOPosix SelectorUring.swift
[210/231] Compiling NIOPosix ServerSocket.swift
[211/231] Compiling NIOPosix Socket.swift
[212/231] Compiling NIOPosix SocketChannel.swift
[213/231] Emitting module NIOPosix
[214/231] Compiling NIOPosix BaseStreamSocketChannel.swift
[215/231] Compiling NIOPosix Bootstrap.swift
[216/231] Compiling NIOPosix ControlMessage.swift
[217/231] Compiling NIOPosix DatagramVectorReadManager.swift
[218/231] Compiling NIOPosix Errors+Any.swift
[219/231] Compiling NIOPosix FileDescriptor.swift
[220/231] Compiling NIOPosix BSDSocketAPICommon.swift
[221/231] Compiling NIOPosix BSDSocketAPIPosix.swift
[222/231] Compiling NIOPosix BSDSocketAPIWindows.swift
[223/231] Compiling NIOPosix BaseSocket.swift
[224/231] Compiling NIOPosix BaseSocketChannel+SocketOptionProvider.swift
[225/231] Compiling NIOPosix BaseSocketChannel.swift
[226/231] Compiling NIOPosix LinuxCPUSet.swift
[227/231] Compiling NIOPosix LinuxUring.swift
[228/231] Compiling NIOPosix MultiThreadedEventLoopGroup.swift
[229/231] Compiling NIOPosix NIOThreadPool.swift
[230/231] Compiling NIOPosix NonBlockingFileIO.swift
[231/231] Compiling NIOPosix PendingDatagramWritesManager.swift
[232/233] Compiling NIO Exports.swift
[233/233] Emitting module NIO
[234/250] Compiling NIOHTTP1 NIOTypedHTTPClientUpgraderStateMachine.swift
[235/250] Compiling NIOHTTP1 NIOTypedHTTPServerUpgradeHandler.swift
[236/251] Compiling NIOHTTP1 NIOTypedHTTPServerUpgraderStateMachine.swift
[237/251] Compiling NIOHTTP1 NIOHTTPObjectAggregator.swift
[238/251] Compiling NIOHTTP1 NIOTypedHTTPClientUpgradeHandler.swift
[239/251] Compiling NIOHTTP1 HTTPServerUpgradeHandler.swift
[240/251] Compiling NIOHTTP1 HTTPTypedPipelineSetup.swift
[241/251] Compiling NIOHTTP1 HTTPServerPipelineHandler.swift
[242/251] Compiling NIOHTTP1 HTTPServerProtocolErrorHandler.swift
[243/251] Emitting module NIOHTTP1
[244/251] Compiling NIOHTTP1 HTTPEncoder.swift
[245/251] Compiling NIOHTTP1 HTTPHeaderValidator.swift
[246/251] Compiling NIOHTTP1 HTTPTypes.swift
[247/251] Compiling NIOHTTP1 NIOHTTPClientUpgradeHandler.swift
[248/251] Compiling NIOHTTP1 HTTPHeaders+Validation.swift
[249/251] Compiling NIOHTTP1 HTTPPipelineSetup.swift
[250/251] Compiling NIOHTTP1 ByteCollectionUtils.swift
[251/251] Compiling NIOHTTP1 HTTPDecoder.swift
[252/260] Compiling MicroExpress IncomingMessage.swift
[253/260] Compiling MicroExpress Express.swift
/Users/admin/builder/spi-builder-workspace/Sources/MicroExpress/Express.swift:25:61: warning: capture of 'self' with non-sendable type 'Express' in a `@Sendable` closure; this is an error in the Swift 6 language mode
  8 |   MultiThreadedEventLoopGroup(numberOfThreads: System.coreCount)
  9 |
 10 | open class Express : Router {
    |            `- note: class 'Express' does not conform to the 'Sendable' protocol
 11 |
 12 |   override public init() {}
    :
 23 |           return channel.pipeline.configureHTTPServerPipeline().flatMap {
 24 |             _ in
 25 |             channel.pipeline.addHandler(HTTPHandler(router: self))
    |                                                             `- warning: capture of 'self' with non-sendable type 'Express' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 26 |           }
 27 |         #else
/Users/admin/builder/spi-builder-workspace/Sources/MicroExpress/Express.swift:25:61: warning: capture of 'self' with non-sendable type 'Express' in a `@Sendable` closure; this is an error in the Swift 6 language mode
  8 |   MultiThreadedEventLoopGroup(numberOfThreads: System.coreCount)
  9 |
 10 | open class Express : Router {
    |            `- note: class 'Express' does not conform to the 'Sendable' protocol
 11 |
 12 |   override public init() {}
    :
 23 |           return channel.pipeline.configureHTTPServerPipeline().flatMap {
 24 |             _ in
 25 |             channel.pipeline.addHandler(HTTPHandler(router: self))
    |                                                             `- warning: capture of 'self' with non-sendable type 'Express' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 26 |           }
 27 |         #else
[254/260] Compiling MicroExpress FS.swift
/Users/admin/builder/spi-builder-workspace/Sources/MicroExpress/FS.swift:41:34: warning: capture of 'cb' with non-sendable type '((any Error)?, ByteBuffer?) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
39 |     func emit(error: Error? = nil, result: ByteBuffer? = nil) {
40 |       if eventLoop.inEventLoop { cb(error, result) }
41 |       else { eventLoop.execute { cb(error, result) } }
   |                                  |- warning: capture of 'cb' with non-sendable type '((any Error)?, ByteBuffer?) -> ()' 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'
42 |     }
43 |
/Users/admin/builder/spi-builder-workspace/Sources/MicroExpress/FS.swift:52:24: warning: capture of 'emit(error:result:)' with non-sendable type '((any Error)?, ByteBuffer?) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
50 |           fh = try NIO.NIOFileHandle(path: path)
51 |         }
52 |         catch { return emit(error: error) }
   |                        |- warning: capture of 'emit(error:result:)' with non-sendable type '((any Error)?, ByteBuffer?) -> ()' 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'
53 |       #else
54 |         let fh : NIO.FileHandle
/Users/admin/builder/spi-builder-workspace/Sources/MicroExpress/FS.swift:39:10: warning: concurrently-executed local function 'emit(error:result:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
37 |                  ?? loopGroup.next()
38 |
39 |     func emit(error: Error? = nil, result: ByteBuffer? = nil) {
   |          `- warning: concurrently-executed local function 'emit(error:result:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
40 |       if eventLoop.inEventLoop { cb(error, result) }
41 |       else { eventLoop.execute { cb(error, result) } }
/Users/admin/builder/spi-builder-workspace/Sources/MicroExpress/FS.swift:64:29: warning: capture of 'fh' with non-sendable type 'NIOFileHandle' in a `@Sendable` closure; this is an error in the Swift 6 language mode
62 |                   allocator  : ByteBufferAllocator(),
63 |                   eventLoop  : eventLoop)
64 |         .map         { try? fh.close(); emit(result: $0) }
   |                             `- warning: capture of 'fh' with non-sendable type 'NIOFileHandle' in a `@Sendable` closure; this is an error in the Swift 6 language mode
65 |         .whenFailure { try? fh.close(); emit(error:  $0) }
66 |     }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/FileHandle.swift:47:20: note: class 'NIOFileHandle' does not conform to the 'Sendable' protocol
 45 | ///
 46 | /// - warning: `NIOFileHandle` objects are not thread-safe and are mutable. They also cannot be fully thread-safe as they refer to a global underlying file descriptor.
 47 | public final class NIOFileHandle: FileDescriptor {
    |                    `- note: class 'NIOFileHandle' does not conform to the 'Sendable' protocol
 48 |     public private(set) var isOpen: Bool
 49 |     private let descriptor: CInt
/Users/admin/builder/spi-builder-workspace/Sources/MicroExpress/FS.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'NIOCore'
 7 | //
 8 |
 9 | import NIO
   | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'NIOCore'
10 |
11 | public enum fs {
/Users/admin/builder/spi-builder-workspace/Sources/MicroExpress/FS.swift:64:41: warning: capture of 'emit(error:result:)' with non-sendable type '((any Error)?, ByteBuffer?) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
62 |                   allocator  : ByteBufferAllocator(),
63 |                   eventLoop  : eventLoop)
64 |         .map         { try? fh.close(); emit(result: $0) }
   |                                         |- warning: capture of 'emit(error:result:)' with non-sendable type '((any Error)?, ByteBuffer?) -> ()' 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'
65 |         .whenFailure { try? fh.close(); emit(error:  $0) }
66 |     }
/Users/admin/builder/spi-builder-workspace/Sources/MicroExpress/FS.swift:65:29: warning: capture of 'fh' with non-sendable type 'NIOFileHandle' in a `@Sendable` closure; this is an error in the Swift 6 language mode
63 |                   eventLoop  : eventLoop)
64 |         .map         { try? fh.close(); emit(result: $0) }
65 |         .whenFailure { try? fh.close(); emit(error:  $0) }
   |                             `- warning: capture of 'fh' with non-sendable type 'NIOFileHandle' in a `@Sendable` closure; this is an error in the Swift 6 language mode
66 |     }
67 |   }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/FileHandle.swift:47:20: note: class 'NIOFileHandle' does not conform to the 'Sendable' protocol
 45 | ///
 46 | /// - warning: `NIOFileHandle` objects are not thread-safe and are mutable. They also cannot be fully thread-safe as they refer to a global underlying file descriptor.
 47 | public final class NIOFileHandle: FileDescriptor {
    |                    `- note: class 'NIOFileHandle' does not conform to the 'Sendable' protocol
 48 |     public private(set) var isOpen: Bool
 49 |     private let descriptor: CInt
/Users/admin/builder/spi-builder-workspace/Sources/MicroExpress/FS.swift:65:41: warning: capture of 'emit(error:result:)' with non-sendable type '((any Error)?, ByteBuffer?) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
63 |                   eventLoop  : eventLoop)
64 |         .map         { try? fh.close(); emit(result: $0) }
65 |         .whenFailure { try? fh.close(); emit(error:  $0) }
   |                                         |- warning: capture of 'emit(error:result:)' with non-sendable type '((any Error)?, ByteBuffer?) -> ()' 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'
66 |     }
67 |   }
[255/260] Emitting module MicroExpress
[256/260] Compiling MicroExpress ServerResponse.swift
/Users/admin/builder/spi-builder-workspace/Sources/MicroExpress/ServerResponse.swift:35:27: warning: converting non-sendable function value to '@Sendable (any Error) -> Void' may introduce data races
 33 |     #if swift(>=5)
 34 |       _ = channel.writeAndFlush(part)
 35 |                  .recover(handleError)
    |                           `- warning: converting non-sendable function value to '@Sendable (any Error) -> Void' may introduce data races
 36 |                  .map { self.end() }
 37 |     #else
/Users/admin/builder/spi-builder-workspace/Sources/MicroExpress/ServerResponse.swift:36:25: warning: capture of 'self' with non-sendable type 'ServerResponse' in a `@Sendable` closure; this is an error in the Swift 6 language mode
  4 | import NIOHTTP1
  5 |
  6 | open class ServerResponse {
    |            `- note: class 'ServerResponse' does not conform to the 'Sendable' protocol
  7 |
  8 |   public  var status         = HTTPResponseStatus.ok
    :
 34 |       _ = channel.writeAndFlush(part)
 35 |                  .recover(handleError)
 36 |                  .map { self.end() }
    |                         `- warning: capture of 'self' with non-sendable type 'ServerResponse' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 37 |     #else
 38 |       _ = channel.writeAndFlush(part)
/Users/admin/builder/spi-builder-workspace/Sources/MicroExpress/ServerResponse.swift:54:47: warning: converting non-sendable function value to '@Sendable (any Error) -> Void' may introduce data races
 52 |     let part = HTTPServerResponsePart.head(head)
 53 |     #if swift(>=5)
 54 |       _ = channel.writeAndFlush(part).recover(handleError)
    |                                               `- warning: converting non-sendable function value to '@Sendable (any Error) -> Void' may introduce data races
 55 |     #else
 56 |       _ = channel.writeAndFlush(part).mapIfError(handleError)
/Users/admin/builder/spi-builder-workspace/Sources/MicroExpress/ServerResponse.swift:69:23: warning: capture of 'self' with non-sendable type 'ServerResponse' in a `@Sendable` closure; this is an error in the Swift 6 language mode
  4 | import NIOHTTP1
  5 |
  6 | open class ServerResponse {
    |            `- note: class 'ServerResponse' does not conform to the 'Sendable' protocol
  7 |
  8 |   public  var status         = HTTPResponseStatus.ok
    :
 67 |     didEnd = true
 68 |     _ = channel.writeAndFlush(HTTPServerResponsePart.end(nil))
 69 |                .map { self.channel.close() }
    |                       `- warning: capture of 'self' with non-sendable type 'ServerResponse' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 70 |   }
 71 | }
/Users/admin/builder/spi-builder-workspace/Sources/MicroExpress/ServerResponse.swift:114:27: warning: converting non-sendable function value to '@Sendable (any Error) -> Void' may introduce data races
112 |     #if swift(>=5)
113 |       _ = channel.writeAndFlush(part)
114 |                  .recover(handleError)
    |                           `- warning: converting non-sendable function value to '@Sendable (any Error) -> Void' may introduce data races
115 |                  .map { self.end() }
116 |     #else
/Users/admin/builder/spi-builder-workspace/Sources/MicroExpress/ServerResponse.swift:115:25: warning: capture of 'self' with non-sendable type 'ServerResponse' in a `@Sendable` closure; this is an error in the Swift 6 language mode
  4 | import NIOHTTP1
  5 |
  6 | open class ServerResponse {
    |            `- note: class 'ServerResponse' does not conform to the 'Sendable' protocol
  7 |
  8 |   public  var status         = HTTPResponseStatus.ok
    :
113 |       _ = channel.writeAndFlush(part)
114 |                  .recover(handleError)
115 |                  .map { self.end() }
    |                         `- warning: capture of 'self' with non-sendable type 'ServerResponse' in a `@Sendable` closure; this is an error in the Swift 6 language mode
116 |     #else
117 |       _ = channel.writeAndFlush(part)
/Users/admin/builder/spi-builder-workspace/Sources/MicroExpress/ServerResponse.swift:194:27: warning: converting non-sendable function value to '@Sendable (any Error) -> Void' may introduce data races
192 |     #if swift(>=5)
193 |       _ = channel.writeAndFlush(part)
194 |                  .recover(handleError)
    |                           `- warning: converting non-sendable function value to '@Sendable (any Error) -> Void' may introduce data races
195 |                  .map { self.end() }
196 |     #else
/Users/admin/builder/spi-builder-workspace/Sources/MicroExpress/ServerResponse.swift:195:25: warning: capture of 'self' with non-sendable type 'ServerResponse' in a `@Sendable` closure; this is an error in the Swift 6 language mode
  4 | import NIOHTTP1
  5 |
  6 | open class ServerResponse {
    |            `- note: class 'ServerResponse' does not conform to the 'Sendable' protocol
  7 |
  8 |   public  var status         = HTTPResponseStatus.ok
    :
193 |       _ = channel.writeAndFlush(part)
194 |                  .recover(handleError)
195 |                  .map { self.end() }
    |                         `- warning: capture of 'self' with non-sendable type 'ServerResponse' in a `@Sendable` closure; this is an error in the Swift 6 language mode
196 |     #else
197 |       _ = channel.writeAndFlush(part)
[257/260] Compiling MicroExpress Router.swift
[258/260] Compiling MicroExpress CORS.swift
[259/260] Compiling MicroExpress Middleware.swift
[260/260] Compiling MicroExpress QueryString.swift
Build complete! (38.91s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-nio",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.12.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-nio.git"
    },
    {
      "identity" : "mustache",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.5.9",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/AlwaysRightInstitute/mustache.git"
    }
  ],
  "manifest_display_name" : "MicroExpress",
  "name" : "MicroExpress",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "MicroExpress",
      "targets" : [
        "MicroExpress"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "MicroExpress",
      "module_type" : "SwiftTarget",
      "name" : "MicroExpress",
      "path" : "Sources/MicroExpress",
      "product_dependencies" : [
        "NIO",
        "NIOHTTP1",
        "mustache"
      ],
      "product_memberships" : [
        "MicroExpress"
      ],
      "sources" : [
        "CORS.swift",
        "Express.swift",
        "FS.swift",
        "IncomingMessage.swift",
        "Middleware.swift",
        "QueryString.swift",
        "Router.swift",
        "ServerResponse.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
Done.