Build Information
Successful build of MicroExpress, reference master (08760d
), with Swift 6.0 for Linux on 2 Nov 2024 15:19:44 UTC.
Swift 6 data race errors: 0
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/NozeIO/MicroExpress.git
Reference: master
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/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: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/NozeIO/MicroExpress.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/AlwaysRightInstitute/mustache.git
[1/559] Fetching mustache
[365/71700] Fetching mustache, swift-nio
Fetched https://github.com/AlwaysRightInstitute/mustache.git from cache (8.32s)
Fetched https://github.com/apple/swift-nio.git from cache (8.47s)
Computing version for https://github.com/AlwaysRightInstitute/mustache.git
Computed https://github.com/AlwaysRightInstitute/mustache.git at 0.5.9 (2.03s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.76.1 (1.19s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-system.git
[1/3901] Fetching swift-system
[392/5470] Fetching swift-system, swift-atomics
[5471/20945] Fetching swift-system, swift-atomics, swift-collections
Fetched https://github.com/apple/swift-atomics.git from cache (2.13s)
Fetched https://github.com/apple/swift-system.git from cache (2.28s)
Fetched https://github.com/apple/swift-collections.git from cache (2.30s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.0 (1.18s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (0.58s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.4 (0.85s)
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.76.1
Creating working copy for https://github.com/apple/swift-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
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.2.0
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.4.0
Building for debugging...
[0/26] Write sources
[12/26] Compiling CNIOWindows shim.c
[13/26] Compiling CNIOWindows WSAStartup.c
[14/26] Compiling CNIOWASI CNIOWASI.c
[15/26] Compiling CNIOLinux liburing_shims.c
[16/26] Compiling CNIODarwin shim.c
[17/26] Compiling CNIOLLHTTP c_nio_http.c
[17/26] Write sources
[19/26] Compiling CNIOLinux shim.c
[20/26] Compiling CNIOLLHTTP c_nio_api.c
[21/26] Compiling _AtomicsShims.c
[22/26] Write swift-version-24593BA9C3E375BF.txt
[23/26] Compiling CNIOLLHTTP c_nio_llhttp.c
[24/76] Compiling c-nioatomics.c
[25/76] Compiling c-atomics.c
[27/82] Compiling InternalCollectionsUtilities _SortedCollection.swift
[28/82] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[29/84] Compiling Atomics Primitives.shims.swift
[30/84] Compiling Atomics AtomicInteger.swift
[31/84] Compiling Atomics AtomicOptionalWrappable.swift
[32/84] Compiling Atomics OptionalRawRepresentable.swift
[33/84] Compiling Atomics RawRepresentable.swift
[34/84] Compiling Atomics AtomicBool.swift
[35/86] Compiling Atomics AtomicReference.swift
[38/86] Emitting module InternalCollectionsUtilities
[39/86] Emitting module Atomics
[40/86] Compiling Atomics AtomicMemoryOrderings.swift
[41/86] Compiling Atomics DoubleWord.swift
[42/86] Compiling Atomics ManagedAtomic.swift
[43/86] Compiling Atomics ManagedAtomicLazyReference.swift
[44/86] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[45/86] Emitting module NIOConcurrencyHelpers
[46/86] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[47/86] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[48/86] Compiling _NIODataStructures PriorityQueue.swift
[49/86] Compiling _NIODataStructures _TinyArray.swift
[52/86] Compiling mustache MustacheRenderingContext.swift
[57/86] Emitting module _NIOBase64
[58/86] Compiling _NIOBase64 Base64.swift
[61/87] Compiling Atomics IntegerConformances.swift
[62/87] Compiling Atomics PointerConformances.swift
[63/87] Compiling Atomics Primitives.native.swift
[74/88] Compiling Atomics IntegerOperations.swift
[75/88] Compiling Atomics Unmanaged extensions.swift
[77/104] Compiling DequeModule Deque+CustomReflectable.swift
[78/104] Compiling DequeModule Deque+Descriptions.swift
[79/104] Compiling DequeModule Deque+Equatable.swift
[80/104] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[81/106] Compiling DequeModule _DequeBuffer.swift
[82/106] Compiling DequeModule _DequeBufferHeader.swift
[83/106] Compiling NIOConcurrencyHelpers lock.swift
[84/106] Compiling mustache MustacheParser.swift
[85/106] Compiling mustache MustacheNode.swift
[86/106] Emitting module _NIODataStructures
[87/106] Compiling _NIODataStructures Heap.swift
[88/106] Compiling NIOConcurrencyHelpers NIOLock.swift
[89/106] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[90/106] Compiling NIOConcurrencyHelpers atomics.swift
[93/108] Compiling DequeModule _DequeSlot.swift
[94/108] Compiling DequeModule _UnsafeWrappedBuffer.swift
[95/108] Compiling DequeModule Deque+Extras.swift
[96/108] Compiling DequeModule Deque+Hashable.swift
[97/108] Compiling DequeModule Deque+Testing.swift
[98/108] Compiling DequeModule Deque._Storage.swift
[99/108] Compiling DequeModule Deque._UnsafeHandle.swift
[100/108] Compiling DequeModule Deque.swift
[101/108] Emitting module DequeModule
[102/108] Compiling DequeModule Deque+Codable.swift
[103/108] Compiling DequeModule Deque+Collection.swift
[105/169] Compiling mustache Mustacheable.swift
[106/169] Compiling mustache SimpleKVC.swift
[107/169] Compiling mustache HTMLEscape.swift
[108/169] Emitting module mustache
[109/169] Compiling mustache Helpers.swift
[111/170] Compiling NIOCore MulticastChannel.swift
[112/170] Compiling NIOCore NIOAny.swift
[113/170] Compiling NIOCore NIOCloseOnErrorHandler.swift
[114/170] Compiling NIOCore NIOLoopBound.swift
[115/170] Compiling NIOCore NIOScheduledCallback.swift
[116/170] Compiling NIOCore NIOSendable.swift
[117/170] Compiling NIOCore PointerHelpers.swift
[118/170] Compiling NIOCore RecvByteBufferAllocator.swift
[119/178] Compiling NIOCore EventLoopFuture+AssumeIsolated.swift
[120/178] Compiling NIOCore EventLoopFuture+Deprecated.swift
[121/178] Compiling NIOCore EventLoopFuture+WithEventLoop.swift
[122/178] Compiling NIOCore EventLoopFuture.swift
[123/178] Compiling NIOCore FileDescriptor.swift
[124/178] Compiling NIOCore FileHandle.swift
[125/178] Compiling NIOCore FileRegion.swift
[126/178] Compiling NIOCore GlobalSingletons.swift
[127/178] Compiling NIOCore IO.swift
[128/178] Compiling NIOCore IOData.swift
[129/178] Compiling NIOCore IPProtocol.swift
[130/178] Compiling NIOCore IntegerBitPacking.swift
[131/178] Compiling NIOCore IntegerTypes.swift
[132/178] Compiling NIOCore Interfaces.swift
[133/178] Compiling NIOCore Linux.swift
[134/178] Compiling NIOCore MarkedCircularBuffer.swift
[135/178] Compiling NIOCore CircularBuffer.swift
[136/178] Compiling NIOCore Codec.swift
[137/178] Compiling NIOCore ConvenienceOptionSupport.swift
[138/178] Compiling NIOCore DeadChannel.swift
[139/178] Compiling NIOCore DispatchQueue+WithFuture.swift
[140/178] Compiling NIOCore EventLoop+Deprecated.swift
[141/178] Compiling NIOCore EventLoop+SerialExecutor.swift
[142/178] Compiling NIOCore EventLoop.swift
[143/178] Compiling NIOCore SingleStepByteToMessageDecoder.swift
[144/178] Compiling NIOCore SocketAddresses.swift
[145/178] Compiling NIOCore SocketOptionProvider.swift
[146/178] Compiling NIOCore SystemCallHelpers.swift
[147/178] Compiling NIOCore TimeAmount+Duration.swift
[148/178] Compiling NIOCore TypeAssistedChannelHandler.swift
[149/178] Compiling NIOCore UniversalBootstrapSupport.swift
[150/178] Compiling NIOCore Utilities.swift
[151/178] Compiling NIOCore AddressedEnvelope.swift
[152/178] Compiling NIOCore AsyncAwaitSupport.swift
[153/178] Compiling NIOCore AsyncChannel.swift
[154/178] Compiling NIOCore AsyncChannelHandler.swift
[155/178] Compiling NIOCore AsyncChannelInboundStream.swift
[156/178] Compiling NIOCore AsyncChannelOutboundWriter.swift
[157/178] Compiling NIOCore NIOAsyncSequenceProducer.swift
[158/178] Compiling NIOCore NIOAsyncSequenceProducerStrategies.swift
[159/178] Compiling NIOCore NIOAsyncWriter.swift
[160/178] Compiling NIOCore NIOThrowingAsyncSequenceProducer.swift
[161/178] Compiling NIOCore BSDSocketAPI.swift
[162/178] Compiling NIOCore ByteBuffer-aux.swift
[163/178] Compiling NIOCore ByteBuffer-binaryEncodedLengthPrefix.swift
[164/178] Compiling NIOCore ByteBuffer-conversions.swift
[165/178] Compiling NIOCore ByteBuffer-core.swift
[166/178] Compiling NIOCore ByteBuffer-hex.swift
[167/178] Compiling NIOCore ByteBuffer-int.swift
[168/178] Compiling NIOCore ByteBuffer-lengthPrefix.swift
[169/178] Compiling NIOCore ByteBuffer-multi-int.swift
[170/178] Compiling NIOCore ByteBuffer-quicBinaryEncodingStrategy.swift
[171/178] Compiling NIOCore ByteBuffer-views.swift
[172/178] Compiling NIOCore Channel.swift
[173/178] Compiling NIOCore ChannelHandler.swift
[174/178] Compiling NIOCore ChannelHandlers.swift
[175/178] Compiling NIOCore ChannelInvoker.swift
[176/178] Compiling NIOCore ChannelOption.swift
[177/178] Compiling NIOCore ChannelPipeline.swift
[178/178] Emitting module NIOCore
[180/231] Compiling NIOEmbedded AsyncTestingEventLoop.swift
[181/231] Emitting module NIOEmbedded
[182/231] Compiling NIOEmbedded Embedded.swift
[183/231] Compiling NIOEmbedded AsyncTestingChannel.swift
[185/232] Compiling NIOPosix Pool.swift
[186/232] Compiling NIOPosix PooledRecvBufferAllocator.swift
[187/232] Compiling NIOPosix PosixSingletons+ConcurrencyTakeOver.swift
[188/232] Compiling NIOPosix PosixSingletons.swift
[189/232] Compiling NIOPosix RawSocketBootstrap.swift
[190/232] Compiling NIOPosix Resolver.swift
[191/232] Compiling NIOPosix Selectable.swift
[192/232] Compiling NIOPosix IO.swift
[193/232] Compiling NIOPosix IntegerBitPacking.swift
[194/232] Compiling NIOPosix IntegerTypes.swift
[195/232] Compiling NIOPosix Linux.swift
[196/232] Compiling NIOPosix LinuxCPUSet.swift
[197/232] Compiling NIOPosix LinuxUring.swift
[198/232] Compiling NIOPosix MultiThreadedEventLoopGroup.swift
[199/232] Compiling NIOPosix SelectableChannel.swift
[200/232] Compiling NIOPosix SelectableEventLoop.swift
[201/232] Compiling NIOPosix SelectorEpoll.swift
[202/232] Compiling NIOPosix SelectorGeneric.swift
[203/232] Compiling NIOPosix SelectorKqueue.swift
[204/232] Compiling NIOPosix SelectorUring.swift
[205/232] Compiling NIOPosix ServerSocket.swift
[206/232] Compiling NIOPosix Socket.swift
[207/232] Compiling NIOPosix SocketChannel.swift
[208/232] Compiling NIOPosix SocketProtocols.swift
[209/232] Compiling NIOPosix System.swift
[210/232] Compiling NIOPosix Thread.swift
[211/238] Emitting module NIOPosix
[212/238] Compiling NIOPosix ThreadPosix.swift
[213/238] Compiling NIOPosix ThreadWindows.swift
[214/238] Compiling NIOPosix UnsafeTransfer.swift
[215/238] Compiling NIOPosix Utilities.swift
[216/238] Compiling NIOPosix VsockAddress.swift
[217/238] Compiling NIOPosix VsockChannelEvents.swift
[218/238] Compiling NIOPosix NIOThreadPool.swift
[219/238] Compiling NIOPosix NonBlockingFileIO.swift
[220/238] Compiling NIOPosix PendingDatagramWritesManager.swift
[221/238] Compiling NIOPosix PendingWritesManager.swift
[222/238] Compiling NIOPosix PipeChannel.swift
[223/238] Compiling NIOPosix PipePair.swift
[224/238] Compiling NIOPosix PointerHelpers.swift
[225/238] Compiling NIOPosix BSDSocketAPICommon.swift
[226/238] Compiling NIOPosix BSDSocketAPIPosix.swift
[227/238] Compiling NIOPosix BSDSocketAPIWindows.swift
[228/238] Compiling NIOPosix BaseSocket.swift
[229/238] Compiling NIOPosix BaseSocketChannel+SocketOptionProvider.swift
[230/238] Compiling NIOPosix BaseSocketChannel.swift
[231/238] Compiling NIOPosix BaseStreamSocketChannel.swift
[232/238] Compiling NIOPosix Bootstrap.swift
[233/238] Compiling NIOPosix ControlMessage.swift
[234/238] Compiling NIOPosix DatagramVectorReadManager.swift
[235/238] Compiling NIOPosix Errors+Any.swift
[236/238] Compiling NIOPosix FileDescriptor.swift
[237/238] Compiling NIOPosix GetaddrinfoResolver.swift
[238/238] Compiling NIOPosix HappyEyeballs.swift
[240/241] Emitting module NIO
[241/241] Compiling NIO Exports.swift
[243/258] Compiling NIOHTTP1 NIOHTTPClientUpgradeHandler.swift
[244/258] Compiling NIOHTTP1 NIOHTTPObjectAggregator.swift
[245/260] Compiling NIOHTTP1 HTTPHeaderValidator.swift
[246/260] Compiling NIOHTTP1 HTTPHeaders+Validation.swift
[247/260] Emitting module NIOHTTP1
[248/260] Compiling NIOHTTP1 HTTPServerProtocolErrorHandler.swift
[249/260] Compiling NIOHTTP1 HTTPServerUpgradeHandler.swift
[250/260] Compiling NIOHTTP1 NIOTypedHTTPClientUpgradeHandler.swift
[251/260] Compiling NIOHTTP1 NIOTypedHTTPClientUpgraderStateMachine.swift
[252/260] Compiling NIOHTTP1 HTTPPipelineSetup.swift
[253/260] Compiling NIOHTTP1 HTTPServerPipelineHandler.swift
[254/260] Compiling NIOHTTP1 HTTPTypedPipelineSetup.swift
[255/260] Compiling NIOHTTP1 HTTPTypes.swift
[256/260] Compiling NIOHTTP1 NIOTypedHTTPServerUpgradeHandler.swift
[257/260] Compiling NIOHTTP1 NIOTypedHTTPServerUpgraderStateMachine.swift
[258/260] Compiling NIOHTTP1 ByteCollectionUtils.swift
[259/260] Compiling NIOHTTP1 HTTPDecoder.swift
[260/260] Compiling NIOHTTP1 HTTPEncoder.swift
[262/269] Compiling MicroExpress IncomingMessage.swift
[263/270] Compiling MicroExpress QueryString.swift
[264/270] Compiling MicroExpress Middleware.swift
[265/270] Compiling MicroExpress Router.swift
[266/270] Compiling MicroExpress FS.swift
/host/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 |
/host/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
/host/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) } }
/host/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 | }
/host/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
/host/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 {
/host/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 | }
/host/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 | }
/host/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
/host/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 | }
[267/270] Compiling MicroExpress CORS.swift
[268/270] Emitting module MicroExpress
[269/270] Compiling MicroExpress Express.swift
/host/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
/host/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
[270/270] Compiling MicroExpress ServerResponse.swift
/host/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
/host/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)
/host/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)
/host/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 | }
/host/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
/host/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)
/host/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
/host/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! (56.61s)
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" : "/host/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"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.