Build Information
Successful build of MacroExpress, reference develop (fd81ba
), with Swift 6.1 for Linux on 30 Apr 2025 03:33:03 UTC.
Swift 6 data race errors: 14
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.61.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Macro-swift/MacroExpress.git
Reference: develop
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/Macro-swift/MacroExpress
* branch develop -> FETCH_HEAD
* [new branch] develop -> origin/develop
HEAD is now at fd81ba9 The settings engine returns `self` for chaining now
Cloned https://github.com/Macro-swift/MacroExpress.git
Revision (git rev-parse @):
fd81ba977ef4f1ccd9377fdc1fea88b80fa4032d
SUCCESS checkout https://github.com/Macro-swift/MacroExpress.git at develop
========================================
Build
========================================
Selected platform: linux
Swift version: 6.1
Building package at path: $PWD
https://github.com/Macro-swift/MacroExpress.git
https://github.com/Macro-swift/MacroExpress.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "macro",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.2",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Macro-swift/Macro.git"
},
{
"identity" : "mustache",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.2",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/AlwaysRightInstitute/mustache.git"
}
],
"manifest_display_name" : "MacroExpress",
"name" : "MacroExpress",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "MacroExpress",
"targets" : [
"MacroExpress"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "express",
"targets" : [
"express"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "connect",
"targets" : [
"connect"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "mime",
"targets" : [
"mime"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "dotenv",
"targets" : [
"dotenv"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "multer",
"targets" : [
"multer"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "multerTests",
"module_type" : "SwiftTarget",
"name" : "multerTests",
"path" : "Tests/multerTests",
"sources" : [
"Fixtures.swift",
"MultiPartParserTests.swift",
"XCTestManifests.swift",
"multerTests.swift"
],
"target_dependencies" : [
"multer"
],
"type" : "test"
},
{
"c99name" : "multer",
"module_type" : "SwiftTarget",
"name" : "multer",
"path" : "Sources/multer",
"product_dependencies" : [
"MacroCore",
"fs",
"http"
],
"product_memberships" : [
"MacroExpress",
"multer"
],
"sources" : [
"DiskStorage.swift",
"File.swift",
"IncomingMessageMulter.swift",
"Limits.swift",
"MemoryStorage.swift",
"Middleware.swift",
"Multer.swift",
"MulterError.swift",
"MulterStorage.swift",
"MultiPartParser.swift",
"PartType.swift",
"ProcessingContext.swift",
"Utilities.swift"
],
"target_dependencies" : [
"mime",
"connect"
],
"type" : "library"
},
{
"c99name" : "mimeTests",
"module_type" : "SwiftTarget",
"name" : "mimeTests",
"path" : "Tests/mimeTests",
"sources" : [
"XCTestManifests.swift",
"mimeTests.swift"
],
"target_dependencies" : [
"mime"
],
"type" : "test"
},
{
"c99name" : "mime",
"module_type" : "SwiftTarget",
"name" : "mime",
"path" : "Sources/mime",
"product_memberships" : [
"MacroExpress",
"express",
"connect",
"mime",
"multer"
],
"sources" : [
"MIME.swift"
],
"type" : "library"
},
{
"c99name" : "express",
"module_type" : "SwiftTarget",
"name" : "express",
"path" : "Sources/express",
"product_dependencies" : [
"MacroCore",
"fs",
"http",
"Mustache"
],
"product_memberships" : [
"MacroExpress",
"express"
],
"sources" : [
"BasicAuth.swift",
"ErrorMiddleware.swift",
"Express.swift",
"ExpressWrappedDictionary.swift",
"IncomingMessage.swift",
"JSON.swift",
"MiddlewareObject.swift",
"Module.swift",
"Mustache.swift",
"Render.swift",
"Route.swift",
"RouteFactories.swift",
"RouteKeeper.swift",
"RouteMounts.swift",
"RoutePattern.swift",
"Router.swift",
"ServerResponse.swift",
"Settings.swift"
],
"target_dependencies" : [
"connect",
"mime"
],
"type" : "library"
},
{
"c99name" : "dotenvTests",
"module_type" : "SwiftTarget",
"name" : "dotenvTests",
"path" : "Tests/dotenvTests",
"sources" : [
"XCTestManifests.swift",
"dotenvTests.swift"
],
"target_dependencies" : [
"dotenv"
],
"type" : "test"
},
{
"c99name" : "dotenv",
"module_type" : "SwiftTarget",
"name" : "dotenv",
"path" : "Sources/dotenv",
"product_dependencies" : [
"MacroCore",
"fs"
],
"product_memberships" : [
"MacroExpress",
"dotenv"
],
"sources" : [
"dotenv.swift"
],
"type" : "library"
},
{
"c99name" : "connect",
"module_type" : "SwiftTarget",
"name" : "connect",
"path" : "Sources/connect",
"product_dependencies" : [
"MacroCore",
"fs",
"http"
],
"product_memberships" : [
"MacroExpress",
"express",
"connect",
"multer"
],
"sources" : [
"BodyParser.swift",
"CORS.swift",
"Connect.swift",
"CookieParser.swift",
"Cookies.swift",
"CrossCompile.swift",
"Logger.swift",
"MethodOverride.swift",
"Middleware.swift",
"Pause.swift",
"QS.swift",
"ServeStatic.swift",
"Session.swift",
"TypeIs.swift"
],
"target_dependencies" : [
"mime"
],
"type" : "library"
},
{
"c99name" : "bodyParserTests",
"module_type" : "SwiftTarget",
"name" : "bodyParserTests",
"path" : "Tests/bodyParserTests",
"product_dependencies" : [
"Macro"
],
"sources" : [
"XCTestManifests.swift",
"bodyParserTests.swift"
],
"target_dependencies" : [
"connect"
],
"type" : "test"
},
{
"c99name" : "RouteTests",
"module_type" : "SwiftTarget",
"name" : "RouteTests",
"path" : "Tests/RouteTests",
"product_dependencies" : [
"MacroTestUtilities"
],
"sources" : [
"ErrorMiddlewareTests.swift",
"RouteMountingTests.swift",
"SimpleRouteTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"express"
],
"type" : "test"
},
{
"c99name" : "MacroExpress",
"module_type" : "SwiftTarget",
"name" : "MacroExpress",
"path" : "Sources/MacroExpress",
"product_dependencies" : [
"MacroCore",
"fs",
"http",
"xsys"
],
"product_memberships" : [
"MacroExpress"
],
"sources" : [
"MacroExpress.swift"
],
"target_dependencies" : [
"dotenv",
"mime",
"connect",
"express",
"multer"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/Macro-swift/Macro.git
Fetching https://github.com/AlwaysRightInstitute/mustache.git
[1/559] Fetching mustache
[505/2187] Fetching mustache, macro
Fetched https://github.com/AlwaysRightInstitute/mustache.git from cache (0.44s)
Fetched https://github.com/Macro-swift/Macro.git from cache (0.46s)
Computing version for https://github.com/AlwaysRightInstitute/mustache.git
Computed https://github.com/AlwaysRightInstitute/mustache.git at 1.0.2 (1.60s)
Computing version for https://github.com/Macro-swift/Macro.git
Computed https://github.com/Macro-swift/Macro.git at 1.0.4 (1.02s)
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-nio.git
[1/1705] Fetching swift-atomics
[530/5541] Fetching swift-atomics, swift-log
[5542/81102] Fetching swift-atomics, swift-log, swift-nio
Fetched https://github.com/apple/swift-atomics.git from cache (0.84s)
[8370/79397] Fetching swift-log, swift-nio
Fetched https://github.com/apple/swift-log.git from cache (6.19s)
Fetched https://github.com/apple/swift-nio.git from cache (6.29s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (6.88s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (2.24s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.82.1 (1.18s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-system.git
[1/4364] Fetching swift-system
[4365/20633] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (1.80s)
Fetched https://github.com/apple/swift-collections.git from cache (1.83s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.2 (2.37s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.4 (0.77s)
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.3
Creating working copy for https://github.com/Macro-swift/Macro.git
Working copy of https://github.com/Macro-swift/Macro.git resolved at 1.0.4
Creating working copy for https://github.com/AlwaysRightInstitute/mustache.git
Working copy of https://github.com/AlwaysRightInstitute/mustache.git resolved at 1.0.2
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.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-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.82.1
Building for debugging...
[0/37] Write sources
[23/37] Compiling CNIOWindows WSAStartup.c
[24/37] Compiling CNIOWASI CNIOWASI.c
[24/37] Compiling CNIOWindows shim.c
[24/37] Compiling _AtomicsShims.c
[27/37] Compiling CNIOLinux liburing_shims.c
[28/37] Compiling CNIODarwin shim.c
[28/37] Write sources
[29/37] Compiling CNIOLLHTTP c_nio_http.c
[31/37] Compiling CNIOLinux shim.c
[32/37] Compiling CNIOLLHTTP c_nio_api.c
[33/37] Compiling CNIOLLHTTP c_nio_llhttp.c
[34/37] Write swift-version-24593BA9C3E375BF.txt
[35/81] Compiling c-atomics.c
[36/89] Compiling c-nioatomics.c
[38/90] Emitting module mime
[39/108] Emitting module _NIOBase64
[40/108] Compiling _NIOBase64 Base64.swift
[41/109] Compiling Mustache HTMLEscape.swift
[43/110] Compiling _NIODataStructures _TinyArray.swift
[44/110] Compiling _NIODataStructures PriorityQueue.swift
[45/110] Compiling Mustache MustacheRenderingContext.swift
[46/116] Compiling Atomics OptionalRawRepresentable.swift
[47/116] Compiling Atomics RawRepresentable.swift
[48/116] Compiling Atomics AtomicBool.swift
[49/116] Compiling Atomics IntegerConformances.swift
[50/116] Compiling Atomics PointerConformances.swift
[51/118] Compiling Atomics AtomicMemoryOrderings.swift
[52/118] Compiling Atomics DoubleWord.swift
[53/118] Compiling Atomics ManagedAtomic.swift
[54/118] Compiling Atomics ManagedAtomicLazyReference.swift
[55/118] Compiling Atomics Primitives.native.swift
[56/118] Compiling Atomics AtomicReference.swift
[57/118] Compiling Atomics AtomicStorage.swift
[58/118] Compiling Atomics AtomicValue.swift
[59/118] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[60/118] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[61/120] Compiling Atomics Primitives.shims.swift
[62/120] Compiling Atomics AtomicInteger.swift
[63/120] Compiling Atomics AtomicOptionalWrappable.swift
[64/120] Emitting module InternalCollectionsUtilities
[65/120] Compiling Mustache MustacheRendering.swift
[70/120] Compiling Atomics IntegerOperations.swift
[71/120] Compiling Atomics Unmanaged extensions.swift
[81/121] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[82/121] Emitting module xsys
[83/121] Compiling Mustache MustacheNode.swift
[84/121] Compiling Mustache Mustachable.swift
[85/121] Compiling Mustache MustacheParser.swift
[86/123] Emitting module Logging
[87/137] Compiling DequeModule Deque+Extras.swift
[88/137] Compiling DequeModule Deque+Hashable.swift
[89/137] Compiling DequeModule Deque+Testing.swift
[90/137] Compiling DequeModule Deque._Storage.swift
[91/137] Compiling NIOConcurrencyHelpers atomics.swift
[92/137] Compiling NIOConcurrencyHelpers lock.swift
[93/137] Emitting module NIOConcurrencyHelpers
[94/137] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[95/137] Compiling NIOConcurrencyHelpers NIOLock.swift
[96/137] Compiling DequeModule Deque+Codable.swift
[97/137] Compiling DequeModule Deque+Collection.swift
[98/137] Compiling DequeModule Deque+CustomReflectable.swift
[99/137] Compiling DequeModule Deque+Descriptions.swift
[100/138] Compiling xsys timespec.swift
[101/138] Emitting module _NIODataStructures
[102/138] Compiling _NIODataStructures Heap.swift
[103/138] Compiling DequeModule Deque+Equatable.swift
[104/138] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[105/139] Compiling DequeModule Deque._UnsafeHandle.swift
[106/139] Compiling DequeModule Deque.swift
[107/139] Compiling Logging Logging.swift
[108/139] Compiling Logging LogHandler.swift
[109/139] Compiling Logging Locks.swift
[110/139] Compiling Logging MetadataProvider.swift
[115/142] Compiling Mustache SimpleKVC.swift
[116/142] Compiling mime MIME.swift
[120/143] Compiling xsys timeval_any.swift
[121/144] Emitting module Mustache
[122/144] Compiling Mustache Helpers.swift
[125/145] Compiling DequeModule _DequeBuffer.swift
[126/145] Compiling DequeModule _DequeBufferHeader.swift
[132/145] Compiling DequeModule _DequeSlot.swift
[133/145] Compiling DequeModule _UnsafeWrappedBuffer.swift
[138/145] Emitting module DequeModule
[146/146] Emitting module Atomics
[148/206] Compiling NIOCore MarkedCircularBuffer.swift
[149/206] Compiling NIOCore MulticastChannel.swift
[150/206] Compiling NIOCore NIOAny.swift
[151/206] Compiling NIOCore NIOCloseOnErrorHandler.swift
[152/206] Compiling NIOCore NIOLoopBound.swift
[153/206] Compiling NIOCore NIOScheduledCallback.swift
[154/206] Compiling NIOCore NIOSendable.swift
[155/206] Compiling NIOCore RecvByteBufferAllocator.swift
[156/214] Compiling NIOCore GlobalSingletons.swift
[157/214] Compiling NIOCore IO.swift
[158/214] Compiling NIOCore IOData.swift
[159/214] Compiling NIOCore IPProtocol.swift
[160/214] Compiling NIOCore IntegerBitPacking.swift
[161/214] Compiling NIOCore IntegerTypes.swift
[162/214] Compiling NIOCore Interfaces.swift
[163/214] Compiling NIOCore Linux.swift
[164/214] Compiling NIOCore EventLoop.swift
[165/214] Compiling NIOCore EventLoopFuture+AssumeIsolated.swift
[166/214] Compiling NIOCore EventLoopFuture+Deprecated.swift
[167/214] Compiling NIOCore EventLoopFuture+WithEventLoop.swift
[168/214] Compiling NIOCore EventLoopFuture.swift
[169/214] Compiling NIOCore FileDescriptor.swift
[170/214] Compiling NIOCore FileHandle.swift
[171/214] Compiling NIOCore FileRegion.swift
[172/214] Compiling NIOCore SingleStepByteToMessageDecoder.swift
[173/214] Compiling NIOCore SocketAddresses.swift
[174/214] Compiling NIOCore SocketOptionProvider.swift
[175/214] Compiling NIOCore SystemCallHelpers.swift
[176/214] Compiling NIOCore TimeAmount+Duration.swift
[177/214] Compiling NIOCore TypeAssistedChannelHandler.swift
[178/214] Compiling NIOCore UniversalBootstrapSupport.swift
[179/214] Compiling NIOCore Utilities.swift
[180/214] Compiling NIOCore AddressedEnvelope.swift
[181/214] Compiling NIOCore AsyncAwaitSupport.swift
[182/214] Compiling NIOCore AsyncChannel.swift
[183/214] Compiling NIOCore AsyncChannelHandler.swift
[184/214] Compiling NIOCore AsyncChannelInboundStream.swift
[185/214] Compiling NIOCore AsyncChannelOutboundWriter.swift
[186/214] Compiling NIOCore NIOAsyncSequenceProducer.swift
[187/214] Compiling NIOCore NIOAsyncSequenceProducerStrategies.swift
[188/214] Compiling NIOCore NIOAsyncWriter.swift
[189/214] Compiling NIOCore ChannelPipeline.swift
[190/214] Compiling NIOCore CircularBuffer.swift
[191/214] Compiling NIOCore Codec.swift
[192/214] Compiling NIOCore ConvenienceOptionSupport.swift
[193/214] Compiling NIOCore DeadChannel.swift
[194/214] Compiling NIOCore DispatchQueue+WithFuture.swift
[195/214] Compiling NIOCore EventLoop+Deprecated.swift
[196/214] Compiling NIOCore EventLoop+SerialExecutor.swift
[197/214] Compiling NIOCore ByteBuffer-multi-int.swift
[198/214] Compiling NIOCore ByteBuffer-quicBinaryEncodingStrategy.swift
[199/214] Compiling NIOCore ByteBuffer-views.swift
[200/214] Compiling NIOCore Channel.swift
[201/214] Compiling NIOCore ChannelHandler.swift
[202/214] Compiling NIOCore ChannelHandlers.swift
[203/214] Compiling NIOCore ChannelInvoker.swift
[204/214] Compiling NIOCore ChannelOption.swift
[205/214] Compiling NIOCore NIOThrowingAsyncSequenceProducer.swift
[206/214] Compiling NIOCore BSDSocketAPI.swift
[207/214] Compiling NIOCore ByteBuffer-aux.swift
[208/214] Compiling NIOCore ByteBuffer-binaryEncodedLengthPrefix.swift
[209/214] Compiling NIOCore ByteBuffer-conversions.swift
[210/214] Compiling NIOCore ByteBuffer-core.swift
[211/214] Compiling NIOCore ByteBuffer-hex.swift
[212/214] Compiling NIOCore ByteBuffer-int.swift
[213/214] Compiling NIOCore ByteBuffer-lengthPrefix.swift
[214/214] Emitting module NIOCore
[216/266] Compiling NIOEmbedded AsyncTestingEventLoop.swift
[217/266] Compiling NIOEmbedded AsyncTestingChannel.swift
[218/266] Compiling NIOEmbedded Embedded.swift
[219/266] Emitting module NIOEmbedded
[221/267] Emitting module NIOPosix
[222/273] Compiling NIOPosix ThreadPosix.swift
[223/273] Compiling NIOPosix ThreadWindows.swift
[224/273] Compiling NIOPosix UnsafeTransfer.swift
[225/273] Compiling NIOPosix Utilities.swift
[226/273] Compiling NIOPosix VsockAddress.swift
[227/273] Compiling NIOPosix VsockChannelEvents.swift
[228/273] Compiling NIOPosix ServerSocket.swift
[229/273] Compiling NIOPosix Socket.swift
[230/273] Compiling NIOPosix SocketChannel.swift
[231/273] Compiling NIOPosix SocketProtocols.swift
[232/273] Compiling NIOPosix System.swift
[233/273] Compiling NIOPosix Thread.swift
[234/273] Compiling NIOPosix SelectableChannel.swift
[235/273] Compiling NIOPosix SelectableEventLoop.swift
[236/273] Compiling NIOPosix SelectorEpoll.swift
[237/273] Compiling NIOPosix SelectorGeneric.swift
[238/273] Compiling NIOPosix SelectorKqueue.swift
[239/273] Compiling NIOPosix SelectorUring.swift
[240/273] Compiling NIOPosix BSDSocketAPICommon.swift
[241/273] Compiling NIOPosix BSDSocketAPIPosix.swift
[242/273] Compiling NIOPosix BSDSocketAPIWindows.swift
[243/273] Compiling NIOPosix BaseSocket.swift
[244/273] Compiling NIOPosix BaseSocketChannel+SocketOptionProvider.swift
[245/273] Compiling NIOPosix BaseSocketChannel.swift
[246/273] Compiling NIOPosix BaseStreamSocketChannel.swift
[247/273] Compiling NIOPosix PooledRecvBufferAllocator.swift
[248/273] Compiling NIOPosix PosixSingletons+ConcurrencyTakeOver.swift
[249/273] Compiling NIOPosix PosixSingletons.swift
[250/273] Compiling NIOPosix RawSocketBootstrap.swift
[251/273] Compiling NIOPosix Resolver.swift
[252/273] Compiling NIOPosix Selectable.swift
[253/273] Compiling NIOPosix IO.swift
[254/273] Compiling NIOPosix IntegerBitPacking.swift
[255/273] Compiling NIOPosix IntegerTypes.swift
[256/273] Compiling NIOPosix Linux.swift
[257/273] Compiling NIOPosix LinuxCPUSet.swift
[258/273] Compiling NIOPosix LinuxUring.swift
[259/273] Compiling NIOPosix MultiThreadedEventLoopGroup.swift
[260/273] Compiling NIOPosix Bootstrap.swift
[261/273] Compiling NIOPosix ControlMessage.swift
[262/273] Compiling NIOPosix DatagramVectorReadManager.swift
[263/273] Compiling NIOPosix Errors+Any.swift
[264/273] Compiling NIOPosix FileDescriptor.swift
[265/273] Compiling NIOPosix GetaddrinfoResolver.swift
[266/273] Compiling NIOPosix HappyEyeballs.swift
[267/273] Compiling NIOPosix NIOThreadPool.swift
[268/273] Compiling NIOPosix NonBlockingFileIO.swift
[269/273] Compiling NIOPosix PendingDatagramWritesManager.swift
[270/273] Compiling NIOPosix PendingWritesManager.swift
[271/273] Compiling NIOPosix PipeChannel.swift
[272/273] Compiling NIOPosix PipePair.swift
[273/273] Compiling NIOPosix Pool.swift
[275/276] Emitting module NIO
[276/276] Compiling NIO Exports.swift
[278/298] Compiling NIOFoundationCompat JSONSerialization+ByteBuffer.swift
[279/298] Compiling NIOFoundationCompat Codable+ByteBuffer.swift
[280/298] Compiling NIOFoundationCompat WaitSpinningRunLoop.swift
[281/298] Compiling NIOHTTP1 HTTPServerProtocolErrorHandler.swift
[282/298] Compiling NIOHTTP1 HTTPServerUpgradeHandler.swift
[283/300] Emitting module NIOFoundationCompat
[284/300] Compiling NIOFoundationCompat ByteBuffer-foundation.swift
[285/301] Compiling NIOHTTP1 NIOTypedHTTPClientUpgradeHandler.swift
[286/301] Compiling NIOHTTP1 NIOTypedHTTPClientUpgraderStateMachine.swift
[287/301] Emitting module NIOHTTP1
[289/301] Compiling NIOHTTP1 NIOHTTPClientUpgradeHandler.swift
[290/301] Compiling NIOHTTP1 NIOHTTPObjectAggregator.swift
[291/313] Compiling MacroCore BufferHexEncoding.swift
[292/313] Compiling MacroCore BufferStrings.swift
[293/313] Compiling MacroCore Dirname.swift
[294/313] Compiling MacroCore EnvironmentValues.swift
[295/338] Compiling MacroCore ErrorEmitter.swift
[296/338] Compiling MacroCore EventListenerSet.swift
[297/338] Compiling MacroCore Math.swift
[298/338] Compiling MacroCore MacroError.swift
[300/338] Compiling MacroCore NextTick.swift
[301/338] Compiling MacroCore CommandLine.swift
[302/338] Compiling MacroCore DetectXcode.swift
[303/338] Compiling MacroCore Environment.swift
[304/343] Compiling MacroCore Buffer.swift
[305/343] Compiling MacroCore BufferData.swift
[306/343] Compiling MacroCore BufferDeprecations.swift
[307/344] Compiling MacroCore Pipe.swift
[308/344] Compiling MacroCore ReadableByteStream.swift
[309/344] Compiling MacroCore ReadableByteStreamType.swift
[310/344] Compiling MacroCore ReadableStreamBase.swift
[311/344] Compiling MacroCore ReadableStreamType.swift
[312/344] Compiling MacroCore Console.swift
[318/344] Compiling MacroCore ListenerType.swift
[319/344] Compiling MacroCore JSError.swift
[320/344] Compiling MacroCore JSON.swift
[321/344] Compiling MacroCore CollectionStubs.swift
[323/344] Compiling MacroCore WritableByteStream.swift
[324/344] Compiling MacroCore WritableByteStreamType.swift
[325/344] Compiling MacroCore WritableStreamBase.swift
[326/344] Compiling MacroCore WritableStreamType.swift
[327/344] Compiling MacroCore StringEncoding.swift
[328/344] Compiling MacroCore Object.swift
[329/344] Compiling MacroCore StringStubs.swift
[330/344] Compiling MacroCore ToString.swift
[331/344] Compiling MacroCore LeftPad.swift
[332/344] Compiling MacroCore MacroCore.swift
[333/344] Compiling MacroCore Process.swift
[334/344] Compiling MacroCore Warnings.swift
[335/344] Compiling MacroCore Regex.swift
[336/344] Compiling MacroCore Concat.swift
[337/344] Compiling MacroCore DuplexStreamType.swift
[338/344] Emitting module MacroCore
[344/344] Compiling MacroCore CollectionUtils.swift
[346/373] Compiling fs Directory.swift
[347/373] Compiling fs FSWatcher.swift
[348/374] Compiling http OutgoingMessage.swift
[349/375] Compiling fs AsyncWrapper.swift
[350/375] Compiling fs ResultExtensions.swift
[351/375] Compiling fs StatStruct.swift
[354/375] Compiling fs fs.swift
[355/375] Compiling fs Path.swift
[356/375] Compiling fs PosixWrappers.swift
[359/375] Compiling http http.swift
[360/375] Compiling http ServerResponse.swift
[361/375] Compiling http HTTPHeadersHolder.swift
[362/375] Compiling http QueryString.swift
[363/375] Compiling http Server.swift
[366/375] Emitting module http
[367/375] Compiling http URLSessionClientRequest.swift
[368/375] Compiling http BasicAuth.swift
[371/375] Emitting module fs
[373/378] Emitting module dotenv
[374/378] Compiling dotenv dotenv.swift
[381/394] Compiling connect Middleware.swift
[382/394] Compiling connect Pause.swift
[383/395] Compiling connect Logger.swift
/host/spi-builder-workspace/Sources/connect/Logger.swift:157:14: warning: static property 'urlPadLen' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
155 | }
156 |
157 | static var urlPadLen = 28
| |- warning: static property 'urlPadLen' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'urlPadLen' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'urlPadLen' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
158 | var paddedURL : String {
159 | let url = req.url
[384/395] Compiling connect MethodOverride.swift
/host/spi-builder-workspace/Sources/connect/Logger.swift:157:14: warning: static property 'urlPadLen' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
155 | }
156 |
157 | static var urlPadLen = 28
| |- warning: static property 'urlPadLen' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'urlPadLen' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'urlPadLen' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
158 | var paddedURL : String {
159 | let url = req.url
[385/395] Compiling connect TypeIs.swift
[386/395] Compiling connect Session.swift
/host/spi-builder-workspace/Sources/connect/Session.swift:16:17: warning: let 'sessionIdCookie' is not concurrency-safe because non-'Sendable' type 'Cookie' may have shared mutable state; this is an error in the Swift 6 language mode
14 | import struct NIOConcurrencyHelpers.NIOLock
15 |
16 | fileprivate let sessionIdCookie = Cookie(name: "NzSID", maxAge: 3600)
| |- warning: let 'sessionIdCookie' is not concurrency-safe because non-'Sendable' type 'Cookie' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'sessionIdCookie' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |
18 | fileprivate var sessionIdCounter = 0
/host/spi-builder-workspace/Sources/connect/Cookies.swift:131:15: note: consider making struct 'Cookie' conform to the 'Sendable' protocol
129 | import struct Foundation.Date
130 |
131 | public struct Cookie {
| `- note: consider making struct 'Cookie' conform to the 'Sendable' protocol
132 | public let name : String
133 | public var value : String
/host/spi-builder-workspace/Sources/connect/Session.swift:18:17: warning: var 'sessionIdCounter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 | fileprivate let sessionIdCookie = Cookie(name: "NzSID", maxAge: 3600)
17 |
18 | fileprivate var sessionIdCounter = 0
| |- warning: var 'sessionIdCounter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'sessionIdCounter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'sessionIdCounter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | public typealias SessionIdGenerator = ( IncomingMessage ) -> String
/host/spi-builder-workspace/Sources/connect/Session.swift:177:14: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Session?' may have shared mutable state; this is an error in the Swift 6 language mode
140 | // MARK: - Session Class
141 |
142 | public class Session {
| `- note: class 'Session' does not conform to the 'Sendable' protocol
143 | // Reference type, so that we can do stuff like:
144 | //
:
175 |
176 | private enum SessionKey: EnvironmentKey {
177 | static let defaultValue : Session? = nil
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Session?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
178 | static let loggingKey = "session"
179 | }
[387/395] Compiling connect Connect.swift
[388/395] Compiling connect CookieParser.swift
[389/395] Compiling connect Cookies.swift
[390/395] Compiling connect CrossCompile.swift
[391/395] Compiling connect BodyParser.swift
/host/spi-builder-workspace/Sources/connect/BodyParser.swift:372:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'BodyParserBody' may have shared mutable state; this is an error in the Swift 6 language mode
53 | */
54 | @dynamicMemberLookup
55 | public enum BodyParserBody {
| `- note: consider making enum 'BodyParserBody' conform to the 'Sendable' protocol
56 |
57 | /// The request has not been parsed yet by the ``bodyParser`` middleware.
:
370 |
371 | fileprivate enum BodyKey: EnvironmentKey {
372 | static let defaultValue : BodyParserBody = .notParsed
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'BodyParserBody' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
373 | static let loggingKey = "body"
374 | }
[392/395] Compiling connect CORS.swift
/host/spi-builder-workspace/Sources/connect/BodyParser.swift:372:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'BodyParserBody' may have shared mutable state; this is an error in the Swift 6 language mode
53 | */
54 | @dynamicMemberLookup
55 | public enum BodyParserBody {
| `- note: consider making enum 'BodyParserBody' conform to the 'Sendable' protocol
56 |
57 | /// The request has not been parsed yet by the ``bodyParser`` middleware.
:
370 |
371 | fileprivate enum BodyKey: EnvironmentKey {
372 | static let defaultValue : BodyParserBody = .notParsed
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'BodyParserBody' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
373 | static let loggingKey = "body"
374 | }
[393/395] Emitting module connect
/host/spi-builder-workspace/Sources/connect/BodyParser.swift:372:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'BodyParserBody' may have shared mutable state; this is an error in the Swift 6 language mode
53 | */
54 | @dynamicMemberLookup
55 | public enum BodyParserBody {
| `- note: consider making enum 'BodyParserBody' conform to the 'Sendable' protocol
56 |
57 | /// The request has not been parsed yet by the ``bodyParser`` middleware.
:
370 |
371 | fileprivate enum BodyKey: EnvironmentKey {
372 | static let defaultValue : BodyParserBody = .notParsed
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'BodyParserBody' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
373 | static let loggingKey = "body"
374 | }
/host/spi-builder-workspace/Sources/connect/Logger.swift:157:14: warning: static property 'urlPadLen' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
155 | }
156 |
157 | static var urlPadLen = 28
| |- warning: static property 'urlPadLen' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'urlPadLen' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'urlPadLen' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
158 | var paddedURL : String {
159 | let url = req.url
/host/spi-builder-workspace/Sources/connect/QS.swift:28:14: warning: static property 'sparseArrayDefaultValue' is not concurrency-safe because non-'Sendable' type 'Any' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | private class EmptyArraySlot {}
28 | static let sparseArrayDefaultValue : Any = EmptyArraySlot()
| |- warning: static property 'sparseArrayDefaultValue' is not concurrency-safe because non-'Sendable' type 'Any' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sparseArrayDefaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 | static func parse(_ string : String,
/host/spi-builder-workspace/Sources/connect/Session.swift:16:17: warning: let 'sessionIdCookie' is not concurrency-safe because non-'Sendable' type 'Cookie' may have shared mutable state; this is an error in the Swift 6 language mode
14 | import struct NIOConcurrencyHelpers.NIOLock
15 |
16 | fileprivate let sessionIdCookie = Cookie(name: "NzSID", maxAge: 3600)
| |- warning: let 'sessionIdCookie' is not concurrency-safe because non-'Sendable' type 'Cookie' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'sessionIdCookie' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |
18 | fileprivate var sessionIdCounter = 0
/host/spi-builder-workspace/Sources/connect/Cookies.swift:131:15: note: consider making struct 'Cookie' conform to the 'Sendable' protocol
129 | import struct Foundation.Date
130 |
131 | public struct Cookie {
| `- note: consider making struct 'Cookie' conform to the 'Sendable' protocol
132 | public let name : String
133 | public var value : String
/host/spi-builder-workspace/Sources/connect/Session.swift:18:17: warning: var 'sessionIdCounter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 | fileprivate let sessionIdCookie = Cookie(name: "NzSID", maxAge: 3600)
17 |
18 | fileprivate var sessionIdCounter = 0
| |- warning: var 'sessionIdCounter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'sessionIdCounter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'sessionIdCounter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | public typealias SessionIdGenerator = ( IncomingMessage ) -> String
/host/spi-builder-workspace/Sources/connect/Session.swift:177:14: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Session?' may have shared mutable state; this is an error in the Swift 6 language mode
140 | // MARK: - Session Class
141 |
142 | public class Session {
| `- note: class 'Session' does not conform to the 'Sendable' protocol
143 | // Reference type, so that we can do stuff like:
144 | //
:
175 |
176 | private enum SessionKey: EnvironmentKey {
177 | static let defaultValue : Session? = nil
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Session?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
178 | static let loggingKey = "session"
179 | }
[394/395] Compiling connect QS.swift
/host/spi-builder-workspace/Sources/connect/QS.swift:28:14: warning: static property 'sparseArrayDefaultValue' is not concurrency-safe because non-'Sendable' type 'Any' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | private class EmptyArraySlot {}
28 | static let sparseArrayDefaultValue : Any = EmptyArraySlot()
| |- warning: static property 'sparseArrayDefaultValue' is not concurrency-safe because non-'Sendable' type 'Any' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sparseArrayDefaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 | static func parse(_ string : String,
[395/395] Compiling connect ServeStatic.swift
/host/spi-builder-workspace/Sources/connect/QS.swift:28:14: warning: static property 'sparseArrayDefaultValue' is not concurrency-safe because non-'Sendable' type 'Any' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | private class EmptyArraySlot {}
28 | static let sparseArrayDefaultValue : Any = EmptyArraySlot()
| |- warning: static property 'sparseArrayDefaultValue' is not concurrency-safe because non-'Sendable' type 'Any' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sparseArrayDefaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 | static func parse(_ string : String,
[397/426] Compiling multer Multer.swift
[398/426] Compiling multer MulterError.swift
[399/428] Compiling multer DiskStorage.swift
[400/428] Compiling multer File.swift
[401/428] Emitting module multer
/host/spi-builder-workspace/Sources/multer/IncomingMessageMulter.swift:15:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type '[String : [multer.File]]?' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | enum FilesKey: EnvironmentKey {
15 | static let defaultValue : [ String : [ multer.File ] ]? = nil
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type '[String : [multer.File]]?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | static let loggingKey = "files"
17 | }
/host/spi-builder-workspace/Sources/multer/File.swift:13:15: note: class 'File' does not conform to the 'Sendable' protocol
11 | public extension multer {
12 |
13 | final class File: Equatable {
| `- note: class 'File' does not conform to the 'Sendable' protocol
14 |
15 | /// Name in form field
[402/429] Compiling multer IncomingMessageMulter.swift
/host/spi-builder-workspace/Sources/multer/IncomingMessageMulter.swift:15:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type '[String : [multer.File]]?' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | enum FilesKey: EnvironmentKey {
15 | static let defaultValue : [ String : [ multer.File ] ]? = nil
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type '[String : [multer.File]]?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | static let loggingKey = "files"
17 | }
/host/spi-builder-workspace/Sources/multer/File.swift:13:15: note: class 'File' does not conform to the 'Sendable' protocol
11 | public extension multer {
12 |
13 | final class File: Equatable {
| `- note: class 'File' does not conform to the 'Sendable' protocol
14 |
15 | /// Name in form field
[403/429] Compiling multer Limits.swift
/host/spi-builder-workspace/Sources/multer/IncomingMessageMulter.swift:15:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type '[String : [multer.File]]?' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | enum FilesKey: EnvironmentKey {
15 | static let defaultValue : [ String : [ multer.File ] ]? = nil
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type '[String : [multer.File]]?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | static let loggingKey = "files"
17 | }
/host/spi-builder-workspace/Sources/multer/File.swift:13:15: note: class 'File' does not conform to the 'Sendable' protocol
11 | public extension multer {
12 |
13 | final class File: Equatable {
| `- note: class 'File' does not conform to the 'Sendable' protocol
14 |
15 | /// Name in form field
[404/429] Compiling multer MemoryStorage.swift
[405/429] Compiling multer Middleware.swift
[406/429] Compiling multer PartType.swift
[407/429] Compiling multer ProcessingContext.swift
[410/429] Compiling multer MulterStorage.swift
[411/429] Compiling multer MultiPartParser.swift
[412/429] Compiling multer Utilities.swift
[413/429] Compiling express RouteKeeper.swift
[414/429] Compiling express RouteMounts.swift
[415/429] Compiling express RoutePattern.swift
[416/429] Compiling express Router.swift
[421/430] Compiling express ServerResponse.swift
[422/430] Compiling express Settings.swift
[423/430] Compiling express Mustache.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/express/Mustache.swift:15:5: warning: let 'mustacheExpress' is not concurrency-safe because non-'Sendable' type 'ExpressEngine' (aka '(String, Optional<Any>, @escaping (Optional<Any>...) -> ()) -> ()') may have shared mutable state; this is an error in the Swift 6 language mode
13 | import Mustache
14 |
15 | let mustacheExpress : ExpressEngine = { path, options, done in
| |- warning: let 'mustacheExpress' is not concurrency-safe because non-'Sendable' type 'ExpressEngine' (aka '(String, Optional<Any>, @escaping (Optional<Any>...) -> ()) -> ()') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'mustacheExpress' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | fs.readFile(path, "utf8") { err, str in
17 | guard err == nil else {
[424/430] Compiling express Render.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/express/Mustache.swift:15:5: warning: let 'mustacheExpress' is not concurrency-safe because non-'Sendable' type 'ExpressEngine' (aka '(String, Optional<Any>, @escaping (Optional<Any>...) -> ()) -> ()') may have shared mutable state; this is an error in the Swift 6 language mode
13 | import Mustache
14 |
15 | let mustacheExpress : ExpressEngine = { path, options, done in
| |- warning: let 'mustacheExpress' is not concurrency-safe because non-'Sendable' type 'ExpressEngine' (aka '(String, Optional<Any>, @escaping (Optional<Any>...) -> ()) -> ()') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'mustacheExpress' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | fs.readFile(path, "utf8") { err, str in
17 | guard err == nil else {
[425/430] Emitting module express
/host/spi-builder-workspace/Sources/express/Express.swift:299:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Express?' may have shared mutable state; this is an error in the Swift 6 language mode
75 | *
76 | */
77 | open class Express: SettingsHolder, MountableMiddlewareObject, MiddlewareObject,
| `- note: class 'Express' does not conform to the 'Sendable' protocol
78 | RouteKeeper
79 | {
:
297 | /// A reference to the active application. Updated when subapps are triggered.
298 | enum App: EnvironmentKey {
299 | static let defaultValue : Express? = nil
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Express?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
300 | static let loggingKey = "app"
301 | }
/host/spi-builder-workspace/Sources/express/Express.swift:305:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'IncomingMessage?' may have shared mutable state; this is an error in the Swift 6 language mode
303 | /// A reference to the request associated with a response.
304 | enum RequestKey: EnvironmentKey {
305 | static let defaultValue : IncomingMessage? = nil
| `- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'IncomingMessage?' may have shared mutable state; this is an error in the Swift 6 language mode
306 | static let loggingKey = "request"
307 | }
/host/spi-builder-workspace/.build/checkouts/Macro/Sources/http/IncomingMessage.swift:45:12: note: class 'IncomingMessage' does not conform to the 'Sendable' protocol
43 | * * IncomingMessage
44 | */
45 | open class IncomingMessage: ReadableByteStream, CustomStringConvertible {
| `- note: class 'IncomingMessage' does not conform to the 'Sendable' protocol
46 |
47 | public enum IncomingType {
/host/spi-builder-workspace/Sources/express/Express.swift:13:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'http'
11 | import enum MacroCore.EventListenerSet
12 | import protocol MacroCore.EnvironmentKey
13 | import class http.IncomingMessage
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'http'
14 | import class http.ServerResponse
15 |
:
303 | /// A reference to the request associated with a response.
304 | enum RequestKey: EnvironmentKey {
305 | static let defaultValue : IncomingMessage? = nil
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
306 | static let loggingKey = "request"
307 | }
/host/spi-builder-workspace/Sources/express/Express.swift:311:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Route?' may have shared mutable state; this is an error in the Swift 6 language mode
309 | /// The active route.
310 | enum RouteKey: EnvironmentKey {
311 | static let defaultValue : Route? = nil
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Route?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
312 | static let loggingKey = "route"
313 | }
/host/spi-builder-workspace/Sources/express/Route.swift:53:12: note: class 'Route' does not conform to the 'Sendable' protocol
51 | * and companions.
52 | */
53 | open class Route: MiddlewareObject, ErrorMiddlewareObject, RouteKeeper,
| `- note: class 'Route' does not conform to the 'Sendable' protocol
54 | CustomStringConvertible
55 | {
/host/spi-builder-workspace/Sources/express/Express.swift:333:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'IncomingMessage.Params' (aka 'ExpressWrappedDictionary<String>') may have shared mutable state; this is an error in the Swift 6 language mode
331 | enum Params: EnvironmentKey {
332 | // TBD: Should the value be `Any`?
333 | static let defaultValue = IncomingMessage.Params([:])
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'IncomingMessage.Params' (aka 'ExpressWrappedDictionary<String>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
334 | static let loggingKey = "params"
335 | }
/host/spi-builder-workspace/Sources/express/ExpressWrappedDictionary.swift:19:15: note: consider making generic struct 'ExpressWrappedDictionary' conform to the 'Sendable' protocol
17 | */
18 | @dynamicMemberLookup
19 | public struct ExpressWrappedDictionary<V>: Collection {
| `- note: consider making generic struct 'ExpressWrappedDictionary' conform to the 'Sendable' protocol
20 |
21 | public typealias WrappedType = [ String : V ]
/host/spi-builder-workspace/Sources/express/Express.swift:341:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'IncomingMessage.Query?' (aka 'Optional<ExpressWrappedDictionary<Any>>') may have shared mutable state; this is an error in the Swift 6 language mode
339 | */
340 | enum Query: EnvironmentKey {
341 | static let defaultValue : IncomingMessage.Query? = nil
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'IncomingMessage.Query?' (aka 'Optional<ExpressWrappedDictionary<Any>>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
342 | static let loggingKey = "query"
343 | }
/host/spi-builder-workspace/Sources/express/ExpressWrappedDictionary.swift:19:15: note: consider making generic struct 'ExpressWrappedDictionary' conform to the 'Sendable' protocol
17 | */
18 | @dynamicMemberLookup
19 | public struct ExpressWrappedDictionary<V>: Collection {
| `- note: consider making generic struct 'ExpressWrappedDictionary' conform to the 'Sendable' protocol
20 |
21 | public typealias WrappedType = [ String : V ]
/host/spi-builder-workspace/Sources/express/Express.swift:353:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ServerResponse.Locals' (aka 'ExpressWrappedDictionary<Any>') may have shared mutable state; this is an error in the Swift 6 language mode
351 | */
352 | enum Locals: EnvironmentKey {
353 | static let defaultValue : ServerResponse.Locals = .init([:])
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ServerResponse.Locals' (aka 'ExpressWrappedDictionary<Any>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
354 | static let loggingKey = "locals"
355 | }
/host/spi-builder-workspace/Sources/express/ExpressWrappedDictionary.swift:19:15: note: consider making generic struct 'ExpressWrappedDictionary' conform to the 'Sendable' protocol
17 | */
18 | @dynamicMemberLookup
19 | public struct ExpressWrappedDictionary<V>: Collection {
| `- note: consider making generic struct 'ExpressWrappedDictionary' conform to the 'Sendable' protocol
20 |
21 | public typealias WrappedType = [ String : V ]
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/express/Mustache.swift:15:5: warning: let 'mustacheExpress' is not concurrency-safe because non-'Sendable' type 'ExpressEngine' (aka '(String, Optional<Any>, @escaping (Optional<Any>...) -> ()) -> ()') may have shared mutable state; this is an error in the Swift 6 language mode
13 | import Mustache
14 |
15 | let mustacheExpress : ExpressEngine = { path, options, done in
| |- warning: let 'mustacheExpress' is not concurrency-safe because non-'Sendable' type 'ExpressEngine' (aka '(String, Optional<Any>, @escaping (Optional<Any>...) -> ()) -> ()') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'mustacheExpress' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | fs.readFile(path, "utf8") { err, str in
17 | guard err == nil else {
/host/spi-builder-workspace/Sources/express/Express.swift:299:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Express?' may have shared mutable state; this is an error in the Swift 6 language mode
75 | *
76 | */
77 | open class Express: SettingsHolder, MountableMiddlewareObject, MiddlewareObject,
| `- note: class 'Express' does not conform to the 'Sendable' protocol
78 | RouteKeeper
79 | {
:
297 | /// A reference to the active application. Updated when subapps are triggered.
298 | enum App: EnvironmentKey {
299 | static let defaultValue : Express? = nil
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Express?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
300 | static let loggingKey = "app"
301 | }
/host/spi-builder-workspace/Sources/express/Express.swift:305:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'IncomingMessage?' may have shared mutable state; this is an error in the Swift 6 language mode
303 | /// A reference to the request associated with a response.
304 | enum RequestKey: EnvironmentKey {
305 | static let defaultValue : IncomingMessage? = nil
| `- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'IncomingMessage?' may have shared mutable state; this is an error in the Swift 6 language mode
306 | static let loggingKey = "request"
307 | }
/host/spi-builder-workspace/.build/checkouts/Macro/Sources/http/IncomingMessage.swift:45:12: note: class 'IncomingMessage' does not conform to the 'Sendable' protocol
43 | * * IncomingMessage
44 | */
45 | open class IncomingMessage: ReadableByteStream, CustomStringConvertible {
| `- note: class 'IncomingMessage' does not conform to the 'Sendable' protocol
46 |
47 | public enum IncomingType {
/host/spi-builder-workspace/Sources/express/Express.swift:13:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'http'
11 | import enum MacroCore.EventListenerSet
12 | import protocol MacroCore.EnvironmentKey
13 | import class http.IncomingMessage
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'http'
14 | import class http.ServerResponse
15 |
:
303 | /// A reference to the request associated with a response.
304 | enum RequestKey: EnvironmentKey {
305 | static let defaultValue : IncomingMessage? = nil
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
306 | static let loggingKey = "request"
307 | }
/host/spi-builder-workspace/Sources/express/Express.swift:311:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Route?' may have shared mutable state; this is an error in the Swift 6 language mode
309 | /// The active route.
310 | enum RouteKey: EnvironmentKey {
311 | static let defaultValue : Route? = nil
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Route?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
312 | static let loggingKey = "route"
313 | }
/host/spi-builder-workspace/Sources/express/Route.swift:53:12: note: class 'Route' does not conform to the 'Sendable' protocol
51 | * and companions.
52 | */
53 | open class Route: MiddlewareObject, ErrorMiddlewareObject, RouteKeeper,
| `- note: class 'Route' does not conform to the 'Sendable' protocol
54 | CustomStringConvertible
55 | {
/host/spi-builder-workspace/Sources/express/Express.swift:333:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'IncomingMessage.Params' (aka 'ExpressWrappedDictionary<String>') may have shared mutable state; this is an error in the Swift 6 language mode
331 | enum Params: EnvironmentKey {
332 | // TBD: Should the value be `Any`?
333 | static let defaultValue = IncomingMessage.Params([:])
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'IncomingMessage.Params' (aka 'ExpressWrappedDictionary<String>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
334 | static let loggingKey = "params"
335 | }
/host/spi-builder-workspace/Sources/express/ExpressWrappedDictionary.swift:19:15: note: consider making generic struct 'ExpressWrappedDictionary' conform to the 'Sendable' protocol
17 | */
18 | @dynamicMemberLookup
19 | public struct ExpressWrappedDictionary<V>: Collection {
| `- note: consider making generic struct 'ExpressWrappedDictionary' conform to the 'Sendable' protocol
20 |
21 | public typealias WrappedType = [ String : V ]
/host/spi-builder-workspace/Sources/express/Express.swift:341:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'IncomingMessage.Query?' (aka 'Optional<ExpressWrappedDictionary<Any>>') may have shared mutable state; this is an error in the Swift 6 language mode
339 | */
340 | enum Query: EnvironmentKey {
341 | static let defaultValue : IncomingMessage.Query? = nil
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'IncomingMessage.Query?' (aka 'Optional<ExpressWrappedDictionary<Any>>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
342 | static let loggingKey = "query"
343 | }
/host/spi-builder-workspace/Sources/express/ExpressWrappedDictionary.swift:19:15: note: consider making generic struct 'ExpressWrappedDictionary' conform to the 'Sendable' protocol
17 | */
18 | @dynamicMemberLookup
19 | public struct ExpressWrappedDictionary<V>: Collection {
| `- note: consider making generic struct 'ExpressWrappedDictionary' conform to the 'Sendable' protocol
20 |
21 | public typealias WrappedType = [ String : V ]
/host/spi-builder-workspace/Sources/express/Express.swift:353:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ServerResponse.Locals' (aka 'ExpressWrappedDictionary<Any>') may have shared mutable state; this is an error in the Swift 6 language mode
351 | */
352 | enum Locals: EnvironmentKey {
353 | static let defaultValue : ServerResponse.Locals = .init([:])
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ServerResponse.Locals' (aka 'ExpressWrappedDictionary<Any>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
354 | static let loggingKey = "locals"
355 | }
/host/spi-builder-workspace/Sources/express/ExpressWrappedDictionary.swift:19:15: note: consider making generic struct 'ExpressWrappedDictionary' conform to the 'Sendable' protocol
17 | */
18 | @dynamicMemberLookup
19 | public struct ExpressWrappedDictionary<V>: Collection {
| `- note: consider making generic struct 'ExpressWrappedDictionary' conform to the 'Sendable' protocol
20 |
21 | public typealias WrappedType = [ String : V ]
/host/spi-builder-workspace/Sources/express/Express.swift:299:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Express?' may have shared mutable state; this is an error in the Swift 6 language mode
75 | *
76 | */
77 | open class Express: SettingsHolder, MountableMiddlewareObject, MiddlewareObject,
| `- note: class 'Express' does not conform to the 'Sendable' protocol
78 | RouteKeeper
79 | {
:
297 | /// A reference to the active application. Updated when subapps are triggered.
298 | enum App: EnvironmentKey {
299 | static let defaultValue : Express? = nil
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Express?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
300 | static let loggingKey = "app"
301 | }
/host/spi-builder-workspace/Sources/express/Express.swift:305:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'IncomingMessage?' may have shared mutable state; this is an error in the Swift 6 language mode
303 | /// A reference to the request associated with a response.
304 | enum RequestKey: EnvironmentKey {
305 | static let defaultValue : IncomingMessage? = nil
| `- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'IncomingMessage?' may have shared mutable state; this is an error in the Swift 6 language mode
306 | static let loggingKey = "request"
307 | }
/host/spi-builder-workspace/.build/checkouts/Macro/Sources/http/IncomingMessage.swift:45:12: note: class 'IncomingMessage' does not conform to the 'Sendable' protocol
43 | * * IncomingMessage
44 | */
45 | open class IncomingMessage: ReadableByteStream, CustomStringConvertible {
| `- note: class 'IncomingMessage' does not conform to the 'Sendable' protocol
46 |
47 | public enum IncomingType {
/host/spi-builder-workspace/Sources/express/Express.swift:13:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'http'
11 | import enum MacroCore.EventListenerSet
12 | import protocol MacroCore.EnvironmentKey
13 | import class http.IncomingMessage
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'http'
14 | import class http.ServerResponse
15 |
:
303 | /// A reference to the request associated with a response.
304 | enum RequestKey: EnvironmentKey {
305 | static let defaultValue : IncomingMessage? = nil
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
306 | static let loggingKey = "request"
307 | }
/host/spi-builder-workspace/Sources/express/Express.swift:311:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Route?' may have shared mutable state; this is an error in the Swift 6 language mode
309 | /// The active route.
310 | enum RouteKey: EnvironmentKey {
311 | static let defaultValue : Route? = nil
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Route?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
312 | static let loggingKey = "route"
313 | }
/host/spi-builder-workspace/Sources/express/Route.swift:53:12: note: class 'Route' does not conform to the 'Sendable' protocol
51 | * and companions.
52 | */
53 | open class Route: MiddlewareObject, ErrorMiddlewareObject, RouteKeeper,
| `- note: class 'Route' does not conform to the 'Sendable' protocol
54 | CustomStringConvertible
55 | {
/host/spi-builder-workspace/Sources/express/Express.swift:333:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'IncomingMessage.Params' (aka 'ExpressWrappedDictionary<String>') may have shared mutable state; this is an error in the Swift 6 language mode
331 | enum Params: EnvironmentKey {
332 | // TBD: Should the value be `Any`?
333 | static let defaultValue = IncomingMessage.Params([:])
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'IncomingMessage.Params' (aka 'ExpressWrappedDictionary<String>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
334 | static let loggingKey = "params"
335 | }
/host/spi-builder-workspace/Sources/express/ExpressWrappedDictionary.swift:19:15: note: consider making generic struct 'ExpressWrappedDictionary' conform to the 'Sendable' protocol
17 | */
18 | @dynamicMemberLookup
19 | public struct ExpressWrappedDictionary<V>: Collection {
| `- note: consider making generic struct 'ExpressWrappedDictionary' conform to the 'Sendable' protocol
20 |
21 | public typealias WrappedType = [ String : V ]
/host/spi-builder-workspace/Sources/express/Express.swift:341:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'IncomingMessage.Query?' (aka 'Optional<ExpressWrappedDictionary<Any>>') may have shared mutable state; this is an error in the Swift 6 language mode
339 | */
340 | enum Query: EnvironmentKey {
341 | static let defaultValue : IncomingMessage.Query? = nil
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'IncomingMessage.Query?' (aka 'Optional<ExpressWrappedDictionary<Any>>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
342 | static let loggingKey = "query"
343 | }
/host/spi-builder-workspace/Sources/express/ExpressWrappedDictionary.swift:19:15: note: consider making generic struct 'ExpressWrappedDictionary' conform to the 'Sendable' protocol
17 | */
18 | @dynamicMemberLookup
19 | public struct ExpressWrappedDictionary<V>: Collection {
| `- note: consider making generic struct 'ExpressWrappedDictionary' conform to the 'Sendable' protocol
20 |
21 | public typealias WrappedType = [ String : V ]
/host/spi-builder-workspace/Sources/express/Express.swift:353:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ServerResponse.Locals' (aka 'ExpressWrappedDictionary<Any>') may have shared mutable state; this is an error in the Swift 6 language mode
351 | */
352 | enum Locals: EnvironmentKey {
353 | static let defaultValue : ServerResponse.Locals = .init([:])
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ServerResponse.Locals' (aka 'ExpressWrappedDictionary<Any>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
354 | static let loggingKey = "locals"
355 | }
/host/spi-builder-workspace/Sources/express/ExpressWrappedDictionary.swift:19:15: note: consider making generic struct 'ExpressWrappedDictionary' conform to the 'Sendable' protocol
17 | */
18 | @dynamicMemberLookup
19 | public struct ExpressWrappedDictionary<V>: Collection {
| `- note: consider making generic struct 'ExpressWrappedDictionary' conform to the 'Sendable' protocol
20 |
21 | public typealias WrappedType = [ String : V ]
/host/spi-builder-workspace/Sources/express/Express.swift:299:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Express?' may have shared mutable state; this is an error in the Swift 6 language mode
75 | *
76 | */
77 | open class Express: SettingsHolder, MountableMiddlewareObject, MiddlewareObject,
| `- note: class 'Express' does not conform to the 'Sendable' protocol
78 | RouteKeeper
79 | {
:
297 | /// A reference to the active application. Updated when subapps are triggered.
298 | enum App: EnvironmentKey {
299 | static let defaultValue : Express? = nil
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Express?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
300 | static let loggingKey = "app"
301 | }
/host/spi-builder-workspace/Sources/express/Express.swift:305:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'IncomingMessage?' may have shared mutable state; this is an error in the Swift 6 language mode
303 | /// A reference to the request associated with a response.
304 | enum RequestKey: EnvironmentKey {
305 | static let defaultValue : IncomingMessage? = nil
| `- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'IncomingMessage?' may have shared mutable state; this is an error in the Swift 6 language mode
306 | static let loggingKey = "request"
307 | }
/host/spi-builder-workspace/.build/checkouts/Macro/Sources/http/IncomingMessage.swift:45:12: note: class 'IncomingMessage' does not conform to the 'Sendable' protocol
43 | * * IncomingMessage
44 | */
45 | open class IncomingMessage: ReadableByteStream, CustomStringConvertible {
| `- note: class 'IncomingMessage' does not conform to the 'Sendable' protocol
46 |
47 | public enum IncomingType {
/host/spi-builder-workspace/Sources/express/Express.swift:13:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'http'
11 | import enum MacroCore.EventListenerSet
12 | import protocol MacroCore.EnvironmentKey
13 | import class http.IncomingMessage
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'http'
14 | import class http.ServerResponse
15 |
:
303 | /// A reference to the request associated with a response.
304 | enum RequestKey: EnvironmentKey {
305 | static let defaultValue : IncomingMessage? = nil
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
306 | static let loggingKey = "request"
307 | }
/host/spi-builder-workspace/Sources/express/Express.swift:311:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Route?' may have shared mutable state; this is an error in the Swift 6 language mode
309 | /// The active route.
310 | enum RouteKey: EnvironmentKey {
311 | static let defaultValue : Route? = nil
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Route?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
312 | static let loggingKey = "route"
313 | }
/host/spi-builder-workspace/Sources/express/Route.swift:53:12: note: class 'Route' does not conform to the 'Sendable' protocol
51 | * and companions.
52 | */
53 | open class Route: MiddlewareObject, ErrorMiddlewareObject, RouteKeeper,
| `- note: class 'Route' does not conform to the 'Sendable' protocol
54 | CustomStringConvertible
55 | {
/host/spi-builder-workspace/Sources/express/Express.swift:333:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'IncomingMessage.Params' (aka 'ExpressWrappedDictionary<String>') may have shared mutable state; this is an error in the Swift 6 language mode
331 | enum Params: EnvironmentKey {
332 | // TBD: Should the value be `Any`?
333 | static let defaultValue = IncomingMessage.Params([:])
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'IncomingMessage.Params' (aka 'ExpressWrappedDictionary<String>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
334 | static let loggingKey = "params"
335 | }
/host/spi-builder-workspace/Sources/express/ExpressWrappedDictionary.swift:19:15: note: consider making generic struct 'ExpressWrappedDictionary' conform to the 'Sendable' protocol
17 | */
18 | @dynamicMemberLookup
19 | public struct ExpressWrappedDictionary<V>: Collection {
| `- note: consider making generic struct 'ExpressWrappedDictionary' conform to the 'Sendable' protocol
20 |
21 | public typealias WrappedType = [ String : V ]
/host/spi-builder-workspace/Sources/express/Express.swift:341:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'IncomingMessage.Query?' (aka 'Optional<ExpressWrappedDictionary<Any>>') may have shared mutable state; this is an error in the Swift 6 language mode
339 | */
340 | enum Query: EnvironmentKey {
341 | static let defaultValue : IncomingMessage.Query? = nil
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'IncomingMessage.Query?' (aka 'Optional<ExpressWrappedDictionary<Any>>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
342 | static let loggingKey = "query"
343 | }
/host/spi-builder-workspace/Sources/express/ExpressWrappedDictionary.swift:19:15: note: consider making generic struct 'ExpressWrappedDictionary' conform to the 'Sendable' protocol
17 | */
18 | @dynamicMemberLookup
19 | public struct ExpressWrappedDictionary<V>: Collection {
| `- note: consider making generic struct 'ExpressWrappedDictionary' conform to the 'Sendable' protocol
20 |
21 | public typealias WrappedType = [ String : V ]
/host/spi-builder-workspace/Sources/express/Express.swift:353:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ServerResponse.Locals' (aka 'ExpressWrappedDictionary<Any>') may have shared mutable state; this is an error in the Swift 6 language mode
351 | */
352 | enum Locals: EnvironmentKey {
353 | static let defaultValue : ServerResponse.Locals = .init([:])
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ServerResponse.Locals' (aka 'ExpressWrappedDictionary<Any>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
354 | static let loggingKey = "locals"
355 | }
/host/spi-builder-workspace/Sources/express/ExpressWrappedDictionary.swift:19:15: note: consider making generic struct 'ExpressWrappedDictionary' conform to the 'Sendable' protocol
17 | */
18 | @dynamicMemberLookup
19 | public struct ExpressWrappedDictionary<V>: Collection {
| `- note: consider making generic struct 'ExpressWrappedDictionary' conform to the 'Sendable' protocol
20 |
21 | public typealias WrappedType = [ String : V ]
[432/433] Compiling MacroExpress MacroExpress.swift
[433/433] Emitting module MacroExpress
Build complete! (76.51s)
Build complete.
{
"dependencies" : [
{
"identity" : "macro",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.2",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Macro-swift/Macro.git"
},
{
"identity" : "mustache",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.2",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/AlwaysRightInstitute/mustache.git"
}
],
"manifest_display_name" : "MacroExpress",
"name" : "MacroExpress",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "MacroExpress",
"targets" : [
"MacroExpress"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "express",
"targets" : [
"express"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "connect",
"targets" : [
"connect"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "mime",
"targets" : [
"mime"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "dotenv",
"targets" : [
"dotenv"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "multer",
"targets" : [
"multer"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "multerTests",
"module_type" : "SwiftTarget",
"name" : "multerTests",
"path" : "Tests/multerTests",
"sources" : [
"Fixtures.swift",
"MultiPartParserTests.swift",
"XCTestManifests.swift",
"multerTests.swift"
],
"target_dependencies" : [
"multer"
],
"type" : "test"
},
{
"c99name" : "multer",
"module_type" : "SwiftTarget",
"name" : "multer",
"path" : "Sources/multer",
"product_dependencies" : [
"MacroCore",
"fs",
"http"
],
"product_memberships" : [
"MacroExpress",
"multer"
],
"sources" : [
"DiskStorage.swift",
"File.swift",
"IncomingMessageMulter.swift",
"Limits.swift",
"MemoryStorage.swift",
"Middleware.swift",
"Multer.swift",
"MulterError.swift",
"MulterStorage.swift",
"MultiPartParser.swift",
"PartType.swift",
"ProcessingContext.swift",
"Utilities.swift"
],
"target_dependencies" : [
"mime",
"connect"
],
"type" : "library"
},
{
"c99name" : "mimeTests",
"module_type" : "SwiftTarget",
"name" : "mimeTests",
"path" : "Tests/mimeTests",
"sources" : [
"XCTestManifests.swift",
"mimeTests.swift"
],
"target_dependencies" : [
"mime"
],
"type" : "test"
},
{
"c99name" : "mime",
"module_type" : "SwiftTarget",
"name" : "mime",
"path" : "Sources/mime",
"product_memberships" : [
"MacroExpress",
"express",
"connect",
"mime",
"multer"
],
"sources" : [
"MIME.swift"
],
"type" : "library"
},
{
"c99name" : "express",
"module_type" : "SwiftTarget",
"name" : "express",
"path" : "Sources/express",
"product_dependencies" : [
"MacroCore",
"fs",
"http",
"Mustache"
],
"product_memberships" : [
"MacroExpress",
"express"
],
"sources" : [
"BasicAuth.swift",
"ErrorMiddleware.swift",
"Express.swift",
"ExpressWrappedDictionary.swift",
"IncomingMessage.swift",
"JSON.swift",
"MiddlewareObject.swift",
"Module.swift",
"Mustache.swift",
"Render.swift",
"Route.swift",
"RouteFactories.swift",
"RouteKeeper.swift",
"RouteMounts.swift",
"RoutePattern.swift",
"Router.swift",
"ServerResponse.swift",
"Settings.swift"
],
"target_dependencies" : [
"connect",
"mime"
],
"type" : "library"
},
{
"c99name" : "dotenvTests",
"module_type" : "SwiftTarget",
"name" : "dotenvTests",
"path" : "Tests/dotenvTests",
"sources" : [
"XCTestManifests.swift",
"dotenvTests.swift"
],
"target_dependencies" : [
"dotenv"
],
"type" : "test"
},
{
"c99name" : "dotenv",
"module_type" : "SwiftTarget",
"name" : "dotenv",
"path" : "Sources/dotenv",
"product_dependencies" : [
"MacroCore",
"fs"
],
"product_memberships" : [
"MacroExpress",
"dotenv"
],
"sources" : [
"dotenv.swift"
],
"type" : "library"
},
{
"c99name" : "connect",
"module_type" : "SwiftTarget",
"name" : "connect",
"path" : "Sources/connect",
"product_dependencies" : [
"MacroCore",
"fs",
"http"
],
"product_memberships" : [
"MacroExpress",
"express",
"connect",
"multer"
],
"sources" : [
"BodyParser.swift",
"CORS.swift",
"Connect.swift",
"CookieParser.swift",
"Cookies.swift",
"CrossCompile.swift",
"Logger.swift",
"MethodOverride.swift",
"Middleware.swift",
"Pause.swift",
"QS.swift",
"ServeStatic.swift",
"Session.swift",
"TypeIs.swift"
],
"target_dependencies" : [
"mime"
],
"type" : "library"
},
{
"c99name" : "bodyParserTests",
"module_type" : "SwiftTarget",
"name" : "bodyParserTests",
"path" : "Tests/bodyParserTests",
"product_dependencies" : [
"Macro"
],
"sources" : [
"XCTestManifests.swift",
"bodyParserTests.swift"
],
"target_dependencies" : [
"connect"
],
"type" : "test"
},
{
"c99name" : "RouteTests",
"module_type" : "SwiftTarget",
"name" : "RouteTests",
"path" : "Tests/RouteTests",
"product_dependencies" : [
"MacroTestUtilities"
],
"sources" : [
"ErrorMiddlewareTests.swift",
"RouteMountingTests.swift",
"SimpleRouteTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"express"
],
"type" : "test"
},
{
"c99name" : "MacroExpress",
"module_type" : "SwiftTarget",
"name" : "MacroExpress",
"path" : "Sources/MacroExpress",
"product_dependencies" : [
"MacroCore",
"fs",
"http",
"xsys"
],
"product_memberships" : [
"MacroExpress"
],
"sources" : [
"MacroExpress.swift"
],
"target_dependencies" : [
"dotenv",
"mime",
"connect",
"express",
"multer"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Done.