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.1 for Linux on 25 Apr 2025 23:43:08 UTC.

Swift 6 data race errors: 4

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-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.61.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.1
Building package at path:  $PWD
https://github.com/vapor/template-kit.git
https://github.com/vapor/template-kit.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "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"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-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.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/vapor/service.git
Fetching https://github.com/vapor/core.git
[1/20143] Fetching core
[2/21062] Fetching core, service
Fetched https://github.com/vapor/service.git from cache (0.72s)
Fetched https://github.com/vapor/core.git from cache (0.73s)
Computing version for https://github.com/vapor/service.git
Computed https://github.com/vapor/service.git at 1.0.2 (1.23s)
Computing version for https://github.com/vapor/core.git
Computed https://github.com/vapor/core.git at 3.10.1 (0.49s)
Fetching https://github.com/apple/swift-nio.git
[1/75431] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (4.52s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 1.14.4 (5.00s)
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.19s)
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.64s)
Creating working copy for https://github.com/vapor/core.git
Working copy of https://github.com/vapor/core.git resolved at 3.10.1
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
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 CNIOSHA1 c_nio_sha1.c
[14/17] Compiling CNIOLinux shim.c
[15/17] Write swift-version-24593BA9C3E375BF.txt
[16/26] Compiling c-atomics.c
[18/29] Compiling NIOPriorityQueue PriorityQueue.swift
[19/29] Compiling Debugging SourceLocation.swift
[20/29] Compiling COperatingSystem libc.swift
[21/29] Emitting module COperatingSystem
[22/30] Emitting module NIOConcurrencyHelpers
[23/30] Compiling NIOConcurrencyHelpers atomics.swift
[24/30] Compiling NIOConcurrencyHelpers lock.swift
[25/31] Emitting module NIOPriorityQueue
[26/31] Compiling NIOPriorityQueue Heap.swift
[29/32] Compiling Debugging Demangler.swift
[31/32] Emitting module Debugging
[32/32] 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 RecvByteBufferAllocator.swift
[42/89] Compiling NIO Resolver.swift
[43/89] Compiling NIO Selectable.swift
[44/89] Compiling NIO Selector.swift
[45/89] Compiling NIO ServerSocket.swift
[46/89] Compiling NIO Socket.swift
[47/89] Compiling NIO SocketAddresses.swift
[48/89] Compiling NIO MarkedCircularBuffer.swift
[49/89] Compiling NIO MulticastChannel.swift
[50/89] Compiling NIO NIOAny.swift
[51/89] Compiling NIO NonBlockingFileIO.swift
[52/89] Compiling NIO PendingDatagramWritesManager.swift
[53/89] Compiling NIO PendingWritesManager.swift
[54/89] Compiling NIO PriorityQueue.swift
[55/89] Compiling NIO ChannelPipeline.swift
[56/89] Compiling NIO CircularBuffer.swift
[57/89] Compiling NIO Codec.swift
[58/89] Compiling NIO CompositeError.swift
[59/89] Compiling NIO ContiguousCollection.swift
[60/89] Compiling NIO DeadChannel.swift
[61/89] Compiling NIO Embedded.swift
[62/89] Compiling NIO EventLoop.swift
[63/89] Compiling NIO EventLoopFuture.swift
[64/89] Compiling NIO FileDescriptor.swift
[65/89] Compiling NIO FileHandle.swift
[66/89] Compiling NIO FileRegion.swift
[67/89] Compiling NIO GetaddrinfoResolver.swift
[68/89] Compiling NIO HappyEyeballs.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] Emitting module NIO
[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] Emitting module Async
[92/119] Compiling Bits Byte+Control.swift
[93/119] Compiling Bits Byte+Digit.swift
[94/119] Emitting module NIOFoundationCompat
[95/119] Compiling NIOFoundationCompat ByteBuffer-foundation.swift
[96/121] Compiling Bits BitsError.swift
[97/121] Compiling Bits Byte+Alphabet.swift
[98/121] Compiling Bits ByteBuffer+binaryFloatingPointOperations.swift
[99/121] Compiling Bits ByteBuffer+peek.swift
[100/121] Compiling Async Worker.swift
[102/121] Compiling Async Future+Map.swift
[103/121] Compiling Async Future+Transform.swift
[104/121] Compiling Bits ByteBuffer+require.swift
[105/121] Compiling Bits ByteBuffer+string.swift
[106/121] Compiling Bits Data+Bytes.swift
[107/121] Compiling Bits Bytes.swift
[108/121] Compiling Bits Data+Strings.swift
[115/122] Compiling Async FutureType.swift
[116/122] Compiling Async QueueHandler.swift
[117/122] Emitting module Bits
[120/122] Compiling Async Future+Variadic.swift
[121/122] Compiling Async Future+Void.swift
[122/123] Compiling Bits Deprecated.swift
[125/147] Compiling Core Data+Hex.swift
[126/147] Compiling Core DataCoders.swift
[127/147] Compiling Core Deprecated.swift
[128/150] Compiling Core Reflectable.swift
[129/150] Compiling Core String+Utilities.swift
[130/150] Compiling Core Thread+Async.swift
[131/150] Compiling Core BasicKey.swift
[132/150] Compiling Core CaseInsensitiveString.swift
[133/150] Compiling Core Decodable+Reflectable.swift
[134/150] Compiling Core ReflectionDecodable.swift
[135/150] Compiling Core ReflectionDecoders.swift
[136/150] Compiling Core CoreError.swift
[137/150] Compiling Core Data+Base64URL.swift
[138/150] Compiling Core NotFound.swift
[139/150] Compiling Core OptionalType.swift
[140/150] Compiling Core Process+Execute.swift
[141/150] Emitting module Core
[142/150] Compiling Core Future+Unwrap.swift
[143/150] Compiling Core FutureEncoder.swift
[144/150] Compiling Core HeaderValue.swift
[145/150] Compiling Core DirectoryConfig.swift
[146/150] Compiling Core Exports.swift
[147/150] Compiling Core File.swift
[148/150] Compiling Core LosslessDataConvertible.swift
[149/150] Compiling Core MediaType.swift
[150/150] Compiling Core NestedData.swift
[152/170] Compiling Service Service.swift
[153/170] Compiling Service ServiceCache.swift
[154/170] Compiling Service ServiceFactory.swift
[155/170] Emitting module Service
[156/172] Compiling Service Deprecated.swift
[157/172] Compiling Service Exports.swift
[158/172] Compiling Service ServiceID.swift
[159/172] Compiling Service ServiceType.swift
[160/172] Compiling Service Environment.swift
[161/172] Compiling Service Provider.swift
[162/172] Compiling Service BasicServiceFactory.swift
[163/172] Compiling Service Services.swift
[164/172] Compiling Service TypeServiceFactory.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] 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: add '@MainActor' to make static property 'dateAndTimeFormatterFactory' part of global actor 'MainActor'
   |                        `- 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: add '@MainActor' to make static property 'iso8601FormatterFactory' part of global actor 'MainActor'
   |                        `- 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: add '@MainActor' to make static property 'iso8601' part of global actor 'MainActor'
   |                       `- 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.
[175/215] Compiling TemplateKit TemplateConditional.swift
[176/215] Compiling TemplateKit TemplateConstant.swift
[177/215] Compiling TemplateKit TemplateCustom.swift
[178/215] Compiling TemplateKit TemplateDataContext.swift
[179/215] Compiling TemplateKit TemplateEmbed.swift
[180/215] Compiling TemplateKit TemplateExpression.swift
[181/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: add '@MainActor' to make static property 'dateAndTimeFormatterFactory' part of global actor 'MainActor'
   |                        `- 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: add '@MainActor' to make static property 'iso8601FormatterFactory' part of global actor 'MainActor'
   |                        `- 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: add '@MainActor' to make static property 'iso8601' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 |
41 |     /// See `TagRenderer`.
[182/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: add '@MainActor' to make static property 'dateAndTimeFormatterFactory' part of global actor 'MainActor'
   |                        `- 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: add '@MainActor' to make static property 'iso8601FormatterFactory' part of global actor 'MainActor'
   |                        `- 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: add '@MainActor' to make static property 'iso8601' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 |
41 |     /// See `TagRenderer`.
[183/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: add '@MainActor' to make static property 'dateAndTimeFormatterFactory' part of global actor 'MainActor'
   |                        `- 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: add '@MainActor' to make static property 'iso8601FormatterFactory' part of global actor 'MainActor'
   |                        `- 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: add '@MainActor' to make static property 'iso8601' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 |
41 |     /// See `TagRenderer`.
[184/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: add '@MainActor' to make static property 'dateAndTimeFormatterFactory' part of global actor 'MainActor'
   |                        `- 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: add '@MainActor' to make static property 'iso8601FormatterFactory' part of global actor 'MainActor'
   |                        `- 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: add '@MainActor' to make static property 'iso8601' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 |
41 |     /// See `TagRenderer`.
[185/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: add '@MainActor' to make static property 'dateAndTimeFormatterFactory' part of global actor 'MainActor'
   |                        `- 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: add '@MainActor' to make static property 'iso8601FormatterFactory' part of global actor 'MainActor'
   |                        `- 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: add '@MainActor' to make static property 'iso8601' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 |
41 |     /// See `TagRenderer`.
[186/215] Compiling TemplateKit TemplateParser.swift
[187/215] Compiling TemplateKit TemplateRenderer.swift
[188/215] Compiling TemplateKit TemplateSerializer.swift
[189/215] Compiling TemplateKit Capitalize.swift
[190/215] Compiling TemplateKit Comment.swift
[191/215] Compiling TemplateKit Raw.swift
[192/215] Compiling TemplateKit TagContext.swift
[193/215] Compiling TemplateKit TagRenderer.swift
[194/215] Compiling TemplateKit Uppercase.swift
[195/215] Compiling TemplateKit Var.swift
[196/215] Compiling TemplateKit TemplateIdentifier.swift
[197/215] Compiling TemplateKit TemplateIterator.swift
[198/215] Compiling TemplateKit TemplateRaw.swift
[199/215] Compiling TemplateKit TemplateSource.swift
[200/215] Compiling TemplateKit TemplateSyntax.swift
[201/215] Compiling TemplateKit TemplateDataStorage.swift
[202/215] Compiling TemplateKit Deprecated.swift
[203/215] Compiling TemplateKit ASTCache.swift
[204/215] Compiling TemplateKit PlaintextRenderer.swift
[205/215] Compiling TemplateKit TemplateByteScanner.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 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.
[212/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.
[213/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.
[214/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.
[215/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.
Build complete! (27.70s)
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.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Done.