Build Information
Successful build of MacroExpress, reference develop (fd81ba
), with Swift 6.0 for macOS (SPM) on 14 Dec 2024 20:18:11 UTC.
Swift 6 data race errors: 14
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.2.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.59.0
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 fd81ba9 The settings engine returns `self` for chaining now
Cloned https://github.com/Macro-swift/MacroExpress.git
Revision (git rev-parse @):
fd81ba977ef4f1ccd9377fdc1fea88b80fa4032d
SUCCESS checkout https://github.com/Macro-swift/MacroExpress.git at develop
Fetching https://github.com/AlwaysRightInstitute/mustache.git
Fetching https://github.com/Macro-swift/Macro.git
[1/559] Fetching mustache
[29/2167] Fetching mustache, macro
Fetched https://github.com/AlwaysRightInstitute/mustache.git from cache (0.98s)
Fetched https://github.com/Macro-swift/Macro.git from cache (0.98s)
Computing version for https://github.com/AlwaysRightInstitute/mustache.git
Computed https://github.com/AlwaysRightInstitute/mustache.git at 1.0.2 (0.59s)
Computing version for https://github.com/Macro-swift/Macro.git
Computed https://github.com/Macro-swift/Macro.git at 1.0.3 (0.60s)
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-atomics.git
[1/1569] Fetching swift-atomics
[284/5296] Fetching swift-atomics, swift-log
[5297/77664] Fetching swift-atomics, swift-log, swift-nio
Fetched https://github.com/apple/swift-atomics.git from cache (3.96s)
Fetched https://github.com/apple/swift-log.git from cache (3.96s)
Fetched https://github.com/apple/swift-nio.git from cache (3.96s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (0.49s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.2 (0.46s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.77.0 (0.69s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-system.git
[1/3953] Fetching swift-system
[1780/19556] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (2.08s)
Fetched https://github.com/apple/swift-collections.git from cache (2.08s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.0 (0.47s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.4 (0.68s)
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.2.0
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.1.4
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.4.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.3
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.77.0
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-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.2
========================================
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.3",
"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.2.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.77.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-nio",
"dependencies": [
{
"identity": "swift-atomics",
"name": "swift-atomics",
"url": "https://github.com/apple/swift-atomics.git",
"version": "1.2.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-atomics",
"dependencies": [
]
},
{
"identity": "swift-collections",
"name": "swift-collections",
"url": "https://github.com/apple/swift-collections.git",
"version": "1.1.4",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-collections",
"dependencies": [
]
},
{
"identity": "swift-system",
"name": "swift-system",
"url": "https://github.com/apple/swift-system.git",
"version": "1.4.0",
"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.2",
"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/1291] Fetching macroexpress
Fetched https://github.com/Macro-swift/MacroExpress.git from cache (1.07s)
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.50s)
Fetched https://github.com/Macro-swift/Macro.git from cache (0.50s)
Computing version for https://github.com/AlwaysRightInstitute/mustache.git
Computed https://github.com/AlwaysRightInstitute/mustache.git at 1.0.2 (0.03s)
Computing version for https://github.com/Macro-swift/Macro.git
Computed https://github.com/Macro-swift/Macro.git at 1.0.3 (0.02s)
Fetching https://github.com/apple/swift-atomics.git from cache
Fetching https://github.com/apple/swift-log.git from cache
Fetching https://github.com/apple/swift-nio.git from cache
Fetched https://github.com/apple/swift-atomics.git from cache (0.47s)
Fetched https://github.com/apple/swift-nio.git from cache (0.86s)
Fetched https://github.com/apple/swift-log.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.2.0 (0.03s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.2 (0.02s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.77.0 (0.02s)
Fetching https://github.com/apple/swift-system.git from cache
Fetching https://github.com/apple/swift-collections.git from cache
Fetched https://github.com/apple/swift-system.git from cache (0.57s)
Fetched https://github.com/apple/swift-collections.git from cache (0.57s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.0 (0.02s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.4 (0.02s)
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.3
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.77.0
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.2.0
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.1.4
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.4.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.2
Creating working copy for https://github.com/Macro-swift/MacroExpress.git
Working copy of https://github.com/Macro-swift/MacroExpress.git resolved at develop (fd81ba9)
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.0
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.2",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Macro-swift/Macro.git"
},
{
"identity" : "mustache",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.2",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/AlwaysRightInstitute/mustache.git"
}
],
"manifest_display_name" : "MacroExpress",
"name" : "MacroExpress",
"path" : "/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"
],
"target_dependencies" : [
"connect",
"mime"
],
"type" : "library"
},
{
"c99name" : "dotenvTests",
"module_type" : "SwiftTarget",
"name" : "dotenvTests",
"path" : "Tests/dotenvTests",
"sources" : [
"XCTestManifests.swift",
"dotenvTests.swift"
],
"target_dependencies" : [
"dotenv"
],
"type" : "test"
},
{
"c99name" : "dotenv",
"module_type" : "SwiftTarget",
"name" : "dotenv",
"path" : "Sources/dotenv",
"product_dependencies" : [
"MacroCore",
"fs"
],
"product_memberships" : [
"MacroExpress",
"dotenv"
],
"sources" : [
"dotenv.swift"
],
"type" : "library"
},
{
"c99name" : "connect",
"module_type" : "SwiftTarget",
"name" : "connect",
"path" : "Sources/connect",
"product_dependencies" : [
"MacroCore",
"fs",
"http"
],
"product_memberships" : [
"MacroExpress",
"express",
"connect",
"multer"
],
"sources" : [
"BodyParser.swift",
"CORS.swift",
"Connect.swift",
"CookieParser.swift",
"Cookies.swift",
"CrossCompile.swift",
"Logger.swift",
"MethodOverride.swift",
"Middleware.swift",
"Pause.swift",
"QS.swift",
"ServeStatic.swift",
"Session.swift",
"TypeIs.swift"
],
"target_dependencies" : [
"mime"
],
"type" : "library"
},
{
"c99name" : "bodyParserTests",
"module_type" : "SwiftTarget",
"name" : "bodyParserTests",
"path" : "Tests/bodyParserTests",
"product_dependencies" : [
"Macro"
],
"sources" : [
"XCTestManifests.swift",
"bodyParserTests.swift"
],
"target_dependencies" : [
"connect"
],
"type" : "test"
},
{
"c99name" : "RouteTests",
"module_type" : "SwiftTarget",
"name" : "RouteTests",
"path" : "Tests/RouteTests",
"product_dependencies" : [
"MacroTestUtilities"
],
"sources" : [
"ErrorMiddlewareTests.swift",
"RouteMountingTests.swift",
"SimpleRouteTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"express"
],
"type" : "test"
},
{
"c99name" : "MacroExpress",
"module_type" : "SwiftTarget",
"name" : "MacroExpress",
"path" : "Sources/MacroExpress",
"product_dependencies" : [
"MacroCore",
"fs",
"http",
"xsys"
],
"product_memberships" : [
"MacroExpress"
],
"sources" : [
"MacroExpress.swift"
],
"target_dependencies" : [
"dotenv",
"mime",
"connect",
"express",
"multer"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.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/38] Write sources
[8/38] Copying PrivacyInfo.xcprivacy
[8/38] Write sources
[24/38] Compiling CNIOWindows shim.c
[24/38] Compiling CNIOWindows WSAStartup.c
[26/38] Compiling CNIOWASI CNIOWASI.c
[27/38] Compiling CNIOLinux shim.c
[27/38] Write sources
[29/38] Compiling CNIOLinux liburing_shims.c
[30/38] Write swift-version-5BDAB9E9C0126B9D.txt
[31/56] Compiling _AtomicsShims.c
[32/58] Compiling CNIOLLHTTP c_nio_http.c
[33/69] Compiling CNIOLLHTTP c_nio_api.c
[34/74] Compiling CNIOLLHTTP c_nio_llhttp.c
[35/92] Compiling CNIODarwin shim.c
[36/111] Compiling c-nioatomics.c
[37/111] Compiling c-atomics.c
[39/117] Emitting module _NIOBase64
[40/117] Compiling _NIOBase64 Base64.swift
[41/117] Emitting module InternalCollectionsUtilities
[42/118] Compiling _NIODataStructures PriorityQueue.swift
[43/118] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[44/118] Compiling Logging Locks.swift
[45/118] Emitting module Logging
[46/118] Compiling Atomics ManagedAtomic.swift
[47/118] Compiling Atomics ManagedAtomicLazyReference.swift
[48/118] Compiling Atomics AtomicMemoryOrderings.swift
[49/118] Compiling Atomics DoubleWord.swift
[50/118] Compiling Atomics UnsafeAtomic.swift
[51/118] Compiling Atomics UnsafeAtomicLazyReference.swift
[52/118] Compiling Atomics Primitives.shims.swift
[53/118] Compiling Atomics AtomicInteger.swift
[54/118] Compiling Atomics AtomicOptionalWrappable.swift
[55/118] Compiling Atomics AtomicReference.swift
[56/120] Compiling _NIODataStructures Heap.swift
[57/120] Emitting module _NIODataStructures
[58/120] Compiling _NIODataStructures _TinyArray.swift
[59/120] Compiling Atomics IntegerOperations.swift
[60/120] Compiling Atomics Unmanaged extensions.swift
[61/120] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[68/120] Compiling Atomics AtomicBool.swift
[69/120] Compiling Atomics IntegerConformances.swift
[70/120] Compiling Atomics PointerConformances.swift
[71/120] Compiling Atomics Primitives.native.swift
[72/120] Compiling Atomics AtomicStorage.swift
[73/120] Compiling Atomics AtomicValue.swift
[76/120] Compiling Atomics OptionalRawRepresentable.swift
[77/120] Compiling Atomics RawRepresentable.swift
[78/120] Compiling xsys time.swift
[79/120] Compiling xsys timespec.swift
[80/137] Compiling DequeModule Deque._UnsafeHandle.swift
[81/137] Compiling DequeModule Deque.swift
[82/137] Compiling DequeModule _DequeBuffer.swift
[83/138] Compiling xsys socket.swift
[84/138] Compiling Logging MetadataProvider.swift
[85/138] Compiling Logging Logging.swift
[86/138] Compiling Logging LogHandler.swift
[87/138] Compiling DequeModule Deque+CustomReflectable.swift
[88/138] Compiling DequeModule Deque+Descriptions.swift
[89/138] Compiling xsys sockaddr_any.swift
[90/138] Compiling xsys ntohs.swift
[91/138] Compiling DequeModule Deque+Testing.swift
[92/138] Compiling DequeModule Deque._Storage.swift
[93/138] Compiling xsys timeval_any.swift
[94/138] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[95/138] Compiling NIOConcurrencyHelpers lock.swift
[96/138] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[97/138] Compiling NIOConcurrencyHelpers NIOLock.swift
[98/138] Compiling NIOConcurrencyHelpers atomics.swift
[99/138] Emitting module NIOConcurrencyHelpers
[100/138] Compiling DequeModule _UnsafeWrappedBuffer.swift
[101/138] Compiling DequeModule _DequeSlot.swift
[102/138] Compiling DequeModule _DequeBufferHeader.swift
[103/138] Compiling DequeModule Deque+Extras.swift
[104/138] Compiling DequeModule Deque+Hashable.swift
[109/138] Compiling DequeModule Deque+Codable.swift
[110/138] Compiling DequeModule Deque+Collection.swift
[113/138] Compiling DequeModule Deque+Equatable.swift
[114/138] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[115/138] Emitting module DequeModule
[120/138] Emitting module Atomics
[125/200] Compiling NIOCore AddressedEnvelope.swift
[126/200] Compiling NIOCore AsyncAwaitSupport.swift
[127/200] Emitting module xsys
[128/200] Compiling Mustache MustacheRenderingContext.swift
[129/200] Compiling Mustache MustacheRendering.swift
[130/200] Compiling Mustache MustacheNode.swift
[131/200] Compiling Mustache MustacheParser.swift
[132/200] Compiling Mustache Mustachable.swift
[133/200] Compiling Mustache HTMLEscape.swift
[134/200] Compiling Mustache Helpers.swift
[135/200] Emitting module Mustache
[136/200] Compiling Mustache SimpleKVC.swift
[137/200] Compiling mime MIME.swift
[138/200] Emitting module mime
[139/200] Compiling NIOCore NIOScheduledCallback.swift
[140/200] Compiling NIOCore NIOSendable.swift
[141/200] Compiling NIOCore PointerHelpers.swift
[142/200] Compiling NIOCore RecvByteBufferAllocator.swift
[143/200] Compiling NIOCore SingleStepByteToMessageDecoder.swift
[144/200] Compiling NIOCore SocketAddresses.swift
[145/206] Compiling NIOCore EventLoopFuture+AssumeIsolated.swift
[146/206] Compiling NIOCore EventLoopFuture+Deprecated.swift
[147/206] Compiling NIOCore EventLoopFuture+WithEventLoop.swift
[148/206] Compiling NIOCore EventLoopFuture.swift
[149/206] Compiling NIOCore FileDescriptor.swift
[150/206] Compiling NIOCore FileHandle.swift
[151/206] Compiling NIOCore FileRegion.swift
[154/206] Compiling NIOCore AsyncChannel.swift
[155/206] Compiling NIOCore AsyncChannelHandler.swift
[156/206] Compiling NIOCore AsyncChannelInboundStream.swift
[157/206] Compiling NIOCore AsyncChannelOutboundWriter.swift
[158/206] Compiling NIOCore NIOAsyncSequenceProducer.swift
[159/206] Compiling NIOCore SocketOptionProvider.swift
[160/206] Compiling NIOCore SystemCallHelpers.swift
[161/206] Compiling NIOCore TimeAmount+Duration.swift
[162/206] Compiling NIOCore TypeAssistedChannelHandler.swift
[163/206] Compiling NIOCore UniversalBootstrapSupport.swift
[164/206] Compiling NIOCore Utilities.swift
[165/206] Compiling NIOCore GlobalSingletons.swift
[166/206] Compiling NIOCore IO.swift
[167/206] Compiling NIOCore IOData.swift
[168/206] Compiling NIOCore IPProtocol.swift
[169/206] Compiling NIOCore IntegerBitPacking.swift
[170/206] Compiling NIOCore IntegerTypes.swift
[171/206] Compiling NIOCore Interfaces.swift
[172/206] Compiling NIOCore Channel.swift
[173/206] Compiling NIOCore ChannelHandler.swift
[174/206] Compiling NIOCore ChannelHandlers.swift
[175/206] Compiling NIOCore ChannelInvoker.swift
[176/206] Compiling NIOCore ChannelOption.swift
[177/206] Compiling NIOCore ChannelPipeline.swift
[178/206] Compiling NIOCore CircularBuffer.swift
[179/206] Compiling NIOCore Linux.swift
[180/206] Compiling NIOCore MarkedCircularBuffer.swift
[181/206] Compiling NIOCore MulticastChannel.swift
[182/206] Compiling NIOCore NIOAny.swift
[183/206] Compiling NIOCore NIOCloseOnErrorHandler.swift
[184/206] Compiling NIOCore NIOLoopBound.swift
[185/206] Compiling NIOCore Codec.swift
[186/206] Compiling NIOCore ConvenienceOptionSupport.swift
[187/206] Compiling NIOCore DeadChannel.swift
[188/206] Compiling NIOCore DispatchQueue+WithFuture.swift
[189/206] Compiling NIOCore EventLoop+Deprecated.swift
[190/206] Compiling NIOCore EventLoop+SerialExecutor.swift
[191/206] Compiling NIOCore EventLoop.swift
[192/206] Compiling NIOCore NIOAsyncSequenceProducerStrategies.swift
[193/206] Compiling NIOCore NIOAsyncWriter.swift
[194/206] Compiling NIOCore NIOThrowingAsyncSequenceProducer.swift
[195/206] Compiling NIOCore BSDSocketAPI.swift
[196/206] Compiling NIOCore ByteBuffer-aux.swift
[197/206] Compiling NIOCore ByteBuffer-binaryEncodedLengthPrefix.swift
[198/206] Compiling NIOCore ByteBuffer-conversions.swift
[199/206] Compiling NIOCore ByteBuffer-core.swift
[200/206] Compiling NIOCore ByteBuffer-hex.swift
[201/206] Compiling NIOCore ByteBuffer-int.swift
[202/206] Compiling NIOCore ByteBuffer-lengthPrefix.swift
[203/206] Compiling NIOCore ByteBuffer-multi-int.swift
[204/206] Compiling NIOCore ByteBuffer-quicBinaryEncodingStrategy.swift
[205/206] Compiling NIOCore ByteBuffer-views.swift
[206/206] Emitting module NIOCore
[207/260] Compiling NIOEmbedded AsyncTestingEventLoop.swift
[208/260] Compiling NIOEmbedded AsyncTestingChannel.swift
[209/260] Emitting module NIOEmbedded
[210/260] Compiling NIOEmbedded Embedded.swift
[211/260] Compiling NIOPosix PendingWritesManager.swift
[212/260] Compiling NIOPosix PipeChannel.swift
[213/260] Compiling NIOPosix PipePair.swift
[214/260] Compiling NIOPosix PointerHelpers.swift
[215/260] Compiling NIOPosix Pool.swift
[216/265] Compiling NIOPosix Selectable.swift
[217/265] Compiling NIOPosix SelectableChannel.swift
[218/265] Compiling NIOPosix SelectableEventLoop.swift
[219/265] Compiling NIOPosix SelectorEpoll.swift
[220/265] Compiling NIOPosix SelectorGeneric.swift
[221/265] Compiling NIOPosix UnsafeTransfer.swift
[222/265] Compiling NIOPosix Utilities.swift
[223/265] Compiling NIOPosix VsockAddress.swift
[224/265] Compiling NIOPosix VsockChannelEvents.swift
[225/265] Compiling NIOPosix resource_bundle_accessor.swift
[226/265] Compiling NIOPosix BaseStreamSocketChannel.swift
[227/265] Compiling NIOPosix Bootstrap.swift
[228/265] Compiling NIOPosix ControlMessage.swift
[229/265] Compiling NIOPosix DatagramVectorReadManager.swift
[230/265] Compiling NIOPosix Errors+Any.swift
[231/265] Compiling NIOPosix FileDescriptor.swift
[232/265] Emitting module NIOPosix
[233/265] Compiling NIOPosix BSDSocketAPICommon.swift
[234/265] Compiling NIOPosix BSDSocketAPIPosix.swift
[235/265] Compiling NIOPosix BSDSocketAPIWindows.swift
[236/265] Compiling NIOPosix BaseSocket.swift
[237/265] Compiling NIOPosix BaseSocketChannel+SocketOptionProvider.swift
[238/265] Compiling NIOPosix BaseSocketChannel.swift
[239/265] Compiling NIOPosix SelectorKqueue.swift
[240/265] Compiling NIOPosix SelectorUring.swift
[241/265] Compiling NIOPosix ServerSocket.swift
[242/265] Compiling NIOPosix Socket.swift
[243/265] Compiling NIOPosix SocketChannel.swift
[244/265] Compiling NIOPosix PooledRecvBufferAllocator.swift
[245/265] Compiling NIOPosix PosixSingletons+ConcurrencyTakeOver.swift
[246/265] Compiling NIOPosix PosixSingletons.swift
[247/265] Compiling NIOPosix RawSocketBootstrap.swift
[248/265] Compiling NIOPosix Resolver.swift
[249/265] Compiling NIOPosix LinuxCPUSet.swift
[250/265] Compiling NIOPosix LinuxUring.swift
[251/265] Compiling NIOPosix MultiThreadedEventLoopGroup.swift
[252/265] Compiling NIOPosix NIOThreadPool.swift
[253/265] Compiling NIOPosix NonBlockingFileIO.swift
[254/265] Compiling NIOPosix PendingDatagramWritesManager.swift
[255/265] Compiling NIOPosix GetaddrinfoResolver.swift
[256/265] Compiling NIOPosix HappyEyeballs.swift
[257/265] Compiling NIOPosix IO.swift
[258/265] Compiling NIOPosix IntegerBitPacking.swift
[259/265] Compiling NIOPosix IntegerTypes.swift
[260/265] Compiling NIOPosix Linux.swift
[261/265] Compiling NIOPosix SocketProtocols.swift
[262/265] Compiling NIOPosix System.swift
[263/265] Compiling NIOPosix Thread.swift
[264/265] Compiling NIOPosix ThreadPosix.swift
[265/265] Compiling NIOPosix ThreadWindows.swift
[266/267] Compiling NIO Exports.swift
[267/267] Emitting module NIO
[268/289] Compiling NIOFoundationCompat WaitSpinningRunLoop.swift
[269/289] Compiling NIOFoundationCompat Codable+ByteBuffer.swift
[270/289] Compiling NIOFoundationCompat JSONSerialization+ByteBuffer.swift
[271/289] Compiling NIOHTTP1 NIOTypedHTTPClientUpgraderStateMachine.swift
[272/289] Compiling NIOHTTP1 NIOTypedHTTPServerUpgradeHandler.swift
[273/290] Emitting module NIOFoundationCompat
[274/290] Compiling NIOFoundationCompat ByteBuffer-foundation.swift
[275/290] Compiling NIOHTTP1 NIOHTTPObjectAggregator.swift
[276/290] Compiling NIOHTTP1 NIOTypedHTTPClientUpgradeHandler.swift
[277/290] Compiling NIOHTTP1 HTTPServerPipelineHandler.swift
[278/290] Compiling NIOHTTP1 HTTPServerProtocolErrorHandler.swift
[279/328] Compiling NIOHTTP1 NIOTypedHTTPServerUpgraderStateMachine.swift
[280/328] Emitting module NIOHTTP1
[281/328] Compiling MacroCore NextTick.swift
[282/328] Compiling MacroCore CommandLine.swift
[283/328] Compiling MacroCore BufferStrings.swift
[284/328] Compiling MacroCore MacroError.swift
[285/328] Compiling MacroCore BufferDeprecations.swift
[286/328] Compiling MacroCore BufferHexEncoding.swift
[287/328] Compiling MacroCore DetectXcode.swift
[288/328] Compiling MacroCore ErrorEmitter.swift
[289/328] Compiling MacroCore Buffer.swift
[290/328] Compiling MacroCore BufferData.swift
[295/332] Compiling MacroCore StringStubs.swift
[296/332] Compiling MacroCore ToString.swift
[297/332] Compiling MacroCore LeftPad.swift
[298/332] Compiling MacroCore MacroCore.swift
[299/332] Compiling MacroCore ReadableByteStreamType.swift
[300/332] Compiling MacroCore ReadableStreamBase.swift
[301/332] Compiling MacroCore ReadableStreamType.swift
[302/332] Compiling MacroCore WritableByteStream.swift
[303/332] Compiling MacroCore Concat.swift
[304/332] Compiling MacroCore DuplexStreamType.swift
[305/332] Compiling MacroCore Pipe.swift
[306/332] Compiling MacroCore ReadableByteStream.swift
[308/332] Compiling MacroCore EventListenerSet.swift
[309/332] Compiling MacroCore ListenerType.swift
[310/332] Compiling MacroCore JSError.swift
[311/332] Compiling MacroCore Environment.swift
[312/332] Compiling MacroCore Process.swift
[313/332] Compiling MacroCore Warnings.swift
[314/332] Compiling MacroCore Regex.swift
[315/332] Compiling MacroCore CollectionUtils.swift
[316/332] Compiling MacroCore Console.swift
[317/332] Compiling MacroCore Dirname.swift
[318/332] Compiling MacroCore EnvironmentValues.swift
[319/332] Compiling MacroCore JSON.swift
[320/332] Compiling MacroCore CollectionStubs.swift
[321/332] Compiling MacroCore Math.swift
[322/332] Compiling MacroCore Object.swift
[328/332] Compiling MacroCore WritableByteStreamType.swift
[329/332] Compiling MacroCore WritableStreamBase.swift
[330/332] Compiling MacroCore WritableStreamType.swift
[331/332] Compiling MacroCore StringEncoding.swift
[332/332] Emitting module MacroCore
[333/360] Compiling fs AsyncWrapper.swift
[334/360] Compiling fs ResultExtensions.swift
[335/360] Compiling fs StatStruct.swift
[336/361] Compiling http OutgoingMessage.swift
[337/362] Compiling http http.swift
[338/362] Compiling fs fs.swift
[339/362] Compiling http HTTPHeadersHolder.swift
[340/362] Compiling http ServerResponse.swift
[341/362] Compiling fs FileStream.swift
[342/362] Compiling http URLSessionClientRequest.swift
[343/362] Compiling http BasicAuth.swift
[344/362] Compiling fs Path.swift
[345/362] Compiling fs PosixWrappers.swift
[346/362] Compiling fs FileWriteStream.swift
[347/362] Compiling fs File.swift
[348/362] Compiling fs JSONFile.swift
[349/362] Compiling http Globals.swift
[350/362] Compiling http IncomingMessage.swift
[351/362] Emitting module fs
[354/364] Compiling http QueryString.swift
[361/364] Compiling http Server.swift
[362/364] Emitting module http
[363/378] Emitting module dotenv
[364/378] Compiling dotenv dotenv.swift
[365/378] Compiling connect Pause.swift
[366/379] Compiling connect TypeIs.swift
[367/379] Compiling connect ServeStatic.swift
[368/379] 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(name: "NzSID", maxAge: 3600)
| |- warning: let 'sessionIdCookie' is not concurrency-safe because non-'Sendable' type 'Cookie' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sessionIdCookie' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |
18 | fileprivate var sessionIdCounter = 0
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/connect/Session.swift:18:17: warning: var 'sessionIdCounter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 | fileprivate let sessionIdCookie = Cookie(name: "NzSID", maxAge: 3600)
17 |
18 | fileprivate var sessionIdCounter = 0
| |- warning: var 'sessionIdCounter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'sessionIdCounter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'sessionIdCounter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | public typealias SessionIdGenerator = ( IncomingMessage ) -> String
/Users/admin/builder/spi-builder-workspace/Sources/connect/Session.swift:177:14: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Session?' may have shared mutable state; this is an error in the Swift 6 language mode
140 | // MARK: - Session Class
141 |
142 | public class Session {
| `- note: class 'Session' does not conform to the 'Sendable' protocol
143 | // Reference type, so that we can do stuff like:
144 | //
:
175 |
176 | private enum SessionKey: EnvironmentKey {
177 | static let defaultValue : Session? = nil
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Session?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
178 | static let loggingKey = "session"
179 | }
[369/379] Compiling connect Cookies.swift
/Users/admin/builder/spi-builder-workspace/Sources/connect/CrossCompile.swift:71:28: warning: reference to var 'mach_task_self_' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
69 | host_get_clock_service(mach_host_self(), SYSTEM_CLOCK, &cclock);
70 | clock_get_time(cclock, &mts);
71 | mach_port_deallocate(mach_task_self_, cclock);
| `- warning: reference to var 'mach_task_self_' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
72 |
73 | return timespec(mts)
Darwin.mach_task_self_:1:12: note: var declared here
1 | public var mach_task_self_: mach_port_t
| `- note: var declared here
[370/379] Compiling connect CrossCompile.swift
/Users/admin/builder/spi-builder-workspace/Sources/connect/CrossCompile.swift:71:28: warning: reference to var 'mach_task_self_' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
69 | host_get_clock_service(mach_host_self(), SYSTEM_CLOCK, &cclock);
70 | clock_get_time(cclock, &mts);
71 | mach_port_deallocate(mach_task_self_, cclock);
| `- warning: reference to var 'mach_task_self_' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
72 |
73 | return timespec(mts)
Darwin.mach_task_self_:1:12: note: var declared here
1 | public var mach_task_self_: mach_port_t
| `- note: var declared here
[371/379] 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: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
373 | static let loggingKey = "body"
374 | }
[372/379] 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: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
373 | static let loggingKey = "body"
374 | }
[373/379] Compiling connect Middleware.swift
[374/379] 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: annotate 'urlPadLen' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
158 | var paddedURL : String {
159 | let url = req.url
[375/379] 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: annotate 'urlPadLen' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
158 | var paddedURL : String {
159 | let url = req.url
[376/379] Compiling connect Connect.swift
[377/379] Compiling connect CookieParser.swift
[378/379] 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: annotate 'sparseArrayDefaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 | static func parse(_ string : String,
[379/379] 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: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'urlPadLen' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'sparseArrayDefaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- 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(name: "NzSID", maxAge: 3600)
| |- warning: let 'sessionIdCookie' is not concurrency-safe because non-'Sendable' type 'Cookie' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sessionIdCookie' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |
18 | fileprivate var sessionIdCounter = 0
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/connect/Session.swift:18:17: warning: var 'sessionIdCounter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 | fileprivate let sessionIdCookie = Cookie(name: "NzSID", maxAge: 3600)
17 |
18 | fileprivate var sessionIdCounter = 0
| |- warning: var 'sessionIdCounter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'sessionIdCounter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'sessionIdCounter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | public typealias SessionIdGenerator = ( IncomingMessage ) -> String
/Users/admin/builder/spi-builder-workspace/Sources/connect/Session.swift:177:14: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Session?' may have shared mutable state; this is an error in the Swift 6 language mode
140 | // MARK: - Session Class
141 |
142 | public class Session {
| `- note: class 'Session' does not conform to the 'Sendable' protocol
143 | // Reference type, so that we can do stuff like:
144 | //
:
175 |
176 | private enum SessionKey: EnvironmentKey {
177 | static let defaultValue : Session? = nil
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Session?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
178 | static let loggingKey = "session"
179 | }
[380/410] Compiling multer PartType.swift
[381/411] Compiling express ServerResponse.swift
[382/412] Compiling express IncomingMessage.swift
[383/412] Compiling express JSON.swift
[384/412] Compiling express RouteKeeper.swift
[385/412] Compiling express RouteMounts.swift
[386/412] Compiling express RoutePattern.swift
[387/412] Compiling express Router.swift
[388/412] Compiling multer Utilities.swift
[389/412] Compiling express Settings.swift
[390/412] Compiling multer MulterStorage.swift
[391/412] Compiling multer MulterError.swift
[392/412] Compiling multer ProcessingContext.swift
[393/412] Compiling multer Multer.swift
[396/412] 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: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- 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:13:15: note: class 'File' does not conform to the 'Sendable' protocol
11 | public extension multer {
12 |
13 | final class File: Equatable {
| `- note: class 'File' does not conform to the 'Sendable' protocol
14 |
15 | /// Name in form field
[397/412] 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: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- 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:13:15: note: class 'File' does not conform to the 'Sendable' protocol
11 | public extension multer {
12 |
13 | final class File: Equatable {
| `- note: class 'File' does not conform to the 'Sendable' protocol
14 |
15 | /// Name in form field
[398/412] 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: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- 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:13:15: note: class 'File' does not conform to the 'Sendable' protocol
11 | public extension multer {
12 |
13 | final class File: Equatable {
| `- note: class 'File' does not conform to the 'Sendable' protocol
14 |
15 | /// Name in form field
[399/412] Compiling express BasicAuth.swift
[400/412] Compiling express ErrorMiddleware.swift
[401/412] Compiling multer MultiPartParser.swift
[404/412] 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: annotate 'mustacheExpress' with '@MainActor' if property should only be accessed from the main actor
| `- 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 {
[405/412] 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: annotate 'mustacheExpress' with '@MainActor' if property should only be accessed from the main actor
| `- 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 {
[406/412] Compiling express Express.swift
/Users/admin/builder/spi-builder-workspace/Sources/express/Express.swift:299:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Express?' may have shared mutable state; this is an error in the Swift 6 language mode
75 | *
76 | */
77 | open class Express: SettingsHolder, MountableMiddlewareObject, MiddlewareObject,
| `- note: class 'Express' does not conform to the 'Sendable' protocol
78 | RouteKeeper
79 | {
:
297 | /// A reference to the active application. Updated when subapps are triggered.
298 | enum App: EnvironmentKey {
299 | static let defaultValue : Express? = nil
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Express?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
300 | static let loggingKey = "app"
301 | }
/Users/admin/builder/spi-builder-workspace/Sources/express/Express.swift:305:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'IncomingMessage?' may have shared mutable state; this is an error in the Swift 6 language mode
303 | /// A reference to the request associated with a response.
304 | enum RequestKey: EnvironmentKey {
305 | static let defaultValue : IncomingMessage? = nil
| `- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'IncomingMessage?' may have shared mutable state; this is an error in the Swift 6 language mode
306 | static let loggingKey = "request"
307 | }
/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:13:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'http'
11 | import enum MacroCore.EventListenerSet
12 | import protocol MacroCore.EnvironmentKey
13 | import class http.IncomingMessage
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'http'
14 | import class http.ServerResponse
15 |
:
303 | /// A reference to the request associated with a response.
304 | enum RequestKey: EnvironmentKey {
305 | static let defaultValue : IncomingMessage? = nil
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
306 | static let loggingKey = "request"
307 | }
/Users/admin/builder/spi-builder-workspace/Sources/express/Express.swift:311:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Route?' may have shared mutable state; this is an error in the Swift 6 language mode
309 | /// The active route.
310 | enum RouteKey: EnvironmentKey {
311 | static let defaultValue : Route? = nil
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Route?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
312 | static let loggingKey = "route"
313 | }
/Users/admin/builder/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 | {
/Users/admin/builder/spi-builder-workspace/Sources/express/Express.swift:333:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'IncomingMessage.Params' (aka 'ExpressWrappedDictionary<String>') may have shared mutable state; this is an error in the Swift 6 language mode
331 | enum Params: EnvironmentKey {
332 | // TBD: Should the value be `Any`?
333 | static let defaultValue = IncomingMessage.Params([:])
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'IncomingMessage.Params' (aka 'ExpressWrappedDictionary<String>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
334 | static let loggingKey = "params"
335 | }
/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:341:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'IncomingMessage.Query?' (aka 'Optional<ExpressWrappedDictionary<Any>>') may have shared mutable state; this is an error in the Swift 6 language mode
339 | */
340 | enum Query: EnvironmentKey {
341 | static let defaultValue : IncomingMessage.Query? = nil
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'IncomingMessage.Query?' (aka 'Optional<ExpressWrappedDictionary<Any>>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
342 | static let loggingKey = "query"
343 | }
/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:353:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ServerResponse.Locals' (aka 'ExpressWrappedDictionary<Any>') may have shared mutable state; this is an error in the Swift 6 language mode
351 | */
352 | enum Locals: EnvironmentKey {
353 | static let defaultValue : ServerResponse.Locals = .init([:])
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ServerResponse.Locals' (aka 'ExpressWrappedDictionary<Any>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
354 | static let loggingKey = "locals"
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 ]
<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: annotate 'mustacheExpress' with '@MainActor' if property should only be accessed from the main actor
| `- 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 {
[407/412] Compiling express ExpressWrappedDictionary.swift
/Users/admin/builder/spi-builder-workspace/Sources/express/Express.swift:299:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Express?' may have shared mutable state; this is an error in the Swift 6 language mode
75 | *
76 | */
77 | open class Express: SettingsHolder, MountableMiddlewareObject, MiddlewareObject,
| `- note: class 'Express' does not conform to the 'Sendable' protocol
78 | RouteKeeper
79 | {
:
297 | /// A reference to the active application. Updated when subapps are triggered.
298 | enum App: EnvironmentKey {
299 | static let defaultValue : Express? = nil
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Express?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
300 | static let loggingKey = "app"
301 | }
/Users/admin/builder/spi-builder-workspace/Sources/express/Express.swift:305:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'IncomingMessage?' may have shared mutable state; this is an error in the Swift 6 language mode
303 | /// A reference to the request associated with a response.
304 | enum RequestKey: EnvironmentKey {
305 | static let defaultValue : IncomingMessage? = nil
| `- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'IncomingMessage?' may have shared mutable state; this is an error in the Swift 6 language mode
306 | static let loggingKey = "request"
307 | }
/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:13:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'http'
11 | import enum MacroCore.EventListenerSet
12 | import protocol MacroCore.EnvironmentKey
13 | import class http.IncomingMessage
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'http'
14 | import class http.ServerResponse
15 |
:
303 | /// A reference to the request associated with a response.
304 | enum RequestKey: EnvironmentKey {
305 | static let defaultValue : IncomingMessage? = nil
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
306 | static let loggingKey = "request"
307 | }
/Users/admin/builder/spi-builder-workspace/Sources/express/Express.swift:311:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Route?' may have shared mutable state; this is an error in the Swift 6 language mode
309 | /// The active route.
310 | enum RouteKey: EnvironmentKey {
311 | static let defaultValue : Route? = nil
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Route?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
312 | static let loggingKey = "route"
313 | }
/Users/admin/builder/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 | {
/Users/admin/builder/spi-builder-workspace/Sources/express/Express.swift:333:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'IncomingMessage.Params' (aka 'ExpressWrappedDictionary<String>') may have shared mutable state; this is an error in the Swift 6 language mode
331 | enum Params: EnvironmentKey {
332 | // TBD: Should the value be `Any`?
333 | static let defaultValue = IncomingMessage.Params([:])
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'IncomingMessage.Params' (aka 'ExpressWrappedDictionary<String>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
334 | static let loggingKey = "params"
335 | }
/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:341:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'IncomingMessage.Query?' (aka 'Optional<ExpressWrappedDictionary<Any>>') may have shared mutable state; this is an error in the Swift 6 language mode
339 | */
340 | enum Query: EnvironmentKey {
341 | static let defaultValue : IncomingMessage.Query? = nil
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'IncomingMessage.Query?' (aka 'Optional<ExpressWrappedDictionary<Any>>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
342 | static let loggingKey = "query"
343 | }
/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:353:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ServerResponse.Locals' (aka 'ExpressWrappedDictionary<Any>') may have shared mutable state; this is an error in the Swift 6 language mode
351 | */
352 | enum Locals: EnvironmentKey {
353 | static let defaultValue : ServerResponse.Locals = .init([:])
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ServerResponse.Locals' (aka 'ExpressWrappedDictionary<Any>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
354 | static let loggingKey = "locals"
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 ]
<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: annotate 'mustacheExpress' with '@MainActor' if property should only be accessed from the main actor
| `- 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 {
[410/412] Compiling express Route.swift
[411/412] Compiling express RouteFactories.swift
[412/412] Emitting module express
/Users/admin/builder/spi-builder-workspace/Sources/express/Express.swift:299:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Express?' may have shared mutable state; this is an error in the Swift 6 language mode
75 | *
76 | */
77 | open class Express: SettingsHolder, MountableMiddlewareObject, MiddlewareObject,
| `- note: class 'Express' does not conform to the 'Sendable' protocol
78 | RouteKeeper
79 | {
:
297 | /// A reference to the active application. Updated when subapps are triggered.
298 | enum App: EnvironmentKey {
299 | static let defaultValue : Express? = nil
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Express?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
300 | static let loggingKey = "app"
301 | }
/Users/admin/builder/spi-builder-workspace/Sources/express/Express.swift:305:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'IncomingMessage?' may have shared mutable state; this is an error in the Swift 6 language mode
303 | /// A reference to the request associated with a response.
304 | enum RequestKey: EnvironmentKey {
305 | static let defaultValue : IncomingMessage? = nil
| `- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'IncomingMessage?' may have shared mutable state; this is an error in the Swift 6 language mode
306 | static let loggingKey = "request"
307 | }
/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:13:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'http'
11 | import enum MacroCore.EventListenerSet
12 | import protocol MacroCore.EnvironmentKey
13 | import class http.IncomingMessage
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'http'
14 | import class http.ServerResponse
15 |
:
303 | /// A reference to the request associated with a response.
304 | enum RequestKey: EnvironmentKey {
305 | static let defaultValue : IncomingMessage? = nil
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
306 | static let loggingKey = "request"
307 | }
/Users/admin/builder/spi-builder-workspace/Sources/express/Express.swift:311:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Route?' may have shared mutable state; this is an error in the Swift 6 language mode
309 | /// The active route.
310 | enum RouteKey: EnvironmentKey {
311 | static let defaultValue : Route? = nil
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Route?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
312 | static let loggingKey = "route"
313 | }
/Users/admin/builder/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 | {
/Users/admin/builder/spi-builder-workspace/Sources/express/Express.swift:333:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'IncomingMessage.Params' (aka 'ExpressWrappedDictionary<String>') may have shared mutable state; this is an error in the Swift 6 language mode
331 | enum Params: EnvironmentKey {
332 | // TBD: Should the value be `Any`?
333 | static let defaultValue = IncomingMessage.Params([:])
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'IncomingMessage.Params' (aka 'ExpressWrappedDictionary<String>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
334 | static let loggingKey = "params"
335 | }
/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:341:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'IncomingMessage.Query?' (aka 'Optional<ExpressWrappedDictionary<Any>>') may have shared mutable state; this is an error in the Swift 6 language mode
339 | */
340 | enum Query: EnvironmentKey {
341 | static let defaultValue : IncomingMessage.Query? = nil
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'IncomingMessage.Query?' (aka 'Optional<ExpressWrappedDictionary<Any>>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
342 | static let loggingKey = "query"
343 | }
/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:353:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ServerResponse.Locals' (aka 'ExpressWrappedDictionary<Any>') may have shared mutable state; this is an error in the Swift 6 language mode
351 | */
352 | enum Locals: EnvironmentKey {
353 | static let defaultValue : ServerResponse.Locals = .init([:])
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ServerResponse.Locals' (aka 'ExpressWrappedDictionary<Any>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
354 | static let loggingKey = "locals"
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 ]
<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: annotate 'mustacheExpress' with '@MainActor' if property should only be accessed from the main actor
| `- 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 {
[413/414] Emitting module MacroExpress
[414/414] Compiling MacroExpress MacroExpress.swift
Build complete! (55.89s)
Build complete.
{
"dependencies" : [
{
"identity" : "macro",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.2",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Macro-swift/Macro.git"
},
{
"identity" : "mustache",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.2",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/AlwaysRightInstitute/mustache.git"
}
],
"manifest_display_name" : "MacroExpress",
"name" : "MacroExpress",
"path" : "/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"
],
"target_dependencies" : [
"connect",
"mime"
],
"type" : "library"
},
{
"c99name" : "dotenvTests",
"module_type" : "SwiftTarget",
"name" : "dotenvTests",
"path" : "Tests/dotenvTests",
"sources" : [
"XCTestManifests.swift",
"dotenvTests.swift"
],
"target_dependencies" : [
"dotenv"
],
"type" : "test"
},
{
"c99name" : "dotenv",
"module_type" : "SwiftTarget",
"name" : "dotenv",
"path" : "Sources/dotenv",
"product_dependencies" : [
"MacroCore",
"fs"
],
"product_memberships" : [
"MacroExpress",
"dotenv"
],
"sources" : [
"dotenv.swift"
],
"type" : "library"
},
{
"c99name" : "connect",
"module_type" : "SwiftTarget",
"name" : "connect",
"path" : "Sources/connect",
"product_dependencies" : [
"MacroCore",
"fs",
"http"
],
"product_memberships" : [
"MacroExpress",
"express",
"connect",
"multer"
],
"sources" : [
"BodyParser.swift",
"CORS.swift",
"Connect.swift",
"CookieParser.swift",
"Cookies.swift",
"CrossCompile.swift",
"Logger.swift",
"MethodOverride.swift",
"Middleware.swift",
"Pause.swift",
"QS.swift",
"ServeStatic.swift",
"Session.swift",
"TypeIs.swift"
],
"target_dependencies" : [
"mime"
],
"type" : "library"
},
{
"c99name" : "bodyParserTests",
"module_type" : "SwiftTarget",
"name" : "bodyParserTests",
"path" : "Tests/bodyParserTests",
"product_dependencies" : [
"Macro"
],
"sources" : [
"XCTestManifests.swift",
"bodyParserTests.swift"
],
"target_dependencies" : [
"connect"
],
"type" : "test"
},
{
"c99name" : "RouteTests",
"module_type" : "SwiftTarget",
"name" : "RouteTests",
"path" : "Tests/RouteTests",
"product_dependencies" : [
"MacroTestUtilities"
],
"sources" : [
"ErrorMiddlewareTests.swift",
"RouteMountingTests.swift",
"SimpleRouteTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"express"
],
"type" : "test"
},
{
"c99name" : "MacroExpress",
"module_type" : "SwiftTarget",
"name" : "MacroExpress",
"path" : "Sources/MacroExpress",
"product_dependencies" : [
"MacroCore",
"fs",
"http",
"xsys"
],
"product_memberships" : [
"MacroExpress"
],
"sources" : [
"MacroExpress.swift"
],
"target_dependencies" : [
"dotenv",
"mime",
"connect",
"express",
"multer"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
Done.