Build Information
Successful build of MicroExpress, reference 0.5.4 (08760d
), with Swift 6.1 for macOS (SPM) on 27 Apr 2025 03:31:52 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.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.61.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 from cache
[1/559] Fetching mustache
Fetched https://github.com/AlwaysRightInstitute/mustache.git from cache (0.72s)
Fetched https://github.com/apple/swift-nio.git from cache (0.96s)
Computing version for https://github.com/AlwaysRightInstitute/mustache.git
Computed https://github.com/AlwaysRightInstitute/mustache.git at 0.5.9 (1.57s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.82.0 (0.69s)
Fetching https://github.com/apple/swift-atomics.git from cache
Fetching https://github.com/apple/swift-collections.git from cache
Fetching https://github.com/apple/swift-system.git from cache
Fetched https://github.com/apple/swift-atomics.git from cache (0.66s)
Fetched https://github.com/apple/swift-system.git from cache (0.68s)
Fetched https://github.com/apple/swift-collections.git from cache (0.69s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (1.19s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.2 (0.45s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.4 (0.70s)
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.82.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-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.4.2
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.82.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.2",
"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.77s)
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.68s)
Fetched https://github.com/apple/swift-nio.git from cache (0.68s)
Computing version for https://github.com/AlwaysRightInstitute/mustache.git
Computed https://github.com/AlwaysRightInstitute/mustache.git at 0.5.9 (0.75s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.82.0 (0.03s)
Fetching https://github.com/apple/swift-atomics.git from cache
Fetching https://github.com/apple/swift-collections.git from cache
Fetching https://github.com/apple/swift-system.git from cache
Fetched https://github.com/apple/swift-atomics.git from cache (0.55s)
Fetched https://github.com/apple/swift-system.git from cache (0.56s)
Fetched https://github.com/apple/swift-collections.git from cache (0.57s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (0.64s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.2 (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-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.4.2
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-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.82.0
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.2.0
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.1.4
Creating working copy for https://github.com/AlwaysRightInstitute/mustache.git
Working copy of https://github.com/AlwaysRightInstitute/mustache.git resolved at 0.5.9
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.1
Building package at path: $PWD
https://github.com/NozeIO/MicroExpress.git
https://github.com/NozeIO/MicroExpress.git
{
"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"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.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
[3/27] Copying PrivacyInfo.xcprivacy
[7/27] Write sources
[13/27] Compiling CNIOWindows WSAStartup.c
[14/27] Compiling CNIOWindows shim.c
[14/27] Compiling CNIOWASI CNIOWASI.c
[16/27] Compiling CNIOLinux shim.c
[16/27] Compiling CNIOLinux liburing_shims.c
[18/27] Write sources
[19/27] Write swift-version-2F0A5646E1D333AE.txt
[20/40] 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
[26/78] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[27/78] Compiling Atomics ManagedAtomic.swift
[28/78] Compiling Atomics ManagedAtomicLazyReference.swift
[29/78] Emitting module InternalCollectionsUtilities
[30/79] Emitting module _NIOBase64
[31/79] Compiling _NIOBase64 Base64.swift
[32/79] Compiling Atomics AtomicMemoryOrderings.swift
[33/79] Compiling Atomics DoubleWord.swift
[34/79] Compiling Atomics AtomicOptionalWrappable.swift
[35/79] Compiling Atomics AtomicReference.swift
[36/79] Compiling Atomics OptionalRawRepresentable.swift
[37/79] Compiling Atomics RawRepresentable.swift
[38/79] Compiling Atomics AtomicBool.swift
[39/79] Compiling Atomics IntegerConformances.swift
[40/79] Compiling Atomics UnsafeAtomic.swift
[41/79] Compiling Atomics UnsafeAtomicLazyReference.swift
[46/81] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[47/81] Compiling Atomics Primitives.shims.swift
[48/81] Compiling Atomics AtomicInteger.swift
[49/81] Compiling Atomics AtomicStorage.swift
[50/81] Compiling Atomics AtomicValue.swift
[51/81] Compiling Atomics PointerConformances.swift
[52/81] Compiling Atomics Primitives.native.swift
[63/81] Compiling _NIODataStructures PriorityQueue.swift
[64/81] Compiling _NIODataStructures _TinyArray.swift
[65/81] Compiling Atomics IntegerOperations.swift
[66/81] Compiling Atomics Unmanaged extensions.swift
[67/97] Compiling DequeModule Deque+Equatable.swift
[68/97] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[69/97] Emitting module Atomics
[70/97] Emitting module _NIODataStructures
[71/97] Compiling _NIODataStructures Heap.swift
[72/97] Compiling DequeModule _DequeSlot.swift
[73/97] Compiling DequeModule _DequeBufferHeader.swift
[74/97] Compiling DequeModule _DequeBuffer.swift
[75/98] Compiling DequeModule Deque+Testing.swift
[76/98] Compiling DequeModule Deque._Storage.swift
[77/98] Compiling DequeModule Deque+Extras.swift
[78/98] Compiling DequeModule Deque+Hashable.swift
[79/98] Compiling DequeModule Deque._UnsafeHandle.swift
[80/98] Compiling DequeModule Deque.swift
[81/98] Compiling DequeModule Deque+CustomReflectable.swift
[82/98] Compiling DequeModule Deque+Descriptions.swift
[85/98] Compiling DequeModule Deque+Codable.swift
[86/98] Compiling DequeModule Deque+Collection.swift
[87/98] Compiling DequeModule _UnsafeWrappedBuffer.swift
[88/98] Emitting module DequeModule
[88/98] Compiling c-nioatomics.c
[89/98] Compiling c-atomics.c
[91/104] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[92/104] Compiling NIOConcurrencyHelpers lock.swift
[93/104] Compiling NIOConcurrencyHelpers NIOLock.swift
[94/104] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[95/104] Compiling NIOConcurrencyHelpers atomics.swift
[96/104] Emitting module NIOConcurrencyHelpers
[97/165] Compiling mustache MustacheRenderingContext.swift
[98/165] Compiling mustache MustacheParser.swift
[99/165] Compiling mustache MustacheNode.swift
[100/165] Compiling NIOCore GlobalSingletons.swift
[101/165] Compiling NIOCore IO.swift
[102/165] Compiling NIOCore IOData.swift
[103/165] Compiling NIOCore IPProtocol.swift
[104/165] Compiling NIOCore IntegerBitPacking.swift
[105/165] Compiling NIOCore IntegerTypes.swift
[106/171] Compiling NIOCore SocketOptionProvider.swift
[107/171] Compiling NIOCore SystemCallHelpers.swift
[108/171] Compiling NIOCore TimeAmount+Duration.swift
[109/171] Compiling NIOCore TypeAssistedChannelHandler.swift
[110/171] Compiling NIOCore UniversalBootstrapSupport.swift
[111/171] Compiling NIOCore Utilities.swift
[112/171] Compiling NIOCore Interfaces.swift
[113/171] Compiling NIOCore Linux.swift
[114/171] Compiling NIOCore MarkedCircularBuffer.swift
[115/171] Compiling NIOCore MulticastChannel.swift
[116/171] Compiling NIOCore NIOAny.swift
[117/171] Compiling NIOCore NIOCloseOnErrorHandler.swift
[118/171] Compiling NIOCore Codec.swift
[119/171] Compiling NIOCore ConvenienceOptionSupport.swift
[120/171] Compiling NIOCore DeadChannel.swift
[121/171] Compiling NIOCore DispatchQueue+WithFuture.swift
[122/171] Compiling NIOCore EventLoop+Deprecated.swift
[123/171] Compiling NIOCore EventLoop+SerialExecutor.swift
[124/171] Compiling NIOCore EventLoop.swift
[125/171] Compiling NIOCore EventLoopFuture+AssumeIsolated.swift
[126/171] Compiling NIOCore EventLoopFuture+Deprecated.swift
[127/171] Compiling NIOCore EventLoopFuture+WithEventLoop.swift
[128/171] Compiling NIOCore EventLoopFuture.swift
[129/171] Compiling NIOCore FileDescriptor.swift
[130/171] Compiling NIOCore FileHandle.swift
[131/171] Compiling NIOCore FileRegion.swift
[132/171] Compiling NIOCore NIOLoopBound.swift
[133/171] Compiling NIOCore NIOScheduledCallback.swift
[134/171] Compiling NIOCore NIOSendable.swift
[135/171] Compiling NIOCore RecvByteBufferAllocator.swift
[136/171] Compiling NIOCore SingleStepByteToMessageDecoder.swift
[137/171] Compiling NIOCore SocketAddresses.swift
[138/171] Compiling NIOCore NIOAsyncSequenceProducerStrategies.swift
[139/171] Compiling NIOCore NIOAsyncWriter.swift
[140/171] Compiling NIOCore NIOThrowingAsyncSequenceProducer.swift
[141/171] Compiling NIOCore BSDSocketAPI.swift
[142/171] Compiling NIOCore ByteBuffer-aux.swift
[143/171] Compiling NIOCore ByteBuffer-binaryEncodedLengthPrefix.swift
[144/171] Compiling NIOCore ByteBuffer-conversions.swift
[145/171] Compiling NIOCore Channel.swift
[146/171] Compiling NIOCore ChannelHandler.swift
[147/171] Compiling NIOCore ChannelHandlers.swift
[148/171] Compiling NIOCore ChannelInvoker.swift
[149/171] Compiling NIOCore ChannelOption.swift
[150/171] Compiling NIOCore ChannelPipeline.swift
[151/171] Compiling NIOCore CircularBuffer.swift
[152/171] Compiling mustache HTMLEscape.swift
[153/171] Compiling mustache Helpers.swift
[154/171] Emitting module mustache
[155/171] Compiling mustache SimpleKVC.swift
[156/171] Compiling mustache Mustacheable.swift
[157/171] Compiling NIOCore AddressedEnvelope.swift
[158/171] Compiling NIOCore AsyncAwaitSupport.swift
[159/171] Compiling NIOCore AsyncChannel.swift
[160/171] Compiling NIOCore AsyncChannelHandler.swift
[161/171] Compiling NIOCore AsyncChannelInboundStream.swift
[162/171] Compiling NIOCore AsyncChannelOutboundWriter.swift
[163/171] Compiling NIOCore NIOAsyncSequenceProducer.swift
[164/171] Compiling NIOCore ByteBuffer-core.swift
[165/171] Compiling NIOCore ByteBuffer-hex.swift
[166/171] Compiling NIOCore ByteBuffer-int.swift
[167/171] Compiling NIOCore ByteBuffer-lengthPrefix.swift
[168/171] Compiling NIOCore ByteBuffer-multi-int.swift
[169/171] Compiling NIOCore ByteBuffer-quicBinaryEncodingStrategy.swift
[170/171] Compiling NIOCore ByteBuffer-views.swift
[171/171] Emitting module NIOCore
[172/224] Compiling NIOEmbedded AsyncTestingChannel.swift
[173/224] Emitting module NIOEmbedded
[174/224] Compiling NIOEmbedded Embedded.swift
[175/224] Compiling NIOEmbedded AsyncTestingEventLoop.swift
[176/224] Compiling NIOPosix PooledRecvBufferAllocator.swift
[177/224] Compiling NIOPosix PosixSingletons+ConcurrencyTakeOver.swift
[178/224] Compiling NIOPosix PosixSingletons.swift
[179/224] Compiling NIOPosix RawSocketBootstrap.swift
[180/224] Compiling NIOPosix Resolver.swift
[181/229] Compiling NIOPosix GetaddrinfoResolver.swift
[182/229] Compiling NIOPosix HappyEyeballs.swift
[183/229] Compiling NIOPosix IO.swift
[184/229] Compiling NIOPosix IntegerBitPacking.swift
[185/229] Compiling NIOPosix IntegerTypes.swift
[186/229] Compiling NIOPosix Linux.swift
[187/229] Compiling NIOPosix SocketProtocols.swift
[188/229] Compiling NIOPosix System.swift
[189/229] Compiling NIOPosix Thread.swift
[190/229] Compiling NIOPosix ThreadPosix.swift
[191/229] Compiling NIOPosix ThreadWindows.swift
[192/229] Emitting module NIOPosix
[193/229] Compiling NIOPosix UnsafeTransfer.swift
[194/229] Compiling NIOPosix Utilities.swift
[195/229] Compiling NIOPosix VsockAddress.swift
[196/229] Compiling NIOPosix VsockChannelEvents.swift
[197/229] Compiling NIOPosix resource_bundle_accessor.swift
[198/229] Compiling NIOPosix LinuxCPUSet.swift
[199/229] Compiling NIOPosix LinuxUring.swift
[200/229] Compiling NIOPosix MultiThreadedEventLoopGroup.swift
[201/229] Compiling NIOPosix NIOThreadPool.swift
[202/229] Compiling NIOPosix NonBlockingFileIO.swift
[203/229] Compiling NIOPosix SelectorKqueue.swift
[204/229] Compiling NIOPosix SelectorUring.swift
[205/229] Compiling NIOPosix ServerSocket.swift
[206/229] Compiling NIOPosix Socket.swift
[207/229] Compiling NIOPosix SocketChannel.swift
[208/229] Compiling NIOPosix Selectable.swift
[209/229] Compiling NIOPosix SelectableChannel.swift
[210/229] Compiling NIOPosix SelectableEventLoop.swift
[211/229] Compiling NIOPosix SelectorEpoll.swift
[212/229] Compiling NIOPosix SelectorGeneric.swift
[213/229] Compiling NIOPosix BSDSocketAPICommon.swift
[214/229] Compiling NIOPosix BSDSocketAPIPosix.swift
[215/229] Compiling NIOPosix BSDSocketAPIWindows.swift
[216/229] Compiling NIOPosix BaseSocket.swift
[217/229] Compiling NIOPosix BaseSocketChannel+SocketOptionProvider.swift
[218/229] Compiling NIOPosix BaseSocketChannel.swift
[219/229] Compiling NIOPosix PendingDatagramWritesManager.swift
[220/229] Compiling NIOPosix PendingWritesManager.swift
[221/229] Compiling NIOPosix PipeChannel.swift
[222/229] Compiling NIOPosix PipePair.swift
[223/229] Compiling NIOPosix Pool.swift
[224/229] Compiling NIOPosix BaseStreamSocketChannel.swift
[225/229] Compiling NIOPosix Bootstrap.swift
[226/229] Compiling NIOPosix ControlMessage.swift
[227/229] Compiling NIOPosix DatagramVectorReadManager.swift
[228/229] Compiling NIOPosix Errors+Any.swift
[229/229] Compiling NIOPosix FileDescriptor.swift
[230/231] Emitting module NIO
[231/231] Compiling NIO Exports.swift
[232/248] Compiling NIOHTTP1 HTTPServerUpgradeHandler.swift
[233/248] Compiling NIOHTTP1 HTTPTypedPipelineSetup.swift
[234/248] Compiling NIOHTTP1 NIOHTTPObjectAggregator.swift
[235/248] Compiling NIOHTTP1 NIOTypedHTTPClientUpgradeHandler.swift
[236/249] Compiling NIOHTTP1 NIOTypedHTTPServerUpgradeHandler.swift
[237/249] Compiling NIOHTTP1 HTTPServerPipelineHandler.swift
[238/249] Compiling NIOHTTP1 HTTPServerProtocolErrorHandler.swift
[239/249] Compiling NIOHTTP1 HTTPEncoder.swift
[240/249] Compiling NIOHTTP1 HTTPHeaderValidator.swift
[241/249] Compiling NIOHTTP1 NIOTypedHTTPClientUpgraderStateMachine.swift
[242/249] Compiling NIOHTTP1 HTTPHeaders+Validation.swift
[243/249] Compiling NIOHTTP1 HTTPPipelineSetup.swift
[244/249] Compiling NIOHTTP1 ByteCollectionUtils.swift
[245/249] Compiling NIOHTTP1 HTTPDecoder.swift
[246/249] Compiling NIOHTTP1 HTTPTypes.swift
[247/249] Compiling NIOHTTP1 NIOHTTPClientUpgradeHandler.swift
[248/249] Emitting module NIOHTTP1
[249/249] Compiling NIOHTTP1 NIOTypedHTTPServerUpgraderStateMachine.swift
[250/258] Compiling MicroExpress Router.swift
[251/258] Compiling MicroExpress QueryString.swift
[252/258] Compiling MicroExpress FS.swift
/Users/admin/builder/spi-builder-workspace/Sources/MicroExpress/FS.swift:50:24: warning: 'init(path:)' is deprecated: Avoid using NIOFileHandle. The type is difficult to hold correctly, use NIOFileSystem as a replacement API.
48 | let fh : NIO.NIOFileHandle
49 | do { // Blocking:
50 | fh = try NIO.NIOFileHandle(path: path)
| `- warning: 'init(path:)' is deprecated: Avoid using NIOFileHandle. The type is difficult to hold correctly, use NIOFileSystem as a replacement API.
51 | }
52 | catch { return emit(error: error) }
/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
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
| `- 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
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
| `- 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'
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'
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:41: warning: capture of 'emit(error:result:)' with non-sendable type '((any Error)?, ByteBuffer?) -> ()' in a '@Sendable' closure
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
| `- 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:41: warning: capture of 'emit(error:result:)' with non-sendable type '((any Error)?, ByteBuffer?) -> ()' in a '@Sendable' closure
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
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
66 | }
67 | }
[253/258] Compiling MicroExpress IncomingMessage.swift
[254/258] Compiling MicroExpress Express.swift
/Users/admin/builder/spi-builder-workspace/Sources/MicroExpress/Express.swift:25:41: warning: type 'Express.HTTPHandler' does not conform to the 'Sendable' protocol
23 | return channel.pipeline.configureHTTPServerPipeline().flatMap {
24 | _ in
25 | channel.pipeline.addHandler(HTTPHandler(router: self))
| `- warning: type 'Express.HTTPHandler' does not conform to the 'Sendable' protocol
26 | }
27 | #else
:
77 | }
78 |
79 | final class HTTPHandler : ChannelInboundHandler {
| `- note: class 'HTTPHandler' does not conform to the 'Sendable' protocol
80 | typealias InboundIn = HTTPServerRequestPart
81 |
/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
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
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
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
26 | }
27 | #else
[255/258] Emitting module MicroExpress
[256/258] Compiling MicroExpress Middleware.swift
[257/258] 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
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
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
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
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
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
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
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
196 | #else
197 | _ = channel.writeAndFlush(part)
[258/258] Compiling MicroExpress CORS.swift
Build complete! (13.53s)
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.