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 28 Nov 2024 23:09:21 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 -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures

Build Log

========================================
RunAll
========================================
Builder version: 4.58.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/AlwaysRightInstitute/mustache.git
Fetching https://github.com/apple/swift-nio.git
[1/559] Fetching mustache
[560/72558] Fetching mustache, swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (3.71s)
Fetched https://github.com/AlwaysRightInstitute/mustache.git from cache (3.71s)
Computing version for https://github.com/AlwaysRightInstitute/mustache.git
Computed https://github.com/AlwaysRightInstitute/mustache.git at 0.5.9 (0.59s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.77.0 (0.65s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-collections.git
[1/1569] Fetching swift-atomics
[64/5488] Fetching swift-atomics, swift-system
[1280/21085] Fetching swift-atomics, swift-system, swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (4.56s)
Fetched https://github.com/apple/swift-atomics.git from cache (4.56s)
Fetched https://github.com/apple/swift-system.git from cache (4.56s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.0 (0.45s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (0.46s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.4 (0.66s)
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-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-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.77.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
========================================
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.77.0",
          "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.85s)
Fetching https://github.com/apple/swift-nio.git from cache
Fetching https://github.com/AlwaysRightInstitute/mustache.git from cache
Fetched https://github.com/AlwaysRightInstitute/mustache.git from cache (0.74s)
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.03s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.77.0 (0.02s)
Fetching https://github.com/apple/swift-system.git from cache
Fetching https://github.com/apple/swift-collections.git from cache
Fetching https://github.com/apple/swift-atomics.git from cache
Fetched https://github.com/apple/swift-collections.git from cache (0.58s)
Fetched https://github.com/apple/swift-atomics.git from cache (0.58s)
Fetched https://github.com/apple/swift-system.git from cache (0.58s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.0 (0.02s)
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.02s)
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.77.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/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-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.2.0
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)
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 -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/27] Write sources
[7/27] Copying PrivacyInfo.xcprivacy
[7/27] Write sources
[13/27] Compiling CNIOWindows WSAStartup.c
[13/27] Compiling CNIOWindows shim.c
[15/27] Write swift-version--7754E27361AE5C74.txt
[16/27] Compiling CNIOWASI CNIOWASI.c
[17/27] Compiling CNIOLinux liburing_shims.c
[18/27] Compiling CNIOLinux shim.c
[19/41] Compiling _AtomicsShims.c
[20/41] Compiling CNIOLLHTTP c_nio_http.c
[21/41] Write sources
[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 InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[31/85] Compiling Atomics UnsafeAtomic.swift
[32/85] Compiling Atomics UnsafeAtomicLazyReference.swift
[33/85] Compiling Atomics ManagedAtomic.swift
[34/85] Compiling Atomics ManagedAtomicLazyReference.swift
[37/87] Compiling Atomics AtomicStorage.swift
[38/87] Compiling Atomics AtomicValue.swift
[41/87] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[42/87] Compiling Atomics IntegerOperations.swift
[43/87] Compiling Atomics Unmanaged extensions.swift
[46/87] Compiling Atomics AtomicOptionalWrappable.swift
[47/87] Compiling Atomics AtomicReference.swift
[48/87] Compiling Atomics AtomicMemoryOrderings.swift
[49/87] Compiling Atomics DoubleWord.swift
[52/87] Compiling Atomics PointerConformances.swift
[53/87] Compiling Atomics Primitives.native.swift
[54/87] Emitting module InternalCollectionsUtilities
[55/87] Compiling Atomics AtomicBool.swift
[56/87] Compiling Atomics IntegerConformances.swift
[57/87] Compiling Atomics Primitives.shims.swift
[58/87] Compiling Atomics AtomicInteger.swift
[59/87] Compiling Atomics OptionalRawRepresentable.swift
[60/87] Compiling Atomics RawRepresentable.swift
[61/103] Compiling DequeModule _DequeBufferHeader.swift
[62/104] Compiling _NIODataStructures PriorityQueue.swift
[63/104] Compiling _NIODataStructures _TinyArray.swift
[64/104] Compiling DequeModule _DequeSlot.swift
[65/104] Compiling DequeModule _UnsafeWrappedBuffer.swift
[66/104] Emitting module _NIODataStructures
[67/104] Compiling _NIODataStructures Heap.swift
[68/104] Compiling DequeModule _DequeBuffer.swift
[69/104] Compiling NIOConcurrencyHelpers NIOLock.swift
[70/104] Emitting module NIOConcurrencyHelpers
[71/104] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[72/104] Compiling NIOConcurrencyHelpers atomics.swift
[73/104] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[74/104] Compiling NIOConcurrencyHelpers lock.swift
[75/104] Compiling DequeModule Deque+Testing.swift
[76/104] Compiling DequeModule Deque._Storage.swift
[77/104] Compiling DequeModule Deque+CustomReflectable.swift
[78/104] Compiling DequeModule Deque+Descriptions.swift
[79/104] Compiling DequeModule Deque._UnsafeHandle.swift
[80/104] Compiling DequeModule Deque.swift
[81/104] Compiling DequeModule Deque+Codable.swift
[82/104] Compiling DequeModule Deque+Collection.swift
[83/104] Compiling DequeModule Deque+Equatable.swift
[84/104] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[85/104] Emitting module DequeModule
[86/104] Compiling DequeModule Deque+Extras.swift
[87/104] Compiling DequeModule Deque+Hashable.swift
[94/104] Emitting module Atomics
[97/166] Compiling NIOCore Linux.swift
[98/166] Compiling NIOCore MarkedCircularBuffer.swift
[99/166] Compiling NIOCore MulticastChannel.swift
[100/166] Compiling NIOCore NIOAny.swift
[101/166] Compiling NIOCore NIOCloseOnErrorHandler.swift
[102/166] Compiling NIOCore NIOLoopBound.swift
[103/172] Compiling NIOCore NIOScheduledCallback.swift
[104/172] Compiling NIOCore NIOSendable.swift
[105/172] Compiling NIOCore PointerHelpers.swift
[106/172] Compiling NIOCore RecvByteBufferAllocator.swift
[107/172] Compiling NIOCore SingleStepByteToMessageDecoder.swift
[108/172] Compiling NIOCore SocketAddresses.swift
[109/172] Compiling NIOCore SocketOptionProvider.swift
[110/172] Compiling NIOCore SystemCallHelpers.swift
[111/172] Compiling NIOCore TimeAmount+Duration.swift
[112/172] Compiling NIOCore TypeAssistedChannelHandler.swift
[113/172] Compiling NIOCore UniversalBootstrapSupport.swift
[114/172] Compiling NIOCore Utilities.swift
[115/172] Compiling mustache MustacheRenderingContext.swift
[116/172] Compiling mustache MustacheNode.swift
[117/172] Compiling mustache MustacheParser.swift
[118/172] Compiling mustache Helpers.swift
[119/172] Compiling mustache HTMLEscape.swift
[120/172] Emitting module mustache
[121/172] Compiling mustache Mustacheable.swift
[122/172] Compiling mustache SimpleKVC.swift
[123/172] Compiling NIOCore AddressedEnvelope.swift
[124/172] Compiling NIOCore AsyncAwaitSupport.swift
[125/172] Compiling NIOCore AsyncChannel.swift
[126/172] Compiling NIOCore AsyncChannelHandler.swift
[127/172] Compiling NIOCore AsyncChannelInboundStream.swift
[128/172] Compiling NIOCore AsyncChannelOutboundWriter.swift
[129/172] Compiling NIOCore NIOAsyncSequenceProducer.swift
[130/172] Compiling NIOCore NIOAsyncSequenceProducerStrategies.swift
[131/172] Compiling NIOCore NIOAsyncWriter.swift
[132/172] Compiling NIOCore NIOThrowingAsyncSequenceProducer.swift
[133/172] Compiling NIOCore BSDSocketAPI.swift
[134/172] Compiling NIOCore ByteBuffer-aux.swift
[135/172] Compiling NIOCore ByteBuffer-binaryEncodedLengthPrefix.swift
[136/172] Compiling NIOCore ByteBuffer-conversions.swift
[137/172] Compiling NIOCore GlobalSingletons.swift
[138/172] Compiling NIOCore IO.swift
[139/172] Compiling NIOCore IOData.swift
[140/172] Compiling NIOCore IPProtocol.swift
[141/172] Compiling NIOCore IntegerBitPacking.swift
[142/172] Compiling NIOCore IntegerTypes.swift
[143/172] Compiling NIOCore Interfaces.swift
[144/172] Compiling NIOCore Channel.swift
[145/172] Compiling NIOCore ChannelHandler.swift
[146/172] Compiling NIOCore ChannelHandlers.swift
[147/172] Compiling NIOCore ChannelInvoker.swift
[148/172] Compiling NIOCore ChannelOption.swift
[149/172] Compiling NIOCore ChannelPipeline.swift
[150/172] Compiling NIOCore CircularBuffer.swift
[151/172] Compiling NIOCore Codec.swift
[152/172] Compiling NIOCore ConvenienceOptionSupport.swift
[153/172] Compiling NIOCore DeadChannel.swift
[154/172] Compiling NIOCore DispatchQueue+WithFuture.swift
[155/172] Compiling NIOCore EventLoop+Deprecated.swift
[156/172] Compiling NIOCore EventLoop+SerialExecutor.swift
[157/172] Compiling NIOCore EventLoop.swift
[158/172] Compiling NIOCore ByteBuffer-core.swift
[159/172] Compiling NIOCore ByteBuffer-hex.swift
[160/172] Compiling NIOCore ByteBuffer-int.swift
[161/172] Compiling NIOCore ByteBuffer-lengthPrefix.swift
[162/172] Compiling NIOCore ByteBuffer-multi-int.swift
[163/172] Compiling NIOCore ByteBuffer-quicBinaryEncodingStrategy.swift
[164/172] Compiling NIOCore ByteBuffer-views.swift
[165/172] Compiling NIOCore EventLoopFuture+AssumeIsolated.swift
[166/172] Compiling NIOCore EventLoopFuture+Deprecated.swift
[167/172] Compiling NIOCore EventLoopFuture+WithEventLoop.swift
[168/172] Compiling NIOCore EventLoopFuture.swift
[169/172] Compiling NIOCore FileDescriptor.swift
[170/172] Compiling NIOCore FileHandle.swift
[171/172] Compiling NIOCore FileRegion.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 Selectable.swift
[189/231] Compiling NIOPosix SelectableChannel.swift
[190/231] Compiling NIOPosix SelectableEventLoop.swift
[191/231] Compiling NIOPosix SelectorEpoll.swift
[192/231] Compiling NIOPosix SelectorGeneric.swift
[193/231] Compiling NIOPosix UnsafeTransfer.swift
[194/231] Compiling NIOPosix Utilities.swift
[195/231] Compiling NIOPosix VsockAddress.swift
[196/231] Compiling NIOPosix VsockChannelEvents.swift
[197/231] Compiling NIOPosix resource_bundle_accessor.swift
[198/231] Compiling NIOPosix BSDSocketAPICommon.swift
[199/231] Compiling NIOPosix BSDSocketAPIPosix.swift
[200/231] Compiling NIOPosix BSDSocketAPIWindows.swift
[201/231] Compiling NIOPosix BaseSocket.swift
[202/231] Compiling NIOPosix BaseSocketChannel+SocketOptionProvider.swift
[203/231] Compiling NIOPosix BaseSocketChannel.swift
[204/231] Compiling NIOPosix SelectorKqueue.swift
[205/231] Compiling NIOPosix SelectorUring.swift
[206/231] Compiling NIOPosix ServerSocket.swift
[207/231] Compiling NIOPosix Socket.swift
[208/231] Compiling NIOPosix SocketChannel.swift
[209/231] Emitting module NIOPosix
[210/231] Compiling NIOPosix BaseStreamSocketChannel.swift
[211/231] Compiling NIOPosix Bootstrap.swift
[212/231] Compiling NIOPosix ControlMessage.swift
[213/231] Compiling NIOPosix DatagramVectorReadManager.swift
[214/231] Compiling NIOPosix Errors+Any.swift
[215/231] Compiling NIOPosix FileDescriptor.swift
[216/231] Compiling NIOPosix PendingWritesManager.swift
[217/231] Compiling NIOPosix PipeChannel.swift
[218/231] Compiling NIOPosix PipePair.swift
[219/231] Compiling NIOPosix PointerHelpers.swift
[220/231] Compiling NIOPosix Pool.swift
[221/231] Compiling NIOPosix LinuxCPUSet.swift
[222/231] Compiling NIOPosix LinuxUring.swift
[223/231] Compiling NIOPosix MultiThreadedEventLoopGroup.swift
[224/231] Compiling NIOPosix NIOThreadPool.swift
[225/231] Compiling NIOPosix NonBlockingFileIO.swift
[226/231] Compiling NIOPosix PendingDatagramWritesManager.swift
[227/231] Compiling NIOPosix SocketProtocols.swift
[228/231] Compiling NIOPosix System.swift
[229/231] Compiling NIOPosix Thread.swift
[230/231] Compiling NIOPosix ThreadPosix.swift
[231/231] Compiling NIOPosix ThreadWindows.swift
[232/233] Emitting module NIO
[233/233] Compiling NIO Exports.swift
[234/250] Compiling NIOHTTP1 NIOTypedHTTPServerUpgradeHandler.swift
[235/251] Compiling NIOHTTP1 NIOTypedHTTPClientUpgraderStateMachine.swift
[236/251] Compiling NIOHTTP1 NIOTypedHTTPServerUpgraderStateMachine.swift
[237/251] Compiling NIOHTTP1 HTTPServerUpgradeHandler.swift
[238/251] Compiling NIOHTTP1 HTTPTypedPipelineSetup.swift
[239/251] Compiling NIOHTTP1 HTTPServerPipelineHandler.swift
[240/251] Compiling NIOHTTP1 HTTPServerProtocolErrorHandler.swift
[241/251] Compiling NIOHTTP1 ByteCollectionUtils.swift
[242/251] Compiling NIOHTTP1 HTTPDecoder.swift
[243/251] Compiling NIOHTTP1 NIOHTTPObjectAggregator.swift
[244/251] Compiling NIOHTTP1 NIOTypedHTTPClientUpgradeHandler.swift
[245/251] Emitting module NIOHTTP1
[246/251] Compiling NIOHTTP1 HTTPHeaders+Validation.swift
[247/251] Compiling NIOHTTP1 HTTPPipelineSetup.swift
[248/251] Compiling NIOHTTP1 HTTPEncoder.swift
[249/251] Compiling NIOHTTP1 HTTPHeaderValidator.swift
[250/251] Compiling NIOHTTP1 HTTPTypes.swift
[251/251] Compiling NIOHTTP1 NIOHTTPClientUpgradeHandler.swift
[252/260] Compiling MicroExpress Middleware.swift
[253/260] Compiling MicroExpress Router.swift
[254/260] Compiling MicroExpress IncomingMessage.swift
[255/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
[256/260] Compiling MicroExpress QueryString.swift
[257/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)
[258/260] Emitting module MicroExpress
[259/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 |   }
[260/260] Compiling MicroExpress CORS.swift
Build complete! (38.72s)
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.