Build Information
Successful build of MicroExpress with Swift 6.0 for macOS (SPM).
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/NozeIO/MicroExpress.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/NozeIO/MicroExpress
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
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 master
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $workDir
https://github.com/NozeIO/MicroExpress.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/26] Write sources
[4/26] Copying PrivacyInfo.xcprivacy
[4/26] Write sources
[13/26] Compiling CNIOWindows WSAStartup.c
[13/26] Compiling CNIOWindows shim.c
[15/26] Compiling CNIOLinux shim.c
[16/26] Write sources
[17/26] Compiling CNIOLinux liburing_shims.c
[18/26] Write swift-version-6F35C1178C84523A.txt
[19/40] Compiling _AtomicsShims.c
[20/40] Compiling CNIODarwin shim.c
[21/40] Compiling CNIOLLHTTP c_nio_api.c
[22/40] Compiling CNIOLLHTTP c_nio_http.c
[23/77] Compiling CNIOLLHTTP c_nio_llhttp.c
[24/77] Compiling c-nioatomics.c
[25/77] Compiling c-atomics.c
[27/83] Compiling _NIOBase64 Base64.swift
[28/83] Emitting module _NIOBase64
[29/83] Compiling Atomics AtomicMemoryOrderings.swift
[30/83] Compiling Atomics DoubleWord.swift
[31/84] Compiling Atomics ManagedAtomic.swift
[32/84] Compiling Atomics ManagedAtomicLazyReference.swift
[33/84] Compiling Atomics AtomicOptionalWrappable.swift
[34/84] Compiling Atomics AtomicReference.swift
[35/84] Compiling _CollectionsUtilities UnsafeBufferPointer+Extras.swift
[36/84] Compiling Atomics OptionalRawRepresentable.swift
[37/84] Compiling Atomics RawRepresentable.swift
[38/84] Compiling Atomics PointerConformances.swift
[39/84] Compiling Atomics Primitives.native.swift
[40/84] Compiling _CollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[41/84] Compiling _NIODataStructures PriorityQueue.swift
[42/84] Emitting module _NIODataStructures
[43/84] Compiling _NIODataStructures Heap.swift
[46/84] Compiling Atomics Primitives.shims.swift
[47/84] Compiling Atomics AtomicInteger.swift
[48/86] Compiling Atomics UnsafeAtomic.swift
[49/86] Compiling Atomics UnsafeAtomicLazyReference.swift
[54/86] Compiling Atomics AtomicStorage.swift
[55/86] Compiling Atomics AtomicValue.swift
[56/86] Compiling Atomics AtomicBool.swift
[57/86] Compiling Atomics IntegerConformances.swift
[58/86] Emitting module _CollectionsUtilities
[59/103] Compiling DequeModule Deque._Storage.swift
[60/103] Compiling DequeModule Deque._UnsafeHandle.swift
[61/103] Compiling DequeModule Deque+Sendable.swift
[62/103] Compiling DequeModule Deque+Testing.swift
[65/103] Compiling _NIODataStructures _TinyArray.swift
[66/103] Compiling DequeModule _DequeBufferHeader.swift
[67/103] Compiling DequeModule _DequeSlot.swift
[68/104] Compiling DequeModule Deque.swift
[69/104] Compiling DequeModule _DequeBuffer.swift
[70/104] Compiling Atomics IntegerOperations.swift
[71/104] Compiling Atomics Unmanaged extensions.swift
[72/104] Compiling DequeModule _UnsafeWrappedBuffer.swift
[73/104] Compiling DequeModule Deque+Codable.swift
[74/104] Compiling DequeModule Deque+Collection.swift
[75/104] Emitting module Atomics
[76/104] Compiling DequeModule Deque+Equatable.swift
[77/104] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[80/104] Compiling DequeModule Deque+Extras.swift
[81/104] Compiling DequeModule Deque+Hashable.swift
[84/104] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[85/104] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[86/104] Compiling NIOConcurrencyHelpers lock.swift
[87/104] Compiling NIOConcurrencyHelpers NIOLock.swift
[88/104] Compiling NIOConcurrencyHelpers atomics.swift
[89/104] Emitting module NIOConcurrencyHelpers
[94/104] Compiling DequeModule Deque+CustomReflectable.swift
[95/104] Compiling DequeModule Deque+Descriptions.swift
[96/104] Emitting module DequeModule
[97/164] Compiling NIOCore AddressedEnvelope.swift
[98/164] Compiling NIOCore AsyncAwaitSupport.swift
[99/164] Compiling NIOCore AsyncChannel.swift
[100/164] Compiling NIOCore AsyncChannelInboundStream.swift
[101/164] Compiling NIOCore AsyncChannelInboundStreamChannelHandler.swift
[102/164] Compiling NIOCore AsyncChannelOutboundWriter.swift
[103/164] Compiling NIOCore AsyncChannelOutboundWriterHandler.swift
[104/170] Compiling NIOCore ConvenienceOptionSupport.swift
[105/170] Compiling NIOCore DeadChannel.swift
[106/170] Compiling NIOCore DispatchQueue+WithFuture.swift
[107/170] Compiling NIOCore EventLoop+Deprecated.swift
[108/170] Compiling NIOCore EventLoop+SerialExecutor.swift
[109/170] Compiling NIOCore EventLoop.swift
[110/170] Compiling NIOCore EventLoopFuture+AssumeIsolated.swift
[111/170] Compiling NIOCore GlobalSingletons.swift
[112/170] Compiling NIOCore IO.swift
[113/170] Compiling NIOCore IOData.swift
[114/170] Compiling NIOCore IPProtocol.swift
[115/170] Compiling NIOCore IntegerBitPacking.swift
[116/170] Compiling NIOCore IntegerTypes.swift
[117/170] Compiling NIOCore SocketOptionProvider.swift
[118/170] Compiling NIOCore SystemCallHelpers.swift
[119/170] Compiling NIOCore TimeAmount+Duration.swift
[120/170] Compiling NIOCore TypeAssistedChannelHandler.swift
[121/170] Compiling NIOCore UniversalBootstrapSupport.swift
[122/170] Compiling NIOCore Utilities.swift
[123/170] Compiling NIOCore NIOLoopBound.swift
[124/170] Compiling NIOCore NIOSendable.swift
[125/170] Compiling NIOCore PointerHelpers.swift
[126/170] Compiling NIOCore RecvByteBufferAllocator.swift
[127/170] Compiling NIOCore SingleStepByteToMessageDecoder.swift
[128/170] Compiling NIOCore SocketAddresses.swift
[129/170] Compiling NIOCore NIOAsyncSequenceProducer.swift
[130/170] Compiling NIOCore NIOAsyncSequenceProducerStrategies.swift
[131/170] Compiling NIOCore NIOAsyncWriter.swift
[132/170] Compiling NIOCore NIOThrowingAsyncSequenceProducer.swift
[133/170] Compiling NIOCore BSDSocketAPI.swift
[134/170] Compiling NIOCore ByteBuffer-aux.swift
[135/170] Compiling NIOCore ByteBuffer-conversions.swift
[136/170] Compiling NIOCore Interfaces.swift
[137/170] Compiling NIOCore Linux.swift
[138/170] Compiling NIOCore MarkedCircularBuffer.swift
[139/170] Compiling NIOCore MulticastChannel.swift
[140/170] Compiling NIOCore NIOAny.swift
[141/170] Compiling NIOCore NIOCloseOnErrorHandler.swift
[142/170] Compiling NIOCore EventLoopFuture+Deprecated.swift
[143/170] Compiling NIOCore EventLoopFuture+WithEventLoop.swift
[144/170] Compiling NIOCore EventLoopFuture.swift
[145/170] Compiling NIOCore FileDescriptor.swift
[146/170] Compiling NIOCore FileHandle.swift
[147/170] Compiling NIOCore FileRegion.swift
[148/170] Compiling NIOCore ChannelHandler.swift
[149/170] Compiling NIOCore ChannelHandlers.swift
[150/170] Compiling NIOCore ChannelInvoker.swift
[151/170] Compiling NIOCore ChannelOption.swift
[152/170] Compiling NIOCore ChannelPipeline.swift
[153/170] Compiling NIOCore CircularBuffer.swift
[154/170] Compiling NIOCore Codec.swift
[155/170] Compiling NIOCore ByteBuffer-core.swift
[156/170] Compiling NIOCore ByteBuffer-hexdump.swift
[157/170] Compiling NIOCore ByteBuffer-int.swift
[158/170] Compiling NIOCore ByteBuffer-lengthPrefix.swift
[159/170] Compiling NIOCore ByteBuffer-multi-int.swift
[160/170] Compiling NIOCore ByteBuffer-views.swift
[161/170] Compiling NIOCore Channel.swift
[162/170] Emitting module mustache
[163/170] Compiling mustache Mustacheable.swift
[164/170] Compiling mustache MustacheNode.swift
[165/170] Compiling mustache MustacheParser.swift
[166/170] Compiling mustache Helpers.swift
[167/170] Compiling mustache HTMLEscape.swift
[168/170] Compiling mustache SimpleKVC.swift
[169/170] Compiling mustache MustacheRenderingContext.swift
[170/170] Emitting module NIOCore
[171/223] Emitting module NIOEmbedded
[172/223] Compiling NIOEmbedded Embedded.swift
[173/223] Compiling NIOEmbedded AsyncTestingEventLoop.swift
[174/223] Compiling NIOEmbedded AsyncTestingChannel.swift
[175/223] Compiling NIOPosix PendingWritesManager.swift
[176/223] Compiling NIOPosix PipeChannel.swift
[177/223] Compiling NIOPosix PipePair.swift
[178/223] Compiling NIOPosix PointerHelpers.swift
[179/223] Compiling NIOPosix Pool.swift
[180/223] Compiling NIOPosix Selectable.swift
[181/223] Compiling NIOPosix SelectableChannel.swift
[182/223] Compiling NIOPosix SelectableEventLoop.swift
[183/223] Compiling NIOPosix SelectorEpoll.swift
[184/223] Compiling NIOPosix SelectorGeneric.swift
[185/228] Compiling NIOPosix BSDSocketAPICommon.swift
[186/228] Compiling NIOPosix BSDSocketAPIPosix.swift
[187/228] Compiling NIOPosix BSDSocketAPIWindows.swift
[188/228] Compiling NIOPosix BaseSocket.swift
[189/228] Compiling NIOPosix BaseSocketChannel+SocketOptionProvider.swift
[190/228] Compiling NIOPosix BaseSocketChannel.swift
[191/228] Compiling NIOPosix UnsafeTransfer.swift
[192/228] Compiling NIOPosix Utilities.swift
[193/228] Compiling NIOPosix VsockAddress.swift
[194/228] Compiling NIOPosix VsockChannelEvents.swift
[195/228] Compiling NIOPosix resource_bundle_accessor.swift
[196/228] Emitting module NIOPosix
[197/228] Compiling NIOPosix SocketProtocols.swift
[198/228] Compiling NIOPosix System.swift
[199/228] Compiling NIOPosix Thread.swift
[200/228] Compiling NIOPosix ThreadPosix.swift
[201/228] Compiling NIOPosix ThreadWindows.swift
[202/228] Compiling NIOPosix SelectorKqueue.swift
[203/228] Compiling NIOPosix SelectorUring.swift
[204/228] Compiling NIOPosix ServerSocket.swift
[205/228] Compiling NIOPosix Socket.swift
[206/228] Compiling NIOPosix SocketChannel.swift
[207/228] Compiling NIOPosix HappyEyeballs.swift
[208/228] Compiling NIOPosix IO.swift
[209/228] Compiling NIOPosix IntegerBitPacking.swift
[210/228] Compiling NIOPosix IntegerTypes.swift
[211/228] Compiling NIOPosix Linux.swift
[212/228] Compiling NIOPosix LinuxCPUSet.swift
[213/228] Compiling NIOPosix BaseStreamSocketChannel.swift
[214/228] Compiling NIOPosix Bootstrap.swift
[215/228] Compiling NIOPosix ControlMessage.swift
[216/228] Compiling NIOPosix DatagramVectorReadManager.swift
[217/228] Compiling NIOPosix FileDescriptor.swift
[218/228] Compiling NIOPosix GetaddrinfoResolver.swift
[219/228] Compiling NIOPosix PooledRecvBufferAllocator.swift
[220/228] Compiling NIOPosix PosixSingletons+ConcurrencyTakeOver.swift
[221/228] Compiling NIOPosix PosixSingletons.swift
[222/228] Compiling NIOPosix RawSocketBootstrap.swift
[223/228] Compiling NIOPosix Resolver.swift
[224/228] Compiling NIOPosix LinuxUring.swift
[225/228] Compiling NIOPosix MultiThreadedEventLoopGroup.swift
[226/228] Compiling NIOPosix NIOThreadPool.swift
[227/228] Compiling NIOPosix NonBlockingFileIO.swift
[228/228] Compiling NIOPosix PendingDatagramWritesManager.swift
[229/230] Emitting module NIO
[230/230] Compiling NIO Exports.swift
[231/247] Compiling NIOHTTP1 NIOTypedHTTPServerUpgradeHandler.swift
[232/248] Compiling NIOHTTP1 NIOTypedHTTPClientUpgraderStateMachine.swift
[233/248] Compiling NIOHTTP1 NIOTypedHTTPServerUpgraderStateMachine.swift
[234/248] Compiling NIOHTTP1 HTTPServerPipelineHandler.swift
[235/248] Compiling NIOHTTP1 HTTPServerProtocolErrorHandler.swift
[236/248] Compiling NIOHTTP1 HTTPServerUpgradeHandler.swift
[237/248] Compiling NIOHTTP1 HTTPTypedPipelineSetup.swift
[238/248] Compiling NIOHTTP1 HTTPHeaders+Validation.swift
[239/248] Compiling NIOHTTP1 HTTPPipelineSetup.swift
[240/248] Compiling NIOHTTP1 NIOHTTPObjectAggregator.swift
[241/248] Compiling NIOHTTP1 NIOTypedHTTPClientUpgradeHandler.swift
[242/248] Compiling NIOHTTP1 HTTPEncoder.swift
[243/248] Compiling NIOHTTP1 HTTPHeaderValidator.swift
[244/248] Compiling NIOHTTP1 HTTPTypes.swift
[245/248] Compiling NIOHTTP1 NIOHTTPClientUpgradeHandler.swift
[246/248] Compiling NIOHTTP1 ByteCollectionUtils.swift
[247/248] Compiling NIOHTTP1 HTTPDecoder.swift
[248/248] Emitting module NIOHTTP1
[249/257] Compiling MicroExpress QueryString.swift
[250/257] Compiling MicroExpress Middleware.swift
[251/257] 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:42:20: note: class 'NIOFileHandle' does not conform to the 'Sendable' protocol
40 | ///
41 | /// - 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.
42 | public final class NIOFileHandle: FileDescriptor {
| `- note: class 'NIOFileHandle' does not conform to the 'Sendable' protocol
43 | public private(set) var isOpen: Bool
44 | 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:42:20: note: class 'NIOFileHandle' does not conform to the 'Sendable' protocol
40 | ///
41 | /// - 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.
42 | public final class NIOFileHandle: FileDescriptor {
| `- note: class 'NIOFileHandle' does not conform to the 'Sendable' protocol
43 | public private(set) var isOpen: Bool
44 | 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 | }
[252/257] Compiling MicroExpress Router.swift
[253/257] 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/257] Compiling MicroExpress IncomingMessage.swift
[255/257] Compiling MicroExpress CORS.swift
[256/257] Emitting module MicroExpress
[257/257] Compiling MicroExpress ServerResponse.swift
/Users/admin/builder/spi-builder-workspace/Sources/MicroExpress/ServerResponse.swift:35:19: warning: 'recover(file:line:_:)' is deprecated: Please don't pass file:line:, there's no point.
33 | #if swift(>=5)
34 | _ = channel.writeAndFlush(part)
35 | .recover(handleError)
| `- warning: 'recover(file:line:_:)' is deprecated: Please don't pass file:line:, there's no point.
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:39: warning: 'recover(file:line:_:)' is deprecated: Please don't pass file:line:, there's no point.
52 | let part = HTTPServerResponsePart.head(head)
53 | #if swift(>=5)
54 | _ = channel.writeAndFlush(part).recover(handleError)
| `- warning: 'recover(file:line:_:)' is deprecated: Please don't pass file:line:, there's no point.
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:19: warning: 'recover(file:line:_:)' is deprecated: Please don't pass file:line:, there's no point.
112 | #if swift(>=5)
113 | _ = channel.writeAndFlush(part)
114 | .recover(handleError)
| `- warning: 'recover(file:line:_:)' is deprecated: Please don't pass file:line:, there's no point.
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:19: warning: 'recover(file:line:_:)' is deprecated: Please don't pass file:line:, there's no point.
192 | #if swift(>=5)
193 | _ = channel.writeAndFlush(part)
194 | .recover(handleError)
| `- warning: 'recover(file:line:_:)' is deprecated: Please don't pass file:line:, there's no point.
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)
Build complete! (44.65s)
Fetching https://github.com/AlwaysRightInstitute/mustache.git
Fetching https://github.com/apple/swift-nio.git
[1/544] Fetching mustache
[545/66129] Fetching mustache, swift-nio
Fetched https://github.com/AlwaysRightInstitute/mustache.git from cache (3.77s)
Fetched https://github.com/apple/swift-nio.git from cache (3.77s)
Computing version for https://github.com/AlwaysRightInstitute/mustache.git
Computed https://github.com/AlwaysRightInstitute/mustache.git at 0.5.9 (0.69s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.65.0 (0.67s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-collections.git
[1/3518] Fetching swift-system
[37/5081] Fetching swift-system, swift-atomics
[205/19094] Fetching swift-system, swift-atomics, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (1.14s)
[2404/15576] Fetching swift-atomics, swift-collections
Fetched https://github.com/apple/swift-atomics.git from cache (1.79s)
Fetched https://github.com/apple/swift-collections.git from cache (1.79s)
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-system.git
Computed https://github.com/apple/swift-system.git at 1.3.0 (0.53s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.0 (0.94s)
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.65.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.3.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.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/AlwaysRightInstitute/mustache.git
Working copy of https://github.com/AlwaysRightInstitute/mustache.git resolved at 0.5.9
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.