Build Information
Successful build of TemplateKit, reference master (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-0":/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: master
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/vapor/template-kit
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 4370aa9 Merge pull request #65 from vapor/tn-url
Cloned https://github.com/vapor/template-kit.git
Revision (git rev-parse @):
4370aa99c01fc19cc8272b67bf7204b2d2063680
SUCCESS checkout https://github.com/vapor/template-kit.git at master
========================================
Build
========================================
Selected platform: linux
Swift version: 6.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-0":/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
[3023/21062] Fetching core, service
Fetched https://github.com/vapor/service.git from cache (0.69s)
Fetched https://github.com/vapor/core.git from cache (0.70s)
Computing version for https://github.com/vapor/service.git
Computed https://github.com/vapor/service.git at 1.0.2 (1.19s)
Computing version for https://github.com/vapor/core.git
Computed https://github.com/vapor/core.git at 3.10.1 (0.48s)
Fetching https://github.com/apple/swift-nio.git
[1/75431] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (4.89s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 1.14.4 (5.37s)
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.16s)
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.63s)
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/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.git
Working copy of https://github.com/apple/swift-nio.git resolved at 1.14.4
warning: 'swift-nio-zlib-support': ignoring declared target(s) 'swift-nio-zlib-support' in the system package
Building for debugging...
[0/17] Write sources
[11/17] Compiling CNIOLinux ifaddrs-android.c
[12/17] Compiling CNIODarwin shim.c
[13/17] Compiling CNIOLinux shim.c
[14/17] Compiling CNIOSHA1 c_nio_sha1.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 NIOConcurrencyHelpers atomics.swift
[21/29] Emitting module NIOConcurrencyHelpers
[22/29] Compiling NIOConcurrencyHelpers lock.swift
[23/30] Emitting module COperatingSystem
[24/30] Compiling COperatingSystem libc.swift
[25/31] Emitting module NIOPriorityQueue
[26/31] Compiling NIOPriorityQueue Heap.swift
[30/32] Compiling Debugging Demangler.swift
[31/32] Emitting module Debugging
[32/32] Compiling Debugging Debuggable.swift
[34/83] Compiling NIO Heap.swift
[35/83] Compiling NIO IO.swift
[36/83] Compiling NIO IOData.swift
[37/83] Compiling NIO IntegerTypes.swift
[38/83] Compiling NIO Interfaces.swift
[39/83] Compiling NIO Linux.swift
[40/83] Compiling NIO LinuxCPUSet.swift
[41/89] Compiling NIO MarkedCircularBuffer.swift
[42/89] Compiling NIO MulticastChannel.swift
[43/89] Compiling NIO NIOAny.swift
[44/89] Compiling NIO NonBlockingFileIO.swift
[45/89] Compiling NIO PendingDatagramWritesManager.swift
[46/89] Compiling NIO PendingWritesManager.swift
[47/89] Compiling NIO PriorityQueue.swift
[48/89] Compiling NIO RecvByteBufferAllocator.swift
[49/89] Compiling NIO Resolver.swift
[50/89] Compiling NIO Selectable.swift
[51/89] Compiling NIO Selector.swift
[52/89] Compiling NIO ServerSocket.swift
[53/89] Compiling NIO Socket.swift
[54/89] Compiling NIO SocketAddresses.swift
[55/89] Compiling NIO EventLoop.swift
[56/89] Compiling NIO EventLoopFuture.swift
[57/89] Compiling NIO FileDescriptor.swift
[58/89] Compiling NIO FileHandle.swift
[59/89] Compiling NIO FileRegion.swift
[60/89] Compiling NIO GetaddrinfoResolver.swift
[61/89] Compiling NIO HappyEyeballs.swift
[62/89] Compiling NIO ByteBuffer-int.swift
[63/89] Compiling NIO ByteBuffer-views.swift
[64/89] Compiling NIO Channel.swift
[65/89] Compiling NIO ChannelHandler.swift
[66/89] Compiling NIO ChannelHandlers.swift
[67/89] Compiling NIO ChannelInvoker.swift
[68/89] Compiling NIO ChannelOption.swift
[69/89] Compiling NIO ChannelPipeline.swift
[70/89] Compiling NIO CircularBuffer.swift
[71/89] Compiling NIO Codec.swift
[72/89] Compiling NIO CompositeError.swift
[73/89] Compiling NIO ContiguousCollection.swift
[74/89] Compiling NIO DeadChannel.swift
[75/89] Compiling NIO Embedded.swift
[76/89] Compiling NIO AddressedEnvelope.swift
[77/89] Compiling NIO BaseSocket.swift
[78/89] Compiling NIO BaseSocketChannel.swift
[79/89] Compiling NIO BlockingIOThreadPool.swift
[80/89] Compiling NIO Bootstrap.swift
[81/89] Compiling NIO ByteBuffer-aux.swift
[82/89] Compiling NIO ByteBuffer-core.swift
[83/89] Emitting module NIO
[84/89] Compiling NIO SocketChannel.swift
[85/89] Compiling NIO SocketOptionProvider.swift
[86/89] Compiling NIO System.swift
[87/89] Compiling NIO Thread.swift
[88/89] Compiling NIO TypeAssistedChannelHandler.swift
[89/89] Compiling NIO Utilities.swift
[91/119] Compiling Bits Bytes.swift
[92/120] Compiling Async Exports.swift
[93/120] Compiling Async Future+DoCatch.swift
[94/121] Compiling Async Async+NIO.swift
[95/121] Compiling Async AsyncError.swift
[96/121] Emitting module Async
[99/121] Compiling Async Collection+Future.swift
[100/121] Compiling Async Deprecated.swift
[101/121] Compiling Bits Data+Bytes.swift
[102/121] Compiling Async FutureType.swift
[103/121] Compiling Async QueueHandler.swift
[104/121] Compiling NIOFoundationCompat ByteBuffer-foundation.swift
[105/121] Emitting module NIOFoundationCompat
[106/121] Compiling Async Future+Flatten.swift
[107/121] Compiling Async Future+Global.swift
[110/122] Emitting module Bits
[115/122] Compiling Bits Deprecated.swift
[116/122] Compiling Async Worker.swift
[118/122] Compiling Bits Data+Strings.swift
[119/123] Compiling Async Future+Map.swift
[120/123] Compiling Async Future+Transform.swift
[121/123] Compiling Async Future+Variadic.swift
[122/123] Compiling Async Future+Void.swift
[125/147] Compiling Core Future+Unwrap.swift
[126/147] Compiling Core FutureEncoder.swift
[127/147] Compiling Core HeaderValue.swift
[128/147] Compiling Core Data+Hex.swift
[129/147] Compiling Core DataCoders.swift
[130/147] Compiling Core Deprecated.swift
[131/147] Compiling Core DirectoryConfig.swift
[132/147] Compiling Core Exports.swift
[133/147] Compiling Core File.swift
[134/147] Compiling Core NotFound.swift
[135/147] Compiling Core OptionalType.swift
[136/147] Compiling Core Process+Execute.swift
[137/150] Compiling Core Reflectable.swift
[138/150] Compiling Core String+Utilities.swift
[139/150] Compiling Core Thread+Async.swift
[140/150] Compiling Core ReflectionDecoders.swift
[141/150] Compiling Core CoreError.swift
[142/150] Compiling Core Data+Base64URL.swift
[143/150] Emitting module Core
[144/150] Compiling Core BasicKey.swift
[145/150] Compiling Core CaseInsensitiveString.swift
[146/150] Compiling Core Decodable+Reflectable.swift
[147/150] Compiling Core ReflectionDecodable.swift
[148/150] Compiling Core LosslessDataConvertible.swift
[149/150] Compiling Core MediaType.swift
[150/150] Compiling Core NestedData.swift
[152/170] Compiling Service Deprecated.swift
[153/170] Compiling Service Exports.swift
[154/172] Compiling Service ServiceID.swift
[155/172] Compiling Service ServiceType.swift
[156/172] Compiling Service Environment.swift
[157/172] Compiling Service Provider.swift
[158/172] Compiling Service BasicServiceFactory.swift
[159/172] Emitting module Service
[160/172] Compiling Service Config.swift
[161/172] Compiling Service BasicContainer.swift
[162/172] Compiling Service BasicSubContainer.swift
[163/172] Compiling Service Container.swift
[164/172] Compiling Service ContainerAlias.swift
[165/172] Compiling Service SubContainer.swift
[166/172] Compiling Service Services.swift
[167/172] Compiling Service TypeServiceFactory.swift
[168/172] Compiling Service Service.swift
[169/172] Compiling Service ServiceCache.swift
[170/172] Compiling Service ServiceFactory.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 Raw.swift
[182/215] Compiling TemplateKit TagContext.swift
[183/215] Compiling TemplateKit TagRenderer.swift
[184/215] Compiling TemplateKit Uppercase.swift
[185/215] Compiling TemplateKit Var.swift
[186/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`.
[187/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`.
[188/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`.
[189/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`.
[190/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`.
[191/215] Compiling TemplateKit TemplateParser.swift
[192/215] Compiling TemplateKit TemplateRenderer.swift
[193/215] Compiling TemplateKit TemplateSerializer.swift
[194/215] Compiling TemplateKit Capitalize.swift
[195/215] Compiling TemplateKit Comment.swift
[196/215] Compiling TemplateKit TemplateDataStorage.swift
[197/215] Compiling TemplateKit Deprecated.swift
[198/215] Compiling TemplateKit ASTCache.swift
[199/215] Compiling TemplateKit PlaintextRenderer.swift
[200/215] Compiling TemplateKit TemplateByteScanner.swift
[201/215] Compiling TemplateKit Exports.swift
/host/spi-builder-workspace/Sources/TemplateKit/Utilities/HTMLEscape.swift:20:31: warning: initialization of 'UnsafeMutableRawPointer' results in a dangling pointer
18 | assert(bytes.count <= 8)
19 | self.count = bytes.count
20 | let selfPointer = UnsafeMutableRawPointer(&self)
| | |- note: implicit argument conversion from 'String.InlineByteArray' to 'UnsafeMutableRawPointer' produces a pointer valid only for the duration of the call to 'init(_:)'
| | `- note: use 'withUnsafeMutableBytes' in order to explicitly convert argument to buffer pointer valid for a defined scope
| `- warning: initialization of 'UnsafeMutableRawPointer' results in a dangling pointer
21 | bytes.withUnsafeBytes { bytesPointer in
22 | selfPointer.copyMemory(from: bytesPointer.baseAddress!, byteCount: bytes.count)
/host/spi-builder-workspace/Sources/TemplateKit/Utilities/HTMLEscape.swift:80:31: warning: initialization of 'UnsafeMutableRawPointer' results in a dangling pointer
78 | // and still faster than the slow path) for non-ASCII Strings on Swift 4.2.
79 | var resultData = SixteenBytes()
80 | let resultBytes = UnsafeMutableRawPointer(&resultData)
| | |- note: implicit argument conversion from 'String.SixteenBytes' to 'UnsafeMutableRawPointer' produces a pointer valid only for the duration of the call to 'init(_:)'
| | `- note: use 'withUnsafeMutableBytes' in order to explicitly convert argument to buffer pointer valid for a defined scope
| `- warning: initialization of 'UnsafeMutableRawPointer' results in a dangling pointer
81 | writeEscapedString(resultBytes)
82 |
/host/spi-builder-workspace/Sources/TemplateKit/Utilities/TemplateError.swift:12:16: warning: stored property 'sourceLocation' of 'Sendable'-conforming struct 'TemplateKitError' has non-sendable type 'SourceLocation?'; this is an error in the Swift 6 language mode
10 |
11 | /// See `Debuggable`.
12 | public var sourceLocation: SourceLocation?
| `- warning: stored property 'sourceLocation' of 'Sendable'-conforming struct 'TemplateKitError' has non-sendable type 'SourceLocation?'; this is an error in the Swift 6 language mode
13 |
14 | /// See `Debuggable`.
/host/spi-builder-workspace/.build/checkouts/core/Sources/Debugging/SourceLocation.swift:2:15: note: struct 'SourceLocation' does not conform to the 'Sendable' protocol
1 | /// A source-code location.
2 | public struct SourceLocation {
| `- note: struct 'SourceLocation' does not conform to the 'Sendable' protocol
3 | /// File in which this location exists.
4 | public var file: String
/host/spi-builder-workspace/Sources/TemplateKit/Utilities/TemplateError.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Debugging'
1 | import Debugging
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Debugging'
2 |
3 | /// An error converting types.
[202/215] Compiling TemplateKit HTMLEscape.swift
/host/spi-builder-workspace/Sources/TemplateKit/Utilities/HTMLEscape.swift:20:31: warning: initialization of 'UnsafeMutableRawPointer' results in a dangling pointer
18 | assert(bytes.count <= 8)
19 | self.count = bytes.count
20 | let selfPointer = UnsafeMutableRawPointer(&self)
| | |- note: implicit argument conversion from 'String.InlineByteArray' to 'UnsafeMutableRawPointer' produces a pointer valid only for the duration of the call to 'init(_:)'
| | `- note: use 'withUnsafeMutableBytes' in order to explicitly convert argument to buffer pointer valid for a defined scope
| `- warning: initialization of 'UnsafeMutableRawPointer' results in a dangling pointer
21 | bytes.withUnsafeBytes { bytesPointer in
22 | selfPointer.copyMemory(from: bytesPointer.baseAddress!, byteCount: bytes.count)
/host/spi-builder-workspace/Sources/TemplateKit/Utilities/HTMLEscape.swift:80:31: warning: initialization of 'UnsafeMutableRawPointer' results in a dangling pointer
78 | // and still faster than the slow path) for non-ASCII Strings on Swift 4.2.
79 | var resultData = SixteenBytes()
80 | let resultBytes = UnsafeMutableRawPointer(&resultData)
| | |- note: implicit argument conversion from 'String.SixteenBytes' to 'UnsafeMutableRawPointer' produces a pointer valid only for the duration of the call to 'init(_:)'
| | `- note: use 'withUnsafeMutableBytes' in order to explicitly convert argument to buffer pointer valid for a defined scope
| `- warning: initialization of 'UnsafeMutableRawPointer' results in a dangling pointer
81 | writeEscapedString(resultBytes)
82 |
/host/spi-builder-workspace/Sources/TemplateKit/Utilities/TemplateError.swift:12:16: warning: stored property 'sourceLocation' of 'Sendable'-conforming struct 'TemplateKitError' has non-sendable type 'SourceLocation?'; this is an error in the Swift 6 language mode
10 |
11 | /// See `Debuggable`.
12 | public var sourceLocation: SourceLocation?
| `- warning: stored property 'sourceLocation' of 'Sendable'-conforming struct 'TemplateKitError' has non-sendable type 'SourceLocation?'; this is an error in the Swift 6 language mode
13 |
14 | /// See `Debuggable`.
/host/spi-builder-workspace/.build/checkouts/core/Sources/Debugging/SourceLocation.swift:2:15: note: struct 'SourceLocation' does not conform to the 'Sendable' protocol
1 | /// A source-code location.
2 | public struct SourceLocation {
| `- note: struct 'SourceLocation' does not conform to the 'Sendable' protocol
3 | /// File in which this location exists.
4 | public var file: String
/host/spi-builder-workspace/Sources/TemplateKit/Utilities/TemplateError.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Debugging'
1 | import Debugging
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Debugging'
2 |
3 | /// An error converting types.
[203/215] Compiling TemplateKit TemplateError.swift
/host/spi-builder-workspace/Sources/TemplateKit/Utilities/HTMLEscape.swift:20:31: warning: initialization of 'UnsafeMutableRawPointer' results in a dangling pointer
18 | assert(bytes.count <= 8)
19 | self.count = bytes.count
20 | let selfPointer = UnsafeMutableRawPointer(&self)
| | |- note: implicit argument conversion from 'String.InlineByteArray' to 'UnsafeMutableRawPointer' produces a pointer valid only for the duration of the call to 'init(_:)'
| | `- note: use 'withUnsafeMutableBytes' in order to explicitly convert argument to buffer pointer valid for a defined scope
| `- warning: initialization of 'UnsafeMutableRawPointer' results in a dangling pointer
21 | bytes.withUnsafeBytes { bytesPointer in
22 | selfPointer.copyMemory(from: bytesPointer.baseAddress!, byteCount: bytes.count)
/host/spi-builder-workspace/Sources/TemplateKit/Utilities/HTMLEscape.swift:80:31: warning: initialization of 'UnsafeMutableRawPointer' results in a dangling pointer
78 | // and still faster than the slow path) for non-ASCII Strings on Swift 4.2.
79 | var resultData = SixteenBytes()
80 | let resultBytes = UnsafeMutableRawPointer(&resultData)
| | |- note: implicit argument conversion from 'String.SixteenBytes' to 'UnsafeMutableRawPointer' produces a pointer valid only for the duration of the call to 'init(_:)'
| | `- note: use 'withUnsafeMutableBytes' in order to explicitly convert argument to buffer pointer valid for a defined scope
| `- warning: initialization of 'UnsafeMutableRawPointer' results in a dangling pointer
81 | writeEscapedString(resultBytes)
82 |
/host/spi-builder-workspace/Sources/TemplateKit/Utilities/TemplateError.swift:12:16: warning: stored property 'sourceLocation' of 'Sendable'-conforming struct 'TemplateKitError' has non-sendable type 'SourceLocation?'; this is an error in the Swift 6 language mode
10 |
11 | /// See `Debuggable`.
12 | public var sourceLocation: SourceLocation?
| `- warning: stored property 'sourceLocation' of 'Sendable'-conforming struct 'TemplateKitError' has non-sendable type 'SourceLocation?'; this is an error in the Swift 6 language mode
13 |
14 | /// See `Debuggable`.
/host/spi-builder-workspace/.build/checkouts/core/Sources/Debugging/SourceLocation.swift:2:15: note: struct 'SourceLocation' does not conform to the 'Sendable' protocol
1 | /// A source-code location.
2 | public struct SourceLocation {
| `- note: struct 'SourceLocation' does not conform to the 'Sendable' protocol
3 | /// File in which this location exists.
4 | public var file: String
/host/spi-builder-workspace/Sources/TemplateKit/Utilities/TemplateError.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Debugging'
1 | import Debugging
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Debugging'
2 |
3 | /// An error converting types.
[204/215] Compiling TemplateKit View.swift
/host/spi-builder-workspace/Sources/TemplateKit/Utilities/HTMLEscape.swift:20:31: warning: initialization of 'UnsafeMutableRawPointer' results in a dangling pointer
18 | assert(bytes.count <= 8)
19 | self.count = bytes.count
20 | let selfPointer = UnsafeMutableRawPointer(&self)
| | |- note: implicit argument conversion from 'String.InlineByteArray' to 'UnsafeMutableRawPointer' produces a pointer valid only for the duration of the call to 'init(_:)'
| | `- note: use 'withUnsafeMutableBytes' in order to explicitly convert argument to buffer pointer valid for a defined scope
| `- warning: initialization of 'UnsafeMutableRawPointer' results in a dangling pointer
21 | bytes.withUnsafeBytes { bytesPointer in
22 | selfPointer.copyMemory(from: bytesPointer.baseAddress!, byteCount: bytes.count)
/host/spi-builder-workspace/Sources/TemplateKit/Utilities/HTMLEscape.swift:80:31: warning: initialization of 'UnsafeMutableRawPointer' results in a dangling pointer
78 | // and still faster than the slow path) for non-ASCII Strings on Swift 4.2.
79 | var resultData = SixteenBytes()
80 | let resultBytes = UnsafeMutableRawPointer(&resultData)
| | |- note: implicit argument conversion from 'String.SixteenBytes' to 'UnsafeMutableRawPointer' produces a pointer valid only for the duration of the call to 'init(_:)'
| | `- note: use 'withUnsafeMutableBytes' in order to explicitly convert argument to buffer pointer valid for a defined scope
| `- warning: initialization of 'UnsafeMutableRawPointer' results in a dangling pointer
81 | writeEscapedString(resultBytes)
82 |
/host/spi-builder-workspace/Sources/TemplateKit/Utilities/TemplateError.swift:12:16: warning: stored property 'sourceLocation' of 'Sendable'-conforming struct 'TemplateKitError' has non-sendable type 'SourceLocation?'; this is an error in the Swift 6 language mode
10 |
11 | /// See `Debuggable`.
12 | public var sourceLocation: SourceLocation?
| `- warning: stored property 'sourceLocation' of 'Sendable'-conforming struct 'TemplateKitError' has non-sendable type 'SourceLocation?'; this is an error in the Swift 6 language mode
13 |
14 | /// See `Debuggable`.
/host/spi-builder-workspace/.build/checkouts/core/Sources/Debugging/SourceLocation.swift:2:15: note: struct 'SourceLocation' does not conform to the 'Sendable' protocol
1 | /// A source-code location.
2 | public struct SourceLocation {
| `- note: struct 'SourceLocation' does not conform to the 'Sendable' protocol
3 | /// File in which this location exists.
4 | public var file: String
/host/spi-builder-workspace/Sources/TemplateKit/Utilities/TemplateError.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Debugging'
1 | import Debugging
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Debugging'
2 |
3 | /// An error converting types.
[205/215] Compiling TemplateKit ViewRenderer.swift
/host/spi-builder-workspace/Sources/TemplateKit/Utilities/HTMLEscape.swift:20:31: warning: initialization of 'UnsafeMutableRawPointer' results in a dangling pointer
18 | assert(bytes.count <= 8)
19 | self.count = bytes.count
20 | let selfPointer = UnsafeMutableRawPointer(&self)
| | |- note: implicit argument conversion from 'String.InlineByteArray' to 'UnsafeMutableRawPointer' produces a pointer valid only for the duration of the call to 'init(_:)'
| | `- note: use 'withUnsafeMutableBytes' in order to explicitly convert argument to buffer pointer valid for a defined scope
| `- warning: initialization of 'UnsafeMutableRawPointer' results in a dangling pointer
21 | bytes.withUnsafeBytes { bytesPointer in
22 | selfPointer.copyMemory(from: bytesPointer.baseAddress!, byteCount: bytes.count)
/host/spi-builder-workspace/Sources/TemplateKit/Utilities/HTMLEscape.swift:80:31: warning: initialization of 'UnsafeMutableRawPointer' results in a dangling pointer
78 | // and still faster than the slow path) for non-ASCII Strings on Swift 4.2.
79 | var resultData = SixteenBytes()
80 | let resultBytes = UnsafeMutableRawPointer(&resultData)
| | |- note: implicit argument conversion from 'String.SixteenBytes' to 'UnsafeMutableRawPointer' produces a pointer valid only for the duration of the call to 'init(_:)'
| | `- note: use 'withUnsafeMutableBytes' in order to explicitly convert argument to buffer pointer valid for a defined scope
| `- warning: initialization of 'UnsafeMutableRawPointer' results in a dangling pointer
81 | writeEscapedString(resultBytes)
82 |
/host/spi-builder-workspace/Sources/TemplateKit/Utilities/TemplateError.swift:12:16: warning: stored property 'sourceLocation' of 'Sendable'-conforming struct 'TemplateKitError' has non-sendable type 'SourceLocation?'; this is an error in the Swift 6 language mode
10 |
11 | /// See `Debuggable`.
12 | public var sourceLocation: SourceLocation?
| `- warning: stored property 'sourceLocation' of 'Sendable'-conforming struct 'TemplateKitError' has non-sendable type 'SourceLocation?'; this is an error in the Swift 6 language mode
13 |
14 | /// See `Debuggable`.
/host/spi-builder-workspace/.build/checkouts/core/Sources/Debugging/SourceLocation.swift:2:15: note: struct 'SourceLocation' does not conform to the 'Sendable' protocol
1 | /// A source-code location.
2 | public struct SourceLocation {
| `- note: struct 'SourceLocation' does not conform to the 'Sendable' protocol
3 | /// File in which this location exists.
4 | public var file: String
/host/spi-builder-workspace/Sources/TemplateKit/Utilities/TemplateError.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Debugging'
1 | import Debugging
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Debugging'
2 |
3 | /// An error converting types.
[206/215] Compiling TemplateKit TemplateIdentifier.swift
[207/215] Compiling TemplateKit TemplateIterator.swift
[208/215] Compiling TemplateKit TemplateRaw.swift
[209/215] Compiling TemplateKit TemplateSource.swift
[210/215] Compiling TemplateKit TemplateSyntax.swift
[211/215] Compiling TemplateKit TemplateSyntaxType.swift
[212/215] Compiling TemplateKit TemplateTag.swift
[213/215] Compiling TemplateKit TemplateData.swift
[214/215] Compiling TemplateKit TemplateDataEncoder.swift
[215/215] Compiling TemplateKit TemplateDataRepresentable.swift
Build complete! (28.88s)
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.