Build Information
Successful build of Core, reference main (89c698
), with Swift 6.1 for macOS (SPM) on 26 Apr 2025 15:29:18 UTC.
Swift 6 data race errors: 37
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.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/vapor/core.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/vapor/core
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 89c6989 Fix compilation error in Xcode 13
Cloned https://github.com/vapor/core.git
Revision (git rev-parse @):
89c6989fd8b1e08acfd198afba1c38971bb814b2
SUCCESS checkout https://github.com/vapor/core.git at main
Fetching https://github.com/apple/swift-nio.git from cache
Fetched https://github.com/apple/swift-nio.git from cache (0.93s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 1.14.4 (1.55s)
Fetching https://github.com/apple/swift-nio-zlib-support.git
[3/15] Fetching swift-nio-zlib-support
Fetched https://github.com/apple/swift-nio-zlib-support.git from cache (0.57s)
Computing version for https://github.com/apple/swift-nio-zlib-support.git
Computed https://github.com/apple/swift-nio-zlib-support.git at 1.0.0 (1.15s)
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 1.14.4
Creating working copy for https://github.com/apple/swift-nio-zlib-support.git
Working copy of https://github.com/apple/swift-nio-zlib-support.git resolved at 1.0.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": "core",
"name": "Core",
"url": "https://github.com/vapor/core.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/core",
"dependencies": [
{
"identity": "swift-nio",
"name": "swift-nio",
"url": "https://github.com/apple/swift-nio.git",
"version": "1.14.4",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-nio",
"dependencies": [
{
"identity": "swift-nio-zlib-support",
"name": "swift-nio-zlib-support",
"url": "https://github.com/apple/swift-nio-zlib-support.git",
"version": "1.0.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-nio-zlib-support",
"dependencies": [
]
}
]
}
]
}
]
}
Fetching https://github.com/vapor/core.git
[1/20143] Fetching core
Fetched https://github.com/vapor/core.git from cache (1.50s)
Fetching https://github.com/apple/swift-nio.git from cache
Fetched https://github.com/apple/swift-nio.git from cache (0.74s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 1.14.4 (0.79s)
Fetching https://github.com/apple/swift-nio-zlib-support.git from cache
Fetched https://github.com/apple/swift-nio-zlib-support.git from cache (0.46s)
Computing version for https://github.com/apple/swift-nio-zlib-support.git
Computed https://github.com/apple/swift-nio-zlib-support.git at 1.0.0 (0.51s)
Creating working copy for https://github.com/apple/swift-nio-zlib-support.git
Working copy of https://github.com/apple/swift-nio-zlib-support.git resolved at 1.0.0
Creating working copy for https://github.com/vapor/core.git
Working copy of https://github.com/vapor/core.git resolved at main (89c6989)
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 1.14.4
warning: 'swift-nio-zlib-support': ignoring declared target(s) 'swift-nio-zlib-support' in the system package
warning: '.resolve-product-dependencies': dependency 'core' is not used by any target
Found 1 product dependencies
- swift-nio
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/vapor/core.git
https://github.com/vapor/core.git
{
"dependencies" : [
{
"identity" : "swift-nio",
"requirement" : {
"range" : [
{
"lower_bound" : "1.14.1",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-nio.git"
}
],
"manifest_display_name" : "Core",
"name" : "Core",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "Async",
"targets" : [
"Async"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "Bits",
"targets" : [
"Bits"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "Core",
"targets" : [
"Core"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "COperatingSystem",
"targets" : [
"COperatingSystem"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "Debugging",
"targets" : [
"Debugging"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "DebuggingTests",
"module_type" : "SwiftTarget",
"name" : "DebuggingTests",
"path" : "Tests/DebuggingTests",
"sources" : [
"FooError.swift",
"FooErrorTests.swift",
"GeneralTests.swift",
"MinimumError.swift",
"TestError.swift",
"TraceableTests.swift"
],
"target_dependencies" : [
"Debugging"
],
"type" : "test"
},
{
"c99name" : "Debugging",
"module_type" : "SwiftTarget",
"name" : "Debugging",
"path" : "Sources/Debugging",
"product_memberships" : [
"Bits",
"Core",
"Debugging"
],
"sources" : [
"Debuggable.swift",
"Demangler.swift",
"SourceLocation.swift"
],
"type" : "library"
},
{
"c99name" : "CoreTests",
"module_type" : "SwiftTarget",
"name" : "CoreTests",
"path" : "Tests/CoreTests",
"sources" : [
"CoreTests.swift",
"ReflectableTests.swift"
],
"target_dependencies" : [
"Core"
],
"type" : "test"
},
{
"c99name" : "Core",
"module_type" : "SwiftTarget",
"name" : "Core",
"path" : "Sources/Core",
"product_dependencies" : [
"NIOFoundationCompat"
],
"product_memberships" : [
"Core"
],
"sources" : [
"BasicKey.swift",
"CaseInsensitiveString.swift",
"CodableReflection/Decodable+Reflectable.swift",
"CodableReflection/ReflectionDecodable.swift",
"CodableReflection/ReflectionDecoders.swift",
"CoreError.swift",
"Data+Base64URL.swift",
"Data+Hex.swift",
"DataCoders.swift",
"Deprecated.swift",
"DirectoryConfig.swift",
"Exports.swift",
"File.swift",
"Future+Unwrap.swift",
"FutureEncoder.swift",
"HeaderValue.swift",
"LosslessDataConvertible.swift",
"MediaType.swift",
"NestedData.swift",
"NotFound.swift",
"OptionalType.swift",
"Process+Execute.swift",
"Reflectable.swift",
"String+Utilities.swift",
"Thread+Async.swift"
],
"target_dependencies" : [
"Async",
"Bits",
"COperatingSystem",
"Debugging"
],
"type" : "library"
},
{
"c99name" : "COperatingSystem",
"module_type" : "SwiftTarget",
"name" : "COperatingSystem",
"path" : "Sources/COperatingSystem",
"product_memberships" : [
"Core",
"COperatingSystem"
],
"sources" : [
"libc.swift"
],
"type" : "library"
},
{
"c99name" : "BitsTests",
"module_type" : "SwiftTarget",
"name" : "BitsTests",
"path" : "Tests/BitsTests",
"product_dependencies" : [
"NIO"
],
"sources" : [
"ByteBufferPeekTests.swift",
"ByteBufferRequireTests.swift"
],
"target_dependencies" : [
"Bits"
],
"type" : "test"
},
{
"c99name" : "Bits",
"module_type" : "SwiftTarget",
"name" : "Bits",
"path" : "Sources/Bits",
"product_dependencies" : [
"NIO"
],
"product_memberships" : [
"Bits",
"Core"
],
"sources" : [
"BitsError.swift",
"Byte+Alphabet.swift",
"Byte+Control.swift",
"Byte+Digit.swift",
"ByteBuffer+binaryFloatingPointOperations.swift",
"ByteBuffer+peek.swift",
"ByteBuffer+require.swift",
"ByteBuffer+string.swift",
"Bytes.swift",
"Data+Bytes.swift",
"Data+Strings.swift",
"Deprecated.swift"
],
"target_dependencies" : [
"Debugging"
],
"type" : "library"
},
{
"c99name" : "AsyncTests",
"module_type" : "SwiftTarget",
"name" : "AsyncTests",
"path" : "Tests/AsyncTests",
"sources" : [
"AsyncTests.swift"
],
"target_dependencies" : [
"Async"
],
"type" : "test"
},
{
"c99name" : "Async",
"module_type" : "SwiftTarget",
"name" : "Async",
"path" : "Sources/Async",
"product_dependencies" : [
"NIO"
],
"product_memberships" : [
"Async",
"Core"
],
"sources" : [
"Async+NIO.swift",
"AsyncError.swift",
"Collection+Future.swift",
"Deprecated.swift",
"Exports.swift",
"Future+DoCatch.swift",
"Future+Flatten.swift",
"Future+Global.swift",
"Future+Map.swift",
"Future+Transform.swift",
"Future+Variadic.swift",
"Future+Void.swift",
"FutureType.swift",
"QueueHandler.swift",
"Worker.swift"
],
"type" : "library"
}
],
"tools_version" : "4.1"
}
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/15] Write sources
[9/15] Compiling CNIOLinux ifaddrs-android.c
[9/15] Compiling CNIOLinux shim.c
[11/15] Write swift-version-2F0A5646E1D333AE.txt
[12/24] Compiling CNIODarwin shim.c
[13/24] Compiling CNIOSHA1 c_nio_sha1.c
[14/24] Compiling c-atomics.c
[16/27] Emitting module NIOPriorityQueue
[17/27] Compiling NIOPriorityQueue PriorityQueue.swift
[18/27] Compiling COperatingSystem libc.swift
[19/27] Emitting module COperatingSystem
[20/27] Compiling NIOPriorityQueue Heap.swift
[21/27] Emitting module NIOConcurrencyHelpers
[22/27] Compiling NIOConcurrencyHelpers lock.swift
[23/27] Compiling NIOConcurrencyHelpers atomics.swift
[24/78] Compiling NIO PendingWritesManager.swift
[25/78] Compiling NIO PriorityQueue.swift
[26/78] Compiling NIO RecvByteBufferAllocator.swift
[27/78] Compiling NIO Resolver.swift
[28/78] Compiling NIO Selectable.swift
[29/83] Compiling NIO FileHandle.swift
[30/83] Compiling NIO FileRegion.swift
[31/83] Compiling NIO GetaddrinfoResolver.swift
[32/83] Compiling NIO HappyEyeballs.swift
[33/83] Compiling NIO Heap.swift
[34/83] Compiling NIO IO.swift
[35/83] Emitting module NIO
[36/83] Compiling NIO MarkedCircularBuffer.swift
[37/83] Compiling NIO MulticastChannel.swift
[38/83] Compiling NIO NIOAny.swift
[39/83] Compiling NIO NonBlockingFileIO.swift
[40/83] Compiling NIO PendingDatagramWritesManager.swift
[41/83] Compiling NIO ContiguousCollection.swift
[42/83] Compiling NIO DeadChannel.swift
[43/83] Compiling NIO Embedded.swift
[44/83] Compiling NIO EventLoop.swift
[45/83] Compiling NIO EventLoopFuture.swift
[46/83] Compiling NIO FileDescriptor.swift
[47/83] Compiling NIO AddressedEnvelope.swift
[48/83] Compiling NIO BaseSocket.swift
[49/83] Compiling NIO BaseSocketChannel.swift
[50/83] Compiling NIO BlockingIOThreadPool.swift
[51/83] Compiling NIO Bootstrap.swift
[52/83] Compiling NIO ByteBuffer-aux.swift
[53/83] Compiling NIO IOData.swift
[54/83] Compiling NIO IntegerTypes.swift
[55/83] Compiling NIO Interfaces.swift
[56/83] Compiling NIO Linux.swift
[57/83] Compiling NIO LinuxCPUSet.swift
[58/83] Compiling NIO ByteBuffer-core.swift
[59/83] Compiling NIO ByteBuffer-int.swift
[60/83] Compiling NIO ByteBuffer-views.swift
[61/83] Compiling NIO Channel.swift
[62/83] Compiling NIO ChannelHandler.swift
[63/83] Compiling NIO ChannelHandlers.swift
[64/83] Compiling NIO ChannelInvoker.swift
[65/83] Compiling NIO ChannelOption.swift
[66/83] Compiling NIO ChannelPipeline.swift
[67/83] Compiling NIO CircularBuffer.swift
[68/83] Compiling NIO Codec.swift
[69/83] Compiling NIO CompositeError.swift
[70/83] Compiling NIO Selector.swift
[71/83] Compiling NIO ServerSocket.swift
[72/83] Compiling NIO Socket.swift
[73/83] Compiling NIO SocketAddresses.swift
[74/83] Compiling NIO SocketChannel.swift
[75/83] Compiling NIO SocketOptionProvider.swift
[76/83] Compiling NIO System.swift
[77/83] Compiling NIO Thread.swift
[78/83] Compiling NIO TypeAssistedChannelHandler.swift
[79/83] Compiling NIO Utilities.swift
[80/83] Emitting module Debugging
[81/100] Compiling Async Exports.swift
[82/100] Compiling Async Future+DoCatch.swift
[83/101] Emitting module Async
/Users/admin/builder/spi-builder-workspace/Sources/Async/Future+Map.swift:16:21: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
14 | ///
15 | /// See `flatMap(to:_:)` for mapping `Future` results to other `Future` types.
16 | public func map<T>(to type: T.Type = T.self, _ callback: @escaping (Expectation) throws -> T) -> Future<T> {
| `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
17 | return self.thenThrowing(callback)
18 | }
/Users/admin/builder/spi-builder-workspace/Sources/Async/Future+Map.swift:32:25: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
30 | ///
31 | /// See `map(to:_:)` for mapping `Future` results to non-`Future` types.
32 | public func flatMap<T>(to type: T.Type = T.self, _ callback: @escaping (Expectation) throws -> Future<T>) -> Future<T> {
| `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
33 | return self.then { input in
34 | do {
/Users/admin/builder/spi-builder-workspace/Sources/Async/Future+Transform.swift:8:27: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
6 | /// user.save(on: req).transform(to: HTTPStatus.created)
7 | ///
8 | public func transform<T>(to instance: @escaping @autoclosure () -> T) -> Future<T> {
| `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
9 | return self.map(to: T.self) { _ in
10 | instance()
/Users/admin/builder/spi-builder-workspace/Sources/Async/Future+Transform.swift:19:27: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
17 | /// posts.save(on: request).transform(to: user)
18 | ///
19 | public func transform<T>(to future: Future<T>) -> Future<T> {
| `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
20 | return self.flatMap(to: T.self) { _ in
21 | future
[84/101] Compiling Async Collection+Future.swift
[85/101] Compiling Async Deprecated.swift
[86/101] Compiling Async Async+NIO.swift
[87/101] Compiling Async AsyncError.swift
[88/101] Compiling Async FutureType.swift
[89/101] Compiling Async Future+Flatten.swift
[90/101] Compiling Async Future+Global.swift
[91/101] Compiling Async Future+Variadic.swift
[92/101] Compiling Async Future+Map.swift
/Users/admin/builder/spi-builder-workspace/Sources/Async/Future+Map.swift:16:21: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
14 | ///
15 | /// See `flatMap(to:_:)` for mapping `Future` results to other `Future` types.
16 | public func map<T>(to type: T.Type = T.self, _ callback: @escaping (Expectation) throws -> T) -> Future<T> {
| `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
17 | return self.thenThrowing(callback)
18 | }
/Users/admin/builder/spi-builder-workspace/Sources/Async/Future+Map.swift:32:25: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
30 | ///
31 | /// See `map(to:_:)` for mapping `Future` results to non-`Future` types.
32 | public func flatMap<T>(to type: T.Type = T.self, _ callback: @escaping (Expectation) throws -> Future<T>) -> Future<T> {
| `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
33 | return self.then { input in
34 | do {
/Users/admin/builder/spi-builder-workspace/Sources/Async/Future+Transform.swift:8:27: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
6 | /// user.save(on: req).transform(to: HTTPStatus.created)
7 | ///
8 | public func transform<T>(to instance: @escaping @autoclosure () -> T) -> Future<T> {
| `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
9 | return self.map(to: T.self) { _ in
10 | instance()
/Users/admin/builder/spi-builder-workspace/Sources/Async/Future+Transform.swift:19:27: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
17 | /// posts.save(on: request).transform(to: user)
18 | ///
19 | public func transform<T>(to future: Future<T>) -> Future<T> {
| `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
20 | return self.flatMap(to: T.self) { _ in
21 | future
[93/101] Compiling Async Future+Transform.swift
/Users/admin/builder/spi-builder-workspace/Sources/Async/Future+Map.swift:16:21: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
14 | ///
15 | /// See `flatMap(to:_:)` for mapping `Future` results to other `Future` types.
16 | public func map<T>(to type: T.Type = T.self, _ callback: @escaping (Expectation) throws -> T) -> Future<T> {
| `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
17 | return self.thenThrowing(callback)
18 | }
/Users/admin/builder/spi-builder-workspace/Sources/Async/Future+Map.swift:32:25: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
30 | ///
31 | /// See `map(to:_:)` for mapping `Future` results to non-`Future` types.
32 | public func flatMap<T>(to type: T.Type = T.self, _ callback: @escaping (Expectation) throws -> Future<T>) -> Future<T> {
| `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
33 | return self.then { input in
34 | do {
/Users/admin/builder/spi-builder-workspace/Sources/Async/Future+Transform.swift:8:27: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
6 | /// user.save(on: req).transform(to: HTTPStatus.created)
7 | ///
8 | public func transform<T>(to instance: @escaping @autoclosure () -> T) -> Future<T> {
| `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
9 | return self.map(to: T.self) { _ in
10 | instance()
/Users/admin/builder/spi-builder-workspace/Sources/Async/Future+Transform.swift:19:27: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
17 | /// posts.save(on: request).transform(to: user)
18 | ///
19 | public func transform<T>(to future: Future<T>) -> Future<T> {
| `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
20 | return self.flatMap(to: T.self) { _ in
21 | future
[94/101] Compiling Async QueueHandler.swift
[95/101] Compiling Async Future+Void.swift
[96/101] Compiling Async Worker.swift
[97/101] Compiling Debugging Demangler.swift
[98/101] Emitting module NIOFoundationCompat
[99/101] Compiling NIOFoundationCompat ByteBuffer-foundation.swift
[100/101] Compiling Debugging Debuggable.swift
[101/101] Compiling Debugging SourceLocation.swift
[102/113] Compiling Bits Data+Bytes.swift
/Users/admin/builder/spi-builder-workspace/Sources/Bits/Deprecated.swift:3:15: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
1 | extension Byte {
2 | /// ~
3 | @available (*, deprecated, renamed: "tilde")
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
4 | public static let tilda: Byte = 0x7E
5 | }
[103/114] Compiling Bits ByteBuffer+peek.swift
/Users/admin/builder/spi-builder-workspace/Sources/Bits/Deprecated.swift:3:15: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
1 | extension Byte {
2 | /// ~
3 | @available (*, deprecated, renamed: "tilde")
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
4 | public static let tilda: Byte = 0x7E
5 | }
[104/114] Compiling Bits BitsError.swift
/Users/admin/builder/spi-builder-workspace/Sources/Bits/Deprecated.swift:3:15: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
1 | extension Byte {
2 | /// ~
3 | @available (*, deprecated, renamed: "tilde")
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
4 | public static let tilda: Byte = 0x7E
5 | }
[105/114] Compiling Bits Byte+Alphabet.swift
/Users/admin/builder/spi-builder-workspace/Sources/Bits/Deprecated.swift:3:15: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
1 | extension Byte {
2 | /// ~
3 | @available (*, deprecated, renamed: "tilde")
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
4 | public static let tilda: Byte = 0x7E
5 | }
[106/114] Compiling Bits Byte+Control.swift
/Users/admin/builder/spi-builder-workspace/Sources/Bits/Deprecated.swift:3:15: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
1 | extension Byte {
2 | /// ~
3 | @available (*, deprecated, renamed: "tilde")
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
4 | public static let tilda: Byte = 0x7E
5 | }
[107/114] Compiling Bits Byte+Digit.swift
/Users/admin/builder/spi-builder-workspace/Sources/Bits/Deprecated.swift:3:15: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
1 | extension Byte {
2 | /// ~
3 | @available (*, deprecated, renamed: "tilde")
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
4 | public static let tilda: Byte = 0x7E
5 | }
[108/114] Emitting module Bits
/Users/admin/builder/spi-builder-workspace/Sources/Bits/Deprecated.swift:3:15: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
1 | extension Byte {
2 | /// ~
3 | @available (*, deprecated, renamed: "tilde")
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
4 | public static let tilda: Byte = 0x7E
5 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bits/ByteBuffer+string.swift:6:68: warning: cannot use struct 'Encoding' here; 'Foundation' was not imported by this file
4 | /// - parameters:
5 | /// - encoding: `String.Encoding` to use when converting the bytes to a `String`
6 | public mutating func readNullTerminatedString(encoding: String.Encoding = .utf8) -> String? {
| `- warning: cannot use struct 'Encoding' here; 'Foundation' was not imported by this file
7 | var bytes: [UInt8] = []
8 | parse: while true {
Foundation.String.Encoding:2:15: note: struct declared here
1 | struct String {
2 | public struct Encoding : RawRepresentable, Sendable, Equatable {
| `- note: struct declared here
3 | public var rawValue: UInt
4 | public init(rawValue: UInt)
/Users/admin/builder/spi-builder-workspace/Sources/Bits/ByteBuffer+string.swift:6:80: warning: static property 'utf8' cannot be used in a default argument value because 'Foundation' was not imported by this file; this is an error in the Swift 6 language mode
4 | /// - parameters:
5 | /// - encoding: `String.Encoding` to use when converting the bytes to a `String`
6 | public mutating func readNullTerminatedString(encoding: String.Encoding = .utf8) -> String? {
| |- warning: static property 'utf8' cannot be used in a default argument value because 'Foundation' was not imported by this file; this is an error in the Swift 6 language mode
| `- note: The missing import of module 'Foundation' will be added implicitly
7 | var bytes: [UInt8] = []
8 | parse: while true {
/Users/admin/builder/spi-builder-workspace/Sources/Bits/ByteBuffer+string.swift:23:75: warning: cannot use struct 'Encoding' here; 'Foundation' was not imported by this file
21 | ///
22 | /// See `readNullTerminatedString(encoding:)`
23 | public mutating func requireReadNullTerminatedString(encoding: String.Encoding = .utf8) throws -> String {
| `- warning: cannot use struct 'Encoding' here; 'Foundation' was not imported by this file
24 | guard let string = readNullTerminatedString(encoding: encoding) else {
25 | throw BitsError(identifier: "nullTerminatedString", reason: "This was not available in the buffer")
Foundation.String.Encoding:2:15: note: struct declared here
1 | struct String {
2 | public struct Encoding : RawRepresentable, Sendable, Equatable {
| `- note: struct declared here
3 | public var rawValue: UInt
4 | public init(rawValue: UInt)
/Users/admin/builder/spi-builder-workspace/Sources/Bits/ByteBuffer+string.swift:23:87: warning: static property 'utf8' cannot be used in a default argument value because 'Foundation' was not imported by this file; this is an error in the Swift 6 language mode
21 | ///
22 | /// See `readNullTerminatedString(encoding:)`
23 | public mutating func requireReadNullTerminatedString(encoding: String.Encoding = .utf8) throws -> String {
| |- warning: static property 'utf8' cannot be used in a default argument value because 'Foundation' was not imported by this file; this is an error in the Swift 6 language mode
| `- note: The missing import of module 'Foundation' will be added implicitly
24 | guard let string = readNullTerminatedString(encoding: encoding) else {
25 | throw BitsError(identifier: "nullTerminatedString", reason: "This was not available in the buffer")
[109/114] Compiling Bits ByteBuffer+binaryFloatingPointOperations.swift
/Users/admin/builder/spi-builder-workspace/Sources/Bits/Deprecated.swift:3:15: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
1 | extension Byte {
2 | /// ~
3 | @available (*, deprecated, renamed: "tilde")
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
4 | public static let tilda: Byte = 0x7E
5 | }
[110/114] Compiling Bits ByteBuffer+require.swift
/Users/admin/builder/spi-builder-workspace/Sources/Bits/Deprecated.swift:3:15: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
1 | extension Byte {
2 | /// ~
3 | @available (*, deprecated, renamed: "tilde")
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
4 | public static let tilda: Byte = 0x7E
5 | }
[111/114] Compiling Bits Bytes.swift
/Users/admin/builder/spi-builder-workspace/Sources/Bits/Deprecated.swift:3:15: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
1 | extension Byte {
2 | /// ~
3 | @available (*, deprecated, renamed: "tilde")
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
4 | public static let tilda: Byte = 0x7E
5 | }
[112/114] Compiling Bits ByteBuffer+string.swift
/Users/admin/builder/spi-builder-workspace/Sources/Bits/ByteBuffer+string.swift:6:68: warning: cannot use struct 'Encoding' here; 'Foundation' was not imported by this file
4 | /// - parameters:
5 | /// - encoding: `String.Encoding` to use when converting the bytes to a `String`
6 | public mutating func readNullTerminatedString(encoding: String.Encoding = .utf8) -> String? {
| `- warning: cannot use struct 'Encoding' here; 'Foundation' was not imported by this file
7 | var bytes: [UInt8] = []
8 | parse: while true {
Foundation.String.Encoding:2:15: note: struct declared here
1 | struct String {
2 | public struct Encoding : RawRepresentable, Sendable, Equatable {
| `- note: struct declared here
3 | public var rawValue: UInt
4 | public init(rawValue: UInt)
/Users/admin/builder/spi-builder-workspace/Sources/Bits/ByteBuffer+string.swift:6:80: warning: static property 'utf8' cannot be used in a default argument value because 'Foundation' was not imported by this file; this is an error in the Swift 6 language mode
4 | /// - parameters:
5 | /// - encoding: `String.Encoding` to use when converting the bytes to a `String`
6 | public mutating func readNullTerminatedString(encoding: String.Encoding = .utf8) -> String? {
| |- warning: static property 'utf8' cannot be used in a default argument value because 'Foundation' was not imported by this file; this is an error in the Swift 6 language mode
| `- note: The missing import of module 'Foundation' will be added implicitly
7 | var bytes: [UInt8] = []
8 | parse: while true {
/Users/admin/builder/spi-builder-workspace/Sources/Bits/ByteBuffer+string.swift:23:75: warning: cannot use struct 'Encoding' here; 'Foundation' was not imported by this file
21 | ///
22 | /// See `readNullTerminatedString(encoding:)`
23 | public mutating func requireReadNullTerminatedString(encoding: String.Encoding = .utf8) throws -> String {
| `- warning: cannot use struct 'Encoding' here; 'Foundation' was not imported by this file
24 | guard let string = readNullTerminatedString(encoding: encoding) else {
25 | throw BitsError(identifier: "nullTerminatedString", reason: "This was not available in the buffer")
Foundation.String.Encoding:2:15: note: struct declared here
1 | struct String {
2 | public struct Encoding : RawRepresentable, Sendable, Equatable {
| `- note: struct declared here
3 | public var rawValue: UInt
4 | public init(rawValue: UInt)
/Users/admin/builder/spi-builder-workspace/Sources/Bits/ByteBuffer+string.swift:23:87: warning: static property 'utf8' cannot be used in a default argument value because 'Foundation' was not imported by this file; this is an error in the Swift 6 language mode
21 | ///
22 | /// See `readNullTerminatedString(encoding:)`
23 | public mutating func requireReadNullTerminatedString(encoding: String.Encoding = .utf8) throws -> String {
| |- warning: static property 'utf8' cannot be used in a default argument value because 'Foundation' was not imported by this file; this is an error in the Swift 6 language mode
| `- note: The missing import of module 'Foundation' will be added implicitly
24 | guard let string = readNullTerminatedString(encoding: encoding) else {
25 | throw BitsError(identifier: "nullTerminatedString", reason: "This was not available in the buffer")
/Users/admin/builder/spi-builder-workspace/Sources/Bits/Deprecated.swift:3:15: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
1 | extension Byte {
2 | /// ~
3 | @available (*, deprecated, renamed: "tilde")
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
4 | public static let tilda: Byte = 0x7E
5 | }
[113/114] Compiling Bits Data+Strings.swift
/Users/admin/builder/spi-builder-workspace/Sources/Bits/Deprecated.swift:3:15: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
1 | extension Byte {
2 | /// ~
3 | @available (*, deprecated, renamed: "tilde")
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
4 | public static let tilda: Byte = 0x7E
5 | }
[114/114] Compiling Bits Deprecated.swift
/Users/admin/builder/spi-builder-workspace/Sources/Bits/Deprecated.swift:3:15: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
1 | extension Byte {
2 | /// ~
3 | @available (*, deprecated, renamed: "tilde")
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
4 | public static let tilda: Byte = 0x7E
5 | }
[115/138] Compiling Core Deprecated.swift
[116/138] Compiling Core DirectoryConfig.swift
[117/138] Compiling Core Exports.swift
[118/140] Compiling Core Data+Base64URL.swift
[119/140] Compiling Core Data+Hex.swift
[120/140] Compiling Core DataCoders.swift
[121/140] Compiling Core Process+Execute.swift
/Users/admin/builder/spi-builder-workspace/Sources/Core/Process+Execute.swift:106:25: warning: capture of 'output' with non-sendable type '(ProcessOutput) -> ()' in a '@Sendable' closure
104 | let stdout = stdout.fileHandleForReading.availableData
105 | if !stdout.isEmpty {
106 | output(.stdout(stdout))
| |- warning: capture of 'output' with non-sendable type '(ProcessOutput) -> ()' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
107 | }
108 | }
/Users/admin/builder/spi-builder-workspace/Sources/Core/Process+Execute.swift:103:23: warning: reference to captured var 'running' in concurrently-executing code
101 | // readabilityHandler doesn't work on linux, so we are left with this hack
102 | DispatchQueue.global().async {
103 | while running {
| `- warning: reference to captured var 'running' in concurrently-executing code
104 | let stdout = stdout.fileHandleForReading.availableData
105 | if !stdout.isEmpty {
/Users/admin/builder/spi-builder-workspace/Sources/Core/Process+Execute.swift:114:25: warning: capture of 'output' with non-sendable type '(ProcessOutput) -> ()' in a '@Sendable' closure
112 | let stderr = stderr.fileHandleForReading.availableData
113 | if !stderr.isEmpty {
114 | output(.stderr(stderr))
| |- warning: capture of 'output' with non-sendable type '(ProcessOutput) -> ()' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
115 | }
116 | }
/Users/admin/builder/spi-builder-workspace/Sources/Core/Process+Execute.swift:111:23: warning: reference to captured var 'running' in concurrently-executing code
109 | }
110 | DispatchQueue.global().async {
111 | while running {
| `- warning: reference to captured var 'running' in concurrently-executing code
112 | let stderr = stderr.fileHandleForReading.availableData
113 | if !stderr.isEmpty {
/Users/admin/builder/spi-builder-workspace/Sources/Core/Process+Execute.swift:139:17: warning: capture of 'promise' with non-sendable type 'EventLoopPromise<Int32>' in a '@Sendable' closure
137 | process.waitUntilExit()
138 | running = false
139 | promise.succeed(result: process.terminationStatus)
| `- warning: capture of 'promise' with non-sendable type 'EventLoopPromise<Int32>' in a '@Sendable' closure
140 | }
141 | return promise.futureResult
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/EventLoopFuture.swift:151:15: note: generic struct 'EventLoopPromise' does not conform to the 'Sendable' protocol
149 | ///
150 | /// - note: `EventLoopPromise` has reference semantics.
151 | public struct EventLoopPromise<T> {
| `- note: generic struct 'EventLoopPromise' does not conform to the 'Sendable' protocol
152 | /// The `EventLoopFuture` which is used by the `EventLoopPromise`. You can use it to add callbacks which are notified once the
153 | /// `EventLoopPromise` is completed.
/Users/admin/builder/spi-builder-workspace/Sources/Core/Process+Execute.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'NIO'
1 | #if !os(iOS)
2 | import NIO
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'NIO'
3 |
4 | /// Different types of process output.
/Users/admin/builder/spi-builder-workspace/Sources/Core/Process+Execute.swift:138:17: warning: mutation of captured var 'running' in concurrently-executing code
136 | let process = launchProcess(path: program, arguments, stdout: stdout, stderr: stderr)
137 | process.waitUntilExit()
138 | running = false
| `- warning: mutation of captured var 'running' in concurrently-executing code
139 | promise.succeed(result: process.terminationStatus)
140 | }
[122/140] Compiling Core Reflectable.swift
/Users/admin/builder/spi-builder-workspace/Sources/Core/Process+Execute.swift:106:25: warning: capture of 'output' with non-sendable type '(ProcessOutput) -> ()' in a '@Sendable' closure
104 | let stdout = stdout.fileHandleForReading.availableData
105 | if !stdout.isEmpty {
106 | output(.stdout(stdout))
| |- warning: capture of 'output' with non-sendable type '(ProcessOutput) -> ()' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
107 | }
108 | }
/Users/admin/builder/spi-builder-workspace/Sources/Core/Process+Execute.swift:103:23: warning: reference to captured var 'running' in concurrently-executing code
101 | // readabilityHandler doesn't work on linux, so we are left with this hack
102 | DispatchQueue.global().async {
103 | while running {
| `- warning: reference to captured var 'running' in concurrently-executing code
104 | let stdout = stdout.fileHandleForReading.availableData
105 | if !stdout.isEmpty {
/Users/admin/builder/spi-builder-workspace/Sources/Core/Process+Execute.swift:114:25: warning: capture of 'output' with non-sendable type '(ProcessOutput) -> ()' in a '@Sendable' closure
112 | let stderr = stderr.fileHandleForReading.availableData
113 | if !stderr.isEmpty {
114 | output(.stderr(stderr))
| |- warning: capture of 'output' with non-sendable type '(ProcessOutput) -> ()' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
115 | }
116 | }
/Users/admin/builder/spi-builder-workspace/Sources/Core/Process+Execute.swift:111:23: warning: reference to captured var 'running' in concurrently-executing code
109 | }
110 | DispatchQueue.global().async {
111 | while running {
| `- warning: reference to captured var 'running' in concurrently-executing code
112 | let stderr = stderr.fileHandleForReading.availableData
113 | if !stderr.isEmpty {
/Users/admin/builder/spi-builder-workspace/Sources/Core/Process+Execute.swift:139:17: warning: capture of 'promise' with non-sendable type 'EventLoopPromise<Int32>' in a '@Sendable' closure
137 | process.waitUntilExit()
138 | running = false
139 | promise.succeed(result: process.terminationStatus)
| `- warning: capture of 'promise' with non-sendable type 'EventLoopPromise<Int32>' in a '@Sendable' closure
140 | }
141 | return promise.futureResult
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/EventLoopFuture.swift:151:15: note: generic struct 'EventLoopPromise' does not conform to the 'Sendable' protocol
149 | ///
150 | /// - note: `EventLoopPromise` has reference semantics.
151 | public struct EventLoopPromise<T> {
| `- note: generic struct 'EventLoopPromise' does not conform to the 'Sendable' protocol
152 | /// The `EventLoopFuture` which is used by the `EventLoopPromise`. You can use it to add callbacks which are notified once the
153 | /// `EventLoopPromise` is completed.
/Users/admin/builder/spi-builder-workspace/Sources/Core/Process+Execute.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'NIO'
1 | #if !os(iOS)
2 | import NIO
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'NIO'
3 |
4 | /// Different types of process output.
/Users/admin/builder/spi-builder-workspace/Sources/Core/Process+Execute.swift:138:17: warning: mutation of captured var 'running' in concurrently-executing code
136 | let process = launchProcess(path: program, arguments, stdout: stdout, stderr: stderr)
137 | process.waitUntilExit()
138 | running = false
| `- warning: mutation of captured var 'running' in concurrently-executing code
139 | promise.succeed(result: process.terminationStatus)
140 | }
[123/140] Compiling Core HeaderValue.swift
[124/140] Compiling Core LosslessDataConvertible.swift
[125/140] Compiling Core NotFound.swift
[126/140] Compiling Core OptionalType.swift
[127/140] Compiling Core BasicKey.swift
/Users/admin/builder/spi-builder-workspace/Sources/Core/CodableReflection/Decodable+Reflectable.swift:115:24: warning: static property 'thread' is not concurrency-safe because non-'Sendable' type 'ThreadSpecificVariable<ReflectedPropertyCache>' may have shared mutable state; this is an error in the Swift 6 language mode
113 |
114 | /// Private `ThreadSpecificVariable` powering this cache.
115 | private static let thread: ThreadSpecificVariable<ReflectedPropertyCache> = .init()
| |- warning: static property 'thread' is not concurrency-safe because non-'Sendable' type 'ThreadSpecificVariable<ReflectedPropertyCache>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'thread' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
116 |
117 | /// Instance storage.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/Thread.swift:132:15: note: generic struct 'ThreadSpecificVariable' does not conform to the 'Sendable' protocol
130 | ///
131 | /// - note: `ThreadSpecificVariable` has reference semantics.
132 | public struct ThreadSpecificVariable<T: AnyObject> {
| `- note: generic struct 'ThreadSpecificVariable' does not conform to the 'Sendable' protocol
133 | private let key: pthread_key_t
134 |
[128/140] Compiling Core CaseInsensitiveString.swift
/Users/admin/builder/spi-builder-workspace/Sources/Core/CodableReflection/Decodable+Reflectable.swift:115:24: warning: static property 'thread' is not concurrency-safe because non-'Sendable' type 'ThreadSpecificVariable<ReflectedPropertyCache>' may have shared mutable state; this is an error in the Swift 6 language mode
113 |
114 | /// Private `ThreadSpecificVariable` powering this cache.
115 | private static let thread: ThreadSpecificVariable<ReflectedPropertyCache> = .init()
| |- warning: static property 'thread' is not concurrency-safe because non-'Sendable' type 'ThreadSpecificVariable<ReflectedPropertyCache>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'thread' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
116 |
117 | /// Instance storage.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/Thread.swift:132:15: note: generic struct 'ThreadSpecificVariable' does not conform to the 'Sendable' protocol
130 | ///
131 | /// - note: `ThreadSpecificVariable` has reference semantics.
132 | public struct ThreadSpecificVariable<T: AnyObject> {
| `- note: generic struct 'ThreadSpecificVariable' does not conform to the 'Sendable' protocol
133 | private let key: pthread_key_t
134 |
[129/140] Compiling Core Decodable+Reflectable.swift
/Users/admin/builder/spi-builder-workspace/Sources/Core/CodableReflection/Decodable+Reflectable.swift:115:24: warning: static property 'thread' is not concurrency-safe because non-'Sendable' type 'ThreadSpecificVariable<ReflectedPropertyCache>' may have shared mutable state; this is an error in the Swift 6 language mode
113 |
114 | /// Private `ThreadSpecificVariable` powering this cache.
115 | private static let thread: ThreadSpecificVariable<ReflectedPropertyCache> = .init()
| |- warning: static property 'thread' is not concurrency-safe because non-'Sendable' type 'ThreadSpecificVariable<ReflectedPropertyCache>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'thread' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
116 |
117 | /// Instance storage.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/Thread.swift:132:15: note: generic struct 'ThreadSpecificVariable' does not conform to the 'Sendable' protocol
130 | ///
131 | /// - note: `ThreadSpecificVariable` has reference semantics.
132 | public struct ThreadSpecificVariable<T: AnyObject> {
| `- note: generic struct 'ThreadSpecificVariable' does not conform to the 'Sendable' protocol
133 | private let key: pthread_key_t
134 |
[130/140] Compiling Core File.swift
/Users/admin/builder/spi-builder-workspace/Sources/Core/FutureEncoder.swift:9:1: warning: extension declares a conformance of imported type 'EventLoopFuture' to imported protocol 'Encodable'; this will not behave correctly if the owners of 'NIO' introduce this conformance in the future
7 |
8 | /// Conforms future to `Encodable` where its expectation is also `Encodable`.
9 | extension Future: Encodable where T: Encodable {
| |- warning: extension declares a conformance of imported type 'EventLoopFuture' to imported protocol 'Encodable'; this will not behave correctly if the owners of 'NIO' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
10 | /// See `Encodable`.
11 | public func encode(to encoder: Encoder) throws {
[131/140] Compiling Core Future+Unwrap.swift
/Users/admin/builder/spi-builder-workspace/Sources/Core/FutureEncoder.swift:9:1: warning: extension declares a conformance of imported type 'EventLoopFuture' to imported protocol 'Encodable'; this will not behave correctly if the owners of 'NIO' introduce this conformance in the future
7 |
8 | /// Conforms future to `Encodable` where its expectation is also `Encodable`.
9 | extension Future: Encodable where T: Encodable {
| |- warning: extension declares a conformance of imported type 'EventLoopFuture' to imported protocol 'Encodable'; this will not behave correctly if the owners of 'NIO' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
10 | /// See `Encodable`.
11 | public func encode(to encoder: Encoder) throws {
[132/140] Compiling Core FutureEncoder.swift
/Users/admin/builder/spi-builder-workspace/Sources/Core/FutureEncoder.swift:9:1: warning: extension declares a conformance of imported type 'EventLoopFuture' to imported protocol 'Encodable'; this will not behave correctly if the owners of 'NIO' introduce this conformance in the future
7 |
8 | /// Conforms future to `Encodable` where its expectation is also `Encodable`.
9 | extension Future: Encodable where T: Encodable {
| |- warning: extension declares a conformance of imported type 'EventLoopFuture' to imported protocol 'Encodable'; this will not behave correctly if the owners of 'NIO' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
10 | /// See `Encodable`.
11 | public func encode(to encoder: Encoder) throws {
[133/140] Compiling Core String+Utilities.swift
/Users/admin/builder/spi-builder-workspace/Sources/Core/String+Utilities.swift:24:1: warning: extension declares a conformance of imported type 'UUID' to imported protocol 'LosslessStringConvertible'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
22 | }
23 |
24 | extension UUID: LosslessStringConvertible {
| |- warning: extension declares a conformance of imported type 'UUID' to imported protocol 'LosslessStringConvertible'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
25 | /// See `LosslessStringConvertible`.
26 | public init?(_ string: String) {
/Users/admin/builder/spi-builder-workspace/Sources/Core/Thread+Async.swift:22:36: warning: passing non-sendable parameter 'work' to function expecting a @Sendable closure
18 | /// - parameters:
19 | /// - work: Closure to be called on new thread.
20 | public static func async(_ work: @escaping () -> Void) {
| `- note: parameter 'work' is implicitly non-sendable
21 | if #available(macOS 10.12, iOS 10.0, *) {
22 | Thread.detachNewThread(work)
| `- warning: passing non-sendable parameter 'work' to function expecting a @Sendable closure
23 | } else {
24 | fatalError("macOS 10.12/iOS 10.0 or later required to call Thread.async(_:)")
[134/140] Compiling Core Thread+Async.swift
/Users/admin/builder/spi-builder-workspace/Sources/Core/String+Utilities.swift:24:1: warning: extension declares a conformance of imported type 'UUID' to imported protocol 'LosslessStringConvertible'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
22 | }
23 |
24 | extension UUID: LosslessStringConvertible {
| |- warning: extension declares a conformance of imported type 'UUID' to imported protocol 'LosslessStringConvertible'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
25 | /// See `LosslessStringConvertible`.
26 | public init?(_ string: String) {
/Users/admin/builder/spi-builder-workspace/Sources/Core/Thread+Async.swift:22:36: warning: passing non-sendable parameter 'work' to function expecting a @Sendable closure
18 | /// - parameters:
19 | /// - work: Closure to be called on new thread.
20 | public static func async(_ work: @escaping () -> Void) {
| `- note: parameter 'work' is implicitly non-sendable
21 | if #available(macOS 10.12, iOS 10.0, *) {
22 | Thread.detachNewThread(work)
| `- warning: passing non-sendable parameter 'work' to function expecting a @Sendable closure
23 | } else {
24 | fatalError("macOS 10.12/iOS 10.0 or later required to call Thread.async(_:)")
[135/140] Compiling Core ReflectionDecodable.swift
[136/140] Compiling Core ReflectionDecoders.swift
[137/140] Compiling Core CoreError.swift
[138/140] Emitting module Core
/Users/admin/builder/spi-builder-workspace/Sources/Core/CodableReflection/Decodable+Reflectable.swift:115:24: warning: static property 'thread' is not concurrency-safe because non-'Sendable' type 'ThreadSpecificVariable<ReflectedPropertyCache>' may have shared mutable state; this is an error in the Swift 6 language mode
113 |
114 | /// Private `ThreadSpecificVariable` powering this cache.
115 | private static let thread: ThreadSpecificVariable<ReflectedPropertyCache> = .init()
| |- warning: static property 'thread' is not concurrency-safe because non-'Sendable' type 'ThreadSpecificVariable<ReflectedPropertyCache>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'thread' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
116 |
117 | /// Instance storage.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/Thread.swift:132:15: note: generic struct 'ThreadSpecificVariable' does not conform to the 'Sendable' protocol
130 | ///
131 | /// - note: `ThreadSpecificVariable` has reference semantics.
132 | public struct ThreadSpecificVariable<T: AnyObject> {
| `- note: generic struct 'ThreadSpecificVariable' does not conform to the 'Sendable' protocol
133 | private let key: pthread_key_t
134 |
/Users/admin/builder/spi-builder-workspace/Sources/Core/FutureEncoder.swift:9:1: warning: extension declares a conformance of imported type 'EventLoopFuture' to imported protocol 'Encodable'; this will not behave correctly if the owners of 'NIO' introduce this conformance in the future
7 |
8 | /// Conforms future to `Encodable` where its expectation is also `Encodable`.
9 | extension Future: Encodable where T: Encodable {
| |- warning: extension declares a conformance of imported type 'EventLoopFuture' to imported protocol 'Encodable'; this will not behave correctly if the owners of 'NIO' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
10 | /// See `Encodable`.
11 | public func encode(to encoder: Encoder) throws {
/Users/admin/builder/spi-builder-workspace/Sources/Core/MediaType.swift:186:23: warning: static property 'any' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
48 | /// ; to use within parameter values
49 | ///
50 | public struct MediaType: Hashable, CustomStringConvertible, Equatable {
| `- note: consider making struct 'MediaType' conform to the 'Sendable' protocol
51 | /// See `Equatable`.
52 | public static func ==(lhs: MediaType, rhs: MediaType) -> Bool {
:
184 | extension MediaType {
185 | /// Any media type (*/*).
186 | public static let any = MediaType(type: "*", subType: "*")
| |- warning: static property 'any' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'any' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
187 | /// Plain text media type.
188 | public static let plainText = MediaType(type: "text", subType: "plain", parameters: ["charset": "utf-8"])
/Users/admin/builder/spi-builder-workspace/Sources/Core/MediaType.swift:188:23: warning: static property 'plainText' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
48 | /// ; to use within parameter values
49 | ///
50 | public struct MediaType: Hashable, CustomStringConvertible, Equatable {
| `- note: consider making struct 'MediaType' conform to the 'Sendable' protocol
51 | /// See `Equatable`.
52 | public static func ==(lhs: MediaType, rhs: MediaType) -> Bool {
:
186 | public static let any = MediaType(type: "*", subType: "*")
187 | /// Plain text media type.
188 | public static let plainText = MediaType(type: "text", subType: "plain", parameters: ["charset": "utf-8"])
| |- warning: static property 'plainText' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'plainText' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
189 | /// HTML media type.
190 | public static let html = MediaType(type: "text", subType: "html", parameters: ["charset": "utf-8"])
/Users/admin/builder/spi-builder-workspace/Sources/Core/MediaType.swift:190:23: warning: static property 'html' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
48 | /// ; to use within parameter values
49 | ///
50 | public struct MediaType: Hashable, CustomStringConvertible, Equatable {
| `- note: consider making struct 'MediaType' conform to the 'Sendable' protocol
51 | /// See `Equatable`.
52 | public static func ==(lhs: MediaType, rhs: MediaType) -> Bool {
:
188 | public static let plainText = MediaType(type: "text", subType: "plain", parameters: ["charset": "utf-8"])
189 | /// HTML media type.
190 | public static let html = MediaType(type: "text", subType: "html", parameters: ["charset": "utf-8"])
| |- warning: static property 'html' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'html' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
191 | /// CSS media type.
192 | public static let css = MediaType(type: "text", subType: "css", parameters: ["charset": "utf-8"])
/Users/admin/builder/spi-builder-workspace/Sources/Core/MediaType.swift:192:23: warning: static property 'css' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
48 | /// ; to use within parameter values
49 | ///
50 | public struct MediaType: Hashable, CustomStringConvertible, Equatable {
| `- note: consider making struct 'MediaType' conform to the 'Sendable' protocol
51 | /// See `Equatable`.
52 | public static func ==(lhs: MediaType, rhs: MediaType) -> Bool {
:
190 | public static let html = MediaType(type: "text", subType: "html", parameters: ["charset": "utf-8"])
191 | /// CSS media type.
192 | public static let css = MediaType(type: "text", subType: "css", parameters: ["charset": "utf-8"])
| |- warning: static property 'css' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'css' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
193 | /// URL encoded form media type.
194 | public static let urlEncodedForm = MediaType(type: "application", subType: "x-www-form-urlencoded", parameters: ["charset": "utf-8"])
/Users/admin/builder/spi-builder-workspace/Sources/Core/MediaType.swift:194:23: warning: static property 'urlEncodedForm' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
48 | /// ; to use within parameter values
49 | ///
50 | public struct MediaType: Hashable, CustomStringConvertible, Equatable {
| `- note: consider making struct 'MediaType' conform to the 'Sendable' protocol
51 | /// See `Equatable`.
52 | public static func ==(lhs: MediaType, rhs: MediaType) -> Bool {
:
192 | public static let css = MediaType(type: "text", subType: "css", parameters: ["charset": "utf-8"])
193 | /// URL encoded form media type.
194 | public static let urlEncodedForm = MediaType(type: "application", subType: "x-www-form-urlencoded", parameters: ["charset": "utf-8"])
| |- warning: static property 'urlEncodedForm' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'urlEncodedForm' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
195 | /// Multipart encoded form data.
196 | public static let formData = MediaType(type: "multipart", subType: "form-data")
/Users/admin/builder/spi-builder-workspace/Sources/Core/MediaType.swift:196:23: warning: static property 'formData' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
48 | /// ; to use within parameter values
49 | ///
50 | public struct MediaType: Hashable, CustomStringConvertible, Equatable {
| `- note: consider making struct 'MediaType' conform to the 'Sendable' protocol
51 | /// See `Equatable`.
52 | public static func ==(lhs: MediaType, rhs: MediaType) -> Bool {
:
194 | public static let urlEncodedForm = MediaType(type: "application", subType: "x-www-form-urlencoded", parameters: ["charset": "utf-8"])
195 | /// Multipart encoded form data.
196 | public static let formData = MediaType(type: "multipart", subType: "form-data")
| |- warning: static property 'formData' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'formData' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
197 | /// Mixed multipart encoded data.
198 | public static let multipart = MediaType(type: "multipart", subType: "mixed")
/Users/admin/builder/spi-builder-workspace/Sources/Core/MediaType.swift:198:23: warning: static property 'multipart' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
48 | /// ; to use within parameter values
49 | ///
50 | public struct MediaType: Hashable, CustomStringConvertible, Equatable {
| `- note: consider making struct 'MediaType' conform to the 'Sendable' protocol
51 | /// See `Equatable`.
52 | public static func ==(lhs: MediaType, rhs: MediaType) -> Bool {
:
196 | public static let formData = MediaType(type: "multipart", subType: "form-data")
197 | /// Mixed multipart encoded data.
198 | public static let multipart = MediaType(type: "multipart", subType: "mixed")
| |- warning: static property 'multipart' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'multipart' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
199 | /// JSON media type.
200 | public static let json = MediaType(type: "application", subType: "json", parameters: ["charset": "utf-8"])
/Users/admin/builder/spi-builder-workspace/Sources/Core/MediaType.swift:200:23: warning: static property 'json' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
48 | /// ; to use within parameter values
49 | ///
50 | public struct MediaType: Hashable, CustomStringConvertible, Equatable {
| `- note: consider making struct 'MediaType' conform to the 'Sendable' protocol
51 | /// See `Equatable`.
52 | public static func ==(lhs: MediaType, rhs: MediaType) -> Bool {
:
198 | public static let multipart = MediaType(type: "multipart", subType: "mixed")
199 | /// JSON media type.
200 | public static let json = MediaType(type: "application", subType: "json", parameters: ["charset": "utf-8"])
| |- warning: static property 'json' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'json' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
201 | /// JSON API media type (see https://jsonapi.org/format/).
202 | public static let jsonAPI = MediaType(type: "application", subType: "vnd.api+json", parameters: ["charset": "utf-8"])
/Users/admin/builder/spi-builder-workspace/Sources/Core/MediaType.swift:202:23: warning: static property 'jsonAPI' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
48 | /// ; to use within parameter values
49 | ///
50 | public struct MediaType: Hashable, CustomStringConvertible, Equatable {
| `- note: consider making struct 'MediaType' conform to the 'Sendable' protocol
51 | /// See `Equatable`.
52 | public static func ==(lhs: MediaType, rhs: MediaType) -> Bool {
:
200 | public static let json = MediaType(type: "application", subType: "json", parameters: ["charset": "utf-8"])
201 | /// JSON API media type (see https://jsonapi.org/format/).
202 | public static let jsonAPI = MediaType(type: "application", subType: "vnd.api+json", parameters: ["charset": "utf-8"])
| |- warning: static property 'jsonAPI' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'jsonAPI' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
203 | /// XML media type.
204 | public static let xml = MediaType(type: "application", subType: "xml", parameters: ["charset": "utf-8"])
/Users/admin/builder/spi-builder-workspace/Sources/Core/MediaType.swift:204:23: warning: static property 'xml' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
48 | /// ; to use within parameter values
49 | ///
50 | public struct MediaType: Hashable, CustomStringConvertible, Equatable {
| `- note: consider making struct 'MediaType' conform to the 'Sendable' protocol
51 | /// See `Equatable`.
52 | public static func ==(lhs: MediaType, rhs: MediaType) -> Bool {
:
202 | public static let jsonAPI = MediaType(type: "application", subType: "vnd.api+json", parameters: ["charset": "utf-8"])
203 | /// XML media type.
204 | public static let xml = MediaType(type: "application", subType: "xml", parameters: ["charset": "utf-8"])
| |- warning: static property 'xml' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'xml' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
205 | /// DTD media type.
206 | public static let dtd = MediaType(type: "application", subType: "xml-dtd", parameters: ["charset": "utf-8"])
/Users/admin/builder/spi-builder-workspace/Sources/Core/MediaType.swift:206:23: warning: static property 'dtd' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
48 | /// ; to use within parameter values
49 | ///
50 | public struct MediaType: Hashable, CustomStringConvertible, Equatable {
| `- note: consider making struct 'MediaType' conform to the 'Sendable' protocol
51 | /// See `Equatable`.
52 | public static func ==(lhs: MediaType, rhs: MediaType) -> Bool {
:
204 | public static let xml = MediaType(type: "application", subType: "xml", parameters: ["charset": "utf-8"])
205 | /// DTD media type.
206 | public static let dtd = MediaType(type: "application", subType: "xml-dtd", parameters: ["charset": "utf-8"])
| |- warning: static property 'dtd' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'dtd' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
207 | /// PDF data.
208 | public static let pdf = MediaType(type: "application", subType: "pdf")
/Users/admin/builder/spi-builder-workspace/Sources/Core/MediaType.swift:208:23: warning: static property 'pdf' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
48 | /// ; to use within parameter values
49 | ///
50 | public struct MediaType: Hashable, CustomStringConvertible, Equatable {
| `- note: consider making struct 'MediaType' conform to the 'Sendable' protocol
51 | /// See `Equatable`.
52 | public static func ==(lhs: MediaType, rhs: MediaType) -> Bool {
:
206 | public static let dtd = MediaType(type: "application", subType: "xml-dtd", parameters: ["charset": "utf-8"])
207 | /// PDF data.
208 | public static let pdf = MediaType(type: "application", subType: "pdf")
| |- warning: static property 'pdf' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'pdf' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
209 | /// Zip file.
210 | public static let zip = MediaType(type: "application", subType: "zip")
/Users/admin/builder/spi-builder-workspace/Sources/Core/MediaType.swift:210:23: warning: static property 'zip' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
48 | /// ; to use within parameter values
49 | ///
50 | public struct MediaType: Hashable, CustomStringConvertible, Equatable {
| `- note: consider making struct 'MediaType' conform to the 'Sendable' protocol
51 | /// See `Equatable`.
52 | public static func ==(lhs: MediaType, rhs: MediaType) -> Bool {
:
208 | public static let pdf = MediaType(type: "application", subType: "pdf")
209 | /// Zip file.
210 | public static let zip = MediaType(type: "application", subType: "zip")
| |- warning: static property 'zip' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'zip' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
211 | /// tar file.
212 | public static let tar = MediaType(type: "application", subType: "x-tar")
/Users/admin/builder/spi-builder-workspace/Sources/Core/MediaType.swift:212:23: warning: static property 'tar' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
48 | /// ; to use within parameter values
49 | ///
50 | public struct MediaType: Hashable, CustomStringConvertible, Equatable {
| `- note: consider making struct 'MediaType' conform to the 'Sendable' protocol
51 | /// See `Equatable`.
52 | public static func ==(lhs: MediaType, rhs: MediaType) -> Bool {
:
210 | public static let zip = MediaType(type: "application", subType: "zip")
211 | /// tar file.
212 | public static let tar = MediaType(type: "application", subType: "x-tar")
| |- warning: static property 'tar' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'tar' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
213 | /// Gzip file.
214 | public static let gzip = MediaType(type: "application", subType: "x-gzip")
/Users/admin/builder/spi-builder-workspace/Sources/Core/MediaType.swift:214:23: warning: static property 'gzip' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
48 | /// ; to use within parameter values
49 | ///
50 | public struct MediaType: Hashable, CustomStringConvertible, Equatable {
| `- note: consider making struct 'MediaType' conform to the 'Sendable' protocol
51 | /// See `Equatable`.
52 | public static func ==(lhs: MediaType, rhs: MediaType) -> Bool {
:
212 | public static let tar = MediaType(type: "application", subType: "x-tar")
213 | /// Gzip file.
214 | public static let gzip = MediaType(type: "application", subType: "x-gzip")
| |- warning: static property 'gzip' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'gzip' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
215 | /// Bzip2 file.
216 | public static let bzip2 = MediaType(type: "application", subType: "x-bzip2")
/Users/admin/builder/spi-builder-workspace/Sources/Core/MediaType.swift:216:23: warning: static property 'bzip2' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
48 | /// ; to use within parameter values
49 | ///
50 | public struct MediaType: Hashable, CustomStringConvertible, Equatable {
| `- note: consider making struct 'MediaType' conform to the 'Sendable' protocol
51 | /// See `Equatable`.
52 | public static func ==(lhs: MediaType, rhs: MediaType) -> Bool {
:
214 | public static let gzip = MediaType(type: "application", subType: "x-gzip")
215 | /// Bzip2 file.
216 | public static let bzip2 = MediaType(type: "application", subType: "x-bzip2")
| |- warning: static property 'bzip2' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'bzip2' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
217 | /// Binary data.
218 | public static let binary = MediaType(type: "application", subType: "octet-stream")
/Users/admin/builder/spi-builder-workspace/Sources/Core/MediaType.swift:218:23: warning: static property 'binary' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
48 | /// ; to use within parameter values
49 | ///
50 | public struct MediaType: Hashable, CustomStringConvertible, Equatable {
| `- note: consider making struct 'MediaType' conform to the 'Sendable' protocol
51 | /// See `Equatable`.
52 | public static func ==(lhs: MediaType, rhs: MediaType) -> Bool {
:
216 | public static let bzip2 = MediaType(type: "application", subType: "x-bzip2")
217 | /// Binary data.
218 | public static let binary = MediaType(type: "application", subType: "octet-stream")
| |- warning: static property 'binary' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'binary' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
219 | /// GIF image.
220 | public static let gif = MediaType(type: "image", subType: "gif")
/Users/admin/builder/spi-builder-workspace/Sources/Core/MediaType.swift:220:23: warning: static property 'gif' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
48 | /// ; to use within parameter values
49 | ///
50 | public struct MediaType: Hashable, CustomStringConvertible, Equatable {
| `- note: consider making struct 'MediaType' conform to the 'Sendable' protocol
51 | /// See `Equatable`.
52 | public static func ==(lhs: MediaType, rhs: MediaType) -> Bool {
:
218 | public static let binary = MediaType(type: "application", subType: "octet-stream")
219 | /// GIF image.
220 | public static let gif = MediaType(type: "image", subType: "gif")
| |- warning: static property 'gif' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'gif' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
221 | /// JPEG image.
222 | public static let jpeg = MediaType(type: "image", subType: "jpeg")
/Users/admin/builder/spi-builder-workspace/Sources/Core/MediaType.swift:222:23: warning: static property 'jpeg' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
48 | /// ; to use within parameter values
49 | ///
50 | public struct MediaType: Hashable, CustomStringConvertible, Equatable {
| `- note: consider making struct 'MediaType' conform to the 'Sendable' protocol
51 | /// See `Equatable`.
52 | public static func ==(lhs: MediaType, rhs: MediaType) -> Bool {
:
220 | public static let gif = MediaType(type: "image", subType: "gif")
221 | /// JPEG image.
222 | public static let jpeg = MediaType(type: "image", subType: "jpeg")
| |- warning: static property 'jpeg' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'jpeg' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
223 | /// PNG image.
224 | public static let png = MediaType(type: "image", subType: "png")
/Users/admin/builder/spi-builder-workspace/Sources/Core/MediaType.swift:224:23: warning: static property 'png' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
48 | /// ; to use within parameter values
49 | ///
50 | public struct MediaType: Hashable, CustomStringConvertible, Equatable {
| `- note: consider making struct 'MediaType' conform to the 'Sendable' protocol
51 | /// See `Equatable`.
52 | public static func ==(lhs: MediaType, rhs: MediaType) -> Bool {
:
222 | public static let jpeg = MediaType(type: "image", subType: "jpeg")
223 | /// PNG image.
224 | public static let png = MediaType(type: "image", subType: "png")
| |- warning: static property 'png' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'png' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
225 | /// SVG image.
226 | public static let svg = MediaType(type: "image", subType: "svg+xml")
/Users/admin/builder/spi-builder-workspace/Sources/Core/MediaType.swift:226:23: warning: static property 'svg' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
48 | /// ; to use within parameter values
49 | ///
50 | public struct MediaType: Hashable, CustomStringConvertible, Equatable {
| `- note: consider making struct 'MediaType' conform to the 'Sendable' protocol
51 | /// See `Equatable`.
52 | public static func ==(lhs: MediaType, rhs: MediaType) -> Bool {
:
224 | public static let png = MediaType(type: "image", subType: "png")
225 | /// SVG image.
226 | public static let svg = MediaType(type: "image", subType: "svg+xml")
| |- warning: static property 'svg' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'svg' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
227 | /// Basic audio.
228 | public static let audio = MediaType(type: "audio", subType: "basic")
/Users/admin/builder/spi-builder-workspace/Sources/Core/MediaType.swift:228:23: warning: static property 'audio' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
48 | /// ; to use within parameter values
49 | ///
50 | public struct MediaType: Hashable, CustomStringConvertible, Equatable {
| `- note: consider making struct 'MediaType' conform to the 'Sendable' protocol
51 | /// See `Equatable`.
52 | public static func ==(lhs: MediaType, rhs: MediaType) -> Bool {
:
226 | public static let svg = MediaType(type: "image", subType: "svg+xml")
227 | /// Basic audio.
228 | public static let audio = MediaType(type: "audio", subType: "basic")
| |- warning: static property 'audio' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'audio' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
229 | /// MIDI audio.
230 | public static let midi = MediaType(type: "audio", subType: "x-midi")
/Users/admin/builder/spi-builder-workspace/Sources/Core/MediaType.swift:230:23: warning: static property 'midi' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
48 | /// ; to use within parameter values
49 | ///
50 | public struct MediaType: Hashable, CustomStringConvertible, Equatable {
| `- note: consider making struct 'MediaType' conform to the 'Sendable' protocol
51 | /// See `Equatable`.
52 | public static func ==(lhs: MediaType, rhs: MediaType) -> Bool {
:
228 | public static let audio = MediaType(type: "audio", subType: "basic")
229 | /// MIDI audio.
230 | public static let midi = MediaType(type: "audio", subType: "x-midi")
| |- warning: static property 'midi' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'midi' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
231 | /// MP3 audio.
232 | public static let mp3 = MediaType(type: "audio", subType: "mpeg")
/Users/admin/builder/spi-builder-workspace/Sources/Core/MediaType.swift:232:23: warning: static property 'mp3' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
48 | /// ; to use within parameter values
49 | ///
50 | public struct MediaType: Hashable, CustomStringConvertible, Equatable {
| `- note: consider making struct 'MediaType' conform to the 'Sendable' protocol
51 | /// See `Equatable`.
52 | public static func ==(lhs: MediaType, rhs: MediaType) -> Bool {
:
230 | public static let midi = MediaType(type: "audio", subType: "x-midi")
231 | /// MP3 audio.
232 | public static let mp3 = MediaType(type: "audio", subType: "mpeg")
| |- warning: static property 'mp3' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'mp3' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
233 | /// Wave audio.
234 | public static let wave = MediaType(type: "audio", subType: "wav")
/Users/admin/builder/spi-builder-workspace/Sources/Core/MediaType.swift:234:23: warning: static property 'wave' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
48 | /// ; to use within parameter values
49 | ///
50 | public struct MediaType: Hashable, CustomStringConvertible, Equatable {
| `- note: consider making struct 'MediaType' conform to the 'Sendable' protocol
51 | /// See `Equatable`.
52 | public static func ==(lhs: MediaType, rhs: MediaType) -> Bool {
:
232 | public static let mp3 = MediaType(type: "audio", subType: "mpeg")
233 | /// Wave audio.
234 | public static let wave = MediaType(type: "audio", subType: "wav")
| |- warning: static property 'wave' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'wave' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
235 | /// OGG audio.
236 | public static let ogg = MediaType(type: "audio", subType: "vorbis")
/Users/admin/builder/spi-builder-workspace/Sources/Core/MediaType.swift:236:23: warning: static property 'ogg' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
48 | /// ; to use within parameter values
49 | ///
50 | public struct MediaType: Hashable, CustomStringConvertible, Equatable {
| `- note: consider making struct 'MediaType' conform to the 'Sendable' protocol
51 | /// See `Equatable`.
52 | public static func ==(lhs: MediaType, rhs: MediaType) -> Bool {
:
234 | public static let wave = MediaType(type: "audio", subType: "wav")
235 | /// OGG audio.
236 | public static let ogg = MediaType(type: "audio", subType: "vorbis")
| |- warning: static property 'ogg' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'ogg' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
237 | /// AVI video.
238 | public static let avi = MediaType(type: "video", subType: "avi")
/Users/admin/builder/spi-builder-workspace/Sources/Core/MediaType.swift:238:23: warning: static property 'avi' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
48 | /// ; to use within parameter values
49 | ///
50 | public struct MediaType: Hashable, CustomStringConvertible, Equatable {
| `- note: consider making struct 'MediaType' conform to the 'Sendable' protocol
51 | /// See `Equatable`.
52 | public static func ==(lhs: MediaType, rhs: MediaType) -> Bool {
:
236 | public static let ogg = MediaType(type: "audio", subType: "vorbis")
237 | /// AVI video.
238 | public static let avi = MediaType(type: "video", subType: "avi")
| |- warning: static property 'avi' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'avi' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
239 | /// MPEG video.
240 | public static let mpeg = MediaType(type: "video", subType: "mpeg")
/Users/admin/builder/spi-builder-workspace/Sources/Core/MediaType.swift:240:23: warning: static property 'mpeg' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
48 | /// ; to use within parameter values
49 | ///
50 | public struct MediaType: Hashable, CustomStringConvertible, Equatable {
| `- note: consider making struct 'MediaType' conform to the 'Sendable' protocol
51 | /// See `Equatable`.
52 | public static func ==(lhs: MediaType, rhs: MediaType) -> Bool {
:
238 | public static let avi = MediaType(type: "video", subType: "avi")
239 | /// MPEG video.
240 | public static let mpeg = MediaType(type: "video", subType: "mpeg")
| |- warning: static property 'mpeg' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'mpeg' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
241 | }
242 |
/Users/admin/builder/spi-builder-workspace/Sources/Core/MediaType.swift:245:5: warning: let 'fileExtensionMediaTypeMapping' is not concurrency-safe because non-'Sendable' type '[String : MediaType]' may have shared mutable state; this is an error in the Swift 6 language mode
48 | /// ; to use within parameter values
49 | ///
50 | public struct MediaType: Hashable, CustomStringConvertible, Equatable {
| `- note: consider making struct 'MediaType' conform to the 'Sendable' protocol
51 | /// See `Equatable`.
52 | public static func ==(lhs: MediaType, rhs: MediaType) -> Bool {
:
243 | // MARK: Extensions
244 |
245 | let fileExtensionMediaTypeMapping: [String: MediaType] = [
| |- warning: let 'fileExtensionMediaTypeMapping' is not concurrency-safe because non-'Sendable' type '[String : MediaType]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'fileExtensionMediaTypeMapping' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
246 | "ez": MediaType(type: "application", subType: "andrew-inset"),
247 | "anx": MediaType(type: "application", subType: "annodex"),
/Users/admin/builder/spi-builder-workspace/Sources/Core/String+Utilities.swift:24:1: warning: extension declares a conformance of imported type 'UUID' to imported protocol 'LosslessStringConvertible'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
22 | }
23 |
24 | extension UUID: LosslessStringConvertible {
| |- warning: extension declares a conformance of imported type 'UUID' to imported protocol 'LosslessStringConvertible'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
25 | /// See `LosslessStringConvertible`.
26 | public init?(_ string: String) {
[139/140] Compiling Core MediaType.swift
/Users/admin/builder/spi-builder-workspace/Sources/Core/MediaType.swift:186:23: warning: static property 'any' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
48 | /// ; to use within parameter values
49 | ///
50 | public struct MediaType: Hashable, CustomStringConvertible, Equatable {
| `- note: consider making struct 'MediaType' conform to the 'Sendable' protocol
51 | /// See `Equatable`.
52 | public static func ==(lhs: MediaType, rhs: MediaType) -> Bool {
:
184 | extension MediaType {
185 | /// Any media type (*/*).
186 | public static let any = MediaType(type: "*", subType: "*")
| |- warning: static property 'any' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'any' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
187 | /// Plain text media type.
188 | public static let plainText = MediaType(type: "text", subType: "plain", parameters: ["charset": "utf-8"])
/Users/admin/builder/spi-builder-workspace/Sources/Core/MediaType.swift:188:23: warning: static property 'plainText' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
48 | /// ; to use within parameter values
49 | ///
50 | public struct MediaType: Hashable, CustomStringConvertible, Equatable {
| `- note: consider making struct 'MediaType' conform to the 'Sendable' protocol
51 | /// See `Equatable`.
52 | public static func ==(lhs: MediaType, rhs: MediaType) -> Bool {
:
186 | public static let any = MediaType(type: "*", subType: "*")
187 | /// Plain text media type.
188 | public static let plainText = MediaType(type: "text", subType: "plain", parameters: ["charset": "utf-8"])
| |- warning: static property 'plainText' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'plainText' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
189 | /// HTML media type.
190 | public static let html = MediaType(type: "text", subType: "html", parameters: ["charset": "utf-8"])
/Users/admin/builder/spi-builder-workspace/Sources/Core/MediaType.swift:190:23: warning: static property 'html' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
48 | /// ; to use within parameter values
49 | ///
50 | public struct MediaType: Hashable, CustomStringConvertible, Equatable {
| `- note: consider making struct 'MediaType' conform to the 'Sendable' protocol
51 | /// See `Equatable`.
52 | public static func ==(lhs: MediaType, rhs: MediaType) -> Bool {
:
188 | public static let plainText = MediaType(type: "text", subType: "plain", parameters: ["charset": "utf-8"])
189 | /// HTML media type.
190 | public static let html = MediaType(type: "text", subType: "html", parameters: ["charset": "utf-8"])
| |- warning: static property 'html' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'html' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
191 | /// CSS media type.
192 | public static let css = MediaType(type: "text", subType: "css", parameters: ["charset": "utf-8"])
/Users/admin/builder/spi-builder-workspace/Sources/Core/MediaType.swift:192:23: warning: static property 'css' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
48 | /// ; to use within parameter values
49 | ///
50 | public struct MediaType: Hashable, CustomStringConvertible, Equatable {
| `- note: consider making struct 'MediaType' conform to the 'Sendable' protocol
51 | /// See `Equatable`.
52 | public static func ==(lhs: MediaType, rhs: MediaType) -> Bool {
:
190 | public static let html = MediaType(type: "text", subType: "html", parameters: ["charset": "utf-8"])
191 | /// CSS media type.
192 | public static let css = MediaType(type: "text", subType: "css", parameters: ["charset": "utf-8"])
| |- warning: static property 'css' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'css' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
193 | /// URL encoded form media type.
194 | public static let urlEncodedForm = MediaType(type: "application", subType: "x-www-form-urlencoded", parameters: ["charset": "utf-8"])
/Users/admin/builder/spi-builder-workspace/Sources/Core/MediaType.swift:194:23: warning: static property 'urlEncodedForm' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
48 | /// ; to use within parameter values
49 | ///
50 | public struct MediaType: Hashable, CustomStringConvertible, Equatable {
| `- note: consider making struct 'MediaType' conform to the 'Sendable' protocol
51 | /// See `Equatable`.
52 | public static func ==(lhs: MediaType, rhs: MediaType) -> Bool {
:
192 | public static let css = MediaType(type: "text", subType: "css", parameters: ["charset": "utf-8"])
193 | /// URL encoded form media type.
194 | public static let urlEncodedForm = MediaType(type: "application", subType: "x-www-form-urlencoded", parameters: ["charset": "utf-8"])
| |- warning: static property 'urlEncodedForm' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'urlEncodedForm' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
195 | /// Multipart encoded form data.
196 | public static let formData = MediaType(type: "multipart", subType: "form-data")
/Users/admin/builder/spi-builder-workspace/Sources/Core/MediaType.swift:196:23: warning: static property 'formData' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
48 | /// ; to use within parameter values
49 | ///
50 | public struct MediaType: Hashable, CustomStringConvertible, Equatable {
| `- note: consider making struct 'MediaType' conform to the 'Sendable' protocol
51 | /// See `Equatable`.
52 | public static func ==(lhs: MediaType, rhs: MediaType) -> Bool {
:
194 | public static let urlEncodedForm = MediaType(type: "application", subType: "x-www-form-urlencoded", parameters: ["charset": "utf-8"])
195 | /// Multipart encoded form data.
196 | public static let formData = MediaType(type: "multipart", subType: "form-data")
| |- warning: static property 'formData' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'formData' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
197 | /// Mixed multipart encoded data.
198 | public static let multipart = MediaType(type: "multipart", subType: "mixed")
/Users/admin/builder/spi-builder-workspace/Sources/Core/MediaType.swift:198:23: warning: static property 'multipart' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
48 | /// ; to use within parameter values
49 | ///
50 | public struct MediaType: Hashable, CustomStringConvertible, Equatable {
| `- note: consider making struct 'MediaType' conform to the 'Sendable' protocol
51 | /// See `Equatable`.
52 | public static func ==(lhs: MediaType, rhs: MediaType) -> Bool {
:
196 | public static let formData = MediaType(type: "multipart", subType: "form-data")
197 | /// Mixed multipart encoded data.
198 | public static let multipart = MediaType(type: "multipart", subType: "mixed")
| |- warning: static property 'multipart' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'multipart' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
199 | /// JSON media type.
200 | public static let json = MediaType(type: "application", subType: "json", parameters: ["charset": "utf-8"])
/Users/admin/builder/spi-builder-workspace/Sources/Core/MediaType.swift:200:23: warning: static property 'json' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
48 | /// ; to use within parameter values
49 | ///
50 | public struct MediaType: Hashable, CustomStringConvertible, Equatable {
| `- note: consider making struct 'MediaType' conform to the 'Sendable' protocol
51 | /// See `Equatable`.
52 | public static func ==(lhs: MediaType, rhs: MediaType) -> Bool {
:
198 | public static let multipart = MediaType(type: "multipart", subType: "mixed")
199 | /// JSON media type.
200 | public static let json = MediaType(type: "application", subType: "json", parameters: ["charset": "utf-8"])
| |- warning: static property 'json' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'json' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
201 | /// JSON API media type (see https://jsonapi.org/format/).
202 | public static let jsonAPI = MediaType(type: "application", subType: "vnd.api+json", parameters: ["charset": "utf-8"])
/Users/admin/builder/spi-builder-workspace/Sources/Core/MediaType.swift:202:23: warning: static property 'jsonAPI' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
48 | /// ; to use within parameter values
49 | ///
50 | public struct MediaType: Hashable, CustomStringConvertible, Equatable {
| `- note: consider making struct 'MediaType' conform to the 'Sendable' protocol
51 | /// See `Equatable`.
52 | public static func ==(lhs: MediaType, rhs: MediaType) -> Bool {
:
200 | public static let json = MediaType(type: "application", subType: "json", parameters: ["charset": "utf-8"])
201 | /// JSON API media type (see https://jsonapi.org/format/).
202 | public static let jsonAPI = MediaType(type: "application", subType: "vnd.api+json", parameters: ["charset": "utf-8"])
| |- warning: static property 'jsonAPI' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'jsonAPI' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
203 | /// XML media type.
204 | public static let xml = MediaType(type: "application", subType: "xml", parameters: ["charset": "utf-8"])
/Users/admin/builder/spi-builder-workspace/Sources/Core/MediaType.swift:204:23: warning: static property 'xml' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
48 | /// ; to use within parameter values
49 | ///
50 | public struct MediaType: Hashable, CustomStringConvertible, Equatable {
| `- note: consider making struct 'MediaType' conform to the 'Sendable' protocol
51 | /// See `Equatable`.
52 | public static func ==(lhs: MediaType, rhs: MediaType) -> Bool {
:
202 | public static let jsonAPI = MediaType(type: "application", subType: "vnd.api+json", parameters: ["charset": "utf-8"])
203 | /// XML media type.
204 | public static let xml = MediaType(type: "application", subType: "xml", parameters: ["charset": "utf-8"])
| |- warning: static property 'xml' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'xml' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
205 | /// DTD media type.
206 | public static let dtd = MediaType(type: "application", subType: "xml-dtd", parameters: ["charset": "utf-8"])
/Users/admin/builder/spi-builder-workspace/Sources/Core/MediaType.swift:206:23: warning: static property 'dtd' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
48 | /// ; to use within parameter values
49 | ///
50 | public struct MediaType: Hashable, CustomStringConvertible, Equatable {
| `- note: consider making struct 'MediaType' conform to the 'Sendable' protocol
51 | /// See `Equatable`.
52 | public static func ==(lhs: MediaType, rhs: MediaType) -> Bool {
:
204 | public static let xml = MediaType(type: "application", subType: "xml", parameters: ["charset": "utf-8"])
205 | /// DTD media type.
206 | public static let dtd = MediaType(type: "application", subType: "xml-dtd", parameters: ["charset": "utf-8"])
| |- warning: static property 'dtd' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'dtd' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
207 | /// PDF data.
208 | public static let pdf = MediaType(type: "application", subType: "pdf")
/Users/admin/builder/spi-builder-workspace/Sources/Core/MediaType.swift:208:23: warning: static property 'pdf' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
48 | /// ; to use within parameter values
49 | ///
50 | public struct MediaType: Hashable, CustomStringConvertible, Equatable {
| `- note: consider making struct 'MediaType' conform to the 'Sendable' protocol
51 | /// See `Equatable`.
52 | public static func ==(lhs: MediaType, rhs: MediaType) -> Bool {
:
206 | public static let dtd = MediaType(type: "application", subType: "xml-dtd", parameters: ["charset": "utf-8"])
207 | /// PDF data.
208 | public static let pdf = MediaType(type: "application", subType: "pdf")
| |- warning: static property 'pdf' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'pdf' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
209 | /// Zip file.
210 | public static let zip = MediaType(type: "application", subType: "zip")
/Users/admin/builder/spi-builder-workspace/Sources/Core/MediaType.swift:210:23: warning: static property 'zip' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
48 | /// ; to use within parameter values
49 | ///
50 | public struct MediaType: Hashable, CustomStringConvertible, Equatable {
| `- note: consider making struct 'MediaType' conform to the 'Sendable' protocol
51 | /// See `Equatable`.
52 | public static func ==(lhs: MediaType, rhs: MediaType) -> Bool {
:
208 | public static let pdf = MediaType(type: "application", subType: "pdf")
209 | /// Zip file.
210 | public static let zip = MediaType(type: "application", subType: "zip")
| |- warning: static property 'zip' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'zip' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
211 | /// tar file.
212 | public static let tar = MediaType(type: "application", subType: "x-tar")
/Users/admin/builder/spi-builder-workspace/Sources/Core/MediaType.swift:212:23: warning: static property 'tar' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
48 | /// ; to use within parameter values
49 | ///
50 | public struct MediaType: Hashable, CustomStringConvertible, Equatable {
| `- note: consider making struct 'MediaType' conform to the 'Sendable' protocol
51 | /// See `Equatable`.
52 | public static func ==(lhs: MediaType, rhs: MediaType) -> Bool {
:
210 | public static let zip = MediaType(type: "application", subType: "zip")
211 | /// tar file.
212 | public static let tar = MediaType(type: "application", subType: "x-tar")
| |- warning: static property 'tar' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'tar' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
213 | /// Gzip file.
214 | public static let gzip = MediaType(type: "application", subType: "x-gzip")
/Users/admin/builder/spi-builder-workspace/Sources/Core/MediaType.swift:214:23: warning: static property 'gzip' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
48 | /// ; to use within parameter values
49 | ///
50 | public struct MediaType: Hashable, CustomStringConvertible, Equatable {
| `- note: consider making struct 'MediaType' conform to the 'Sendable' protocol
51 | /// See `Equatable`.
52 | public static func ==(lhs: MediaType, rhs: MediaType) -> Bool {
:
212 | public static let tar = MediaType(type: "application", subType: "x-tar")
213 | /// Gzip file.
214 | public static let gzip = MediaType(type: "application", subType: "x-gzip")
| |- warning: static property 'gzip' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'gzip' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
215 | /// Bzip2 file.
216 | public static let bzip2 = MediaType(type: "application", subType: "x-bzip2")
/Users/admin/builder/spi-builder-workspace/Sources/Core/MediaType.swift:216:23: warning: static property 'bzip2' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
48 | /// ; to use within parameter values
49 | ///
50 | public struct MediaType: Hashable, CustomStringConvertible, Equatable {
| `- note: consider making struct 'MediaType' conform to the 'Sendable' protocol
51 | /// See `Equatable`.
52 | public static func ==(lhs: MediaType, rhs: MediaType) -> Bool {
:
214 | public static let gzip = MediaType(type: "application", subType: "x-gzip")
215 | /// Bzip2 file.
216 | public static let bzip2 = MediaType(type: "application", subType: "x-bzip2")
| |- warning: static property 'bzip2' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'bzip2' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
217 | /// Binary data.
218 | public static let binary = MediaType(type: "application", subType: "octet-stream")
/Users/admin/builder/spi-builder-workspace/Sources/Core/MediaType.swift:218:23: warning: static property 'binary' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
48 | /// ; to use within parameter values
49 | ///
50 | public struct MediaType: Hashable, CustomStringConvertible, Equatable {
| `- note: consider making struct 'MediaType' conform to the 'Sendable' protocol
51 | /// See `Equatable`.
52 | public static func ==(lhs: MediaType, rhs: MediaType) -> Bool {
:
216 | public static let bzip2 = MediaType(type: "application", subType: "x-bzip2")
217 | /// Binary data.
218 | public static let binary = MediaType(type: "application", subType: "octet-stream")
| |- warning: static property 'binary' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'binary' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
219 | /// GIF image.
220 | public static let gif = MediaType(type: "image", subType: "gif")
/Users/admin/builder/spi-builder-workspace/Sources/Core/MediaType.swift:220:23: warning: static property 'gif' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
48 | /// ; to use within parameter values
49 | ///
50 | public struct MediaType: Hashable, CustomStringConvertible, Equatable {
| `- note: consider making struct 'MediaType' conform to the 'Sendable' protocol
51 | /// See `Equatable`.
52 | public static func ==(lhs: MediaType, rhs: MediaType) -> Bool {
:
218 | public static let binary = MediaType(type: "application", subType: "octet-stream")
219 | /// GIF image.
220 | public static let gif = MediaType(type: "image", subType: "gif")
| |- warning: static property 'gif' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'gif' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
221 | /// JPEG image.
222 | public static let jpeg = MediaType(type: "image", subType: "jpeg")
/Users/admin/builder/spi-builder-workspace/Sources/Core/MediaType.swift:222:23: warning: static property 'jpeg' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
48 | /// ; to use within parameter values
49 | ///
50 | public struct MediaType: Hashable, CustomStringConvertible, Equatable {
| `- note: consider making struct 'MediaType' conform to the 'Sendable' protocol
51 | /// See `Equatable`.
52 | public static func ==(lhs: MediaType, rhs: MediaType) -> Bool {
:
220 | public static let gif = MediaType(type: "image", subType: "gif")
221 | /// JPEG image.
222 | public static let jpeg = MediaType(type: "image", subType: "jpeg")
| |- warning: static property 'jpeg' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'jpeg' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
223 | /// PNG image.
224 | public static let png = MediaType(type: "image", subType: "png")
/Users/admin/builder/spi-builder-workspace/Sources/Core/MediaType.swift:224:23: warning: static property 'png' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
48 | /// ; to use within parameter values
49 | ///
50 | public struct MediaType: Hashable, CustomStringConvertible, Equatable {
| `- note: consider making struct 'MediaType' conform to the 'Sendable' protocol
51 | /// See `Equatable`.
52 | public static func ==(lhs: MediaType, rhs: MediaType) -> Bool {
:
222 | public static let jpeg = MediaType(type: "image", subType: "jpeg")
223 | /// PNG image.
224 | public static let png = MediaType(type: "image", subType: "png")
| |- warning: static property 'png' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'png' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
225 | /// SVG image.
226 | public static let svg = MediaType(type: "image", subType: "svg+xml")
/Users/admin/builder/spi-builder-workspace/Sources/Core/MediaType.swift:226:23: warning: static property 'svg' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
48 | /// ; to use within parameter values
49 | ///
50 | public struct MediaType: Hashable, CustomStringConvertible, Equatable {
| `- note: consider making struct 'MediaType' conform to the 'Sendable' protocol
51 | /// See `Equatable`.
52 | public static func ==(lhs: MediaType, rhs: MediaType) -> Bool {
:
224 | public static let png = MediaType(type: "image", subType: "png")
225 | /// SVG image.
226 | public static let svg = MediaType(type: "image", subType: "svg+xml")
| |- warning: static property 'svg' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'svg' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
227 | /// Basic audio.
228 | public static let audio = MediaType(type: "audio", subType: "basic")
/Users/admin/builder/spi-builder-workspace/Sources/Core/MediaType.swift:228:23: warning: static property 'audio' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
48 | /// ; to use within parameter values
49 | ///
50 | public struct MediaType: Hashable, CustomStringConvertible, Equatable {
| `- note: consider making struct 'MediaType' conform to the 'Sendable' protocol
51 | /// See `Equatable`.
52 | public static func ==(lhs: MediaType, rhs: MediaType) -> Bool {
:
226 | public static let svg = MediaType(type: "image", subType: "svg+xml")
227 | /// Basic audio.
228 | public static let audio = MediaType(type: "audio", subType: "basic")
| |- warning: static property 'audio' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'audio' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
229 | /// MIDI audio.
230 | public static let midi = MediaType(type: "audio", subType: "x-midi")
/Users/admin/builder/spi-builder-workspace/Sources/Core/MediaType.swift:230:23: warning: static property 'midi' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
48 | /// ; to use within parameter values
49 | ///
50 | public struct MediaType: Hashable, CustomStringConvertible, Equatable {
| `- note: consider making struct 'MediaType' conform to the 'Sendable' protocol
51 | /// See `Equatable`.
52 | public static func ==(lhs: MediaType, rhs: MediaType) -> Bool {
:
228 | public static let audio = MediaType(type: "audio", subType: "basic")
229 | /// MIDI audio.
230 | public static let midi = MediaType(type: "audio", subType: "x-midi")
| |- warning: static property 'midi' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'midi' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
231 | /// MP3 audio.
232 | public static let mp3 = MediaType(type: "audio", subType: "mpeg")
/Users/admin/builder/spi-builder-workspace/Sources/Core/MediaType.swift:232:23: warning: static property 'mp3' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
48 | /// ; to use within parameter values
49 | ///
50 | public struct MediaType: Hashable, CustomStringConvertible, Equatable {
| `- note: consider making struct 'MediaType' conform to the 'Sendable' protocol
51 | /// See `Equatable`.
52 | public static func ==(lhs: MediaType, rhs: MediaType) -> Bool {
:
230 | public static let midi = MediaType(type: "audio", subType: "x-midi")
231 | /// MP3 audio.
232 | public static let mp3 = MediaType(type: "audio", subType: "mpeg")
| |- warning: static property 'mp3' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'mp3' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
233 | /// Wave audio.
234 | public static let wave = MediaType(type: "audio", subType: "wav")
/Users/admin/builder/spi-builder-workspace/Sources/Core/MediaType.swift:234:23: warning: static property 'wave' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
48 | /// ; to use within parameter values
49 | ///
50 | public struct MediaType: Hashable, CustomStringConvertible, Equatable {
| `- note: consider making struct 'MediaType' conform to the 'Sendable' protocol
51 | /// See `Equatable`.
52 | public static func ==(lhs: MediaType, rhs: MediaType) -> Bool {
:
232 | public static let mp3 = MediaType(type: "audio", subType: "mpeg")
233 | /// Wave audio.
234 | public static let wave = MediaType(type: "audio", subType: "wav")
| |- warning: static property 'wave' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'wave' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
235 | /// OGG audio.
236 | public static let ogg = MediaType(type: "audio", subType: "vorbis")
/Users/admin/builder/spi-builder-workspace/Sources/Core/MediaType.swift:236:23: warning: static property 'ogg' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
48 | /// ; to use within parameter values
49 | ///
50 | public struct MediaType: Hashable, CustomStringConvertible, Equatable {
| `- note: consider making struct 'MediaType' conform to the 'Sendable' protocol
51 | /// See `Equatable`.
52 | public static func ==(lhs: MediaType, rhs: MediaType) -> Bool {
:
234 | public static let wave = MediaType(type: "audio", subType: "wav")
235 | /// OGG audio.
236 | public static let ogg = MediaType(type: "audio", subType: "vorbis")
| |- warning: static property 'ogg' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'ogg' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
237 | /// AVI video.
238 | public static let avi = MediaType(type: "video", subType: "avi")
/Users/admin/builder/spi-builder-workspace/Sources/Core/MediaType.swift:238:23: warning: static property 'avi' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
48 | /// ; to use within parameter values
49 | ///
50 | public struct MediaType: Hashable, CustomStringConvertible, Equatable {
| `- note: consider making struct 'MediaType' conform to the 'Sendable' protocol
51 | /// See `Equatable`.
52 | public static func ==(lhs: MediaType, rhs: MediaType) -> Bool {
:
236 | public static let ogg = MediaType(type: "audio", subType: "vorbis")
237 | /// AVI video.
238 | public static let avi = MediaType(type: "video", subType: "avi")
| |- warning: static property 'avi' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'avi' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
239 | /// MPEG video.
240 | public static let mpeg = MediaType(type: "video", subType: "mpeg")
/Users/admin/builder/spi-builder-workspace/Sources/Core/MediaType.swift:240:23: warning: static property 'mpeg' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
48 | /// ; to use within parameter values
49 | ///
50 | public struct MediaType: Hashable, CustomStringConvertible, Equatable {
| `- note: consider making struct 'MediaType' conform to the 'Sendable' protocol
51 | /// See `Equatable`.
52 | public static func ==(lhs: MediaType, rhs: MediaType) -> Bool {
:
238 | public static let avi = MediaType(type: "video", subType: "avi")
239 | /// MPEG video.
240 | public static let mpeg = MediaType(type: "video", subType: "mpeg")
| |- warning: static property 'mpeg' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'mpeg' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
241 | }
242 |
/Users/admin/builder/spi-builder-workspace/Sources/Core/MediaType.swift:245:5: warning: let 'fileExtensionMediaTypeMapping' is not concurrency-safe because non-'Sendable' type '[String : MediaType]' may have shared mutable state; this is an error in the Swift 6 language mode
48 | /// ; to use within parameter values
49 | ///
50 | public struct MediaType: Hashable, CustomStringConvertible, Equatable {
| `- note: consider making struct 'MediaType' conform to the 'Sendable' protocol
51 | /// See `Equatable`.
52 | public static func ==(lhs: MediaType, rhs: MediaType) -> Bool {
:
243 | // MARK: Extensions
244 |
245 | let fileExtensionMediaTypeMapping: [String: MediaType] = [
| |- warning: let 'fileExtensionMediaTypeMapping' is not concurrency-safe because non-'Sendable' type '[String : MediaType]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'fileExtensionMediaTypeMapping' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
246 | "ez": MediaType(type: "application", subType: "andrew-inset"),
247 | "anx": MediaType(type: "application", subType: "annodex"),
[140/140] Compiling Core NestedData.swift
/Users/admin/builder/spi-builder-workspace/Sources/Core/MediaType.swift:186:23: warning: static property 'any' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
48 | /// ; to use within parameter values
49 | ///
50 | public struct MediaType: Hashable, CustomStringConvertible, Equatable {
| `- note: consider making struct 'MediaType' conform to the 'Sendable' protocol
51 | /// See `Equatable`.
52 | public static func ==(lhs: MediaType, rhs: MediaType) -> Bool {
:
184 | extension MediaType {
185 | /// Any media type (*/*).
186 | public static let any = MediaType(type: "*", subType: "*")
| |- warning: static property 'any' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'any' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
187 | /// Plain text media type.
188 | public static let plainText = MediaType(type: "text", subType: "plain", parameters: ["charset": "utf-8"])
/Users/admin/builder/spi-builder-workspace/Sources/Core/MediaType.swift:188:23: warning: static property 'plainText' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
48 | /// ; to use within parameter values
49 | ///
50 | public struct MediaType: Hashable, CustomStringConvertible, Equatable {
| `- note: consider making struct 'MediaType' conform to the 'Sendable' protocol
51 | /// See `Equatable`.
52 | public static func ==(lhs: MediaType, rhs: MediaType) -> Bool {
:
186 | public static let any = MediaType(type: "*", subType: "*")
187 | /// Plain text media type.
188 | public static let plainText = MediaType(type: "text", subType: "plain", parameters: ["charset": "utf-8"])
| |- warning: static property 'plainText' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'plainText' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
189 | /// HTML media type.
190 | public static let html = MediaType(type: "text", subType: "html", parameters: ["charset": "utf-8"])
/Users/admin/builder/spi-builder-workspace/Sources/Core/MediaType.swift:190:23: warning: static property 'html' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
48 | /// ; to use within parameter values
49 | ///
50 | public struct MediaType: Hashable, CustomStringConvertible, Equatable {
| `- note: consider making struct 'MediaType' conform to the 'Sendable' protocol
51 | /// See `Equatable`.
52 | public static func ==(lhs: MediaType, rhs: MediaType) -> Bool {
:
188 | public static let plainText = MediaType(type: "text", subType: "plain", parameters: ["charset": "utf-8"])
189 | /// HTML media type.
190 | public static let html = MediaType(type: "text", subType: "html", parameters: ["charset": "utf-8"])
| |- warning: static property 'html' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'html' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
191 | /// CSS media type.
192 | public static let css = MediaType(type: "text", subType: "css", parameters: ["charset": "utf-8"])
/Users/admin/builder/spi-builder-workspace/Sources/Core/MediaType.swift:192:23: warning: static property 'css' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
48 | /// ; to use within parameter values
49 | ///
50 | public struct MediaType: Hashable, CustomStringConvertible, Equatable {
| `- note: consider making struct 'MediaType' conform to the 'Sendable' protocol
51 | /// See `Equatable`.
52 | public static func ==(lhs: MediaType, rhs: MediaType) -> Bool {
:
190 | public static let html = MediaType(type: "text", subType: "html", parameters: ["charset": "utf-8"])
191 | /// CSS media type.
192 | public static let css = MediaType(type: "text", subType: "css", parameters: ["charset": "utf-8"])
| |- warning: static property 'css' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'css' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
193 | /// URL encoded form media type.
194 | public static let urlEncodedForm = MediaType(type: "application", subType: "x-www-form-urlencoded", parameters: ["charset": "utf-8"])
/Users/admin/builder/spi-builder-workspace/Sources/Core/MediaType.swift:194:23: warning: static property 'urlEncodedForm' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
48 | /// ; to use within parameter values
49 | ///
50 | public struct MediaType: Hashable, CustomStringConvertible, Equatable {
| `- note: consider making struct 'MediaType' conform to the 'Sendable' protocol
51 | /// See `Equatable`.
52 | public static func ==(lhs: MediaType, rhs: MediaType) -> Bool {
:
192 | public static let css = MediaType(type: "text", subType: "css", parameters: ["charset": "utf-8"])
193 | /// URL encoded form media type.
194 | public static let urlEncodedForm = MediaType(type: "application", subType: "x-www-form-urlencoded", parameters: ["charset": "utf-8"])
| |- warning: static property 'urlEncodedForm' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'urlEncodedForm' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
195 | /// Multipart encoded form data.
196 | public static let formData = MediaType(type: "multipart", subType: "form-data")
/Users/admin/builder/spi-builder-workspace/Sources/Core/MediaType.swift:196:23: warning: static property 'formData' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
48 | /// ; to use within parameter values
49 | ///
50 | public struct MediaType: Hashable, CustomStringConvertible, Equatable {
| `- note: consider making struct 'MediaType' conform to the 'Sendable' protocol
51 | /// See `Equatable`.
52 | public static func ==(lhs: MediaType, rhs: MediaType) -> Bool {
:
194 | public static let urlEncodedForm = MediaType(type: "application", subType: "x-www-form-urlencoded", parameters: ["charset": "utf-8"])
195 | /// Multipart encoded form data.
196 | public static let formData = MediaType(type: "multipart", subType: "form-data")
| |- warning: static property 'formData' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'formData' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
197 | /// Mixed multipart encoded data.
198 | public static let multipart = MediaType(type: "multipart", subType: "mixed")
/Users/admin/builder/spi-builder-workspace/Sources/Core/MediaType.swift:198:23: warning: static property 'multipart' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
48 | /// ; to use within parameter values
49 | ///
50 | public struct MediaType: Hashable, CustomStringConvertible, Equatable {
| `- note: consider making struct 'MediaType' conform to the 'Sendable' protocol
51 | /// See `Equatable`.
52 | public static func ==(lhs: MediaType, rhs: MediaType) -> Bool {
:
196 | public static let formData = MediaType(type: "multipart", subType: "form-data")
197 | /// Mixed multipart encoded data.
198 | public static let multipart = MediaType(type: "multipart", subType: "mixed")
| |- warning: static property 'multipart' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'multipart' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
199 | /// JSON media type.
200 | public static let json = MediaType(type: "application", subType: "json", parameters: ["charset": "utf-8"])
/Users/admin/builder/spi-builder-workspace/Sources/Core/MediaType.swift:200:23: warning: static property 'json' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
48 | /// ; to use within parameter values
49 | ///
50 | public struct MediaType: Hashable, CustomStringConvertible, Equatable {
| `- note: consider making struct 'MediaType' conform to the 'Sendable' protocol
51 | /// See `Equatable`.
52 | public static func ==(lhs: MediaType, rhs: MediaType) -> Bool {
:
198 | public static let multipart = MediaType(type: "multipart", subType: "mixed")
199 | /// JSON media type.
200 | public static let json = MediaType(type: "application", subType: "json", parameters: ["charset": "utf-8"])
| |- warning: static property 'json' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'json' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
201 | /// JSON API media type (see https://jsonapi.org/format/).
202 | public static let jsonAPI = MediaType(type: "application", subType: "vnd.api+json", parameters: ["charset": "utf-8"])
/Users/admin/builder/spi-builder-workspace/Sources/Core/MediaType.swift:202:23: warning: static property 'jsonAPI' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
48 | /// ; to use within parameter values
49 | ///
50 | public struct MediaType: Hashable, CustomStringConvertible, Equatable {
| `- note: consider making struct 'MediaType' conform to the 'Sendable' protocol
51 | /// See `Equatable`.
52 | public static func ==(lhs: MediaType, rhs: MediaType) -> Bool {
:
200 | public static let json = MediaType(type: "application", subType: "json", parameters: ["charset": "utf-8"])
201 | /// JSON API media type (see https://jsonapi.org/format/).
202 | public static let jsonAPI = MediaType(type: "application", subType: "vnd.api+json", parameters: ["charset": "utf-8"])
| |- warning: static property 'jsonAPI' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'jsonAPI' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
203 | /// XML media type.
204 | public static let xml = MediaType(type: "application", subType: "xml", parameters: ["charset": "utf-8"])
/Users/admin/builder/spi-builder-workspace/Sources/Core/MediaType.swift:204:23: warning: static property 'xml' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
48 | /// ; to use within parameter values
49 | ///
50 | public struct MediaType: Hashable, CustomStringConvertible, Equatable {
| `- note: consider making struct 'MediaType' conform to the 'Sendable' protocol
51 | /// See `Equatable`.
52 | public static func ==(lhs: MediaType, rhs: MediaType) -> Bool {
:
202 | public static let jsonAPI = MediaType(type: "application", subType: "vnd.api+json", parameters: ["charset": "utf-8"])
203 | /// XML media type.
204 | public static let xml = MediaType(type: "application", subType: "xml", parameters: ["charset": "utf-8"])
| |- warning: static property 'xml' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'xml' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
205 | /// DTD media type.
206 | public static let dtd = MediaType(type: "application", subType: "xml-dtd", parameters: ["charset": "utf-8"])
/Users/admin/builder/spi-builder-workspace/Sources/Core/MediaType.swift:206:23: warning: static property 'dtd' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
48 | /// ; to use within parameter values
49 | ///
50 | public struct MediaType: Hashable, CustomStringConvertible, Equatable {
| `- note: consider making struct 'MediaType' conform to the 'Sendable' protocol
51 | /// See `Equatable`.
52 | public static func ==(lhs: MediaType, rhs: MediaType) -> Bool {
:
204 | public static let xml = MediaType(type: "application", subType: "xml", parameters: ["charset": "utf-8"])
205 | /// DTD media type.
206 | public static let dtd = MediaType(type: "application", subType: "xml-dtd", parameters: ["charset": "utf-8"])
| |- warning: static property 'dtd' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'dtd' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
207 | /// PDF data.
208 | public static let pdf = MediaType(type: "application", subType: "pdf")
/Users/admin/builder/spi-builder-workspace/Sources/Core/MediaType.swift:208:23: warning: static property 'pdf' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
48 | /// ; to use within parameter values
49 | ///
50 | public struct MediaType: Hashable, CustomStringConvertible, Equatable {
| `- note: consider making struct 'MediaType' conform to the 'Sendable' protocol
51 | /// See `Equatable`.
52 | public static func ==(lhs: MediaType, rhs: MediaType) -> Bool {
:
206 | public static let dtd = MediaType(type: "application", subType: "xml-dtd", parameters: ["charset": "utf-8"])
207 | /// PDF data.
208 | public static let pdf = MediaType(type: "application", subType: "pdf")
| |- warning: static property 'pdf' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'pdf' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
209 | /// Zip file.
210 | public static let zip = MediaType(type: "application", subType: "zip")
/Users/admin/builder/spi-builder-workspace/Sources/Core/MediaType.swift:210:23: warning: static property 'zip' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
48 | /// ; to use within parameter values
49 | ///
50 | public struct MediaType: Hashable, CustomStringConvertible, Equatable {
| `- note: consider making struct 'MediaType' conform to the 'Sendable' protocol
51 | /// See `Equatable`.
52 | public static func ==(lhs: MediaType, rhs: MediaType) -> Bool {
:
208 | public static let pdf = MediaType(type: "application", subType: "pdf")
209 | /// Zip file.
210 | public static let zip = MediaType(type: "application", subType: "zip")
| |- warning: static property 'zip' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'zip' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
211 | /// tar file.
212 | public static let tar = MediaType(type: "application", subType: "x-tar")
/Users/admin/builder/spi-builder-workspace/Sources/Core/MediaType.swift:212:23: warning: static property 'tar' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
48 | /// ; to use within parameter values
49 | ///
50 | public struct MediaType: Hashable, CustomStringConvertible, Equatable {
| `- note: consider making struct 'MediaType' conform to the 'Sendable' protocol
51 | /// See `Equatable`.
52 | public static func ==(lhs: MediaType, rhs: MediaType) -> Bool {
:
210 | public static let zip = MediaType(type: "application", subType: "zip")
211 | /// tar file.
212 | public static let tar = MediaType(type: "application", subType: "x-tar")
| |- warning: static property 'tar' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'tar' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
213 | /// Gzip file.
214 | public static let gzip = MediaType(type: "application", subType: "x-gzip")
/Users/admin/builder/spi-builder-workspace/Sources/Core/MediaType.swift:214:23: warning: static property 'gzip' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
48 | /// ; to use within parameter values
49 | ///
50 | public struct MediaType: Hashable, CustomStringConvertible, Equatable {
| `- note: consider making struct 'MediaType' conform to the 'Sendable' protocol
51 | /// See `Equatable`.
52 | public static func ==(lhs: MediaType, rhs: MediaType) -> Bool {
:
212 | public static let tar = MediaType(type: "application", subType: "x-tar")
213 | /// Gzip file.
214 | public static let gzip = MediaType(type: "application", subType: "x-gzip")
| |- warning: static property 'gzip' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'gzip' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
215 | /// Bzip2 file.
216 | public static let bzip2 = MediaType(type: "application", subType: "x-bzip2")
/Users/admin/builder/spi-builder-workspace/Sources/Core/MediaType.swift:216:23: warning: static property 'bzip2' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
48 | /// ; to use within parameter values
49 | ///
50 | public struct MediaType: Hashable, CustomStringConvertible, Equatable {
| `- note: consider making struct 'MediaType' conform to the 'Sendable' protocol
51 | /// See `Equatable`.
52 | public static func ==(lhs: MediaType, rhs: MediaType) -> Bool {
:
214 | public static let gzip = MediaType(type: "application", subType: "x-gzip")
215 | /// Bzip2 file.
216 | public static let bzip2 = MediaType(type: "application", subType: "x-bzip2")
| |- warning: static property 'bzip2' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'bzip2' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
217 | /// Binary data.
218 | public static let binary = MediaType(type: "application", subType: "octet-stream")
/Users/admin/builder/spi-builder-workspace/Sources/Core/MediaType.swift:218:23: warning: static property 'binary' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
48 | /// ; to use within parameter values
49 | ///
50 | public struct MediaType: Hashable, CustomStringConvertible, Equatable {
| `- note: consider making struct 'MediaType' conform to the 'Sendable' protocol
51 | /// See `Equatable`.
52 | public static func ==(lhs: MediaType, rhs: MediaType) -> Bool {
:
216 | public static let bzip2 = MediaType(type: "application", subType: "x-bzip2")
217 | /// Binary data.
218 | public static let binary = MediaType(type: "application", subType: "octet-stream")
| |- warning: static property 'binary' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'binary' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
219 | /// GIF image.
220 | public static let gif = MediaType(type: "image", subType: "gif")
/Users/admin/builder/spi-builder-workspace/Sources/Core/MediaType.swift:220:23: warning: static property 'gif' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
48 | /// ; to use within parameter values
49 | ///
50 | public struct MediaType: Hashable, CustomStringConvertible, Equatable {
| `- note: consider making struct 'MediaType' conform to the 'Sendable' protocol
51 | /// See `Equatable`.
52 | public static func ==(lhs: MediaType, rhs: MediaType) -> Bool {
:
218 | public static let binary = MediaType(type: "application", subType: "octet-stream")
219 | /// GIF image.
220 | public static let gif = MediaType(type: "image", subType: "gif")
| |- warning: static property 'gif' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'gif' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
221 | /// JPEG image.
222 | public static let jpeg = MediaType(type: "image", subType: "jpeg")
/Users/admin/builder/spi-builder-workspace/Sources/Core/MediaType.swift:222:23: warning: static property 'jpeg' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
48 | /// ; to use within parameter values
49 | ///
50 | public struct MediaType: Hashable, CustomStringConvertible, Equatable {
| `- note: consider making struct 'MediaType' conform to the 'Sendable' protocol
51 | /// See `Equatable`.
52 | public static func ==(lhs: MediaType, rhs: MediaType) -> Bool {
:
220 | public static let gif = MediaType(type: "image", subType: "gif")
221 | /// JPEG image.
222 | public static let jpeg = MediaType(type: "image", subType: "jpeg")
| |- warning: static property 'jpeg' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'jpeg' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
223 | /// PNG image.
224 | public static let png = MediaType(type: "image", subType: "png")
/Users/admin/builder/spi-builder-workspace/Sources/Core/MediaType.swift:224:23: warning: static property 'png' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
48 | /// ; to use within parameter values
49 | ///
50 | public struct MediaType: Hashable, CustomStringConvertible, Equatable {
| `- note: consider making struct 'MediaType' conform to the 'Sendable' protocol
51 | /// See `Equatable`.
52 | public static func ==(lhs: MediaType, rhs: MediaType) -> Bool {
:
222 | public static let jpeg = MediaType(type: "image", subType: "jpeg")
223 | /// PNG image.
224 | public static let png = MediaType(type: "image", subType: "png")
| |- warning: static property 'png' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'png' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
225 | /// SVG image.
226 | public static let svg = MediaType(type: "image", subType: "svg+xml")
/Users/admin/builder/spi-builder-workspace/Sources/Core/MediaType.swift:226:23: warning: static property 'svg' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
48 | /// ; to use within parameter values
49 | ///
50 | public struct MediaType: Hashable, CustomStringConvertible, Equatable {
| `- note: consider making struct 'MediaType' conform to the 'Sendable' protocol
51 | /// See `Equatable`.
52 | public static func ==(lhs: MediaType, rhs: MediaType) -> Bool {
:
224 | public static let png = MediaType(type: "image", subType: "png")
225 | /// SVG image.
226 | public static let svg = MediaType(type: "image", subType: "svg+xml")
| |- warning: static property 'svg' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'svg' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
227 | /// Basic audio.
228 | public static let audio = MediaType(type: "audio", subType: "basic")
/Users/admin/builder/spi-builder-workspace/Sources/Core/MediaType.swift:228:23: warning: static property 'audio' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
48 | /// ; to use within parameter values
49 | ///
50 | public struct MediaType: Hashable, CustomStringConvertible, Equatable {
| `- note: consider making struct 'MediaType' conform to the 'Sendable' protocol
51 | /// See `Equatable`.
52 | public static func ==(lhs: MediaType, rhs: MediaType) -> Bool {
:
226 | public static let svg = MediaType(type: "image", subType: "svg+xml")
227 | /// Basic audio.
228 | public static let audio = MediaType(type: "audio", subType: "basic")
| |- warning: static property 'audio' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'audio' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
229 | /// MIDI audio.
230 | public static let midi = MediaType(type: "audio", subType: "x-midi")
/Users/admin/builder/spi-builder-workspace/Sources/Core/MediaType.swift:230:23: warning: static property 'midi' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
48 | /// ; to use within parameter values
49 | ///
50 | public struct MediaType: Hashable, CustomStringConvertible, Equatable {
| `- note: consider making struct 'MediaType' conform to the 'Sendable' protocol
51 | /// See `Equatable`.
52 | public static func ==(lhs: MediaType, rhs: MediaType) -> Bool {
:
228 | public static let audio = MediaType(type: "audio", subType: "basic")
229 | /// MIDI audio.
230 | public static let midi = MediaType(type: "audio", subType: "x-midi")
| |- warning: static property 'midi' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'midi' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
231 | /// MP3 audio.
232 | public static let mp3 = MediaType(type: "audio", subType: "mpeg")
/Users/admin/builder/spi-builder-workspace/Sources/Core/MediaType.swift:232:23: warning: static property 'mp3' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
48 | /// ; to use within parameter values
49 | ///
50 | public struct MediaType: Hashable, CustomStringConvertible, Equatable {
| `- note: consider making struct 'MediaType' conform to the 'Sendable' protocol
51 | /// See `Equatable`.
52 | public static func ==(lhs: MediaType, rhs: MediaType) -> Bool {
:
230 | public static let midi = MediaType(type: "audio", subType: "x-midi")
231 | /// MP3 audio.
232 | public static let mp3 = MediaType(type: "audio", subType: "mpeg")
| |- warning: static property 'mp3' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'mp3' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
233 | /// Wave audio.
234 | public static let wave = MediaType(type: "audio", subType: "wav")
/Users/admin/builder/spi-builder-workspace/Sources/Core/MediaType.swift:234:23: warning: static property 'wave' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
48 | /// ; to use within parameter values
49 | ///
50 | public struct MediaType: Hashable, CustomStringConvertible, Equatable {
| `- note: consider making struct 'MediaType' conform to the 'Sendable' protocol
51 | /// See `Equatable`.
52 | public static func ==(lhs: MediaType, rhs: MediaType) -> Bool {
:
232 | public static let mp3 = MediaType(type: "audio", subType: "mpeg")
233 | /// Wave audio.
234 | public static let wave = MediaType(type: "audio", subType: "wav")
| |- warning: static property 'wave' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'wave' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
235 | /// OGG audio.
236 | public static let ogg = MediaType(type: "audio", subType: "vorbis")
/Users/admin/builder/spi-builder-workspace/Sources/Core/MediaType.swift:236:23: warning: static property 'ogg' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
48 | /// ; to use within parameter values
49 | ///
50 | public struct MediaType: Hashable, CustomStringConvertible, Equatable {
| `- note: consider making struct 'MediaType' conform to the 'Sendable' protocol
51 | /// See `Equatable`.
52 | public static func ==(lhs: MediaType, rhs: MediaType) -> Bool {
:
234 | public static let wave = MediaType(type: "audio", subType: "wav")
235 | /// OGG audio.
236 | public static let ogg = MediaType(type: "audio", subType: "vorbis")
| |- warning: static property 'ogg' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'ogg' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
237 | /// AVI video.
238 | public static let avi = MediaType(type: "video", subType: "avi")
/Users/admin/builder/spi-builder-workspace/Sources/Core/MediaType.swift:238:23: warning: static property 'avi' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
48 | /// ; to use within parameter values
49 | ///
50 | public struct MediaType: Hashable, CustomStringConvertible, Equatable {
| `- note: consider making struct 'MediaType' conform to the 'Sendable' protocol
51 | /// See `Equatable`.
52 | public static func ==(lhs: MediaType, rhs: MediaType) -> Bool {
:
236 | public static let ogg = MediaType(type: "audio", subType: "vorbis")
237 | /// AVI video.
238 | public static let avi = MediaType(type: "video", subType: "avi")
| |- warning: static property 'avi' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'avi' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
239 | /// MPEG video.
240 | public static let mpeg = MediaType(type: "video", subType: "mpeg")
/Users/admin/builder/spi-builder-workspace/Sources/Core/MediaType.swift:240:23: warning: static property 'mpeg' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
48 | /// ; to use within parameter values
49 | ///
50 | public struct MediaType: Hashable, CustomStringConvertible, Equatable {
| `- note: consider making struct 'MediaType' conform to the 'Sendable' protocol
51 | /// See `Equatable`.
52 | public static func ==(lhs: MediaType, rhs: MediaType) -> Bool {
:
238 | public static let avi = MediaType(type: "video", subType: "avi")
239 | /// MPEG video.
240 | public static let mpeg = MediaType(type: "video", subType: "mpeg")
| |- warning: static property 'mpeg' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'mpeg' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
241 | }
242 |
/Users/admin/builder/spi-builder-workspace/Sources/Core/MediaType.swift:245:5: warning: let 'fileExtensionMediaTypeMapping' is not concurrency-safe because non-'Sendable' type '[String : MediaType]' may have shared mutable state; this is an error in the Swift 6 language mode
48 | /// ; to use within parameter values
49 | ///
50 | public struct MediaType: Hashable, CustomStringConvertible, Equatable {
| `- note: consider making struct 'MediaType' conform to the 'Sendable' protocol
51 | /// See `Equatable`.
52 | public static func ==(lhs: MediaType, rhs: MediaType) -> Bool {
:
243 | // MARK: Extensions
244 |
245 | let fileExtensionMediaTypeMapping: [String: MediaType] = [
| |- warning: let 'fileExtensionMediaTypeMapping' is not concurrency-safe because non-'Sendable' type '[String : MediaType]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'fileExtensionMediaTypeMapping' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
246 | "ez": MediaType(type: "application", subType: "andrew-inset"),
247 | "anx": MediaType(type: "application", subType: "annodex"),
Build complete! (9.52s)
warning: 'swift-nio-zlib-support': ignoring declared target(s) 'swift-nio-zlib-support' in the system package
warning: failed to retrieve search paths with pkg-config; maybe pkg-config is not installed
warning: couldn't find pc file for zlib
warning: couldn't find pc file for zlib
Build complete.
{
"dependencies" : [
{
"identity" : "swift-nio",
"requirement" : {
"range" : [
{
"lower_bound" : "1.14.1",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-nio.git"
}
],
"manifest_display_name" : "Core",
"name" : "Core",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "Async",
"targets" : [
"Async"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "Bits",
"targets" : [
"Bits"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "Core",
"targets" : [
"Core"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "COperatingSystem",
"targets" : [
"COperatingSystem"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "Debugging",
"targets" : [
"Debugging"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "DebuggingTests",
"module_type" : "SwiftTarget",
"name" : "DebuggingTests",
"path" : "Tests/DebuggingTests",
"sources" : [
"FooError.swift",
"FooErrorTests.swift",
"GeneralTests.swift",
"MinimumError.swift",
"TestError.swift",
"TraceableTests.swift"
],
"target_dependencies" : [
"Debugging"
],
"type" : "test"
},
{
"c99name" : "Debugging",
"module_type" : "SwiftTarget",
"name" : "Debugging",
"path" : "Sources/Debugging",
"product_memberships" : [
"Bits",
"Core",
"Debugging"
],
"sources" : [
"Debuggable.swift",
"Demangler.swift",
"SourceLocation.swift"
],
"type" : "library"
},
{
"c99name" : "CoreTests",
"module_type" : "SwiftTarget",
"name" : "CoreTests",
"path" : "Tests/CoreTests",
"sources" : [
"CoreTests.swift",
"ReflectableTests.swift"
],
"target_dependencies" : [
"Core"
],
"type" : "test"
},
{
"c99name" : "Core",
"module_type" : "SwiftTarget",
"name" : "Core",
"path" : "Sources/Core",
"product_dependencies" : [
"NIOFoundationCompat"
],
"product_memberships" : [
"Core"
],
"sources" : [
"BasicKey.swift",
"CaseInsensitiveString.swift",
"CodableReflection/Decodable+Reflectable.swift",
"CodableReflection/ReflectionDecodable.swift",
"CodableReflection/ReflectionDecoders.swift",
"CoreError.swift",
"Data+Base64URL.swift",
"Data+Hex.swift",
"DataCoders.swift",
"Deprecated.swift",
"DirectoryConfig.swift",
"Exports.swift",
"File.swift",
"Future+Unwrap.swift",
"FutureEncoder.swift",
"HeaderValue.swift",
"LosslessDataConvertible.swift",
"MediaType.swift",
"NestedData.swift",
"NotFound.swift",
"OptionalType.swift",
"Process+Execute.swift",
"Reflectable.swift",
"String+Utilities.swift",
"Thread+Async.swift"
],
"target_dependencies" : [
"Async",
"Bits",
"COperatingSystem",
"Debugging"
],
"type" : "library"
},
{
"c99name" : "COperatingSystem",
"module_type" : "SwiftTarget",
"name" : "COperatingSystem",
"path" : "Sources/COperatingSystem",
"product_memberships" : [
"Core",
"COperatingSystem"
],
"sources" : [
"libc.swift"
],
"type" : "library"
},
{
"c99name" : "BitsTests",
"module_type" : "SwiftTarget",
"name" : "BitsTests",
"path" : "Tests/BitsTests",
"product_dependencies" : [
"NIO"
],
"sources" : [
"ByteBufferPeekTests.swift",
"ByteBufferRequireTests.swift"
],
"target_dependencies" : [
"Bits"
],
"type" : "test"
},
{
"c99name" : "Bits",
"module_type" : "SwiftTarget",
"name" : "Bits",
"path" : "Sources/Bits",
"product_dependencies" : [
"NIO"
],
"product_memberships" : [
"Bits",
"Core"
],
"sources" : [
"BitsError.swift",
"Byte+Alphabet.swift",
"Byte+Control.swift",
"Byte+Digit.swift",
"ByteBuffer+binaryFloatingPointOperations.swift",
"ByteBuffer+peek.swift",
"ByteBuffer+require.swift",
"ByteBuffer+string.swift",
"Bytes.swift",
"Data+Bytes.swift",
"Data+Strings.swift",
"Deprecated.swift"
],
"target_dependencies" : [
"Debugging"
],
"type" : "library"
},
{
"c99name" : "AsyncTests",
"module_type" : "SwiftTarget",
"name" : "AsyncTests",
"path" : "Tests/AsyncTests",
"sources" : [
"AsyncTests.swift"
],
"target_dependencies" : [
"Async"
],
"type" : "test"
},
{
"c99name" : "Async",
"module_type" : "SwiftTarget",
"name" : "Async",
"path" : "Sources/Async",
"product_dependencies" : [
"NIO"
],
"product_memberships" : [
"Async",
"Core"
],
"sources" : [
"Async+NIO.swift",
"AsyncError.swift",
"Collection+Future.swift",
"Deprecated.swift",
"Exports.swift",
"Future+DoCatch.swift",
"Future+Flatten.swift",
"Future+Global.swift",
"Future+Map.swift",
"Future+Transform.swift",
"Future+Variadic.swift",
"Future+Void.swift",
"FutureType.swift",
"QueueHandler.swift",
"Worker.swift"
],
"type" : "library"
}
],
"tools_version" : "4.1"
}
Done.