Build Information
Successful build of MacroExpress, reference develop (66291c
), with Swift 6.1 for macOS (SPM) on 10 Sep 2025 23:08:58 UTC.
Swift 6 data race errors: 14
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Build Log
========================================
RunAll
========================================
Builder version: 4.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Macro-swift/MacroExpress.git
Reference: develop
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Macro-swift/MacroExpress
* branch develop -> FETCH_HEAD
* [new branch] develop -> origin/develop
HEAD is now at 66291cb Docs
Cloned https://github.com/Macro-swift/MacroExpress.git
Revision (git rev-parse @):
66291cb23260875331b4713c7faebbfe1c19d031
SUCCESS checkout https://github.com/Macro-swift/MacroExpress.git at develop
Fetching https://github.com/AlwaysRightInstitute/mustache.git
Fetching https://github.com/Macro-swift/Macro.git
[1/1704] Fetching macro
[53/2263] Fetching macro, mustache
Fetched https://github.com/Macro-swift/Macro.git from cache (0.88s)
Fetched https://github.com/AlwaysRightInstitute/mustache.git from cache (0.88s)
Computing version for https://github.com/AlwaysRightInstitute/mustache.git
Computed https://github.com/AlwaysRightInstitute/mustache.git at 1.0.2 (1.57s)
Computing version for https://github.com/Macro-swift/Macro.git
Computed https://github.com/Macro-swift/Macro.git at 1.0.10 (0.58s)
Fetching https://github.com/apple/swift-nio.git from cache
Fetching https://github.com/apple/swift-atomics.git from cache
Fetching https://github.com/apple/swift-log.git from cache
Fetched https://github.com/apple/swift-log.git from cache (0.84s)
Fetched https://github.com/apple/swift-atomics.git from cache (1.85s)
Fetched https://github.com/apple/swift-nio.git from cache (1.89s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (2.40s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.86.0 (0.61s)
Fetching https://github.com/apple/swift-collections.git from cache
Fetching https://github.com/apple/swift-system.git from cache
Fetched https://github.com/apple/swift-system.git from cache (0.91s)
Fetched https://github.com/apple/swift-collections.git from cache (1.10s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.2 (1.63s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.1 (0.55s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.4 (0.47s)
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.10
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.1
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-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.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-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.6.2
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.86.0
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "macroexpress",
"name": "MacroExpress",
"url": "https://github.com/Macro-swift/MacroExpress.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/MacroExpress",
"dependencies": [
{
"identity": "macro",
"name": "Macro",
"url": "https://github.com/Macro-swift/Macro.git",
"version": "1.0.10",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Macro",
"dependencies": [
{
"identity": "swift-atomics",
"name": "swift-atomics",
"url": "https://github.com/apple/swift-atomics.git",
"version": "1.3.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-atomics",
"dependencies": [
]
},
{
"identity": "swift-nio",
"name": "swift-nio",
"url": "https://github.com/apple/swift-nio.git",
"version": "2.86.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-nio",
"dependencies": [
{
"identity": "swift-atomics",
"name": "swift-atomics",
"url": "https://github.com/apple/swift-atomics.git",
"version": "1.3.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-atomics",
"dependencies": [
]
},
{
"identity": "swift-collections",
"name": "swift-collections",
"url": "https://github.com/apple/swift-collections.git",
"version": "1.2.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-collections",
"dependencies": [
]
},
{
"identity": "swift-system",
"name": "swift-system",
"url": "https://github.com/apple/swift-system.git",
"version": "1.6.2",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-system",
"dependencies": [
]
}
]
},
{
"identity": "swift-log",
"name": "swift-log",
"url": "https://github.com/apple/swift-log.git",
"version": "1.6.4",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-log",
"dependencies": [
]
}
]
},
{
"identity": "mustache",
"name": "Mustache",
"url": "https://github.com/AlwaysRightInstitute/mustache.git",
"version": "1.0.2",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/mustache",
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/Macro-swift/MacroExpress.git
[1/1472] Fetching macroexpress
Fetched https://github.com/Macro-swift/MacroExpress.git from cache (0.96s)
Fetching https://github.com/Macro-swift/Macro.git from cache
Fetching https://github.com/AlwaysRightInstitute/mustache.git from cache
Fetched https://github.com/AlwaysRightInstitute/mustache.git from cache (0.48s)
Fetched https://github.com/Macro-swift/Macro.git from cache (0.48s)
Computing version for https://github.com/AlwaysRightInstitute/mustache.git
Computed https://github.com/AlwaysRightInstitute/mustache.git at 1.0.2 (0.54s)
Computing version for https://github.com/Macro-swift/Macro.git
Computed https://github.com/Macro-swift/Macro.git at 1.0.10 (0.03s)
Fetching https://github.com/apple/swift-nio.git from cache
Fetching https://github.com/apple/swift-log.git from cache
Fetching https://github.com/apple/swift-atomics.git from cache
Fetched https://github.com/apple/swift-atomics.git from cache (0.81s)
Fetched https://github.com/apple/swift-log.git from cache (0.85s)
Fetched https://github.com/apple/swift-nio.git from cache (0.86s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (0.92s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.86.0 (0.03s)
Fetching https://github.com/apple/swift-collections.git from cache
Fetching https://github.com/apple/swift-system.git from cache
Fetched https://github.com/apple/swift-system.git from cache (0.53s)
Fetched https://github.com/apple/swift-collections.git from cache (0.53s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.2 (0.59s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.1 (0.03s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.4 (0.03s)
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.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-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.86.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.6.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.2.1
Creating working copy for https://github.com/Macro-swift/MacroExpress.git
Working copy of https://github.com/Macro-swift/MacroExpress.git resolved at develop (66291cb)
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/Macro-swift/Macro.git
Working copy of https://github.com/Macro-swift/Macro.git resolved at 1.0.10
warning: '.resolve-product-dependencies': dependency 'macroexpress' is not used by any target
Found 2 product dependencies
- Macro
- Mustache
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/Macro-swift/MacroExpress.git
https://github.com/Macro-swift/MacroExpress.git
{
"dependencies" : [
{
"identity" : "macro",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.10",
"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" : "/Users/admin/builder/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",
"View.swift",
"dirname.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 ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/39] Write sources
[7/39] Copying PrivacyInfo.xcprivacy
[9/39] Write sources
[24/39] Compiling CNIOWindows WSAStartup.c
[25/39] Compiling CNIOWindows shim.c
[26/39] Compiling CNIOWASI CNIOWASI.c
[27/39] Compiling CNIOLinux shim.c
[28/39] Write swift-version-2F0A5646E1D333AE.txt
[29/39] Write sources
[30/39] Compiling CNIOLinux liburing_shims.c
[31/55] Compiling _AtomicsShims.c
[32/55] Compiling CNIOPosix event_loop_id.c
[33/55] Compiling CNIOLLHTTP c_nio_http.c
[34/55] Compiling CNIOLLHTTP c_nio_api.c
[35/75] Compiling CNIOLLHTTP c_nio_llhttp.c
[36/89] Compiling CNIODarwin shim.c
[38/108] Compiling _NIOBase64 Base64.swift
[39/108] Emitting module _NIOBase64
[40/108] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[41/108] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[42/109] Compiling Atomics UnsafeAtomicLazyReference.swift
[43/109] Compiling Atomics IntegerOperations.swift
[44/109] Compiling Atomics DoubleWord.swift
[45/109] Compiling Atomics ManagedAtomic.swift
[46/110] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[47/110] Compiling Atomics Unmanaged extensions.swift
[48/110] Emitting module InternalCollectionsUtilities
[49/110] Compiling Atomics ManagedAtomicLazyReference.swift
[50/110] Compiling Atomics UnsafeAtomic.swift
[51/110] Compiling InternalCollectionsUtilities Descriptions.swift
[52/110] Compiling Atomics OptionalRawRepresentable.swift
[53/110] Compiling Atomics RawRepresentable.swift
[54/110] Compiling Atomics AtomicBool.swift
[55/110] Compiling Atomics IntegerConformances.swift
[56/110] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[57/110] Compiling Atomics PointerConformances.swift
[58/110] Compiling Atomics Primitives.native.swift
[59/110] Compiling InternalCollectionsUtilities Debugging.swift
[62/110] Compiling _NIODataStructures _TinyArray.swift
[63/110] Compiling Logging MetadataProvider.swift
[64/110] Compiling Atomics AtomicValue.swift
[65/110] Compiling Atomics AtomicMemoryOrderings.swift
[66/110] Compiling Atomics AtomicReference.swift
[67/110] Compiling Atomics AtomicStorage.swift
[68/110] Compiling _NIODataStructures Heap.swift
[69/126] Compiling DequeModule _DequeSlot.swift
[70/127] Emitting module _NIODataStructures
[71/127] Compiling _NIODataStructures PriorityQueue.swift
[72/127] Compiling Logging LogHandler.swift
[73/127] Emitting module Logging
[74/127] Compiling Logging Locks.swift
[75/127] Compiling Logging Logging.swift
[76/127] Compiling DequeModule _UnsafeWrappedBuffer.swift
[77/127] Compiling DequeModule Deque+Testing.swift
[78/127] Compiling DequeModule Deque._Storage.swift
[79/127] Compiling DequeModule Deque+CustomReflectable.swift
[80/127] Compiling DequeModule Deque+Descriptions.swift
[81/127] Compiling DequeModule Deque+Equatable.swift
[82/127] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[83/127] Compiling DequeModule Deque+Extras.swift
[84/127] Compiling DequeModule Deque+Hashable.swift
[84/127] Compiling c-nioatomics.c
[86/127] Compiling DequeModule _DequeBufferHeader.swift
[87/127] Compiling DequeModule _DequeBuffer.swift
[88/127] Compiling DequeModule Deque._UnsafeHandle.swift
[89/127] Compiling DequeModule Deque.swift
[98/127] Compiling DequeModule Deque+Codable.swift
[99/127] Compiling DequeModule Deque+Collection.swift
[100/127] Emitting module Atomics
[101/127] Emitting module DequeModule
[101/127] Compiling c-atomics.c
[103/133] Compiling xsys timespec.swift
[106/134] Compiling Mustache MustacheRendering.swift
[107/134] Compiling NIOConcurrencyHelpers lock.swift
[108/134] Compiling Mustache Mustachable.swift
[109/134] Compiling Mustache MustacheNode.swift
[110/134] Compiling Mustache MustacheParser.swift
[111/134] Compiling xsys timeval_any.swift
[112/134] Compiling xsys socket.swift
[113/134] Compiling xsys sockaddr_any.swift
[114/134] Compiling xsys time.swift
[115/134] Compiling xsys ntohs.swift
[118/134] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[119/134] Compiling NIOConcurrencyHelpers NIOLock.swift
[120/134] Emitting module NIOConcurrencyHelpers
[121/134] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[122/134] Compiling NIOConcurrencyHelpers atomics.swift
[123/197] Compiling NIOCore Linux.swift
[124/197] Compiling NIOCore MarkedCircularBuffer.swift
[125/197] Compiling NIOCore MulticastChannel.swift
[126/197] Compiling NIOCore NIOAny.swift
[127/197] Compiling NIOCore NIOCloseOnErrorHandler.swift
[128/197] Compiling NIOCore NIOCoreSendableMetatype.swift
[129/197] Compiling NIOCore NIOLoopBound.swift
[130/203] Compiling Mustache SimpleKVC.swift
[131/203] Compiling Mustache MustacheRenderingContext.swift
[132/203] Compiling mime MIME.swift
[133/203] Emitting module mime
[134/203] Emitting module xsys
[135/203] Compiling NIOCore ByteBuffer-core.swift
[136/203] Compiling NIOCore ByteBuffer-hex.swift
[137/203] Compiling NIOCore NIOPooledRecvBufferAllocator.swift
[138/203] Compiling NIOCore NIOScheduledCallback.swift
[139/203] Compiling Mustache HTMLEscape.swift
[140/203] Emitting module Mustache
[141/203] Compiling Mustache Helpers.swift
[144/203] Compiling NIOCore NIOSendable.swift
[145/203] Compiling NIOCore RecvByteBufferAllocator.swift
[146/203] Compiling NIOCore SingleStepByteToMessageDecoder.swift
[147/203] Compiling NIOCore SocketAddresses.swift
[148/203] Compiling NIOCore SocketOptionProvider.swift
[149/203] Compiling NIOCore SystemCallHelpers.swift
[150/203] Compiling NIOCore TimeAmount+Duration.swift
[151/203] Compiling NIOCore TypeAssistedChannelHandler.swift
[152/203] Compiling NIOCore UniversalBootstrapSupport.swift
[153/203] Compiling NIOCore Utilities.swift
[154/203] Compiling NIOCore GlobalSingletons.swift
[155/203] Compiling NIOCore IO.swift
[156/203] Compiling NIOCore IOData.swift
[157/203] Compiling NIOCore IPProtocol.swift
[158/203] Compiling NIOCore IntegerBitPacking.swift
[159/203] Compiling NIOCore IntegerTypes.swift
[160/203] Compiling NIOCore Interfaces.swift
[161/203] Compiling NIOCore EventLoopFuture+AssumeIsolated.swift
[162/203] Compiling NIOCore EventLoopFuture+Deprecated.swift
[163/203] Compiling NIOCore EventLoopFuture+WithEventLoop.swift
[164/203] Compiling NIOCore EventLoopFuture.swift
[165/203] Compiling NIOCore FileDescriptor.swift
[166/203] Compiling NIOCore FileHandle.swift
[167/203] Compiling NIOCore FileRegion.swift
[168/203] Compiling NIOCore Codec.swift
[169/203] Compiling NIOCore ConvenienceOptionSupport.swift
[170/203] Compiling NIOCore DeadChannel.swift
[171/203] Compiling NIOCore DispatchQueue+WithFuture.swift
[172/203] Compiling NIOCore EventLoop+Deprecated.swift
[173/203] Compiling NIOCore EventLoop+SerialExecutor.swift
[174/203] Compiling NIOCore EventLoop.swift
[175/203] Compiling NIOCore NIOAsyncSequenceProducerStrategies.swift
[176/203] Compiling NIOCore NIOAsyncWriter.swift
[177/203] Compiling NIOCore NIOThrowingAsyncSequenceProducer.swift
[178/203] Compiling NIOCore BSDSocketAPI.swift
[179/203] Compiling NIOCore ByteBuffer-aux.swift
[180/203] Compiling NIOCore ByteBuffer-binaryEncodedLengthPrefix.swift
[181/203] Compiling NIOCore ByteBuffer-conversions.swift
[182/203] Compiling NIOCore AddressedEnvelope.swift
[183/203] Compiling NIOCore AsyncAwaitSupport.swift
[184/203] Compiling NIOCore AsyncChannel.swift
[185/203] Compiling NIOCore AsyncChannelHandler.swift
[186/203] Compiling NIOCore AsyncChannelInboundStream.swift
[187/203] Compiling NIOCore AsyncChannelOutboundWriter.swift
[188/203] Compiling NIOCore NIOAsyncSequenceProducer.swift
[189/203] Compiling NIOCore Channel.swift
[190/203] Compiling NIOCore ChannelHandler.swift
[191/203] Compiling NIOCore ChannelHandlers.swift
[192/203] Compiling NIOCore ChannelInvoker.swift
[193/203] Compiling NIOCore ChannelOption.swift
[194/203] Compiling NIOCore ChannelPipeline.swift
[195/203] Compiling NIOCore CircularBuffer.swift
[198/203] Compiling NIOCore ByteBuffer-int.swift
[199/203] Compiling NIOCore ByteBuffer-lengthPrefix.swift
[200/203] Compiling NIOCore ByteBuffer-multi-int.swift
[201/203] Compiling NIOCore ByteBuffer-quicBinaryEncodingStrategy.swift
[202/203] Compiling NIOCore ByteBuffer-views.swift
[203/203] Emitting module NIOCore
[204/257] Emitting module NIOEmbedded
[205/257] Compiling NIOEmbedded AsyncTestingEventLoop.swift
[206/257] Compiling NIOEmbedded AsyncTestingChannel.swift
[207/257] Compiling NIOEmbedded Embedded.swift
[208/257] Compiling NIOPosix SelectorUring.swift
[209/257] Compiling NIOPosix ServerSocket.swift
[210/257] Compiling NIOPosix Socket.swift
[211/257] Compiling NIOPosix SocketChannel.swift
[212/257] Compiling NIOPosix SocketProtocols.swift
[213/262] Emitting module NIOPosix
[214/262] Compiling NIOPosix StructuredConcurrencyHelpers.swift
[215/262] Compiling NIOPosix System.swift
[216/262] Compiling NIOPosix Thread.swift
[217/262] Compiling NIOPosix ThreadPosix.swift
[218/262] Compiling NIOPosix ThreadWindows.swift
[219/262] Compiling NIOPosix GetaddrinfoResolver.swift
[220/262] Compiling NIOPosix HappyEyeballs.swift
[221/262] Compiling NIOPosix IO.swift
[222/262] Compiling NIOPosix IntegerBitPacking.swift
[223/262] Compiling NIOPosix IntegerTypes.swift
[224/262] Compiling NIOPosix Linux.swift
[225/262] Compiling NIOPosix LinuxCPUSet.swift
[226/262] Compiling NIOPosix LinuxUring.swift
[227/262] Compiling NIOPosix MultiThreadedEventLoopGroup.swift
[228/262] Compiling NIOPosix NIOPosixSendableMetatype.swift
[229/262] Compiling NIOPosix NIOThreadPool.swift
[230/262] Compiling NIOPosix NonBlockingFileIO.swift
[231/262] Compiling NIOPosix PosixSingletons+ConcurrencyTakeOver.swift
[232/262] Compiling NIOPosix PosixSingletons.swift
[233/262] Compiling NIOPosix RawSocketBootstrap.swift
[234/262] Compiling NIOPosix Resolver.swift
[235/262] Compiling NIOPosix Selectable.swift
[236/262] Compiling NIOPosix SelectableChannel.swift
[237/262] Compiling NIOPosix SelectableEventLoop.swift
[238/262] Compiling NIOPosix SelectorEpoll.swift
[239/262] Compiling NIOPosix SelectorGeneric.swift
[240/262] Compiling NIOPosix SelectorKqueue.swift
[241/262] Compiling NIOPosix PendingDatagramWritesManager.swift
[242/262] Compiling NIOPosix PendingWritesManager.swift
[243/262] Compiling NIOPosix PipeChannel.swift
[244/262] Compiling NIOPosix PipePair.swift
[245/262] Compiling NIOPosix Pool.swift
[246/262] Compiling NIOPosix UnsafeTransfer.swift
[247/262] Compiling NIOPosix Utilities.swift
[248/262] Compiling NIOPosix VsockAddress.swift
[249/262] Compiling NIOPosix VsockChannelEvents.swift
[250/262] Compiling NIOPosix resource_bundle_accessor.swift
[251/262] Compiling NIOPosix BSDSocketAPICommon.swift
[252/262] Compiling NIOPosix BSDSocketAPIPosix.swift
[253/262] Compiling NIOPosix BSDSocketAPIWindows.swift
[254/262] Compiling NIOPosix BaseSocket.swift
[255/262] Compiling NIOPosix BaseSocketChannel+SocketOptionProvider.swift
[256/262] Compiling NIOPosix BaseSocketChannel.swift
[257/262] Compiling NIOPosix BaseStreamSocketChannel.swift
[258/262] Compiling NIOPosix Bootstrap.swift
[259/262] Compiling NIOPosix ControlMessage.swift
[260/262] Compiling NIOPosix DatagramVectorReadManager.swift
[261/262] Compiling NIOPosix Errors+Any.swift
[262/262] Compiling NIOPosix FileDescriptor.swift
[263/264] Emitting module NIO
[264/264] Compiling NIO Exports.swift
[265/286] Compiling NIOFoundationCompat JSONSerialization+ByteBuffer.swift
[266/286] Compiling NIOFoundationCompat Codable+ByteBuffer.swift
[267/286] Compiling NIOFoundationCompat WaitSpinningRunLoop.swift
[268/286] Compiling NIOHTTP1 NIOTypedHTTPClientUpgraderStateMachine.swift
[269/286] Compiling NIOHTTP1 NIOTypedHTTPServerUpgradeHandler.swift
[270/287] Emitting module NIOHTTP1
[271/287] Compiling NIOHTTP1 HTTPEncoder.swift
[272/287] Compiling NIOHTTP1 HTTPHeaderValidator.swift
[273/287] Compiling NIOHTTP1 NIOHTTPObjectAggregator.swift
[274/287] Compiling NIOHTTP1 NIOTypedHTTPClientUpgradeHandler.swift
[275/287] Compiling NIOFoundationCompat ByteBuffer-foundation.swift
[276/287] Emitting module NIOFoundationCompat
[277/287] Compiling NIOHTTP1 ByteCollectionUtils.swift
[278/287] Compiling NIOHTTP1 HTTPDecoder.swift
[279/322] Compiling NIOHTTP1 NIOTypedHTTPServerUpgraderStateMachine.swift
[280/326] Compiling MacroCore ReadableByteStreamType.swift
[281/326] Compiling MacroCore ReadableStreamBase.swift
[282/326] Compiling MacroCore ReadableStreamType.swift
[283/326] Compiling MacroCore WritableByteStream.swift
[284/326] Compiling MacroCore StringStubs.swift
[285/326] Compiling MacroCore ToString.swift
[286/326] Compiling MacroCore LeftPad.swift
[287/326] Compiling MacroCore MacroCore.swift
[296/330] Compiling MacroCore ErrorEmitter.swift
[297/330] Compiling MacroCore EventListenerSet.swift
[298/330] Compiling MacroCore ListenerType.swift
[299/330] Compiling MacroCore JSError.swift
[300/330] Compiling MacroCore Environment.swift
[301/330] Compiling MacroCore Process.swift
[302/330] Compiling MacroCore Warnings.swift
[303/330] Compiling MacroCore Regex.swift
[304/330] Compiling MacroCore Concat.swift
[305/330] Compiling MacroCore DuplexStreamType.swift
[306/330] Compiling MacroCore Pipe.swift
[307/330] Compiling MacroCore ReadableByteStream.swift
[308/330] Compiling MacroCore WritableByteStreamType.swift
[309/330] Compiling MacroCore WritableStreamBase.swift
[310/330] Compiling MacroCore WritableStreamType.swift
[311/330] Compiling MacroCore StringEncoding.swift
[312/330] Compiling MacroCore CollectionUtils.swift
[313/330] Compiling MacroCore Concurrency.swift
[314/330] Compiling MacroCore Console.swift
[315/330] Compiling MacroCore Dirname.swift
[316/330] Compiling MacroCore EnvironmentValues.swift
[317/330] Compiling MacroCore MacroError.swift
[318/330] Compiling MacroCore NextTick.swift
[319/330] Compiling MacroCore CommandLine.swift
[320/330] Compiling MacroCore DetectXcode.swift
[321/330] Compiling MacroCore JSON.swift
[322/330] Compiling MacroCore CollectionStubs.swift
[323/330] Compiling MacroCore Math.swift
[324/330] Compiling MacroCore Object.swift
[325/330] Compiling MacroCore Buffer.swift
[326/330] Compiling MacroCore BufferData.swift
[327/330] Compiling MacroCore BufferDeprecations.swift
[328/330] Compiling MacroCore BufferHexEncoding.swift
[329/330] Compiling MacroCore BufferStrings.swift
[330/330] Emitting module MacroCore
[331/358] Compiling fs Promise.swift
[332/358] Compiling fs FileReadStream.swift
[333/359] Compiling fs ResultExtensions.swift
[334/359] Compiling fs StatStruct.swift
[335/360] Compiling http OutgoingMessage.swift
[336/360] Compiling http http.swift
[337/360] Compiling fs Path.swift
[338/360] Compiling fs PosixWrappers.swift
[339/360] Compiling fs AsyncWrapper.swift
[340/360] Emitting module http
[341/360] Emitting module fs
[344/360] Compiling fs fs.swift
[345/360] Compiling fs FileWriteStream.swift
[346/360] Compiling fs FileStream.swift
[347/360] Compiling http Agent.swift
[348/360] Compiling http ClientRequest.swift
[349/360] Compiling http Globals.swift
[350/360] Compiling http IncomingMessage.swift
[351/362] Compiling http ServerResponse.swift
[352/362] Compiling http QueryString.swift
[353/362] Compiling http HTTPHeadersHolder.swift
[354/362] Compiling http Server.swift
[361/372] Emitting module dotenv
[362/372] Compiling dotenv dotenv.swift
[363/377] Compiling connect ServeStatic.swift
[364/377] Compiling connect Session.swift
/Users/admin/builder/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: "/",
/Users/admin/builder/spi-builder-workspace/Sources/connect/Cookies.swift:146:15: note: consider making struct 'Cookie' conform to the 'Sendable' protocol
144 | import struct Foundation.Date
145 |
146 | public struct Cookie {
| `- note: consider making struct 'Cookie' conform to the 'Sendable' protocol
147 |
148 | public let name : String
/Users/admin/builder/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
/Users/admin/builder/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 | }
[365/377] Compiling connect Logger.swift
/Users/admin/builder/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
[366/377] Compiling connect MethodOverride.swift
/Users/admin/builder/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
[367/378] Compiling connect Cookies.swift
[368/378] Compiling connect CrossCompile.swift
[369/378] Emitting module connect
/Users/admin/builder/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 | }
/Users/admin/builder/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
/Users/admin/builder/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,
/Users/admin/builder/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: "/",
/Users/admin/builder/spi-builder-workspace/Sources/connect/Cookies.swift:146:15: note: consider making struct 'Cookie' conform to the 'Sendable' protocol
144 | import struct Foundation.Date
145 |
146 | public struct Cookie {
| `- note: consider making struct 'Cookie' conform to the 'Sendable' protocol
147 |
148 | public let name : String
/Users/admin/builder/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
/Users/admin/builder/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 | }
[370/378] Compiling connect Middleware.swift
[371/378] Compiling connect NoCache.swift
[372/378] Compiling connect QS.swift
/Users/admin/builder/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,
[373/378] Compiling connect Connect.swift
[374/378] Compiling connect CookieParser.swift
[375/378] Compiling connect Pause.swift
[376/378] Compiling connect BodyParser.swift
/Users/admin/builder/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 | }
[377/378] Compiling connect CORS.swift
/Users/admin/builder/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 | }
[378/378] Compiling connect TypeIs.swift
[379/410] Compiling multer IncomingMessageMulter.swift
/Users/admin/builder/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 | }
/Users/admin/builder/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
[380/410] Compiling multer Limits.swift
/Users/admin/builder/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 | }
/Users/admin/builder/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
[381/410] Compiling multer MulterStorage.swift
[382/411] Compiling multer DiskStorage.swift
[383/411] Compiling multer File.swift
[384/411] Emitting module multer
/Users/admin/builder/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 | }
/Users/admin/builder/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
[385/411] Compiling express RouteKeeper.swift
[386/411] Compiling express RouteMounts.swift
[387/411] Compiling express ServerResponse.swift
[388/411] Compiling express Settings.swift
[389/413] Compiling multer ProcessingContext.swift
[390/413] Compiling express MiddlewareObject.swift
[391/413] Compiling express Module.swift
[392/413] Compiling express Mustache.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/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 | if let error = err { return done(err) }
[393/413] Compiling express Render.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/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 | if let error = err { return done(err) }
[394/413] Compiling express RoutePattern.swift
[395/413] Compiling express Router.swift
[396/413] Compiling multer PartType.swift
[397/413] Compiling multer Multer.swift
[398/413] Compiling multer MultiPartParser.swift
[399/413] Compiling multer MulterError.swift
[400/413] Compiling multer MemoryStorage.swift
[401/413] Compiling multer Middleware.swift
[402/413] Compiling multer Utilities.swift
/Users/admin/builder/spi-builder-workspace/Sources/express/Express.swift:319: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
87 | * just like in Node.js.
88 | */
89 | open class Express: SettingsHolder, MountableMiddlewareObject, MiddlewareObject,
| `- note: class 'Express' does not conform to the 'Sendable' protocol
90 | RouteKeeper
91 | {
:
317 | /// A reference to the active application. Updated when subapps are triggered.
318 | enum App: EnvironmentKey {
319 | 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
320 | static let loggingKey = "app"
321 | }
/Users/admin/builder/spi-builder-workspace/Sources/express/Express.swift:325: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
323 | /// A reference to the request associated with a response.
324 | enum RequestKey: EnvironmentKey {
325 | 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
326 | static let loggingKey = "request"
327 | }
/Users/admin/builder/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 {
/Users/admin/builder/spi-builder-workspace/Sources/express/Express.swift:14:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'http'
12 | import protocol MacroCore.EnvironmentKey
13 | import struct MacroCore.EnvironmentValues
14 | import class http.IncomingMessage
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'http'
15 | import class http.ServerResponse
16 | import NIOConcurrencyHelpers
:
323 | /// A reference to the request associated with a response.
324 | enum RequestKey: EnvironmentKey {
325 | 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
326 | static let loggingKey = "request"
327 | }
/Users/admin/builder/spi-builder-workspace/Sources/express/Express.swift:331: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
329 | /// The active route.
330 | enum RouteKey: EnvironmentKey {
331 | 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
332 | static let loggingKey = "route"
333 | }
/Users/admin/builder/spi-builder-workspace/Sources/express/Route.swift:60:12: note: class 'Route' does not conform to the 'Sendable' protocol
58 | * and companions.
59 | */
60 | open class Route: MiddlewareObject, ErrorMiddlewareObject, RouteKeeper,
| `- note: class 'Route' does not conform to the 'Sendable' protocol
61 | CustomStringConvertible
62 | {
/Users/admin/builder/spi-builder-workspace/Sources/express/Express.swift:353: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
351 | enum Params: EnvironmentKey {
352 | // TBD: Should the value be `Any`?
353 | 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
354 | static let loggingKey = "params"
355 | }
/Users/admin/builder/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 ]
/Users/admin/builder/spi-builder-workspace/Sources/express/Express.swift:361: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
359 | */
360 | enum Query: EnvironmentKey {
361 | 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
362 | static let loggingKey = "query"
363 | }
/Users/admin/builder/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 ]
/Users/admin/builder/spi-builder-workspace/Sources/express/Express.swift:373: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
371 | */
372 | enum Locals: EnvironmentKey {
373 | 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
374 | static let loggingKey = "locals"
375 | }
/Users/admin/builder/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 ]
/Users/admin/builder/spi-builder-workspace/Sources/express/Express.swift:319: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
87 | * just like in Node.js.
88 | */
89 | open class Express: SettingsHolder, MountableMiddlewareObject, MiddlewareObject,
| `- note: class 'Express' does not conform to the 'Sendable' protocol
90 | RouteKeeper
91 | {
:
317 | /// A reference to the active application. Updated when subapps are triggered.
318 | enum App: EnvironmentKey {
319 | 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
320 | static let loggingKey = "app"
321 | }
/Users/admin/builder/spi-builder-workspace/Sources/express/Express.swift:325: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
323 | /// A reference to the request associated with a response.
324 | enum RequestKey: EnvironmentKey {
325 | 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
326 | static let loggingKey = "request"
327 | }
/Users/admin/builder/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 {
/Users/admin/builder/spi-builder-workspace/Sources/express/Express.swift:14:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'http'
12 | import protocol MacroCore.EnvironmentKey
13 | import struct MacroCore.EnvironmentValues
14 | import class http.IncomingMessage
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'http'
15 | import class http.ServerResponse
16 | import NIOConcurrencyHelpers
:
323 | /// A reference to the request associated with a response.
324 | enum RequestKey: EnvironmentKey {
325 | 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
326 | static let loggingKey = "request"
327 | }
/Users/admin/builder/spi-builder-workspace/Sources/express/Express.swift:331: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
329 | /// The active route.
330 | enum RouteKey: EnvironmentKey {
331 | 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
332 | static let loggingKey = "route"
333 | }
/Users/admin/builder/spi-builder-workspace/Sources/express/Route.swift:60:12: note: class 'Route' does not conform to the 'Sendable' protocol
58 | * and companions.
59 | */
60 | open class Route: MiddlewareObject, ErrorMiddlewareObject, RouteKeeper,
| `- note: class 'Route' does not conform to the 'Sendable' protocol
61 | CustomStringConvertible
62 | {
/Users/admin/builder/spi-builder-workspace/Sources/express/Express.swift:353: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
351 | enum Params: EnvironmentKey {
352 | // TBD: Should the value be `Any`?
353 | 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
354 | static let loggingKey = "params"
355 | }
/Users/admin/builder/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 ]
/Users/admin/builder/spi-builder-workspace/Sources/express/Express.swift:361: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
359 | */
360 | enum Query: EnvironmentKey {
361 | 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
362 | static let loggingKey = "query"
363 | }
/Users/admin/builder/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 ]
/Users/admin/builder/spi-builder-workspace/Sources/express/Express.swift:373: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
371 | */
372 | enum Locals: EnvironmentKey {
373 | 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
374 | static let loggingKey = "locals"
375 | }
/Users/admin/builder/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 ]
[407/413] Emitting module express
/Users/admin/builder/spi-builder-workspace/Sources/express/Express.swift:319: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
87 | * just like in Node.js.
88 | */
89 | open class Express: SettingsHolder, MountableMiddlewareObject, MiddlewareObject,
| `- note: class 'Express' does not conform to the 'Sendable' protocol
90 | RouteKeeper
91 | {
:
317 | /// A reference to the active application. Updated when subapps are triggered.
318 | enum App: EnvironmentKey {
319 | 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
320 | static let loggingKey = "app"
321 | }
/Users/admin/builder/spi-builder-workspace/Sources/express/Express.swift:325: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
323 | /// A reference to the request associated with a response.
324 | enum RequestKey: EnvironmentKey {
325 | 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
326 | static let loggingKey = "request"
327 | }
/Users/admin/builder/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 {
/Users/admin/builder/spi-builder-workspace/Sources/express/Express.swift:14:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'http'
12 | import protocol MacroCore.EnvironmentKey
13 | import struct MacroCore.EnvironmentValues
14 | import class http.IncomingMessage
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'http'
15 | import class http.ServerResponse
16 | import NIOConcurrencyHelpers
:
323 | /// A reference to the request associated with a response.
324 | enum RequestKey: EnvironmentKey {
325 | 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
326 | static let loggingKey = "request"
327 | }
/Users/admin/builder/spi-builder-workspace/Sources/express/Express.swift:331: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
329 | /// The active route.
330 | enum RouteKey: EnvironmentKey {
331 | 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
332 | static let loggingKey = "route"
333 | }
/Users/admin/builder/spi-builder-workspace/Sources/express/Route.swift:60:12: note: class 'Route' does not conform to the 'Sendable' protocol
58 | * and companions.
59 | */
60 | open class Route: MiddlewareObject, ErrorMiddlewareObject, RouteKeeper,
| `- note: class 'Route' does not conform to the 'Sendable' protocol
61 | CustomStringConvertible
62 | {
/Users/admin/builder/spi-builder-workspace/Sources/express/Express.swift:353: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
351 | enum Params: EnvironmentKey {
352 | // TBD: Should the value be `Any`?
353 | 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
354 | static let loggingKey = "params"
355 | }
/Users/admin/builder/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 ]
/Users/admin/builder/spi-builder-workspace/Sources/express/Express.swift:361: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
359 | */
360 | enum Query: EnvironmentKey {
361 | 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
362 | static let loggingKey = "query"
363 | }
/Users/admin/builder/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 ]
/Users/admin/builder/spi-builder-workspace/Sources/express/Express.swift:373: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
371 | */
372 | enum Locals: EnvironmentKey {
373 | 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
374 | static let loggingKey = "locals"
375 | }
/Users/admin/builder/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'
/Users/admin/builder/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 | if let error = err { return done(err) }
[410/413] Compiling express Route.swift
[411/413] Compiling express RouteFactories.swift
[412/413] Compiling express View.swift
[413/413] Compiling express dirname.swift
[414/415] Compiling MacroExpress MacroExpress.swift
[415/415] Emitting module MacroExpress
Build complete! (20.91s)
Build complete.
{
"dependencies" : [
{
"identity" : "macro",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.10",
"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" : "/Users/admin/builder/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",
"View.swift",
"dirname.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"
}
Done.