The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of TemplateKit, reference master (4370aa), with Swift 6.0 for Linux on 27 Nov 2024 13:51:34 UTC.

Swift 6 data race errors: 4

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.58.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/vapor/template-kit.git
Reference: master
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/vapor/template-kit
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 4370aa9 Merge pull request #65 from vapor/tn-url
Cloned https://github.com/vapor/template-kit.git
Revision (git rev-parse @):
4370aa99c01fc19cc8272b67bf7204b2d2063680
SUCCESS checkout https://github.com/vapor/template-kit.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/vapor/template-kit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/vapor/service.git
Fetching https://github.com/vapor/core.git
[1/919] Fetching service
[920/21062] Fetching service, core
Fetched https://github.com/vapor/service.git from cache (1.07s)
Fetched https://github.com/vapor/core.git from cache (1.10s)
Computing version for https://github.com/vapor/service.git
Computed https://github.com/vapor/service.git at 1.0.2 (0.60s)
Computing version for https://github.com/vapor/core.git
Computed https://github.com/vapor/core.git at 3.10.1 (0.54s)
Fetching https://github.com/apple/swift-nio.git
[1/71949] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (3.88s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 1.14.4 (1.18s)
Fetching https://github.com/apple/swift-nio-zlib-support.git
[1/15] Fetching swift-nio-zlib-support
Fetched https://github.com/apple/swift-nio-zlib-support.git from cache (0.45s)
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/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/vapor/service.git
Working copy of https://github.com/vapor/service.git resolved at 1.0.2
Creating working copy for https://github.com/vapor/core.git
Working copy of https://github.com/vapor/core.git resolved at 3.10.1
warning: 'swift-nio-zlib-support': ignoring declared target(s) 'swift-nio-zlib-support' in the system package
Building for debugging...
[0/17] Write sources
[11/17] Compiling CNIOLinux ifaddrs-android.c
[12/17] Compiling CNIODarwin shim.c
[13/17] Compiling CNIOLinux shim.c
[14/17] Write swift-version-24593BA9C3E375BF.txt
[14/17] Compiling CNIOSHA1 c_nio_sha1.c
[16/26] Compiling c-atomics.c
[18/29] Compiling NIOPriorityQueue PriorityQueue.swift
[19/29] Emitting module COperatingSystem
[20/29] Compiling COperatingSystem libc.swift
[21/30] Emitting module NIOPriorityQueue
[22/30] Compiling NIOPriorityQueue Heap.swift
[23/31] Emitting module NIOConcurrencyHelpers
[24/31] Compiling NIOConcurrencyHelpers atomics.swift
[25/31] Compiling NIOConcurrencyHelpers lock.swift
[29/82] Compiling Debugging Demangler.swift
[30/82] Compiling Debugging SourceLocation.swift
[31/82] Compiling Debugging Debuggable.swift
[32/82] Emitting module Debugging
[34/83] Compiling NIO RecvByteBufferAllocator.swift
[35/83] Compiling NIO Resolver.swift
[36/83] Compiling NIO Selectable.swift
[37/83] Compiling NIO Selector.swift
[38/83] Compiling NIO ServerSocket.swift
[39/83] Compiling NIO Socket.swift
[40/83] Compiling NIO SocketAddresses.swift
[41/89] Compiling NIO MarkedCircularBuffer.swift
[42/89] Compiling NIO MulticastChannel.swift
[43/89] Compiling NIO NIOAny.swift
[44/89] Compiling NIO NonBlockingFileIO.swift
[45/89] Compiling NIO PendingDatagramWritesManager.swift
[46/89] Compiling NIO PendingWritesManager.swift
[47/89] Compiling NIO PriorityQueue.swift
[48/89] Compiling NIO Heap.swift
[49/89] Compiling NIO IO.swift
[50/89] Compiling NIO IOData.swift
[51/89] Compiling NIO IntegerTypes.swift
[52/89] Compiling NIO Interfaces.swift
[53/89] Compiling NIO Linux.swift
[54/89] Compiling NIO LinuxCPUSet.swift
[55/89] Emitting module NIO
[56/89] Compiling NIO ByteBuffer-int.swift
[57/89] Compiling NIO ByteBuffer-views.swift
[58/89] Compiling NIO Channel.swift
[59/89] Compiling NIO ChannelHandler.swift
[60/89] Compiling NIO ChannelHandlers.swift
[61/89] Compiling NIO ChannelInvoker.swift
[62/89] Compiling NIO ChannelOption.swift
[63/89] Compiling NIO ChannelPipeline.swift
[64/89] Compiling NIO CircularBuffer.swift
[65/89] Compiling NIO Codec.swift
[66/89] Compiling NIO CompositeError.swift
[67/89] Compiling NIO ContiguousCollection.swift
[68/89] Compiling NIO DeadChannel.swift
[69/89] Compiling NIO Embedded.swift
[70/89] Compiling NIO EventLoop.swift
[71/89] Compiling NIO EventLoopFuture.swift
[72/89] Compiling NIO FileDescriptor.swift
[73/89] Compiling NIO FileHandle.swift
[74/89] Compiling NIO FileRegion.swift
[75/89] Compiling NIO GetaddrinfoResolver.swift
[76/89] Compiling NIO HappyEyeballs.swift
[77/89] Compiling NIO AddressedEnvelope.swift
[78/89] Compiling NIO BaseSocket.swift
[79/89] Compiling NIO BaseSocketChannel.swift
[80/89] Compiling NIO BlockingIOThreadPool.swift
[81/89] Compiling NIO Bootstrap.swift
[82/89] Compiling NIO ByteBuffer-aux.swift
[83/89] Compiling NIO ByteBuffer-core.swift
[84/89] Compiling NIO SocketChannel.swift
[85/89] Compiling NIO SocketOptionProvider.swift
[86/89] Compiling NIO System.swift
[87/89] Compiling NIO Thread.swift
[88/89] Compiling NIO TypeAssistedChannelHandler.swift
[89/89] Compiling NIO Utilities.swift
[91/119] Compiling Async Exports.swift
[92/119] Compiling Async Future+DoCatch.swift
[93/120] Compiling Bits Data+Strings.swift
[94/121] Compiling Async Future+Flatten.swift
[95/121] Compiling Async Future+Global.swift
[96/121] Compiling Async Async+NIO.swift
[97/121] Compiling Async AsyncError.swift
[98/121] Emitting module Bits
[101/121] Compiling Async Collection+Future.swift
[102/121] Compiling Async Deprecated.swift
[103/121] Compiling Async Future+Map.swift
[104/121] Compiling Async Future+Transform.swift
[111/121] Emitting module Async
[112/121] Compiling Async Worker.swift
[113/121] Compiling Bits Data+Bytes.swift
[114/121] Compiling Bits Bytes.swift
[115/121] Compiling Bits Deprecated.swift
[116/122] Emitting module NIOFoundationCompat
[117/122] Compiling NIOFoundationCompat ByteBuffer-foundation.swift
[119/123] Compiling Async Future+Variadic.swift
[120/123] Compiling Async Future+Void.swift
[121/123] Compiling Async FutureType.swift
[122/123] Compiling Async QueueHandler.swift
[125/147] Compiling Core Data+Hex.swift
[126/147] Compiling Core DataCoders.swift
[127/147] Compiling Core Deprecated.swift
[128/150] Compiling Core NotFound.swift
[129/150] Compiling Core OptionalType.swift
[130/150] Compiling Core Process+Execute.swift
[131/150] Compiling Core Future+Unwrap.swift
[132/150] Compiling Core FutureEncoder.swift
[133/150] Compiling Core HeaderValue.swift
[134/150] Compiling Core Reflectable.swift
[135/150] Compiling Core String+Utilities.swift
[136/150] Compiling Core Thread+Async.swift
[137/150] Compiling Core BasicKey.swift
[138/150] Compiling Core CaseInsensitiveString.swift
[139/150] Compiling Core Decodable+Reflectable.swift
[140/150] Compiling Core ReflectionDecodable.swift
[141/150] Compiling Core DirectoryConfig.swift
[142/150] Compiling Core Exports.swift
[143/150] Compiling Core File.swift
[144/150] Compiling Core ReflectionDecoders.swift
[145/150] Compiling Core CoreError.swift
[146/150] Compiling Core Data+Base64URL.swift
[147/150] Emitting module Core
[148/150] Compiling Core LosslessDataConvertible.swift
[149/150] Compiling Core MediaType.swift
[150/150] Compiling Core NestedData.swift
[152/170] Compiling Service ServiceID.swift
[153/170] Compiling Service ServiceType.swift
[154/170] Compiling Service Deprecated.swift
[155/170] Compiling Service Exports.swift
[156/172] Compiling Service Environment.swift
[157/172] Compiling Service Provider.swift
[158/172] Compiling Service BasicServiceFactory.swift
[159/172] Emitting module Service
[160/172] Compiling Service Services.swift
[161/172] Compiling Service TypeServiceFactory.swift
[162/172] Compiling Service Service.swift
[163/172] Compiling Service ServiceCache.swift
[164/172] Compiling Service ServiceFactory.swift
[165/172] Compiling Service Container.swift
[166/172] Compiling Service ContainerAlias.swift
[167/172] Compiling Service SubContainer.swift
[168/172] Compiling Service Config.swift
[169/172] Compiling Service BasicContainer.swift
[170/172] Compiling Service BasicSubContainer.swift
[171/172] Compiling Service Extendable.swift
[172/172] Compiling Service ServiceError.swift
[174/210] Compiling TemplateKit TemplateDataStorage.swift
[175/210] Compiling TemplateKit Deprecated.swift
[176/210] Compiling TemplateKit ASTCache.swift
[177/210] Compiling TemplateKit PlaintextRenderer.swift
[178/210] Compiling TemplateKit TemplateByteScanner.swift
[179/210] Compiling TemplateKit TemplateConditional.swift
[180/210] Compiling TemplateKit TemplateConstant.swift
[181/210] Compiling TemplateKit TemplateCustom.swift
[182/210] Compiling TemplateKit TemplateDataContext.swift
[183/210] Compiling TemplateKit TemplateEmbed.swift
[184/210] Compiling TemplateKit TemplateExpression.swift
[185/215] Emitting module TemplateKit
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/TemplateKit/Tag/DateFormat.swift:11:24: warning: static property 'dateAndTimeFormatterFactory' is not concurrency-safe because non-'Sendable' type 'DateFormat.DateFormatterFactory' (aka '() -> DateFormatter') may have shared mutable state; this is an error in the Swift 6 language mode
 9 |     private let defaultDateFormatterFactory: DateFormatterFactory
10 |
11 |     private static let dateAndTimeFormatterFactory: DateFormatterFactory = {
   |                        |- warning: static property 'dateAndTimeFormatterFactory' is not concurrency-safe because non-'Sendable' type 'DateFormat.DateFormatterFactory' (aka '() -> DateFormatter') may have shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: annotate 'dateAndTimeFormatterFactory' with '@MainActor' if property should only be accessed from the main actor
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |         let dateFormatter = DateFormatter()
13 |         dateFormatter.dateFormat = "yyyy-MM-dd HH:mm:ss"
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/TemplateKit/Tag/DateFormat.swift:17:24: warning: static property 'iso8601FormatterFactory' is not concurrency-safe because non-'Sendable' type 'DateFormat.DateFormatterFactory' (aka '() -> DateFormatter') may have shared mutable state; this is an error in the Swift 6 language mode
15 |     }
16 |
17 |     private static let iso8601FormatterFactory: DateFormatterFactory = {
   |                        |- warning: static property 'iso8601FormatterFactory' is not concurrency-safe because non-'Sendable' type 'DateFormat.DateFormatterFactory' (aka '() -> DateFormatter') may have shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: annotate 'iso8601FormatterFactory' with '@MainActor' if property should only be accessed from the main actor
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |         let dateFormatter = DateFormatter()
19 |         dateFormatter.calendar = Calendar(identifier: .iso8601)
/host/spi-builder-workspace/Sources/TemplateKit/Tag/DateFormat.swift:39:23: warning: static property 'iso8601' is not concurrency-safe because non-'Sendable' type 'DateFormat' may have shared mutable state; this is an error in the Swift 6 language mode
 4 | ///
 5 | /// If no date format is supplied, a default will be used.
 6 | public final class DateFormat: TagRenderer {
   |                    `- note: class 'DateFormat' does not conform to the 'Sendable' protocol
 7 |     public typealias DateFormatterFactory = () -> DateFormatter
 8 |
   :
37 |
38 |     /// A `DateFormat` tag renderer that uses ISO 8601 date formatting by default.
39 |     public static let iso8601 = DateFormat(defaultDateFormatterFactory: DateFormat.iso8601FormatterFactory)
   |                       |- warning: static property 'iso8601' is not concurrency-safe because non-'Sendable' type 'DateFormat' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'iso8601' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 |
41 |     /// See `TagRenderer`.
/host/spi-builder-workspace/Sources/TemplateKit/Utilities/TemplateError.swift:12:16: warning: stored property 'sourceLocation' of 'Sendable'-conforming struct 'TemplateKitError' has non-sendable type 'SourceLocation?'; this is an error in the Swift 6 language mode
10 |
11 |     /// See `Debuggable`.
12 |     public var sourceLocation: SourceLocation?
   |                `- warning: stored property 'sourceLocation' of 'Sendable'-conforming struct 'TemplateKitError' has non-sendable type 'SourceLocation?'; this is an error in the Swift 6 language mode
13 |
14 |     /// See `Debuggable`.
/host/spi-builder-workspace/.build/checkouts/core/Sources/Debugging/SourceLocation.swift:2:15: note: struct 'SourceLocation' does not conform to the 'Sendable' protocol
 1 | /// A source-code location.
 2 | public struct SourceLocation {
   |               `- note: struct 'SourceLocation' does not conform to the 'Sendable' protocol
 3 |     /// File in which this location exists.
 4 |     public var file: String
/host/spi-builder-workspace/Sources/TemplateKit/Utilities/TemplateError.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Debugging'
 1 | import Debugging
   | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Debugging'
 2 |
 3 | /// An error converting types.
[186/215] Compiling TemplateKit TemplateIdentifier.swift
[187/215] Compiling TemplateKit TemplateIterator.swift
[188/215] Compiling TemplateKit TemplateRaw.swift
[189/215] Compiling TemplateKit TemplateSource.swift
[190/215] Compiling TemplateKit TemplateSyntax.swift
[191/215] Compiling TemplateKit Exports.swift
/host/spi-builder-workspace/Sources/TemplateKit/Utilities/HTMLEscape.swift:20:31: warning: initialization of 'UnsafeMutableRawPointer' results in a dangling pointer
18 |             assert(bytes.count <= 8)
19 |             self.count = bytes.count
20 |             let selfPointer = UnsafeMutableRawPointer(&self)
   |                               |                       |- note: implicit argument conversion from 'String.InlineByteArray' to 'UnsafeMutableRawPointer' produces a pointer valid only for the duration of the call to 'init(_:)'
   |                               |                       `- note: use 'withUnsafeMutableBytes' in order to explicitly convert argument to buffer pointer valid for a defined scope
   |                               `- warning: initialization of 'UnsafeMutableRawPointer' results in a dangling pointer
21 |             bytes.withUnsafeBytes { bytesPointer in
22 |                 selfPointer.copyMemory(from: bytesPointer.baseAddress!, byteCount: bytes.count)
/host/spi-builder-workspace/Sources/TemplateKit/Utilities/HTMLEscape.swift:80:31: warning: initialization of 'UnsafeMutableRawPointer' results in a dangling pointer
78 |             // and still faster than the slow path) for non-ASCII Strings on Swift 4.2.
79 |             var resultData = SixteenBytes()
80 |             let resultBytes = UnsafeMutableRawPointer(&resultData)
   |                               |                       |- note: implicit argument conversion from 'String.SixteenBytes' to 'UnsafeMutableRawPointer' produces a pointer valid only for the duration of the call to 'init(_:)'
   |                               |                       `- note: use 'withUnsafeMutableBytes' in order to explicitly convert argument to buffer pointer valid for a defined scope
   |                               `- warning: initialization of 'UnsafeMutableRawPointer' results in a dangling pointer
81 |             writeEscapedString(resultBytes)
82 |
/host/spi-builder-workspace/Sources/TemplateKit/Utilities/TemplateError.swift:12:16: warning: stored property 'sourceLocation' of 'Sendable'-conforming struct 'TemplateKitError' has non-sendable type 'SourceLocation?'; this is an error in the Swift 6 language mode
10 |
11 |     /// See `Debuggable`.
12 |     public var sourceLocation: SourceLocation?
   |                `- warning: stored property 'sourceLocation' of 'Sendable'-conforming struct 'TemplateKitError' has non-sendable type 'SourceLocation?'; this is an error in the Swift 6 language mode
13 |
14 |     /// See `Debuggable`.
/host/spi-builder-workspace/.build/checkouts/core/Sources/Debugging/SourceLocation.swift:2:15: note: struct 'SourceLocation' does not conform to the 'Sendable' protocol
 1 | /// A source-code location.
 2 | public struct SourceLocation {
   |               `- note: struct 'SourceLocation' does not conform to the 'Sendable' protocol
 3 |     /// File in which this location exists.
 4 |     public var file: String
/host/spi-builder-workspace/Sources/TemplateKit/Utilities/TemplateError.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Debugging'
 1 | import Debugging
   | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Debugging'
 2 |
 3 | /// An error converting types.
[192/215] Compiling TemplateKit HTMLEscape.swift
/host/spi-builder-workspace/Sources/TemplateKit/Utilities/HTMLEscape.swift:20:31: warning: initialization of 'UnsafeMutableRawPointer' results in a dangling pointer
18 |             assert(bytes.count <= 8)
19 |             self.count = bytes.count
20 |             let selfPointer = UnsafeMutableRawPointer(&self)
   |                               |                       |- note: implicit argument conversion from 'String.InlineByteArray' to 'UnsafeMutableRawPointer' produces a pointer valid only for the duration of the call to 'init(_:)'
   |                               |                       `- note: use 'withUnsafeMutableBytes' in order to explicitly convert argument to buffer pointer valid for a defined scope
   |                               `- warning: initialization of 'UnsafeMutableRawPointer' results in a dangling pointer
21 |             bytes.withUnsafeBytes { bytesPointer in
22 |                 selfPointer.copyMemory(from: bytesPointer.baseAddress!, byteCount: bytes.count)
/host/spi-builder-workspace/Sources/TemplateKit/Utilities/HTMLEscape.swift:80:31: warning: initialization of 'UnsafeMutableRawPointer' results in a dangling pointer
78 |             // and still faster than the slow path) for non-ASCII Strings on Swift 4.2.
79 |             var resultData = SixteenBytes()
80 |             let resultBytes = UnsafeMutableRawPointer(&resultData)
   |                               |                       |- note: implicit argument conversion from 'String.SixteenBytes' to 'UnsafeMutableRawPointer' produces a pointer valid only for the duration of the call to 'init(_:)'
   |                               |                       `- note: use 'withUnsafeMutableBytes' in order to explicitly convert argument to buffer pointer valid for a defined scope
   |                               `- warning: initialization of 'UnsafeMutableRawPointer' results in a dangling pointer
81 |             writeEscapedString(resultBytes)
82 |
/host/spi-builder-workspace/Sources/TemplateKit/Utilities/TemplateError.swift:12:16: warning: stored property 'sourceLocation' of 'Sendable'-conforming struct 'TemplateKitError' has non-sendable type 'SourceLocation?'; this is an error in the Swift 6 language mode
10 |
11 |     /// See `Debuggable`.
12 |     public var sourceLocation: SourceLocation?
   |                `- warning: stored property 'sourceLocation' of 'Sendable'-conforming struct 'TemplateKitError' has non-sendable type 'SourceLocation?'; this is an error in the Swift 6 language mode
13 |
14 |     /// See `Debuggable`.
/host/spi-builder-workspace/.build/checkouts/core/Sources/Debugging/SourceLocation.swift:2:15: note: struct 'SourceLocation' does not conform to the 'Sendable' protocol
 1 | /// A source-code location.
 2 | public struct SourceLocation {
   |               `- note: struct 'SourceLocation' does not conform to the 'Sendable' protocol
 3 |     /// File in which this location exists.
 4 |     public var file: String
/host/spi-builder-workspace/Sources/TemplateKit/Utilities/TemplateError.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Debugging'
 1 | import Debugging
   | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Debugging'
 2 |
 3 | /// An error converting types.
[193/215] Compiling TemplateKit TemplateError.swift
/host/spi-builder-workspace/Sources/TemplateKit/Utilities/HTMLEscape.swift:20:31: warning: initialization of 'UnsafeMutableRawPointer' results in a dangling pointer
18 |             assert(bytes.count <= 8)
19 |             self.count = bytes.count
20 |             let selfPointer = UnsafeMutableRawPointer(&self)
   |                               |                       |- note: implicit argument conversion from 'String.InlineByteArray' to 'UnsafeMutableRawPointer' produces a pointer valid only for the duration of the call to 'init(_:)'
   |                               |                       `- note: use 'withUnsafeMutableBytes' in order to explicitly convert argument to buffer pointer valid for a defined scope
   |                               `- warning: initialization of 'UnsafeMutableRawPointer' results in a dangling pointer
21 |             bytes.withUnsafeBytes { bytesPointer in
22 |                 selfPointer.copyMemory(from: bytesPointer.baseAddress!, byteCount: bytes.count)
/host/spi-builder-workspace/Sources/TemplateKit/Utilities/HTMLEscape.swift:80:31: warning: initialization of 'UnsafeMutableRawPointer' results in a dangling pointer
78 |             // and still faster than the slow path) for non-ASCII Strings on Swift 4.2.
79 |             var resultData = SixteenBytes()
80 |             let resultBytes = UnsafeMutableRawPointer(&resultData)
   |                               |                       |- note: implicit argument conversion from 'String.SixteenBytes' to 'UnsafeMutableRawPointer' produces a pointer valid only for the duration of the call to 'init(_:)'
   |                               |                       `- note: use 'withUnsafeMutableBytes' in order to explicitly convert argument to buffer pointer valid for a defined scope
   |                               `- warning: initialization of 'UnsafeMutableRawPointer' results in a dangling pointer
81 |             writeEscapedString(resultBytes)
82 |
/host/spi-builder-workspace/Sources/TemplateKit/Utilities/TemplateError.swift:12:16: warning: stored property 'sourceLocation' of 'Sendable'-conforming struct 'TemplateKitError' has non-sendable type 'SourceLocation?'; this is an error in the Swift 6 language mode
10 |
11 |     /// See `Debuggable`.
12 |     public var sourceLocation: SourceLocation?
   |                `- warning: stored property 'sourceLocation' of 'Sendable'-conforming struct 'TemplateKitError' has non-sendable type 'SourceLocation?'; this is an error in the Swift 6 language mode
13 |
14 |     /// See `Debuggable`.
/host/spi-builder-workspace/.build/checkouts/core/Sources/Debugging/SourceLocation.swift:2:15: note: struct 'SourceLocation' does not conform to the 'Sendable' protocol
 1 | /// A source-code location.
 2 | public struct SourceLocation {
   |               `- note: struct 'SourceLocation' does not conform to the 'Sendable' protocol
 3 |     /// File in which this location exists.
 4 |     public var file: String
/host/spi-builder-workspace/Sources/TemplateKit/Utilities/TemplateError.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Debugging'
 1 | import Debugging
   | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Debugging'
 2 |
 3 | /// An error converting types.
[194/215] Compiling TemplateKit View.swift
/host/spi-builder-workspace/Sources/TemplateKit/Utilities/HTMLEscape.swift:20:31: warning: initialization of 'UnsafeMutableRawPointer' results in a dangling pointer
18 |             assert(bytes.count <= 8)
19 |             self.count = bytes.count
20 |             let selfPointer = UnsafeMutableRawPointer(&self)
   |                               |                       |- note: implicit argument conversion from 'String.InlineByteArray' to 'UnsafeMutableRawPointer' produces a pointer valid only for the duration of the call to 'init(_:)'
   |                               |                       `- note: use 'withUnsafeMutableBytes' in order to explicitly convert argument to buffer pointer valid for a defined scope
   |                               `- warning: initialization of 'UnsafeMutableRawPointer' results in a dangling pointer
21 |             bytes.withUnsafeBytes { bytesPointer in
22 |                 selfPointer.copyMemory(from: bytesPointer.baseAddress!, byteCount: bytes.count)
/host/spi-builder-workspace/Sources/TemplateKit/Utilities/HTMLEscape.swift:80:31: warning: initialization of 'UnsafeMutableRawPointer' results in a dangling pointer
78 |             // and still faster than the slow path) for non-ASCII Strings on Swift 4.2.
79 |             var resultData = SixteenBytes()
80 |             let resultBytes = UnsafeMutableRawPointer(&resultData)
   |                               |                       |- note: implicit argument conversion from 'String.SixteenBytes' to 'UnsafeMutableRawPointer' produces a pointer valid only for the duration of the call to 'init(_:)'
   |                               |                       `- note: use 'withUnsafeMutableBytes' in order to explicitly convert argument to buffer pointer valid for a defined scope
   |                               `- warning: initialization of 'UnsafeMutableRawPointer' results in a dangling pointer
81 |             writeEscapedString(resultBytes)
82 |
/host/spi-builder-workspace/Sources/TemplateKit/Utilities/TemplateError.swift:12:16: warning: stored property 'sourceLocation' of 'Sendable'-conforming struct 'TemplateKitError' has non-sendable type 'SourceLocation?'; this is an error in the Swift 6 language mode
10 |
11 |     /// See `Debuggable`.
12 |     public var sourceLocation: SourceLocation?
   |                `- warning: stored property 'sourceLocation' of 'Sendable'-conforming struct 'TemplateKitError' has non-sendable type 'SourceLocation?'; this is an error in the Swift 6 language mode
13 |
14 |     /// See `Debuggable`.
/host/spi-builder-workspace/.build/checkouts/core/Sources/Debugging/SourceLocation.swift:2:15: note: struct 'SourceLocation' does not conform to the 'Sendable' protocol
 1 | /// A source-code location.
 2 | public struct SourceLocation {
   |               `- note: struct 'SourceLocation' does not conform to the 'Sendable' protocol
 3 |     /// File in which this location exists.
 4 |     public var file: String
/host/spi-builder-workspace/Sources/TemplateKit/Utilities/TemplateError.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Debugging'
 1 | import Debugging
   | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Debugging'
 2 |
 3 | /// An error converting types.
[195/215] Compiling TemplateKit ViewRenderer.swift
/host/spi-builder-workspace/Sources/TemplateKit/Utilities/HTMLEscape.swift:20:31: warning: initialization of 'UnsafeMutableRawPointer' results in a dangling pointer
18 |             assert(bytes.count <= 8)
19 |             self.count = bytes.count
20 |             let selfPointer = UnsafeMutableRawPointer(&self)
   |                               |                       |- note: implicit argument conversion from 'String.InlineByteArray' to 'UnsafeMutableRawPointer' produces a pointer valid only for the duration of the call to 'init(_:)'
   |                               |                       `- note: use 'withUnsafeMutableBytes' in order to explicitly convert argument to buffer pointer valid for a defined scope
   |                               `- warning: initialization of 'UnsafeMutableRawPointer' results in a dangling pointer
21 |             bytes.withUnsafeBytes { bytesPointer in
22 |                 selfPointer.copyMemory(from: bytesPointer.baseAddress!, byteCount: bytes.count)
/host/spi-builder-workspace/Sources/TemplateKit/Utilities/HTMLEscape.swift:80:31: warning: initialization of 'UnsafeMutableRawPointer' results in a dangling pointer
78 |             // and still faster than the slow path) for non-ASCII Strings on Swift 4.2.
79 |             var resultData = SixteenBytes()
80 |             let resultBytes = UnsafeMutableRawPointer(&resultData)
   |                               |                       |- note: implicit argument conversion from 'String.SixteenBytes' to 'UnsafeMutableRawPointer' produces a pointer valid only for the duration of the call to 'init(_:)'
   |                               |                       `- note: use 'withUnsafeMutableBytes' in order to explicitly convert argument to buffer pointer valid for a defined scope
   |                               `- warning: initialization of 'UnsafeMutableRawPointer' results in a dangling pointer
81 |             writeEscapedString(resultBytes)
82 |
/host/spi-builder-workspace/Sources/TemplateKit/Utilities/TemplateError.swift:12:16: warning: stored property 'sourceLocation' of 'Sendable'-conforming struct 'TemplateKitError' has non-sendable type 'SourceLocation?'; this is an error in the Swift 6 language mode
10 |
11 |     /// See `Debuggable`.
12 |     public var sourceLocation: SourceLocation?
   |                `- warning: stored property 'sourceLocation' of 'Sendable'-conforming struct 'TemplateKitError' has non-sendable type 'SourceLocation?'; this is an error in the Swift 6 language mode
13 |
14 |     /// See `Debuggable`.
/host/spi-builder-workspace/.build/checkouts/core/Sources/Debugging/SourceLocation.swift:2:15: note: struct 'SourceLocation' does not conform to the 'Sendable' protocol
 1 | /// A source-code location.
 2 | public struct SourceLocation {
   |               `- note: struct 'SourceLocation' does not conform to the 'Sendable' protocol
 3 |     /// File in which this location exists.
 4 |     public var file: String
/host/spi-builder-workspace/Sources/TemplateKit/Utilities/TemplateError.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Debugging'
 1 | import Debugging
   | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Debugging'
 2 |
 3 | /// An error converting types.
[196/215] Compiling TemplateKit Raw.swift
[197/215] Compiling TemplateKit TagContext.swift
[198/215] Compiling TemplateKit TagRenderer.swift
[199/215] Compiling TemplateKit Uppercase.swift
[200/215] Compiling TemplateKit Var.swift
[201/215] Compiling TemplateKit TemplateParser.swift
[202/215] Compiling TemplateKit TemplateRenderer.swift
[203/215] Compiling TemplateKit TemplateSerializer.swift
[204/215] Compiling TemplateKit Capitalize.swift
[205/215] Compiling TemplateKit Comment.swift
[206/215] Compiling TemplateKit TemplateSyntaxType.swift
[207/215] Compiling TemplateKit TemplateTag.swift
[208/215] Compiling TemplateKit TemplateData.swift
[209/215] Compiling TemplateKit TemplateDataEncoder.swift
[210/215] Compiling TemplateKit TemplateDataRepresentable.swift
[211/215] Compiling TemplateKit Contains.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/TemplateKit/Tag/DateFormat.swift:11:24: warning: static property 'dateAndTimeFormatterFactory' is not concurrency-safe because non-'Sendable' type 'DateFormat.DateFormatterFactory' (aka '() -> DateFormatter') may have shared mutable state; this is an error in the Swift 6 language mode
 9 |     private let defaultDateFormatterFactory: DateFormatterFactory
10 |
11 |     private static let dateAndTimeFormatterFactory: DateFormatterFactory = {
   |                        |- warning: static property 'dateAndTimeFormatterFactory' is not concurrency-safe because non-'Sendable' type 'DateFormat.DateFormatterFactory' (aka '() -> DateFormatter') may have shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: annotate 'dateAndTimeFormatterFactory' with '@MainActor' if property should only be accessed from the main actor
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |         let dateFormatter = DateFormatter()
13 |         dateFormatter.dateFormat = "yyyy-MM-dd HH:mm:ss"
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/TemplateKit/Tag/DateFormat.swift:17:24: warning: static property 'iso8601FormatterFactory' is not concurrency-safe because non-'Sendable' type 'DateFormat.DateFormatterFactory' (aka '() -> DateFormatter') may have shared mutable state; this is an error in the Swift 6 language mode
15 |     }
16 |
17 |     private static let iso8601FormatterFactory: DateFormatterFactory = {
   |                        |- warning: static property 'iso8601FormatterFactory' is not concurrency-safe because non-'Sendable' type 'DateFormat.DateFormatterFactory' (aka '() -> DateFormatter') may have shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: annotate 'iso8601FormatterFactory' with '@MainActor' if property should only be accessed from the main actor
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |         let dateFormatter = DateFormatter()
19 |         dateFormatter.calendar = Calendar(identifier: .iso8601)
/host/spi-builder-workspace/Sources/TemplateKit/Tag/DateFormat.swift:39:23: warning: static property 'iso8601' is not concurrency-safe because non-'Sendable' type 'DateFormat' may have shared mutable state; this is an error in the Swift 6 language mode
 4 | ///
 5 | /// If no date format is supplied, a default will be used.
 6 | public final class DateFormat: TagRenderer {
   |                    `- note: class 'DateFormat' does not conform to the 'Sendable' protocol
 7 |     public typealias DateFormatterFactory = () -> DateFormatter
 8 |
   :
37 |
38 |     /// A `DateFormat` tag renderer that uses ISO 8601 date formatting by default.
39 |     public static let iso8601 = DateFormat(defaultDateFormatterFactory: DateFormat.iso8601FormatterFactory)
   |                       |- warning: static property 'iso8601' is not concurrency-safe because non-'Sendable' type 'DateFormat' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'iso8601' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 |
41 |     /// See `TagRenderer`.
[212/215] Compiling TemplateKit Count.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/TemplateKit/Tag/DateFormat.swift:11:24: warning: static property 'dateAndTimeFormatterFactory' is not concurrency-safe because non-'Sendable' type 'DateFormat.DateFormatterFactory' (aka '() -> DateFormatter') may have shared mutable state; this is an error in the Swift 6 language mode
 9 |     private let defaultDateFormatterFactory: DateFormatterFactory
10 |
11 |     private static let dateAndTimeFormatterFactory: DateFormatterFactory = {
   |                        |- warning: static property 'dateAndTimeFormatterFactory' is not concurrency-safe because non-'Sendable' type 'DateFormat.DateFormatterFactory' (aka '() -> DateFormatter') may have shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: annotate 'dateAndTimeFormatterFactory' with '@MainActor' if property should only be accessed from the main actor
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |         let dateFormatter = DateFormatter()
13 |         dateFormatter.dateFormat = "yyyy-MM-dd HH:mm:ss"
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/TemplateKit/Tag/DateFormat.swift:17:24: warning: static property 'iso8601FormatterFactory' is not concurrency-safe because non-'Sendable' type 'DateFormat.DateFormatterFactory' (aka '() -> DateFormatter') may have shared mutable state; this is an error in the Swift 6 language mode
15 |     }
16 |
17 |     private static let iso8601FormatterFactory: DateFormatterFactory = {
   |                        |- warning: static property 'iso8601FormatterFactory' is not concurrency-safe because non-'Sendable' type 'DateFormat.DateFormatterFactory' (aka '() -> DateFormatter') may have shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: annotate 'iso8601FormatterFactory' with '@MainActor' if property should only be accessed from the main actor
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |         let dateFormatter = DateFormatter()
19 |         dateFormatter.calendar = Calendar(identifier: .iso8601)
/host/spi-builder-workspace/Sources/TemplateKit/Tag/DateFormat.swift:39:23: warning: static property 'iso8601' is not concurrency-safe because non-'Sendable' type 'DateFormat' may have shared mutable state; this is an error in the Swift 6 language mode
 4 | ///
 5 | /// If no date format is supplied, a default will be used.
 6 | public final class DateFormat: TagRenderer {
   |                    `- note: class 'DateFormat' does not conform to the 'Sendable' protocol
 7 |     public typealias DateFormatterFactory = () -> DateFormatter
 8 |
   :
37 |
38 |     /// A `DateFormat` tag renderer that uses ISO 8601 date formatting by default.
39 |     public static let iso8601 = DateFormat(defaultDateFormatterFactory: DateFormat.iso8601FormatterFactory)
   |                       |- warning: static property 'iso8601' is not concurrency-safe because non-'Sendable' type 'DateFormat' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'iso8601' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 |
41 |     /// See `TagRenderer`.
[213/215] Compiling TemplateKit DateFormat.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/TemplateKit/Tag/DateFormat.swift:11:24: warning: static property 'dateAndTimeFormatterFactory' is not concurrency-safe because non-'Sendable' type 'DateFormat.DateFormatterFactory' (aka '() -> DateFormatter') may have shared mutable state; this is an error in the Swift 6 language mode
 9 |     private let defaultDateFormatterFactory: DateFormatterFactory
10 |
11 |     private static let dateAndTimeFormatterFactory: DateFormatterFactory = {
   |                        |- warning: static property 'dateAndTimeFormatterFactory' is not concurrency-safe because non-'Sendable' type 'DateFormat.DateFormatterFactory' (aka '() -> DateFormatter') may have shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: annotate 'dateAndTimeFormatterFactory' with '@MainActor' if property should only be accessed from the main actor
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |         let dateFormatter = DateFormatter()
13 |         dateFormatter.dateFormat = "yyyy-MM-dd HH:mm:ss"
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/TemplateKit/Tag/DateFormat.swift:17:24: warning: static property 'iso8601FormatterFactory' is not concurrency-safe because non-'Sendable' type 'DateFormat.DateFormatterFactory' (aka '() -> DateFormatter') may have shared mutable state; this is an error in the Swift 6 language mode
15 |     }
16 |
17 |     private static let iso8601FormatterFactory: DateFormatterFactory = {
   |                        |- warning: static property 'iso8601FormatterFactory' is not concurrency-safe because non-'Sendable' type 'DateFormat.DateFormatterFactory' (aka '() -> DateFormatter') may have shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: annotate 'iso8601FormatterFactory' with '@MainActor' if property should only be accessed from the main actor
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |         let dateFormatter = DateFormatter()
19 |         dateFormatter.calendar = Calendar(identifier: .iso8601)
/host/spi-builder-workspace/Sources/TemplateKit/Tag/DateFormat.swift:39:23: warning: static property 'iso8601' is not concurrency-safe because non-'Sendable' type 'DateFormat' may have shared mutable state; this is an error in the Swift 6 language mode
 4 | ///
 5 | /// If no date format is supplied, a default will be used.
 6 | public final class DateFormat: TagRenderer {
   |                    `- note: class 'DateFormat' does not conform to the 'Sendable' protocol
 7 |     public typealias DateFormatterFactory = () -> DateFormatter
 8 |
   :
37 |
38 |     /// A `DateFormat` tag renderer that uses ISO 8601 date formatting by default.
39 |     public static let iso8601 = DateFormat(defaultDateFormatterFactory: DateFormat.iso8601FormatterFactory)
   |                       |- warning: static property 'iso8601' is not concurrency-safe because non-'Sendable' type 'DateFormat' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'iso8601' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 |
41 |     /// See `TagRenderer`.
[214/215] Compiling TemplateKit Lowercase.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/TemplateKit/Tag/DateFormat.swift:11:24: warning: static property 'dateAndTimeFormatterFactory' is not concurrency-safe because non-'Sendable' type 'DateFormat.DateFormatterFactory' (aka '() -> DateFormatter') may have shared mutable state; this is an error in the Swift 6 language mode
 9 |     private let defaultDateFormatterFactory: DateFormatterFactory
10 |
11 |     private static let dateAndTimeFormatterFactory: DateFormatterFactory = {
   |                        |- warning: static property 'dateAndTimeFormatterFactory' is not concurrency-safe because non-'Sendable' type 'DateFormat.DateFormatterFactory' (aka '() -> DateFormatter') may have shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: annotate 'dateAndTimeFormatterFactory' with '@MainActor' if property should only be accessed from the main actor
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |         let dateFormatter = DateFormatter()
13 |         dateFormatter.dateFormat = "yyyy-MM-dd HH:mm:ss"
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/TemplateKit/Tag/DateFormat.swift:17:24: warning: static property 'iso8601FormatterFactory' is not concurrency-safe because non-'Sendable' type 'DateFormat.DateFormatterFactory' (aka '() -> DateFormatter') may have shared mutable state; this is an error in the Swift 6 language mode
15 |     }
16 |
17 |     private static let iso8601FormatterFactory: DateFormatterFactory = {
   |                        |- warning: static property 'iso8601FormatterFactory' is not concurrency-safe because non-'Sendable' type 'DateFormat.DateFormatterFactory' (aka '() -> DateFormatter') may have shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: annotate 'iso8601FormatterFactory' with '@MainActor' if property should only be accessed from the main actor
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |         let dateFormatter = DateFormatter()
19 |         dateFormatter.calendar = Calendar(identifier: .iso8601)
/host/spi-builder-workspace/Sources/TemplateKit/Tag/DateFormat.swift:39:23: warning: static property 'iso8601' is not concurrency-safe because non-'Sendable' type 'DateFormat' may have shared mutable state; this is an error in the Swift 6 language mode
 4 | ///
 5 | /// If no date format is supplied, a default will be used.
 6 | public final class DateFormat: TagRenderer {
   |                    `- note: class 'DateFormat' does not conform to the 'Sendable' protocol
 7 |     public typealias DateFormatterFactory = () -> DateFormatter
 8 |
   :
37 |
38 |     /// A `DateFormat` tag renderer that uses ISO 8601 date formatting by default.
39 |     public static let iso8601 = DateFormat(defaultDateFormatterFactory: DateFormat.iso8601FormatterFactory)
   |                       |- warning: static property 'iso8601' is not concurrency-safe because non-'Sendable' type 'DateFormat' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'iso8601' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 |
41 |     /// See `TagRenderer`.
[215/215] Compiling TemplateKit Print.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/TemplateKit/Tag/DateFormat.swift:11:24: warning: static property 'dateAndTimeFormatterFactory' is not concurrency-safe because non-'Sendable' type 'DateFormat.DateFormatterFactory' (aka '() -> DateFormatter') may have shared mutable state; this is an error in the Swift 6 language mode
 9 |     private let defaultDateFormatterFactory: DateFormatterFactory
10 |
11 |     private static let dateAndTimeFormatterFactory: DateFormatterFactory = {
   |                        |- warning: static property 'dateAndTimeFormatterFactory' is not concurrency-safe because non-'Sendable' type 'DateFormat.DateFormatterFactory' (aka '() -> DateFormatter') may have shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: annotate 'dateAndTimeFormatterFactory' with '@MainActor' if property should only be accessed from the main actor
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |         let dateFormatter = DateFormatter()
13 |         dateFormatter.dateFormat = "yyyy-MM-dd HH:mm:ss"
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/TemplateKit/Tag/DateFormat.swift:17:24: warning: static property 'iso8601FormatterFactory' is not concurrency-safe because non-'Sendable' type 'DateFormat.DateFormatterFactory' (aka '() -> DateFormatter') may have shared mutable state; this is an error in the Swift 6 language mode
15 |     }
16 |
17 |     private static let iso8601FormatterFactory: DateFormatterFactory = {
   |                        |- warning: static property 'iso8601FormatterFactory' is not concurrency-safe because non-'Sendable' type 'DateFormat.DateFormatterFactory' (aka '() -> DateFormatter') may have shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: annotate 'iso8601FormatterFactory' with '@MainActor' if property should only be accessed from the main actor
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |         let dateFormatter = DateFormatter()
19 |         dateFormatter.calendar = Calendar(identifier: .iso8601)
/host/spi-builder-workspace/Sources/TemplateKit/Tag/DateFormat.swift:39:23: warning: static property 'iso8601' is not concurrency-safe because non-'Sendable' type 'DateFormat' may have shared mutable state; this is an error in the Swift 6 language mode
 4 | ///
 5 | /// If no date format is supplied, a default will be used.
 6 | public final class DateFormat: TagRenderer {
   |                    `- note: class 'DateFormat' does not conform to the 'Sendable' protocol
 7 |     public typealias DateFormatterFactory = () -> DateFormatter
 8 |
   :
37 |
38 |     /// A `DateFormat` tag renderer that uses ISO 8601 date formatting by default.
39 |     public static let iso8601 = DateFormat(defaultDateFormatterFactory: DateFormat.iso8601FormatterFactory)
   |                       |- warning: static property 'iso8601' is not concurrency-safe because non-'Sendable' type 'DateFormat' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'iso8601' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 |
41 |     /// See `TagRenderer`.
Build complete! (34.30s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "core",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "3.0.0",
            "upper_bound" : "4.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/vapor/core.git"
    },
    {
      "identity" : "service",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/vapor/service.git"
    }
  ],
  "manifest_display_name" : "TemplateKit",
  "name" : "TemplateKit",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "TemplateKit",
      "targets" : [
        "TemplateKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "TemplateKitTests",
      "module_type" : "SwiftTarget",
      "name" : "TemplateKitTests",
      "path" : "Tests/TemplateKitTests",
      "sources" : [
        "HTMLEscapeTests.swift",
        "TemplateDataEncoderTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "TemplateKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "TemplateKit",
      "module_type" : "SwiftTarget",
      "name" : "TemplateKit",
      "path" : "Sources/TemplateKit",
      "product_dependencies" : [
        "Async",
        "Bits",
        "Core",
        "Service"
      ],
      "product_memberships" : [
        "TemplateKit"
      ],
      "sources" : [
        "AST/TemplateConditional.swift",
        "AST/TemplateConstant.swift",
        "AST/TemplateCustom.swift",
        "AST/TemplateDataContext.swift",
        "AST/TemplateEmbed.swift",
        "AST/TemplateExpression.swift",
        "AST/TemplateIdentifier.swift",
        "AST/TemplateIterator.swift",
        "AST/TemplateRaw.swift",
        "AST/TemplateSource.swift",
        "AST/TemplateSyntax.swift",
        "AST/TemplateSyntaxType.swift",
        "AST/TemplateTag.swift",
        "Data/TemplateData.swift",
        "Data/TemplateDataEncoder.swift",
        "Data/TemplateDataRepresentable.swift",
        "Data/TemplateDataStorage.swift",
        "Deprecated.swift",
        "Pipeline/ASTCache.swift",
        "Pipeline/PlaintextRenderer.swift",
        "Pipeline/TemplateByteScanner.swift",
        "Pipeline/TemplateParser.swift",
        "Pipeline/TemplateRenderer.swift",
        "Pipeline/TemplateSerializer.swift",
        "Tag/Capitalize.swift",
        "Tag/Comment.swift",
        "Tag/Contains.swift",
        "Tag/Count.swift",
        "Tag/DateFormat.swift",
        "Tag/Lowercase.swift",
        "Tag/Print.swift",
        "Tag/Raw.swift",
        "Tag/TagContext.swift",
        "Tag/TagRenderer.swift",
        "Tag/Uppercase.swift",
        "Tag/Var.swift",
        "Utilities/Exports.swift",
        "Utilities/HTMLEscape.swift",
        "Utilities/TemplateError.swift",
        "View.swift",
        "ViewRenderer.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.1"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.