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 1.5.0 (4370aa), with Swift 6.0 for Linux on 27 Nov 2024 13:51:01 UTC.

Swift 6 data race errors: 4

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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: 1.5.0
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
 * tag               1.5.0      -> FETCH_HEAD
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 1.5.0
========================================
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-0":/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/core.git
Fetching https://github.com/vapor/service.git
[1/919] Fetching service
[920/21062] Fetching service, core
Fetched https://github.com/vapor/service.git from cache (0.19s)
[2821/20143] Fetching core
Fetched https://github.com/vapor/core.git from cache (0.70s)
Computing version for https://github.com/vapor/service.git
Computed https://github.com/vapor/service.git at 1.0.2 (0.47s)
Computing version for https://github.com/vapor/core.git
Computed https://github.com/vapor/core.git at 3.10.1 (0.50s)
Fetching https://github.com/apple/swift-nio.git
[1/71949] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (4.25s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 1.14.4 (0.51s)
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.18s)
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.48s)
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/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 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 CNIODarwin shim.c
[12/17] Compiling CNIOLinux ifaddrs-android.c
[13/17] Compiling CNIOLinux shim.c
[14/17] Compiling CNIOSHA1 c_nio_sha1.c
[15/17] Write swift-version-24593BA9C3E375BF.txt
[17/26] Emitting module COperatingSystem
[17/26] Compiling c-atomics.c
[19/29] Emitting module NIOConcurrencyHelpers
[20/29] Compiling Debugging SourceLocation.swift
[21/29] Compiling COperatingSystem libc.swift
[23/30] Compiling NIOPriorityQueue PriorityQueue.swift
[24/30] Emitting module NIOPriorityQueue
[25/30] Compiling NIOPriorityQueue Heap.swift
[27/31] Compiling NIOConcurrencyHelpers atomics.swift
[28/31] Compiling NIOConcurrencyHelpers lock.swift
[30/82] Compiling Debugging Demangler.swift
[31/82] Emitting module Debugging
[32/82] Compiling Debugging Debuggable.swift
[34/83] Compiling NIO ByteBuffer-int.swift
[35/83] Compiling NIO ByteBuffer-views.swift
[36/83] Compiling NIO Channel.swift
[37/83] Compiling NIO ChannelHandler.swift
[38/83] Compiling NIO ChannelHandlers.swift
[39/83] Compiling NIO ChannelInvoker.swift
[40/83] Compiling NIO ChannelOption.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 RecvByteBufferAllocator.swift
[49/89] Compiling NIO Resolver.swift
[50/89] Compiling NIO Selectable.swift
[51/89] Compiling NIO Selector.swift
[52/89] Compiling NIO ServerSocket.swift
[53/89] Compiling NIO Socket.swift
[54/89] Compiling NIO SocketAddresses.swift
[55/89] Compiling NIO EventLoop.swift
[56/89] Compiling NIO EventLoopFuture.swift
[57/89] Compiling NIO FileDescriptor.swift
[58/89] Compiling NIO FileHandle.swift
[59/89] Compiling NIO FileRegion.swift
[60/89] Compiling NIO GetaddrinfoResolver.swift
[61/89] Compiling NIO HappyEyeballs.swift
[62/89] Compiling NIO ChannelPipeline.swift
[63/89] Compiling NIO CircularBuffer.swift
[64/89] Compiling NIO Codec.swift
[65/89] Compiling NIO CompositeError.swift
[66/89] Compiling NIO ContiguousCollection.swift
[67/89] Compiling NIO DeadChannel.swift
[68/89] Compiling NIO Embedded.swift
[69/89] Compiling NIO Heap.swift
[70/89] Compiling NIO IO.swift
[71/89] Compiling NIO IOData.swift
[72/89] Compiling NIO IntegerTypes.swift
[73/89] Compiling NIO Interfaces.swift
[74/89] Compiling NIO Linux.swift
[75/89] Compiling NIO LinuxCPUSet.swift
[76/89] Compiling NIO SocketChannel.swift
[77/89] Compiling NIO SocketOptionProvider.swift
[78/89] Compiling NIO System.swift
[79/89] Compiling NIO Thread.swift
[80/89] Compiling NIO TypeAssistedChannelHandler.swift
[81/89] Compiling NIO Utilities.swift
[82/89] Compiling NIO AddressedEnvelope.swift
[83/89] Compiling NIO BaseSocket.swift
[84/89] Compiling NIO BaseSocketChannel.swift
[85/89] Compiling NIO BlockingIOThreadPool.swift
[86/89] Compiling NIO Bootstrap.swift
[87/89] Compiling NIO ByteBuffer-aux.swift
[88/89] Compiling NIO ByteBuffer-core.swift
[89/89] Emitting module NIO
[91/119] Compiling NIOFoundationCompat ByteBuffer-foundation.swift
[92/119] Emitting module NIOFoundationCompat
[94/120] Compiling Bits Bytes.swift
[95/121] Compiling Bits BitsError.swift
[96/121] Compiling Bits Byte+Alphabet.swift
[97/121] Compiling Bits ByteBuffer+require.swift
[98/121] Compiling Bits ByteBuffer+string.swift
[99/121] Compiling Bits Byte+Control.swift
[100/121] Compiling Bits Byte+Digit.swift
[101/121] Emitting module Async
[102/121] Compiling Bits ByteBuffer+binaryFloatingPointOperations.swift
[103/121] Compiling Bits ByteBuffer+peek.swift
[104/121] Compiling Async Future+Variadic.swift
[105/121] Compiling Async Future+Void.swift
[106/121] Compiling Async Async+NIO.swift
[107/121] Compiling Async AsyncError.swift
[108/122] Compiling Bits Data+Bytes.swift
[111/122] Compiling Bits Data+Strings.swift
[114/122] Compiling Bits Deprecated.swift
[115/122] Compiling Async FutureType.swift
[116/122] Compiling Async QueueHandler.swift
[119/122] Emitting module Bits
[122/123] Compiling Async Worker.swift
[125/147] Compiling Core Data+Hex.swift
[126/147] Compiling Core DataCoders.swift
[127/147] Compiling Core Deprecated.swift
[128/150] Compiling Core DirectoryConfig.swift
[129/150] Compiling Core Exports.swift
[130/150] Compiling Core File.swift
[131/150] Compiling Core Reflectable.swift
[132/150] Compiling Core String+Utilities.swift
[133/150] Compiling Core Thread+Async.swift
[134/150] Compiling Core NotFound.swift
[135/150] Compiling Core OptionalType.swift
[136/150] Compiling Core Process+Execute.swift
[137/150] Compiling Core Future+Unwrap.swift
[138/150] Compiling Core FutureEncoder.swift
[139/150] Compiling Core HeaderValue.swift
[140/150] Compiling Core BasicKey.swift
[141/150] Compiling Core CaseInsensitiveString.swift
[142/150] Compiling Core Decodable+Reflectable.swift
[143/150] Compiling Core ReflectionDecodable.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 Environment.swift
[153/170] Compiling Service Provider.swift
[154/170] Compiling Service BasicServiceFactory.swift
[155/172] Emitting module Service
[156/172] Compiling Service Deprecated.swift
[157/172] Compiling Service Exports.swift
[158/172] Compiling Service Container.swift
[159/172] Compiling Service ContainerAlias.swift
[160/172] Compiling Service SubContainer.swift
[161/172] Compiling Service Service.swift
[162/172] Compiling Service ServiceCache.swift
[163/172] Compiling Service ServiceFactory.swift
[164/172] Compiling Service Services.swift
[165/172] Compiling Service TypeServiceFactory.swift
[166/172] Compiling Service ServiceID.swift
[167/172] Compiling Service ServiceType.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 TemplateIdentifier.swift
[175/210] Compiling TemplateKit TemplateIterator.swift
[176/210] Compiling TemplateKit TemplateRaw.swift
[177/210] Compiling TemplateKit TemplateSource.swift
[178/210] Compiling TemplateKit TemplateSyntax.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 TemplateDataStorage.swift
[187/215] Compiling TemplateKit Deprecated.swift
[188/215] Compiling TemplateKit ASTCache.swift
[189/215] Compiling TemplateKit PlaintextRenderer.swift
[190/215] Compiling TemplateKit TemplateByteScanner.swift
[191/215] Compiling TemplateKit TemplateParser.swift
[192/215] Compiling TemplateKit TemplateRenderer.swift
[193/215] Compiling TemplateKit TemplateSerializer.swift
[194/215] Compiling TemplateKit Capitalize.swift
[195/215] Compiling TemplateKit Comment.swift
[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 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.
[202/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.
[203/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.
[204/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.
[205/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.
[206/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`.
[207/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`.
[208/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`.
[209/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`.
[210/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`.
[211/215] Compiling TemplateKit TemplateSyntaxType.swift
[212/215] Compiling TemplateKit TemplateTag.swift
[213/215] Compiling TemplateKit TemplateData.swift
[214/215] Compiling TemplateKit TemplateDataEncoder.swift
[215/215] Compiling TemplateKit TemplateDataRepresentable.swift
Build complete! (30.97s)
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.