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 macOS (SPM) on 25 Apr 2025 23:48:53 UTC.

Swift 6 data race errors: 4

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures

Build Log

========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/vapor/template-kit.git
Reference: 1.5.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
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
Fetching https://github.com/vapor/core.git
Fetching https://github.com/vapor/service.git
[1/919] Fetching service
[268/21062] Fetching service, core
Fetched https://github.com/vapor/service.git from cache (1.46s)
Fetched https://github.com/vapor/core.git from cache (1.46s)
Computing version for https://github.com/vapor/service.git
Computed https://github.com/vapor/service.git at 1.0.2 (2.07s)
Computing version for https://github.com/vapor/core.git
Computed https://github.com/vapor/core.git at 3.10.1 (0.61s)
Fetching https://github.com/apple/swift-nio.git from cache
Fetched https://github.com/apple/swift-nio.git from cache (0.92s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 1.14.4 (1.56s)
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.49s)
Computing version for https://github.com/apple/swift-nio-zlib-support.git
Computed https://github.com/apple/swift-nio-zlib-support.git at 1.0.0 (1.10s)
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/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/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 1.14.4
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "template-kit",
      "name": "TemplateKit",
      "url": "https://github.com/vapor/template-kit.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/template-kit",
      "dependencies": [
        {
          "identity": "core",
          "name": "Core",
          "url": "https://github.com/vapor/core.git",
          "version": "3.10.1",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/core",
          "dependencies": [
            {
              "identity": "swift-nio",
              "name": "swift-nio",
              "url": "https://github.com/apple/swift-nio.git",
              "version": "1.14.4",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-nio",
              "dependencies": [
                {
                  "identity": "swift-nio-zlib-support",
                  "name": "swift-nio-zlib-support",
                  "url": "https://github.com/apple/swift-nio-zlib-support.git",
                  "version": "1.0.0",
                  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-nio-zlib-support",
                  "dependencies": [
                  ]
                }
              ]
            }
          ]
        },
        {
          "identity": "service",
          "name": "Service",
          "url": "https://github.com/vapor/service.git",
          "version": "1.0.2",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/service",
          "dependencies": [
            {
              "identity": "core",
              "name": "Core",
              "url": "https://github.com/vapor/core.git",
              "version": "3.10.1",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/core",
              "dependencies": [
                {
                  "identity": "swift-nio",
                  "name": "swift-nio",
                  "url": "https://github.com/apple/swift-nio.git",
                  "version": "1.14.4",
                  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-nio",
                  "dependencies": [
                    {
                      "identity": "swift-nio-zlib-support",
                      "name": "swift-nio-zlib-support",
                      "url": "https://github.com/apple/swift-nio-zlib-support.git",
                      "version": "1.0.0",
                      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-nio-zlib-support",
                      "dependencies": [
                      ]
                    }
                  ]
                }
              ]
            }
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/vapor/template-kit.git
[1/1282] Fetching template-kit
Fetched https://github.com/vapor/template-kit.git from cache (0.81s)
Fetching https://github.com/vapor/service.git from cache
Fetching https://github.com/vapor/core.git from cache
Fetched https://github.com/vapor/service.git from cache (0.46s)
Fetched https://github.com/vapor/core.git from cache (0.55s)
Computing version for https://github.com/vapor/service.git
Computed https://github.com/vapor/service.git at 1.0.2 (0.61s)
Computing version for https://github.com/vapor/core.git
Computed https://github.com/vapor/core.git at 3.10.1 (0.03s)
Fetching https://github.com/apple/swift-nio.git from cache
Fetched https://github.com/apple/swift-nio.git from cache (0.67s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 1.14.4 (0.73s)
Fetching https://github.com/apple/swift-nio-zlib-support.git from cache
Fetched https://github.com/apple/swift-nio-zlib-support.git from cache (0.41s)
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.46s)
Creating working copy for https://github.com/vapor/template-kit.git
Working copy of https://github.com/vapor/template-kit.git resolved at 1.5.0 (4370aa9)
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.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
warning: 'swift-nio-zlib-support': ignoring declared target(s) 'swift-nio-zlib-support' in the system package
warning: '.resolve-product-dependencies': dependency 'template-kit' is not used by any target
Found 2 product dependencies
  - Core
  - Service
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/vapor/template-kit.git
https://github.com/vapor/template-kit.git
{
  "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" : "/Users/admin/builder/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 ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/17] Write sources
[11/17] Compiling CNIOLinux ifaddrs-android.c
[11/17] Compiling CNIOLinux shim.c
[13/17] Write swift-version-2F0A5646E1D333AE.txt
[14/26] Compiling CNIODarwin shim.c
[15/26] Compiling c-atomics.c
[16/26] Compiling CNIOSHA1 c_nio_sha1.c
[18/29] Emitting module COperatingSystem
[19/29] Compiling COperatingSystem libc.swift
[20/29] Emitting module NIOConcurrencyHelpers
[21/29] Compiling NIOConcurrencyHelpers lock.swift
[22/29] Compiling NIOConcurrencyHelpers atomics.swift
[23/29] Emitting module NIOPriorityQueue
[24/29] Compiling NIOPriorityQueue PriorityQueue.swift
[25/29] Compiling NIOPriorityQueue Heap.swift
[26/80] Compiling NIO IOData.swift
[27/80] Compiling NIO IntegerTypes.swift
[28/80] Compiling NIO Interfaces.swift
[29/80] Compiling NIO Linux.swift
[30/80] Compiling NIO LinuxCPUSet.swift
[31/85] Emitting module NIO
[32/85] Compiling NIO ChannelInvoker.swift
[33/85] Compiling NIO ChannelOption.swift
[34/85] Compiling NIO ChannelPipeline.swift
[35/85] Compiling NIO CircularBuffer.swift
[36/85] Compiling NIO Codec.swift
[37/85] Compiling NIO CompositeError.swift
[38/85] Compiling NIO MarkedCircularBuffer.swift
[39/85] Compiling NIO MulticastChannel.swift
[40/85] Compiling NIO NIOAny.swift
[41/85] Compiling NIO NonBlockingFileIO.swift
[42/85] Compiling NIO PendingDatagramWritesManager.swift
[43/85] Compiling NIO FileHandle.swift
[44/85] Compiling NIO FileRegion.swift
[45/85] Compiling NIO GetaddrinfoResolver.swift
[46/85] Compiling NIO HappyEyeballs.swift
[47/85] Compiling NIO Heap.swift
[48/85] Compiling NIO IO.swift
[49/85] Compiling NIO ByteBuffer-core.swift
[50/85] Compiling NIO ByteBuffer-int.swift
[51/85] Compiling NIO ByteBuffer-views.swift
[52/85] Compiling NIO Channel.swift
[53/85] Compiling NIO ChannelHandler.swift
[54/85] Compiling NIO ChannelHandlers.swift
[55/85] Compiling NIO PendingWritesManager.swift
[56/85] Compiling NIO PriorityQueue.swift
[57/85] Compiling NIO RecvByteBufferAllocator.swift
[58/85] Compiling NIO Resolver.swift
[59/85] Compiling NIO Selectable.swift
[60/85] Compiling NIO ContiguousCollection.swift
[61/85] Compiling NIO DeadChannel.swift
[62/85] Compiling NIO Embedded.swift
[63/85] Compiling NIO EventLoop.swift
[64/85] Compiling NIO EventLoopFuture.swift
[65/85] Compiling NIO FileDescriptor.swift
[66/85] Compiling NIO Selector.swift
[67/85] Compiling NIO ServerSocket.swift
[68/85] Compiling NIO Socket.swift
[69/85] Compiling NIO SocketAddresses.swift
[70/85] Compiling NIO SocketChannel.swift
[71/85] Compiling NIO AddressedEnvelope.swift
[72/85] Compiling NIO BaseSocket.swift
[73/85] Compiling NIO BaseSocketChannel.swift
[74/85] Compiling NIO BlockingIOThreadPool.swift
[75/85] Compiling NIO Bootstrap.swift
[76/85] Compiling NIO ByteBuffer-aux.swift
[77/85] Compiling Debugging SourceLocation.swift
[78/85] Compiling NIO SocketOptionProvider.swift
[79/85] Compiling NIO System.swift
[80/85] Compiling NIO Thread.swift
[81/85] Compiling NIO TypeAssistedChannelHandler.swift
[82/85] Compiling NIO Utilities.swift
[83/102] Compiling Async Exports.swift
[84/102] Compiling Async Future+DoCatch.swift
[85/103] Compiling Async Async+NIO.swift
[86/103] Compiling Async AsyncError.swift
[87/103] Emitting module Async
[88/103] Compiling Async Future+Flatten.swift
[89/103] Compiling Async Future+Global.swift
[90/103] Compiling Async Collection+Future.swift
[91/103] Compiling Async Deprecated.swift
[92/103] Compiling Async Future+Map.swift
[93/103] Compiling Async Future+Transform.swift
[94/103] Compiling Async Future+Variadic.swift
[95/103] Compiling Async FutureType.swift
[96/103] Compiling Async Future+Void.swift
[97/103] Compiling Async QueueHandler.swift
[98/103] Compiling Async Worker.swift
[99/103] Compiling Debugging Demangler.swift
[100/103] Emitting module Debugging
[101/103] Compiling Debugging Debuggable.swift
[102/103] Emitting module NIOFoundationCompat
[103/103] Compiling NIOFoundationCompat ByteBuffer-foundation.swift
[104/115] Compiling Bits Bytes.swift
[105/116] Compiling Bits BitsError.swift
[106/116] Compiling Bits Byte+Alphabet.swift
[107/116] Compiling Bits Byte+Control.swift
[108/116] Compiling Bits Byte+Digit.swift
[109/116] Emitting module Bits
[110/116] Compiling Bits ByteBuffer+peek.swift
[111/116] Compiling Bits ByteBuffer+binaryFloatingPointOperations.swift
[112/116] Compiling Bits ByteBuffer+require.swift
[113/116] Compiling Bits Data+Strings.swift
[114/116] Compiling Bits Data+Bytes.swift
[115/116] Compiling Bits ByteBuffer+string.swift
[116/116] Compiling Bits Deprecated.swift
[117/140] Compiling Core Deprecated.swift
[118/140] Compiling Core DirectoryConfig.swift
[119/140] Compiling Core Exports.swift
[120/142] Compiling Core BasicKey.swift
[121/142] Compiling Core CaseInsensitiveString.swift
[122/142] Compiling Core Decodable+Reflectable.swift
[123/142] Compiling Core NotFound.swift
[124/142] Compiling Core OptionalType.swift
[125/142] Compiling Core File.swift
[126/142] Compiling Core Future+Unwrap.swift
[127/142] Compiling Core FutureEncoder.swift
[128/142] Compiling Core String+Utilities.swift
[129/142] Compiling Core Thread+Async.swift
[130/142] Emitting module Core
[131/142] Compiling Core Process+Execute.swift
[132/142] Compiling Core Reflectable.swift
[133/142] Compiling Core ReflectionDecodable.swift
[134/142] Compiling Core ReflectionDecoders.swift
[135/142] Compiling Core CoreError.swift
[136/142] Compiling Core MediaType.swift
[137/142] Compiling Core NestedData.swift
[138/142] Compiling Core Data+Base64URL.swift
[139/142] Compiling Core Data+Hex.swift
[140/142] Compiling Core DataCoders.swift
[141/142] Compiling Core HeaderValue.swift
[142/142] Compiling Core LosslessDataConvertible.swift
[143/161] Compiling Service ServiceCache.swift
[144/161] Compiling Service ServiceFactory.swift
[145/163] Compiling Service Deprecated.swift
[146/163] Compiling Service Exports.swift
[147/163] Compiling Service BasicServiceFactory.swift
[148/163] Compiling Service Service.swift
[149/163] Compiling Service BasicSubContainer.swift
[150/163] Compiling Service Container.swift
[151/163] Compiling Service Environment.swift
[152/163] Compiling Service Provider.swift
[153/163] Compiling Service ServiceID.swift
[154/163] Compiling Service ServiceType.swift
[155/163] Compiling Service Services.swift
[156/163] Compiling Service TypeServiceFactory.swift
[157/163] Compiling Service ContainerAlias.swift
[158/163] Compiling Service SubContainer.swift
[159/163] Emitting module Service
[160/163] Compiling Service Config.swift
[161/163] Compiling Service BasicContainer.swift
[162/163] Compiling Service Extendable.swift
[163/163] Compiling Service ServiceError.swift
[164/201] Emitting module TemplateKit
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/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'
/Users/admin/builder/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)
/Users/admin/builder/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`.
/Users/admin/builder/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`.
/Users/admin/builder/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
/Users/admin/builder/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.
[165/205] Compiling TemplateKit TemplateConditional.swift
[166/205] Compiling TemplateKit TemplateConstant.swift
[167/205] Compiling TemplateKit TemplateCustom.swift
[168/205] Compiling TemplateKit TemplateDataContext.swift
[169/205] Compiling TemplateKit TemplateEmbed.swift
[170/205] Compiling TemplateKit TemplateExpression.swift
[171/205] Compiling TemplateKit TemplateIdentifier.swift
[172/205] Compiling TemplateKit TemplateIterator.swift
[173/205] Compiling TemplateKit TemplateRaw.swift
[174/205] Compiling TemplateKit Lowercase.swift
[175/205] Compiling TemplateKit Print.swift
[176/205] Compiling TemplateKit Raw.swift
[177/205] Compiling TemplateKit TagContext.swift
[178/205] Compiling TemplateKit Comment.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/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'
/Users/admin/builder/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)
/Users/admin/builder/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`.
[179/205] Compiling TemplateKit Contains.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/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'
/Users/admin/builder/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)
/Users/admin/builder/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`.
[180/205] Compiling TemplateKit Count.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/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'
/Users/admin/builder/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)
/Users/admin/builder/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`.
[181/205] Compiling TemplateKit DateFormat.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/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'
/Users/admin/builder/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)
/Users/admin/builder/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/205] Compiling TemplateKit TemplateSource.swift
[183/205] Compiling TemplateKit TemplateSyntax.swift
[184/205] Compiling TemplateKit TemplateSyntaxType.swift
[185/205] Compiling TemplateKit TemplateTag.swift
[186/205] Compiling TemplateKit Deprecated.swift
[187/205] Compiling TemplateKit ASTCache.swift
[188/205] Compiling TemplateKit PlaintextRenderer.swift
[189/205] Compiling TemplateKit TemplateByteScanner.swift
[190/205] Compiling TemplateKit TemplateParser.swift
[191/205] Compiling TemplateKit TemplateRenderer.swift
[192/205] Compiling TemplateKit TemplateSerializer.swift
[193/205] Compiling TemplateKit Capitalize.swift
[194/205] Compiling TemplateKit TagRenderer.swift
[195/205] Compiling TemplateKit Uppercase.swift
[196/205] Compiling TemplateKit Var.swift
[197/205] Compiling TemplateKit Exports.swift
[198/205] Compiling TemplateKit TemplateData.swift
[199/205] Compiling TemplateKit TemplateDataEncoder.swift
[200/205] Compiling TemplateKit TemplateDataRepresentable.swift
[201/205] Compiling TemplateKit TemplateDataStorage.swift
[202/205] Compiling TemplateKit HTMLEscape.swift
/Users/admin/builder/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)
/Users/admin/builder/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 |
/Users/admin/builder/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`.
/Users/admin/builder/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
/Users/admin/builder/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/205] Compiling TemplateKit TemplateError.swift
/Users/admin/builder/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)
/Users/admin/builder/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 |
/Users/admin/builder/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`.
/Users/admin/builder/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
/Users/admin/builder/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/205] Compiling TemplateKit View.swift
/Users/admin/builder/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)
/Users/admin/builder/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 |
/Users/admin/builder/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`.
/Users/admin/builder/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
/Users/admin/builder/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/205] Compiling TemplateKit ViewRenderer.swift
/Users/admin/builder/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)
/Users/admin/builder/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 |
/Users/admin/builder/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`.
/Users/admin/builder/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
/Users/admin/builder/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! (12.60s)
warning: 'swift-nio-zlib-support': ignoring declared target(s) 'swift-nio-zlib-support' in the system package
warning: failed to retrieve search paths with pkg-config; maybe pkg-config is not installed
warning: couldn't find pc file for zlib
warning: couldn't find pc file for zlib
Build complete.
{
  "dependencies" : [
    {
      "identity" : "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" : "/Users/admin/builder/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"
}
Done.