Build Information
Successful build of MacroExpress, reference 1.0.8 (e4cce5
), with Swift 6.1 for Linux on 12 Jun 2025 19:50:26 UTC.
Swift 6 data race errors: 14
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Macro-swift/MacroExpress.git
Reference: 1.0.8
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
* tag 1.0.8 -> FETCH_HEAD
HEAD is now at e4cce5a Merge branch 'develop'
Cloned https://github.com/Macro-swift/MacroExpress.git
Revision (git rev-parse @):
e4cce5a843265a2b9d4c1d8afe6a0ae8b354506d
SUCCESS checkout https://github.com/Macro-swift/MacroExpress.git at 1.0.8
========================================
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.4",
"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",
"NoCache.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-4609320-2":/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:2b296aa7156f49efc57252cdf9ed4bb21d0f92fc98d88800e255491ba2db3116
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/1634] Fetching macro
[247/2193] Fetching macro, mustache
Fetched https://github.com/AlwaysRightInstitute/mustache.git from cache (0.34s)
Fetched https://github.com/Macro-swift/Macro.git from cache (0.41s)
Computing version for https://github.com/AlwaysRightInstitute/mustache.git
Computed https://github.com/AlwaysRightInstitute/mustache.git at 1.0.2 (1.35s)
Computing version for https://github.com/Macro-swift/Macro.git
Computed https://github.com/Macro-swift/Macro.git at 1.0.8 (0.84s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-nio.git
[1/3836] Fetching swift-log
[40/5633] Fetching swift-log, swift-atomics
[5634/81906] Fetching swift-log, swift-atomics, swift-nio
Fetched https://github.com/apple/swift-atomics.git from cache (6.77s)
Fetched https://github.com/apple/swift-log.git from cache (6.77s)
Fetched https://github.com/apple/swift-nio.git from cache (6.86s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (7.78s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.83.0 (1.35s)
Fetching https://github.com/apple/swift-system.git
[1/4428] Fetching swift-system
Fetching https://github.com/apple/swift-collections.git
Fetched https://github.com/apple/swift-system.git from cache (0.57s)
[1/16600] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.45s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.5.0 (2.57s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (0.63s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.68s)
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.5.0
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.83.0
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.8
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.3.0
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.2.0
Building for debugging...
[0/37] Write sources
[23/37] Compiling CNIOWindows shim.c
[23/37] Compiling CNIOWindows WSAStartup.c
[25/37] Compiling CNIOWASI CNIOWASI.c
[25/37] Compiling _AtomicsShims.c
[26/37] Compiling CNIOLinux liburing_shims.c
[28/37] Compiling CNIODarwin shim.c
[28/37] Write sources
[30/37] Compiling CNIOLLHTTP c_nio_http.c
[31/37] Compiling CNIOLinux shim.c
[32/37] Compiling CNIOLLHTTP c_nio_api.c
[33/37] Write swift-version-24593BA9C3E375BF.txt
[34/37] Compiling CNIOLLHTTP c_nio_llhttp.c
[36/81] Emitting module mime
[36/81] Compiling c-nioatomics.c
[37/86] Compiling c-atomics.c
[39/92] Compiling Mustache Mustachable.swift
[40/92] Emitting module InternalCollectionsUtilities
[41/92] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[42/92] Compiling InternalCollectionsUtilities Integer rank.swift
[43/93] Compiling Mustache MustacheRendering.swift
[44/93] Compiling Mustache MustacheRenderingContext.swift
[45/94] Compiling Mustache HTMLEscape.swift
[46/94] Emitting module Mustache
[47/94] Compiling _NIOBase64 Base64.swift
[48/94] Emitting module _NIOBase64
[49/95] Compiling _NIODataStructures _TinyArray.swift
[50/95] Compiling InternalCollectionsUtilities Descriptions.swift
[51/95] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[52/95] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[53/95] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[54/95] Compiling InternalCollectionsUtilities Debugging.swift
[55/95] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[56/95] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[57/95] Compiling _NIODataStructures PriorityQueue.swift
[58/95] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[59/95] Compiling InternalCollectionsUtilities UInt+reversed.swift
[60/95] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[61/95] Compiling InternalCollectionsUtilities _SortedCollection.swift
[63/95] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[65/114] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[66/114] Compiling Atomics UnsafeAtomic.swift
[67/114] Compiling Atomics UnsafeAtomicLazyReference.swift
[68/114] Compiling Atomics ManagedAtomic.swift
[69/114] Compiling Atomics ManagedAtomicLazyReference.swift
[70/131] Compiling DequeModule Deque+Extras.swift
[71/131] Compiling DequeModule Deque+Hashable.swift
[72/131] Compiling Atomics AtomicMemoryOrderings.swift
[73/131] Compiling Atomics DoubleWord.swift
[74/131] Compiling DequeModule _DequeBuffer.swift
[75/131] Compiling DequeModule _DequeBufferHeader.swift
[76/133] Compiling Logging MetadataProvider.swift
[77/133] Compiling NIOConcurrencyHelpers lock.swift
[78/133] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[79/133] Compiling NIOConcurrencyHelpers NIOLock.swift
[80/133] Compiling xsys timespec.swift
[81/133] Compiling NIOConcurrencyHelpers atomics.swift
[82/133] Emitting module NIOConcurrencyHelpers
[83/134] Compiling DequeModule Deque+CustomReflectable.swift
[84/134] Compiling DequeModule Deque+Descriptions.swift
[85/134] Compiling DequeModule Deque+Testing.swift
[86/134] Compiling DequeModule Deque._Storage.swift
[87/134] Emitting module xsys
[88/134] Emitting module _NIODataStructures
[89/134] Compiling _NIODataStructures Heap.swift
[92/134] Compiling Atomics IntegerOperations.swift
[93/134] Compiling Atomics Unmanaged extensions.swift
[94/136] Compiling DequeModule Deque+Codable.swift
[95/136] Compiling DequeModule Deque+Collection.swift
[96/136] Compiling DequeModule Deque+Equatable.swift
[97/136] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[98/136] Compiling DequeModule Deque._UnsafeHandle.swift
[99/136] Compiling DequeModule Deque.swift
[100/136] Compiling Mustache MustacheNode.swift
[101/136] Compiling Mustache MustacheParser.swift
[102/136] Compiling Logging LogHandler.swift
[103/136] Compiling Logging Locks.swift
[104/136] Emitting module Logging
[105/136] Compiling Logging Logging.swift
[118/137] Compiling xsys timeval_any.swift
[119/137] Compiling Mustache Helpers.swift
[120/138] Compiling Mustache SimpleKVC.swift
[121/139] Compiling mime MIME.swift
[125/140] Compiling DequeModule _DequeSlot.swift
[126/140] Compiling DequeModule _UnsafeWrappedBuffer.swift
[133/140] Emitting module DequeModule
[135/141] Emitting module Atomics
[143/202] Compiling NIOCore IO.swift
[144/202] Compiling NIOCore IOData.swift
[145/202] Compiling NIOCore IPProtocol.swift
[146/202] Compiling NIOCore IntegerBitPacking.swift
[147/202] Compiling NIOCore IntegerTypes.swift
[148/202] Compiling NIOCore Interfaces.swift
[149/202] Compiling NIOCore Linux.swift
[150/202] Compiling NIOCore MarkedCircularBuffer.swift
[151/210] Compiling NIOCore EventLoopFuture+AssumeIsolated.swift
[152/210] Compiling NIOCore EventLoopFuture+Deprecated.swift
[153/210] Compiling NIOCore EventLoopFuture+WithEventLoop.swift
[154/210] Compiling NIOCore EventLoopFuture.swift
[155/210] Compiling NIOCore FileDescriptor.swift
[156/210] Compiling NIOCore FileHandle.swift
[157/210] Compiling NIOCore FileRegion.swift
[158/210] Compiling NIOCore GlobalSingletons.swift
[159/210] Compiling NIOCore CircularBuffer.swift
[160/210] Compiling NIOCore Codec.swift
[161/210] Compiling NIOCore ConvenienceOptionSupport.swift
[162/210] Compiling NIOCore DeadChannel.swift
[163/210] Compiling NIOCore DispatchQueue+WithFuture.swift
[164/210] Compiling NIOCore EventLoop+Deprecated.swift
[165/210] Compiling NIOCore EventLoop+SerialExecutor.swift
[166/210] Compiling NIOCore EventLoop.swift
[167/210] Compiling NIOCore MulticastChannel.swift
[168/210] Compiling NIOCore NIOAny.swift
[169/210] Compiling NIOCore NIOCloseOnErrorHandler.swift
[170/210] Compiling NIOCore NIOLoopBound.swift
[171/210] Compiling NIOCore NIOPooledRecvBufferAllocator.swift
[172/210] Compiling NIOCore NIOScheduledCallback.swift
[173/210] Compiling NIOCore NIOSendable.swift
[174/210] Compiling NIOCore RecvByteBufferAllocator.swift
[175/210] Compiling NIOCore AddressedEnvelope.swift
[176/210] Compiling NIOCore AsyncAwaitSupport.swift
[177/210] Compiling NIOCore AsyncChannel.swift
[178/210] Compiling NIOCore AsyncChannelHandler.swift
[179/210] Compiling NIOCore AsyncChannelInboundStream.swift
[180/210] Compiling NIOCore AsyncChannelOutboundWriter.swift
[181/210] Compiling NIOCore NIOAsyncSequenceProducer.swift
[182/210] Compiling NIOCore NIOAsyncSequenceProducerStrategies.swift
[183/210] Compiling NIOCore NIOAsyncWriter.swift
[184/210] Compiling NIOCore SingleStepByteToMessageDecoder.swift
[185/210] Compiling NIOCore SocketAddresses.swift
[186/210] Compiling NIOCore SocketOptionProvider.swift
[187/210] Compiling NIOCore SystemCallHelpers.swift
[188/210] Compiling NIOCore TimeAmount+Duration.swift
[189/210] Compiling NIOCore TypeAssistedChannelHandler.swift
[190/210] Compiling NIOCore UniversalBootstrapSupport.swift
[191/210] Compiling NIOCore Utilities.swift
[192/210] Emitting module NIOCore
[193/210] Compiling NIOCore NIOThrowingAsyncSequenceProducer.swift
[194/210] Compiling NIOCore BSDSocketAPI.swift
[195/210] Compiling NIOCore ByteBuffer-aux.swift
[196/210] Compiling NIOCore ByteBuffer-binaryEncodedLengthPrefix.swift
[197/210] Compiling NIOCore ByteBuffer-conversions.swift
[198/210] Compiling NIOCore ByteBuffer-core.swift
[199/210] Compiling NIOCore ByteBuffer-hex.swift
[200/210] Compiling NIOCore ByteBuffer-int.swift
[201/210] Compiling NIOCore ByteBuffer-lengthPrefix.swift
[202/210] Compiling NIOCore ByteBuffer-multi-int.swift
[203/210] Compiling NIOCore ByteBuffer-quicBinaryEncodingStrategy.swift
[204/210] Compiling NIOCore ByteBuffer-views.swift
[205/210] Compiling NIOCore Channel.swift
[206/210] Compiling NIOCore ChannelHandler.swift
[207/210] Compiling NIOCore ChannelHandlers.swift
[208/210] Compiling NIOCore ChannelInvoker.swift
[209/210] Compiling NIOCore ChannelOption.swift
[210/210] Compiling NIOCore ChannelPipeline.swift
[212/261] Compiling NIOEmbedded AsyncTestingEventLoop.swift
[213/261] Emitting module NIOEmbedded
[214/261] Compiling NIOEmbedded AsyncTestingChannel.swift
[215/261] Compiling NIOEmbedded Embedded.swift
[216/262] Compiling NIOPosix Pool.swift
[217/262] Compiling NIOPosix PosixSingletons+ConcurrencyTakeOver.swift
[218/262] Compiling NIOPosix PosixSingletons.swift
[219/262] Compiling NIOPosix RawSocketBootstrap.swift
[220/262] Compiling NIOPosix Resolver.swift
[221/262] Compiling NIOPosix Selectable.swift
[223/268] Compiling NIOPosix ThreadPosix.swift
[224/268] Compiling NIOPosix ThreadWindows.swift
[225/268] Compiling NIOPosix UnsafeTransfer.swift
[226/268] Compiling NIOPosix Utilities.swift
[227/268] Compiling NIOPosix VsockAddress.swift
[228/268] Compiling NIOPosix VsockChannelEvents.swift
[229/268] Compiling NIOPosix IO.swift
[230/268] Compiling NIOPosix IntegerBitPacking.swift
[231/268] Compiling NIOPosix IntegerTypes.swift
[232/268] Compiling NIOPosix Linux.swift
[233/268] Compiling NIOPosix LinuxCPUSet.swift
[234/268] Compiling NIOPosix LinuxUring.swift
[235/268] Compiling NIOPosix MultiThreadedEventLoopGroup.swift
[236/268] Compiling NIOPosix SelectableChannel.swift
[237/268] Compiling NIOPosix SelectableEventLoop.swift
[238/268] Compiling NIOPosix SelectorEpoll.swift
[239/268] Compiling NIOPosix SelectorGeneric.swift
[240/268] Compiling NIOPosix SelectorKqueue.swift
[241/268] Compiling NIOPosix SelectorUring.swift
[242/268] Emitting module NIOPosix
[243/268] Compiling NIOPosix BSDSocketAPICommon.swift
[244/268] Compiling NIOPosix BSDSocketAPIPosix.swift
[245/268] Compiling NIOPosix BSDSocketAPIWindows.swift
[246/268] Compiling NIOPosix BaseSocket.swift
[247/268] Compiling NIOPosix BaseSocketChannel+SocketOptionProvider.swift
[248/268] Compiling NIOPosix BaseSocketChannel.swift
[249/268] Compiling NIOPosix BaseStreamSocketChannel.swift
[250/268] Compiling NIOPosix Bootstrap.swift
[251/268] Compiling NIOPosix ControlMessage.swift
[252/268] Compiling NIOPosix DatagramVectorReadManager.swift
[253/268] Compiling NIOPosix Errors+Any.swift
[254/268] Compiling NIOPosix FileDescriptor.swift
[255/268] Compiling NIOPosix GetaddrinfoResolver.swift
[256/268] Compiling NIOPosix HappyEyeballs.swift
[257/268] Compiling NIOPosix ServerSocket.swift
[258/268] Compiling NIOPosix Socket.swift
[259/268] Compiling NIOPosix SocketChannel.swift
[260/268] Compiling NIOPosix SocketProtocols.swift
[261/268] Compiling NIOPosix System.swift
[262/268] Compiling NIOPosix Thread.swift
[263/268] Compiling NIOPosix NIOThreadPool.swift
[264/268] Compiling NIOPosix NonBlockingFileIO.swift
[265/268] Compiling NIOPosix PendingDatagramWritesManager.swift
[266/268] Compiling NIOPosix PendingWritesManager.swift
[267/268] Compiling NIOPosix PipeChannel.swift
[268/268] Compiling NIOPosix PipePair.swift
[270/271] Emitting module NIO
[271/271] Compiling NIO Exports.swift
[273/293] Compiling NIOFoundationCompat WaitSpinningRunLoop.swift
[274/293] Compiling NIOFoundationCompat JSONSerialization+ByteBuffer.swift
[275/293] Compiling NIOHTTP1 HTTPHeaderValidator.swift
[276/293] Compiling NIOHTTP1 HTTPHeaders+Validation.swift
[277/293] Compiling NIOFoundationCompat Codable+ByteBuffer.swift
[278/295] Emitting module NIOFoundationCompat
[279/295] Compiling NIOFoundationCompat ByteBuffer-foundation.swift
[280/296] Compiling NIOHTTP1 NIOTypedHTTPClientUpgradeHandler.swift
[281/296] Compiling NIOHTTP1 NIOTypedHTTPClientUpgraderStateMachine.swift
[282/296] Compiling NIOHTTP1 HTTPPipelineSetup.swift
[283/296] Compiling NIOHTTP1 HTTPServerPipelineHandler.swift
[285/296] Compiling NIOHTTP1 NIOHTTPClientUpgradeHandler.swift
[286/296] Compiling NIOHTTP1 NIOHTTPObjectAggregator.swift
[287/333] Compiling MacroCore CollectionUtils.swift
[288/333] Compiling MacroCore ListenerType.swift
[289/333] Emitting module NIOHTTP1
[290/333] Compiling MacroCore Object.swift
[291/333] Compiling MacroCore StringStubs.swift
[292/333] Compiling MacroCore ToString.swift
[293/333] Compiling MacroCore EnvironmentValues.swift
[294/333] Compiling MacroCore ErrorEmitter.swift
[295/333] Compiling MacroCore EventListenerSet.swift
[296/333] Compiling MacroCore Buffer.swift
[297/334] Compiling MacroCore Pipe.swift
[298/334] Compiling MacroCore ReadableByteStream.swift
[299/334] Compiling MacroCore ReadableByteStreamType.swift
[300/334] Compiling MacroCore ReadableStreamBase.swift
[301/334] Compiling MacroCore ReadableStreamType.swift
[303/339] Compiling MacroCore Process.swift
[304/339] Compiling MacroCore Warnings.swift
[305/339] Compiling MacroCore Regex.swift
[306/339] Compiling MacroCore Concat.swift
[307/339] Compiling MacroCore DuplexStreamType.swift
[308/339] Compiling MacroCore MacroError.swift
[309/339] Compiling MacroCore NextTick.swift
[310/339] Compiling MacroCore CommandLine.swift
[311/339] Compiling MacroCore DetectXcode.swift
[312/339] Compiling MacroCore Environment.swift
[314/339] Compiling MacroCore JSError.swift
[315/339] Compiling MacroCore JSON.swift
[316/339] Compiling MacroCore CollectionStubs.swift
[317/339] Compiling MacroCore Math.swift
[321/339] Compiling MacroCore LeftPad.swift
[322/339] Compiling MacroCore MacroCore.swift
[323/339] Compiling MacroCore Console.swift
[324/339] Compiling MacroCore Dirname.swift
[328/339] Compiling MacroCore WritableByteStream.swift
[329/339] Compiling MacroCore WritableByteStreamType.swift
[330/339] Compiling MacroCore WritableStreamBase.swift
[331/339] Compiling MacroCore WritableStreamType.swift
[332/339] Compiling MacroCore StringEncoding.swift
[334/339] Compiling MacroCore BufferData.swift
[335/339] Compiling MacroCore BufferDeprecations.swift
[336/339] Compiling MacroCore BufferHexEncoding.swift
[337/339] Compiling MacroCore BufferStrings.swift
[339/339] Emitting module MacroCore
[341/368] Compiling fs AsyncWrapper.swift
[342/368] Compiling fs ResultExtensions.swift
[343/368] Compiling fs StatStruct.swift
[344/369] Compiling fs fs.swift
[345/369] Emitting module fs
[346/369] Compiling http OutgoingMessage.swift
[347/370] Compiling fs Directory.swift
[348/370] Compiling fs FSWatcher.swift
[351/370] Compiling fs File.swift
[352/370] Compiling fs JSONFile.swift
[353/370] Emitting module http
[354/370] Compiling fs Path.swift
[355/370] Compiling fs PosixWrappers.swift
[358/370] Compiling fs Promise.swift
[359/370] Compiling fs FileReadStream.swift
[360/370] Compiling http http.swift
[365/370] Compiling fs FileStream.swift
[366/370] Compiling fs FileWriteStream.swift
[368/373] Emitting module dotenv
[369/373] Compiling dotenv dotenv.swift
[376/390] Compiling connect Connect.swift
[377/390] Compiling connect CookieParser.swift
[378/391] Compiling connect Cookies.swift
[379/391] Compiling connect CrossCompile.swift
[380/391] 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
[381/391] 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
[382/391] Compiling connect TypeIs.swift
[383/391] Compiling connect Pause.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,
[384/391] 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,
[385/391] Compiling connect Middleware.swift
[386/391] Compiling connect NoCache.swift
[387/391] 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(
| |- 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 | name: "NzSID",
18 | path: "/",
/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:23: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
21 | )
22 |
23 | 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
24 |
25 | public typealias SessionIdGenerator = ( IncomingMessage ) -> String
/host/spi-builder-workspace/Sources/connect/Session.swift:183: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
146 | // MARK: - Session Class
147 |
148 | public class Session {
| `- note: class 'Session' does not conform to the 'Sendable' protocol
149 | // Reference type, so that we can do stuff like:
150 | //
:
181 |
182 | private enum SessionKey: EnvironmentKey {
183 | 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
184 | static let loggingKey = "session"
185 | }
[388/391] 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 | }
[389/391] 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 | }
[390/391] Compiling connect ServeStatic.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(
| |- 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 | name: "NzSID",
18 | path: "/",
/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:23: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
21 | )
22 |
23 | 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
24 |
25 | public typealias SessionIdGenerator = ( IncomingMessage ) -> String
/host/spi-builder-workspace/Sources/connect/Session.swift:183: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
146 | // MARK: - Session Class
147 |
148 | public class Session {
| `- note: class 'Session' does not conform to the 'Sendable' protocol
149 | // Reference type, so that we can do stuff like:
150 | //
:
181 |
182 | private enum SessionKey: EnvironmentKey {
183 | 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
184 | static let loggingKey = "session"
185 | }
[391/391] 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(
| |- 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 | name: "NzSID",
18 | path: "/",
/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:23: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
21 | )
22 |
23 | 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
24 |
25 | public typealias SessionIdGenerator = ( IncomingMessage ) -> String
/host/spi-builder-workspace/Sources/connect/Session.swift:183: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
146 | // MARK: - Session Class
147 |
148 | public class Session {
| `- note: class 'Session' does not conform to the 'Sendable' protocol
149 | // Reference type, so that we can do stuff like:
150 | //
:
181 |
182 | private enum SessionKey: EnvironmentKey {
183 | 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
184 | static let loggingKey = "session"
185 | }
[393/422] Compiling multer PartType.swift
[394/423] 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:18:15: note: class 'File' does not conform to the 'Sendable' protocol
16 | * the file contents.
17 | */
18 | final class File: Equatable {
| `- note: class 'File' does not conform to the 'Sendable' protocol
19 |
20 | /// Name in form field
[395/423] 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:18:15: note: class 'File' does not conform to the 'Sendable' protocol
16 | * the file contents.
17 | */
18 | final class File: Equatable {
| `- note: class 'File' does not conform to the 'Sendable' protocol
19 |
20 | /// Name in form field
[396/423] Compiling multer DiskStorage.swift
[397/423] Compiling multer File.swift
[398/423] 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:18:15: note: class 'File' does not conform to the 'Sendable' protocol
16 | * the file contents.
17 | */
18 | final class File: Equatable {
| `- note: class 'File' does not conform to the 'Sendable' protocol
19 |
20 | /// Name in form field
[402/425] Compiling multer ProcessingContext.swift
[404/425] Compiling multer MemoryStorage.swift
[405/425] Compiling express RoutePattern.swift
[406/425] Compiling express Router.swift
[407/425] Compiling multer MulterStorage.swift
[408/425] Compiling multer MultiPartParser.swift
[410/425] Compiling multer Middleware.swift
[411/425] Compiling multer Multer.swift
[412/425] Compiling multer MulterError.swift
[413/425] Compiling multer Utilities.swift
[414/426] Emitting module express
/host/spi-builder-workspace/Sources/express/Express.swift:301: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
77 | *
78 | */
79 | open class Express: SettingsHolder, MountableMiddlewareObject, MiddlewareObject,
| `- note: class 'Express' does not conform to the 'Sendable' protocol
80 | RouteKeeper
81 | {
:
299 | /// A reference to the active application. Updated when subapps are triggered.
300 | enum App: EnvironmentKey {
301 | 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
302 | static let loggingKey = "app"
303 | }
/host/spi-builder-workspace/Sources/express/Express.swift:307: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
305 | /// A reference to the request associated with a response.
306 | enum RequestKey: EnvironmentKey {
307 | 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
308 | static let loggingKey = "request"
309 | }
/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 |
:
305 | /// A reference to the request associated with a response.
306 | enum RequestKey: EnvironmentKey {
307 | 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
308 | static let loggingKey = "request"
309 | }
/host/spi-builder-workspace/Sources/express/Express.swift:313: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
311 | /// The active route.
312 | enum RouteKey: EnvironmentKey {
313 | 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
314 | static let loggingKey = "route"
315 | }
/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:335: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
333 | enum Params: EnvironmentKey {
334 | // TBD: Should the value be `Any`?
335 | 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
336 | static let loggingKey = "params"
337 | }
/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:343: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
341 | */
342 | enum Query: EnvironmentKey {
343 | 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
344 | static let loggingKey = "query"
345 | }
/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:355: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
353 | */
354 | enum Locals: EnvironmentKey {
355 | 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
356 | static let loggingKey = "locals"
357 | }
/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 {
[416/426] Compiling express ServerResponse.swift
[417/426] Compiling express Settings.swift
/host/spi-builder-workspace/Sources/express/Express.swift:301: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
77 | *
78 | */
79 | open class Express: SettingsHolder, MountableMiddlewareObject, MiddlewareObject,
| `- note: class 'Express' does not conform to the 'Sendable' protocol
80 | RouteKeeper
81 | {
:
299 | /// A reference to the active application. Updated when subapps are triggered.
300 | enum App: EnvironmentKey {
301 | 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
302 | static let loggingKey = "app"
303 | }
/host/spi-builder-workspace/Sources/express/Express.swift:307: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
305 | /// A reference to the request associated with a response.
306 | enum RequestKey: EnvironmentKey {
307 | 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
308 | static let loggingKey = "request"
309 | }
/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 |
:
305 | /// A reference to the request associated with a response.
306 | enum RequestKey: EnvironmentKey {
307 | 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
308 | static let loggingKey = "request"
309 | }
/host/spi-builder-workspace/Sources/express/Express.swift:313: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
311 | /// The active route.
312 | enum RouteKey: EnvironmentKey {
313 | 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
314 | static let loggingKey = "route"
315 | }
/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:335: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
333 | enum Params: EnvironmentKey {
334 | // TBD: Should the value be `Any`?
335 | 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
336 | static let loggingKey = "params"
337 | }
/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:343: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
341 | */
342 | enum Query: EnvironmentKey {
343 | 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
344 | static let loggingKey = "query"
345 | }
/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:355: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
353 | */
354 | enum Locals: EnvironmentKey {
355 | 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
356 | static let loggingKey = "locals"
357 | }
/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 ]
[419/426] Compiling express ErrorMiddleware.swift
/host/spi-builder-workspace/Sources/express/Express.swift:301: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
77 | *
78 | */
79 | open class Express: SettingsHolder, MountableMiddlewareObject, MiddlewareObject,
| `- note: class 'Express' does not conform to the 'Sendable' protocol
80 | RouteKeeper
81 | {
:
299 | /// A reference to the active application. Updated when subapps are triggered.
300 | enum App: EnvironmentKey {
301 | 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
302 | static let loggingKey = "app"
303 | }
/host/spi-builder-workspace/Sources/express/Express.swift:307: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
305 | /// A reference to the request associated with a response.
306 | enum RequestKey: EnvironmentKey {
307 | 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
308 | static let loggingKey = "request"
309 | }
/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 |
:
305 | /// A reference to the request associated with a response.
306 | enum RequestKey: EnvironmentKey {
307 | 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
308 | static let loggingKey = "request"
309 | }
/host/spi-builder-workspace/Sources/express/Express.swift:313: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
311 | /// The active route.
312 | enum RouteKey: EnvironmentKey {
313 | 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
314 | static let loggingKey = "route"
315 | }
/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:335: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
333 | enum Params: EnvironmentKey {
334 | // TBD: Should the value be `Any`?
335 | 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
336 | static let loggingKey = "params"
337 | }
/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:343: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
341 | */
342 | enum Query: EnvironmentKey {
343 | 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
344 | static let loggingKey = "query"
345 | }
/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:355: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
353 | */
354 | enum Locals: EnvironmentKey {
355 | 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
356 | static let loggingKey = "locals"
357 | }
/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 ]
[420/426] Compiling express Express.swift
/host/spi-builder-workspace/Sources/express/Express.swift:301: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
77 | *
78 | */
79 | open class Express: SettingsHolder, MountableMiddlewareObject, MiddlewareObject,
| `- note: class 'Express' does not conform to the 'Sendable' protocol
80 | RouteKeeper
81 | {
:
299 | /// A reference to the active application. Updated when subapps are triggered.
300 | enum App: EnvironmentKey {
301 | 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
302 | static let loggingKey = "app"
303 | }
/host/spi-builder-workspace/Sources/express/Express.swift:307: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
305 | /// A reference to the request associated with a response.
306 | enum RequestKey: EnvironmentKey {
307 | 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
308 | static let loggingKey = "request"
309 | }
/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 |
:
305 | /// A reference to the request associated with a response.
306 | enum RequestKey: EnvironmentKey {
307 | 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
308 | static let loggingKey = "request"
309 | }
/host/spi-builder-workspace/Sources/express/Express.swift:313: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
311 | /// The active route.
312 | enum RouteKey: EnvironmentKey {
313 | 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
314 | static let loggingKey = "route"
315 | }
/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:335: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
333 | enum Params: EnvironmentKey {
334 | // TBD: Should the value be `Any`?
335 | 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
336 | static let loggingKey = "params"
337 | }
/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:343: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
341 | */
342 | enum Query: EnvironmentKey {
343 | 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
344 | static let loggingKey = "query"
345 | }
/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:355: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
353 | */
354 | enum Locals: EnvironmentKey {
355 | 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
356 | static let loggingKey = "locals"
357 | }
/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 {
<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 {
[423/426] Compiling express Route.swift
[424/426] Compiling express RouteFactories.swift
[428/429] Emitting module MacroExpress
[429/429] Compiling MacroExpress MacroExpress.swift
Build complete! (113.86s)
Build complete.
{
"dependencies" : [
{
"identity" : "macro",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.4",
"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",
"NoCache.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:2b296aa7156f49efc57252cdf9ed4bb21d0f92fc98d88800e255491ba2db3116
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Done.