The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build yubatake, reference master (36585b), with Swift 6.0 for Linux on 28 Nov 2024 03:17:57 UTC.

Build Command

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

Build Log

 2 | import Vapor
 3 |
 4 | protocol ImageRepository {
   |          `- note: protocol 'ImageRepository' does not conform to the 'Sendable' protocol
 5 |
 6 |     func isExist(at name: String) -> Bool
/host/spi-builder-workspace/Sources/App/Controllers/Admin/AdminImageController.swift:29:67: warning: capture of 'repository' with non-sendable type 'any ImageRepository' in an isolated closure; this is an error in the Swift 6 language mode
 27 |             .flatMap { images in
 28 |                 let publicImages = images.map { $0.formPublic(on: request.application) }
 29 |                 let hasNotFound = publicImages.contains(where: { !repository.isExist(at: $0.name) })
    |                                                                   `- warning: capture of 'repository' with non-sendable type 'any ImageRepository' in an isolated closure; this is an error in the Swift 6 language mode
 30 |                 do {
 31 |                     return try ContextMaker.makeIndexView().makeResponse(context: IndexContext(hasNotFound: hasNotFound), formDataType: ImageForm.self, for: request)
/host/spi-builder-workspace/Sources/App/Application/Services/Repository/ImageRepository.swift:4:10: note: protocol 'ImageRepository' does not conform to the 'Sendable' protocol
 2 | import Vapor
 3 |
 4 | protocol ImageRepository {
   |          `- note: protocol 'ImageRepository' does not conform to the 'Sendable' protocol
 5 |
 6 |     func isExist(at name: String) -> Bool
/host/spi-builder-workspace/Sources/App/Controllers/Admin/AdminImageController.swift:44:14: warning: type 'View' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 42 |         return Image.find(imageId, on: request.db)
 43 |             .unwrap(or: Abort(.notFound))
 44 |             .flatMap { image in
    |              `- warning: type 'View' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 45 |                 do {
 46 |                     let publicImage = image.formPublic(on: request.application)
/host/spi-builder-workspace/.build/checkouts/vapor/Sources/Vapor/View/View.swift:3:15: note: struct 'View' does not conform to the 'Sendable' protocol
 1 | import NIOCore
 2 |
 3 | public struct View: ResponseEncodable {
   |               `- note: struct 'View' does not conform to the 'Sendable' protocol
 4 |     public var data: ByteBuffer
 5 |
/host/spi-builder-workspace/Sources/App/Controllers/Admin/AdminImageController.swift:69:33: warning: capture of 'repository' with non-sendable type 'any ImageRepository' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 67 |                     image.save(on: tx)
 68 |                         .flatMapThrowing {
 69 |                             try repository.rename(from: beforeName, to: afterName)
    |                                 `- warning: capture of 'repository' with non-sendable type 'any ImageRepository' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 70 |                         }
 71 |                 }
/host/spi-builder-workspace/Sources/App/Application/Services/Repository/ImageRepository.swift:4:10: note: protocol 'ImageRepository' does not conform to the 'Sendable' protocol
 2 | import Vapor
 3 |
 4 | protocol ImageRepository {
   |          `- note: protocol 'ImageRepository' does not conform to the 'Sendable' protocol
 5 |
 6 |     func isExist(at name: String) -> Bool
/host/spi-builder-workspace/Sources/App/Controllers/Admin/AdminImageController.swift:69:33: warning: capture of 'repository' with non-sendable type 'any ImageRepository' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 67 |                     image.save(on: tx)
 68 |                         .flatMapThrowing {
 69 |                             try repository.rename(from: beforeName, to: afterName)
    |                                 `- warning: capture of 'repository' with non-sendable type 'any ImageRepository' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 70 |                         }
 71 |                 }
/host/spi-builder-workspace/Sources/App/Application/Services/Repository/ImageRepository.swift:4:10: note: protocol 'ImageRepository' does not conform to the 'Sendable' protocol
 2 | import Vapor
 3 |
 4 | protocol ImageRepository {
   |          `- note: protocol 'ImageRepository' does not conform to the 'Sendable' protocol
 5 |
 6 |     func isExist(at name: String) -> Bool
/host/spi-builder-workspace/Sources/App/Controllers/Admin/AdminImageController.swift:69:33: warning: capture of 'repository' with non-sendable type 'any ImageRepository' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 67 |                     image.save(on: tx)
 68 |                         .flatMapThrowing {
 69 |                             try repository.rename(from: beforeName, to: afterName)
    |                                 `- warning: capture of 'repository' with non-sendable type 'any ImageRepository' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 70 |                         }
 71 |                 }
/host/spi-builder-workspace/Sources/App/Application/Services/Repository/ImageRepository.swift:4:10: note: protocol 'ImageRepository' does not conform to the 'Sendable' protocol
 2 | import Vapor
 3 |
 4 | protocol ImageRepository {
   |          `- note: protocol 'ImageRepository' does not conform to the 'Sendable' protocol
 5 |
 6 |     func isExist(at name: String) -> Bool
/host/spi-builder-workspace/Sources/App/Controllers/Admin/AdminImageController.swift:94:33: warning: capture of 'repository' with non-sendable type 'any ImageRepository' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 92 |                     image.delete(on: tx)
 93 |                         .flatMapThrowing {
 94 |                             try repository.delete(at: name)
    |                                 `- warning: capture of 'repository' with non-sendable type 'any ImageRepository' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 95 |                         }
 96 |                 }
/host/spi-builder-workspace/Sources/App/Application/Services/Repository/ImageRepository.swift:4:10: note: protocol 'ImageRepository' does not conform to the 'Sendable' protocol
 2 | import Vapor
 3 |
 4 | protocol ImageRepository {
   |          `- note: protocol 'ImageRepository' does not conform to the 'Sendable' protocol
 5 |
 6 |     func isExist(at name: String) -> Bool
/host/spi-builder-workspace/Sources/App/Controllers/Admin/AdminImageController.swift:94:33: warning: capture of 'repository' with non-sendable type 'any ImageRepository' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 92 |                     image.delete(on: tx)
 93 |                         .flatMapThrowing {
 94 |                             try repository.delete(at: name)
    |                                 `- warning: capture of 'repository' with non-sendable type 'any ImageRepository' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 95 |                         }
 96 |                 }
/host/spi-builder-workspace/Sources/App/Application/Services/Repository/ImageRepository.swift:4:10: note: protocol 'ImageRepository' does not conform to the 'Sendable' protocol
 2 | import Vapor
 3 |
 4 | protocol ImageRepository {
   |          `- note: protocol 'ImageRepository' does not conform to the 'Sendable' protocol
 5 |
 6 |     func isExist(at name: String) -> Bool
/host/spi-builder-workspace/Sources/App/Controllers/Admin/AdminImageController.swift:94:33: warning: capture of 'repository' with non-sendable type 'any ImageRepository' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 92 |                     image.delete(on: tx)
 93 |                         .flatMapThrowing {
 94 |                             try repository.delete(at: name)
    |                                 `- warning: capture of 'repository' with non-sendable type 'any ImageRepository' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 95 |                         }
 96 |                 }
/host/spi-builder-workspace/Sources/App/Application/Services/Repository/ImageRepository.swift:4:10: note: protocol 'ImageRepository' does not conform to the 'Sendable' protocol
 2 | import Vapor
 3 |
 4 | protocol ImageRepository {
   |          `- note: protocol 'ImageRepository' does not conform to the 'Sendable' protocol
 5 |
 6 |     func isExist(at name: String) -> Bool
/host/spi-builder-workspace/Sources/App/Controllers/Admin/AdminImageController.swift:108:32: warning: capture of 'repository' with non-sendable type 'any ImageRepository' in a `@Sendable` closure; this is an error in the Swift 6 language mode
106 |             .flatMap { images -> EventLoopFuture<Response> in
107 |                 let notFoundImages = images.map { $0.formPublic(on: request.application) }
108 |                     .filter { !repository.isExist(at: $0.name) }
    |                                `- warning: capture of 'repository' with non-sendable type 'any ImageRepository' in a `@Sendable` closure; this is an error in the Swift 6 language mode
109 |                     .map { $0.image }
110 |                 let deleteImages = notFoundImages.map { $0.delete(on: request.db) }
/host/spi-builder-workspace/Sources/App/Application/Services/Repository/ImageRepository.swift:4:10: note: protocol 'ImageRepository' does not conform to the 'Sendable' protocol
 2 | import Vapor
 3 |
 4 | protocol ImageRepository {
   |          `- note: protocol 'ImageRepository' does not conform to the 'Sendable' protocol
 5 |
 6 |     func isExist(at name: String) -> Bool
/host/spi-builder-workspace/Sources/App/Controllers/Admin/AdminImageController.swift:108:32: warning: capture of 'repository' with non-sendable type 'any ImageRepository' in an isolated closure; this is an error in the Swift 6 language mode
106 |             .flatMap { images -> EventLoopFuture<Response> in
107 |                 let notFoundImages = images.map { $0.formPublic(on: request.application) }
108 |                     .filter { !repository.isExist(at: $0.name) }
    |                                `- warning: capture of 'repository' with non-sendable type 'any ImageRepository' in an isolated closure; this is an error in the Swift 6 language mode
109 |                     .map { $0.image }
110 |                 let deleteImages = notFoundImages.map { $0.delete(on: request.db) }
/host/spi-builder-workspace/Sources/App/Application/Services/Repository/ImageRepository.swift:4:10: note: protocol 'ImageRepository' does not conform to the 'Sendable' protocol
 2 | import Vapor
 3 |
 4 | protocol ImageRepository {
   |          `- note: protocol 'ImageRepository' does not conform to the 'Sendable' protocol
 5 |
 6 |     func isExist(at name: String) -> Bool
/host/spi-builder-workspace/Sources/App/Controllers/Admin/AdminPostController.swift:51:14: warning: type 'PageResponse<Post.Public>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 49 |         return Post.query(on: request.db).noStaticAll().withRelated()
 50 |             .paginate(for: request)
 51 |             .flatMap { page -> EventLoopFuture<PageResponse<Post.Public>> in
    |              `- warning: type 'PageResponse<Post.Public>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 52 |                 do {
 53 |                     let posts = try page.items.map { try $0.formPublic() }
/host/spi-builder-workspace/Sources/App/Application/Services/Core/PageResponse.swift:4:8: note: consider making generic struct 'PageResponse' conform to the 'Sendable' protocol
 2 | import Foundation
 3 |
 4 | struct PageResponse<T: Codable>: ResponseContent {
   |        `- note: consider making generic struct 'PageResponse' conform to the 'Sendable' protocol
 5 |
 6 |     let items: [T]
/host/spi-builder-workspace/Sources/App/Controllers/Admin/AdminPostController.swift:61:14: warning: type 'View' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 59 |                 }
 60 |             }
 61 |             .flatMap { page in
    |              `- warning: type 'View' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 62 |                 do {
 63 |                     let response = try ContextMaker.makeIndexView().makeResponse(context: page, for: request)
/host/spi-builder-workspace/.build/checkouts/vapor/Sources/Vapor/View/View.swift:3:15: note: struct 'View' does not conform to the 'Sendable' protocol
 1 | import NIOCore
 2 |
 3 | public struct View: ResponseEncodable {
   |               `- note: struct 'View' does not conform to the 'Sendable' protocol
 4 |     public var data: ByteBuffer
 5 |
/host/spi-builder-workspace/Sources/App/Controllers/Admin/AdminPostController.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Vapor'
  1 | import Fluent
  2 | import Vapor
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Vapor'
  3 |
  4 | final class AdminPostController {
/host/spi-builder-workspace/Sources/App/Controllers/Admin/AdminPostController.swift:74:14: warning: type 'PageResponse<Post.Public>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 72 |         return Post.query(on: request.db).staticAll().withRelated()
 73 |             .paginate(for: request)
 74 |             .flatMap { page -> EventLoopFuture<PageResponse<Post.Public>> in
    |              `- warning: type 'PageResponse<Post.Public>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 75 |                 do {
 76 |                     let posts = try page.items.map { try $0.formPublic() }
/host/spi-builder-workspace/Sources/App/Application/Services/Core/PageResponse.swift:4:8: note: consider making generic struct 'PageResponse' conform to the 'Sendable' protocol
 2 | import Foundation
 3 |
 4 | struct PageResponse<T: Codable>: ResponseContent {
   |        `- note: consider making generic struct 'PageResponse' conform to the 'Sendable' protocol
 5 |
 6 |     let items: [T]
/host/spi-builder-workspace/Sources/App/Controllers/Admin/AdminPostController.swift:84:14: warning: type 'View' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 82 |                 }
 83 |             }
 84 |             .flatMap { page in
    |              `- warning: type 'View' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 85 |                 do {
 86 |                     let context = page.add("isStatic", true)
/host/spi-builder-workspace/.build/checkouts/vapor/Sources/Vapor/View/View.swift:3:15: note: struct 'View' does not conform to the 'Sendable' protocol
 1 | import NIOCore
 2 |
 3 | public struct View: ResponseEncodable {
   |               `- note: struct 'View' does not conform to the 'Sendable' protocol
 4 |     public var data: ByteBuffer
 5 |
/host/spi-builder-workspace/Sources/App/Controllers/Admin/AdminPostController.swift:97:14: warning: type 'View' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 95 |     func create(request: Request) throws -> EventLoopFuture<View> {
 96 |         return TagsAndCategories.make(from: request)
 97 |             .flatMap { tagAndCategories in
    |              `- warning: type 'View' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 98 |                 do {
 99 |                     return try ContextMaker.makeCreateView(menuType: .newPost)
/host/spi-builder-workspace/.build/checkouts/vapor/Sources/Vapor/View/View.swift:3:15: note: struct 'View' does not conform to the 'Sendable' protocol
 1 | import NIOCore
 2 |
 3 | public struct View: ResponseEncodable {
   |               `- note: struct 'View' does not conform to the 'Sendable' protocol
 4 |     public var data: ByteBuffer
 5 |
/host/spi-builder-workspace/Sources/App/Controllers/Admin/AdminPostController.swift:157:14: warning: type 'View' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
155 |                 try $0.formPublic()
156 |             }
157 |             .flatMap { post in
    |              `- warning: type 'View' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
158 |                 TagsAndCategories.make(from: request)
159 |                     .flatMap { tagAndCategories in
/host/spi-builder-workspace/.build/checkouts/vapor/Sources/Vapor/View/View.swift:3:15: note: struct 'View' does not conform to the 'Sendable' protocol
 1 | import NIOCore
 2 |
 3 | public struct View: ResponseEncodable {
   |               `- note: struct 'View' does not conform to the 'Sendable' protocol
 4 |     public var data: ByteBuffer
 5 |
/host/spi-builder-workspace/Sources/App/Controllers/Admin/AdminPostController.swift:159:22: warning: type 'View' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
157 |             .flatMap { post in
158 |                 TagsAndCategories.make(from: request)
159 |                     .flatMap { tagAndCategories in
    |                      `- warning: type 'View' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
160 |                         do {
161 |                             let context = EditViewContext(post: post, tagsAndCategories: tagAndCategories)
/host/spi-builder-workspace/.build/checkouts/vapor/Sources/Vapor/View/View.swift:3:15: note: struct 'View' does not conform to the 'Sendable' protocol
 1 | import NIOCore
 2 |
 3 | public struct View: ResponseEncodable {
   |               `- note: struct 'View' does not conform to the 'Sendable' protocol
 4 |     public var data: ByteBuffer
 5 |
/host/spi-builder-workspace/Sources/App/Controllers/Admin/AdminPostController.swift:237:14: warning: type 'View' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
235 |             .first()
236 |             .unwrap(or: Abort(.notFound))
237 |             .flatMap { post in
    |              `- warning: type 'View' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
238 |                 do {
239 |                     let publicPost = try post.formPublic()
/host/spi-builder-workspace/.build/checkouts/vapor/Sources/Vapor/View/View.swift:3:15: note: struct 'View' does not conform to the 'Sendable' protocol
 1 | import NIOCore
 2 |
 3 | public struct View: ResponseEncodable {
   |               `- note: struct 'View' does not conform to the 'Sendable' protocol
 4 |     public var data: ByteBuffer
 5 |
/host/spi-builder-workspace/Sources/App/Controllers/Admin/AdminSiteInfoController.swift:13:14: warning: type 'View' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
11 |     func index(request: Request) throws -> EventLoopFuture<View> {
12 |         return SiteInfo.shared(on: request.db)
13 |             .flatMap { siteInfo in
   |              `- warning: type 'View' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
14 |                 do {
15 |                     return try ContextMaker.makeCreateView().makeResponse(context: siteInfo, formDataType: SiteInfoForm.self, for: request)
/host/spi-builder-workspace/.build/checkouts/vapor/Sources/Vapor/View/View.swift:3:15: note: struct 'View' does not conform to the 'Sendable' protocol
 1 | import NIOCore
 2 |
 3 | public struct View: ResponseEncodable {
   |               `- note: struct 'View' does not conform to the 'Sendable' protocol
 4 |     public var data: ByteBuffer
 5 |
/host/spi-builder-workspace/Sources/App/Controllers/Admin/AdminSiteInfoController.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Vapor'
 1 | import Vapor
   | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Vapor'
 2 |
 3 | final class AdminSiteInfoController {
/host/spi-builder-workspace/Sources/App/Controllers/Admin/AdminTagController.swift:19:14: warning: type 'View' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
17 |         return Tag.query(on: request.db).withRelated()
18 |             .paginate(for: request)
19 |             .flatMap { page in
   |              `- warning: type 'View' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
20 |                 do {
21 |                     let pageResponse = PageResponse(page: page)
/host/spi-builder-workspace/.build/checkouts/vapor/Sources/Vapor/View/View.swift:3:15: note: struct 'View' does not conform to the 'Sendable' protocol
 1 | import NIOCore
 2 |
 3 | public struct View: ResponseEncodable {
   |               `- note: struct 'View' does not conform to the 'Sendable' protocol
 4 |     public var data: ByteBuffer
 5 |
/host/spi-builder-workspace/Sources/App/Controllers/Admin/AdminTagController.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Vapor'
 1 | import Fluent
 2 | import Vapor
   | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Vapor'
 3 |
 4 | final class AdminTagController {
/host/spi-builder-workspace/Sources/App/Controllers/Admin/AdminTagController.swift:40:14: warning: type 'View' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
38 |             .first()
39 |             .unwrap(or: Abort(.notFound))
40 |             .flatMap { tag in
   |              `- warning: type 'View' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
41 |                 do {
42 |                     return try ContextMaker.makeCreateView().makeResponse(context: tag, formDataType: TagForm.self, for: request)
/host/spi-builder-workspace/.build/checkouts/vapor/Sources/Vapor/View/View.swift:3:15: note: struct 'View' does not conform to the 'Sendable' protocol
 1 | import NIOCore
 2 |
 3 | public struct View: ResponseEncodable {
   |               `- note: struct 'View' does not conform to the 'Sendable' protocol
 4 |     public var data: ByteBuffer
 5 |
[2851/2882] Compiling App AdminTagController.swift
/host/spi-builder-workspace/Sources/App/Controllers/API/API+ImageController.swift:31:29: warning: capture of 'repository' with non-sendable type 'any ImageRepository' in a `@Sendable` closure; this is an error in the Swift 6 language mode
29 |                 newImage.save(on: tx)
30 |                     .flatMapThrowing {
31 |                         try repository.save(image: form.data, for: imageFileName)
   |                             `- warning: capture of 'repository' with non-sendable type 'any ImageRepository' in a `@Sendable` closure; this is an error in the Swift 6 language mode
32 |                     }
33 |             }.transform(to: Response(status: .ok))
/host/spi-builder-workspace/Sources/App/Application/Services/Repository/ImageRepository.swift:4:10: note: protocol 'ImageRepository' does not conform to the 'Sendable' protocol
 2 | import Vapor
 3 |
 4 | protocol ImageRepository {
   |          `- note: protocol 'ImageRepository' does not conform to the 'Sendable' protocol
 5 |
 6 |     func isExist(at name: String) -> Bool
/host/spi-builder-workspace/Sources/App/Controllers/API/API+ImageController.swift:31:29: warning: capture of 'repository' with non-sendable type 'any ImageRepository' in a `@Sendable` closure; this is an error in the Swift 6 language mode
29 |                 newImage.save(on: tx)
30 |                     .flatMapThrowing {
31 |                         try repository.save(image: form.data, for: imageFileName)
   |                             `- warning: capture of 'repository' with non-sendable type 'any ImageRepository' in a `@Sendable` closure; this is an error in the Swift 6 language mode
32 |                     }
33 |             }.transform(to: Response(status: .ok))
/host/spi-builder-workspace/Sources/App/Application/Services/Repository/ImageRepository.swift:4:10: note: protocol 'ImageRepository' does not conform to the 'Sendable' protocol
 2 | import Vapor
 3 |
 4 | protocol ImageRepository {
   |          `- note: protocol 'ImageRepository' does not conform to the 'Sendable' protocol
 5 |
 6 |     func isExist(at name: String) -> Bool
/host/spi-builder-workspace/Sources/App/Controllers/Admin/AdminCategoryController.swift:19:14: warning: type 'View' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 17 |         return Category.query(on: request.db).withRelated()
 18 |             .paginate(for: request)
 19 |             .flatMap { page in
    |              `- warning: type 'View' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 20 |                 do {
 21 |                     let pageResponse = PageResponse(page: page)
/host/spi-builder-workspace/.build/checkouts/vapor/Sources/Vapor/View/View.swift:3:15: note: struct 'View' does not conform to the 'Sendable' protocol
 1 | import NIOCore
 2 |
 3 | public struct View: ResponseEncodable {
   |               `- note: struct 'View' does not conform to the 'Sendable' protocol
 4 |     public var data: ByteBuffer
 5 |
/host/spi-builder-workspace/Sources/App/Controllers/Admin/AdminCategoryController.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Vapor'
  1 | import Fluent
  2 | import Vapor
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Vapor'
  3 |
  4 | final class AdminCategoryController {
/host/spi-builder-workspace/Sources/App/Controllers/Admin/AdminCategoryController.swift:40:14: warning: type 'View' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 38 |             .first()
 39 |             .unwrap(or: Abort(.notFound))
 40 |             .flatMap { category in
    |              `- warning: type 'View' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 41 |                 do {
 42 |                     return try ContextMaker.makeCreateView().makeResponse(context: category, formDataType: CategoryForm.self, for: request)
/host/spi-builder-workspace/.build/checkouts/vapor/Sources/Vapor/View/View.swift:3:15: note: struct 'View' does not conform to the 'Sendable' protocol
 1 | import NIOCore
 2 |
 3 | public struct View: ResponseEncodable {
   |               `- note: struct 'View' does not conform to the 'Sendable' protocol
 4 |     public var data: ByteBuffer
 5 |
/host/spi-builder-workspace/Sources/App/Controllers/Admin/AdminImageController.swift:27:14: warning: type 'View' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 25 |         let repository = request.application.imageRepository
 26 |         return Image.query(on: request.db).all()
 27 |             .flatMap { images in
    |              `- warning: type 'View' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 28 |                 let publicImages = images.map { $0.formPublic(on: request.application) }
 29 |                 let hasNotFound = publicImages.contains(where: { !repository.isExist(at: $0.name) })
/host/spi-builder-workspace/.build/checkouts/vapor/Sources/Vapor/View/View.swift:3:15: note: struct 'View' does not conform to the 'Sendable' protocol
 1 | import NIOCore
 2 |
 3 | public struct View: ResponseEncodable {
   |               `- note: struct 'View' does not conform to the 'Sendable' protocol
 4 |     public var data: ByteBuffer
 5 |
/host/spi-builder-workspace/Sources/App/Controllers/Admin/AdminImageController.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Vapor'
  1 | import Fluent
  2 | import Vapor
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Vapor'
  3 |
  4 | final class AdminImageController {
/host/spi-builder-workspace/Sources/App/Controllers/Admin/AdminImageController.swift:29:67: warning: capture of 'repository' with non-sendable type 'any ImageRepository' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 27 |             .flatMap { images in
 28 |                 let publicImages = images.map { $0.formPublic(on: request.application) }
 29 |                 let hasNotFound = publicImages.contains(where: { !repository.isExist(at: $0.name) })
    |                                                                   `- warning: capture of 'repository' with non-sendable type 'any ImageRepository' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 30 |                 do {
 31 |                     return try ContextMaker.makeIndexView().makeResponse(context: IndexContext(hasNotFound: hasNotFound), formDataType: ImageForm.self, for: request)
/host/spi-builder-workspace/Sources/App/Application/Services/Repository/ImageRepository.swift:4:10: note: protocol 'ImageRepository' does not conform to the 'Sendable' protocol
 2 | import Vapor
 3 |
 4 | protocol ImageRepository {
   |          `- note: protocol 'ImageRepository' does not conform to the 'Sendable' protocol
 5 |
 6 |     func isExist(at name: String) -> Bool
/host/spi-builder-workspace/Sources/App/Controllers/Admin/AdminImageController.swift:29:67: warning: capture of 'repository' with non-sendable type 'any ImageRepository' in an isolated closure; this is an error in the Swift 6 language mode
 27 |             .flatMap { images in
 28 |                 let publicImages = images.map { $0.formPublic(on: request.application) }
 29 |                 let hasNotFound = publicImages.contains(where: { !repository.isExist(at: $0.name) })
    |                                                                   `- warning: capture of 'repository' with non-sendable type 'any ImageRepository' in an isolated closure; this is an error in the Swift 6 language mode
 30 |                 do {
 31 |                     return try ContextMaker.makeIndexView().makeResponse(context: IndexContext(hasNotFound: hasNotFound), formDataType: ImageForm.self, for: request)
/host/spi-builder-workspace/Sources/App/Application/Services/Repository/ImageRepository.swift:4:10: note: protocol 'ImageRepository' does not conform to the 'Sendable' protocol
 2 | import Vapor
 3 |
 4 | protocol ImageRepository {
   |          `- note: protocol 'ImageRepository' does not conform to the 'Sendable' protocol
 5 |
 6 |     func isExist(at name: String) -> Bool
/host/spi-builder-workspace/Sources/App/Controllers/Admin/AdminImageController.swift:44:14: warning: type 'View' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 42 |         return Image.find(imageId, on: request.db)
 43 |             .unwrap(or: Abort(.notFound))
 44 |             .flatMap { image in
    |              `- warning: type 'View' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 45 |                 do {
 46 |                     let publicImage = image.formPublic(on: request.application)
/host/spi-builder-workspace/.build/checkouts/vapor/Sources/Vapor/View/View.swift:3:15: note: struct 'View' does not conform to the 'Sendable' protocol
 1 | import NIOCore
 2 |
 3 | public struct View: ResponseEncodable {
   |               `- note: struct 'View' does not conform to the 'Sendable' protocol
 4 |     public var data: ByteBuffer
 5 |
/host/spi-builder-workspace/Sources/App/Controllers/Admin/AdminImageController.swift:69:33: warning: capture of 'repository' with non-sendable type 'any ImageRepository' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 67 |                     image.save(on: tx)
 68 |                         .flatMapThrowing {
 69 |                             try repository.rename(from: beforeName, to: afterName)
    |                                 `- warning: capture of 'repository' with non-sendable type 'any ImageRepository' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 70 |                         }
 71 |                 }
/host/spi-builder-workspace/Sources/App/Application/Services/Repository/ImageRepository.swift:4:10: note: protocol 'ImageRepository' does not conform to the 'Sendable' protocol
 2 | import Vapor
 3 |
 4 | protocol ImageRepository {
   |          `- note: protocol 'ImageRepository' does not conform to the 'Sendable' protocol
 5 |
 6 |     func isExist(at name: String) -> Bool
/host/spi-builder-workspace/Sources/App/Controllers/Admin/AdminImageController.swift:69:33: warning: capture of 'repository' with non-sendable type 'any ImageRepository' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 67 |                     image.save(on: tx)
 68 |                         .flatMapThrowing {
 69 |                             try repository.rename(from: beforeName, to: afterName)
    |                                 `- warning: capture of 'repository' with non-sendable type 'any ImageRepository' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 70 |                         }
 71 |                 }
/host/spi-builder-workspace/Sources/App/Application/Services/Repository/ImageRepository.swift:4:10: note: protocol 'ImageRepository' does not conform to the 'Sendable' protocol
 2 | import Vapor
 3 |
 4 | protocol ImageRepository {
   |          `- note: protocol 'ImageRepository' does not conform to the 'Sendable' protocol
 5 |
 6 |     func isExist(at name: String) -> Bool
/host/spi-builder-workspace/Sources/App/Controllers/Admin/AdminImageController.swift:69:33: warning: capture of 'repository' with non-sendable type 'any ImageRepository' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 67 |                     image.save(on: tx)
 68 |                         .flatMapThrowing {
 69 |                             try repository.rename(from: beforeName, to: afterName)
    |                                 `- warning: capture of 'repository' with non-sendable type 'any ImageRepository' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 70 |                         }
 71 |                 }
/host/spi-builder-workspace/Sources/App/Application/Services/Repository/ImageRepository.swift:4:10: note: protocol 'ImageRepository' does not conform to the 'Sendable' protocol
 2 | import Vapor
 3 |
 4 | protocol ImageRepository {
   |          `- note: protocol 'ImageRepository' does not conform to the 'Sendable' protocol
 5 |
 6 |     func isExist(at name: String) -> Bool
/host/spi-builder-workspace/Sources/App/Controllers/Admin/AdminImageController.swift:94:33: warning: capture of 'repository' with non-sendable type 'any ImageRepository' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 92 |                     image.delete(on: tx)
 93 |                         .flatMapThrowing {
 94 |                             try repository.delete(at: name)
    |                                 `- warning: capture of 'repository' with non-sendable type 'any ImageRepository' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 95 |                         }
 96 |                 }
/host/spi-builder-workspace/Sources/App/Application/Services/Repository/ImageRepository.swift:4:10: note: protocol 'ImageRepository' does not conform to the 'Sendable' protocol
 2 | import Vapor
 3 |
 4 | protocol ImageRepository {
   |          `- note: protocol 'ImageRepository' does not conform to the 'Sendable' protocol
 5 |
 6 |     func isExist(at name: String) -> Bool
/host/spi-builder-workspace/Sources/App/Controllers/Admin/AdminImageController.swift:94:33: warning: capture of 'repository' with non-sendable type 'any ImageRepository' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 92 |                     image.delete(on: tx)
 93 |                         .flatMapThrowing {
 94 |                             try repository.delete(at: name)
    |                                 `- warning: capture of 'repository' with non-sendable type 'any ImageRepository' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 95 |                         }
 96 |                 }
/host/spi-builder-workspace/Sources/App/Application/Services/Repository/ImageRepository.swift:4:10: note: protocol 'ImageRepository' does not conform to the 'Sendable' protocol
 2 | import Vapor
 3 |
 4 | protocol ImageRepository {
   |          `- note: protocol 'ImageRepository' does not conform to the 'Sendable' protocol
 5 |
 6 |     func isExist(at name: String) -> Bool
/host/spi-builder-workspace/Sources/App/Controllers/Admin/AdminImageController.swift:94:33: warning: capture of 'repository' with non-sendable type 'any ImageRepository' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 92 |                     image.delete(on: tx)
 93 |                         .flatMapThrowing {
 94 |                             try repository.delete(at: name)
    |                                 `- warning: capture of 'repository' with non-sendable type 'any ImageRepository' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 95 |                         }
 96 |                 }
/host/spi-builder-workspace/Sources/App/Application/Services/Repository/ImageRepository.swift:4:10: note: protocol 'ImageRepository' does not conform to the 'Sendable' protocol
 2 | import Vapor
 3 |
 4 | protocol ImageRepository {
   |          `- note: protocol 'ImageRepository' does not conform to the 'Sendable' protocol
 5 |
 6 |     func isExist(at name: String) -> Bool
/host/spi-builder-workspace/Sources/App/Controllers/Admin/AdminImageController.swift:108:32: warning: capture of 'repository' with non-sendable type 'any ImageRepository' in a `@Sendable` closure; this is an error in the Swift 6 language mode
106 |             .flatMap { images -> EventLoopFuture<Response> in
107 |                 let notFoundImages = images.map { $0.formPublic(on: request.application) }
108 |                     .filter { !repository.isExist(at: $0.name) }
    |                                `- warning: capture of 'repository' with non-sendable type 'any ImageRepository' in a `@Sendable` closure; this is an error in the Swift 6 language mode
109 |                     .map { $0.image }
110 |                 let deleteImages = notFoundImages.map { $0.delete(on: request.db) }
/host/spi-builder-workspace/Sources/App/Application/Services/Repository/ImageRepository.swift:4:10: note: protocol 'ImageRepository' does not conform to the 'Sendable' protocol
 2 | import Vapor
 3 |
 4 | protocol ImageRepository {
   |          `- note: protocol 'ImageRepository' does not conform to the 'Sendable' protocol
 5 |
 6 |     func isExist(at name: String) -> Bool
/host/spi-builder-workspace/Sources/App/Controllers/Admin/AdminImageController.swift:108:32: warning: capture of 'repository' with non-sendable type 'any ImageRepository' in an isolated closure; this is an error in the Swift 6 language mode
106 |             .flatMap { images -> EventLoopFuture<Response> in
107 |                 let notFoundImages = images.map { $0.formPublic(on: request.application) }
108 |                     .filter { !repository.isExist(at: $0.name) }
    |                                `- warning: capture of 'repository' with non-sendable type 'any ImageRepository' in an isolated closure; this is an error in the Swift 6 language mode
109 |                     .map { $0.image }
110 |                 let deleteImages = notFoundImages.map { $0.delete(on: request.db) }
/host/spi-builder-workspace/Sources/App/Application/Services/Repository/ImageRepository.swift:4:10: note: protocol 'ImageRepository' does not conform to the 'Sendable' protocol
 2 | import Vapor
 3 |
 4 | protocol ImageRepository {
   |          `- note: protocol 'ImageRepository' does not conform to the 'Sendable' protocol
 5 |
 6 |     func isExist(at name: String) -> Bool
/host/spi-builder-workspace/Sources/App/Controllers/Admin/AdminPostController.swift:51:14: warning: type 'PageResponse<Post.Public>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 49 |         return Post.query(on: request.db).noStaticAll().withRelated()
 50 |             .paginate(for: request)
 51 |             .flatMap { page -> EventLoopFuture<PageResponse<Post.Public>> in
    |              `- warning: type 'PageResponse<Post.Public>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 52 |                 do {
 53 |                     let posts = try page.items.map { try $0.formPublic() }
/host/spi-builder-workspace/Sources/App/Application/Services/Core/PageResponse.swift:4:8: note: consider making generic struct 'PageResponse' conform to the 'Sendable' protocol
 2 | import Foundation
 3 |
 4 | struct PageResponse<T: Codable>: ResponseContent {
   |        `- note: consider making generic struct 'PageResponse' conform to the 'Sendable' protocol
 5 |
 6 |     let items: [T]
/host/spi-builder-workspace/Sources/App/Controllers/Admin/AdminPostController.swift:61:14: warning: type 'View' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 59 |                 }
 60 |             }
 61 |             .flatMap { page in
    |              `- warning: type 'View' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 62 |                 do {
 63 |                     let response = try ContextMaker.makeIndexView().makeResponse(context: page, for: request)
/host/spi-builder-workspace/.build/checkouts/vapor/Sources/Vapor/View/View.swift:3:15: note: struct 'View' does not conform to the 'Sendable' protocol
 1 | import NIOCore
 2 |
 3 | public struct View: ResponseEncodable {
   |               `- note: struct 'View' does not conform to the 'Sendable' protocol
 4 |     public var data: ByteBuffer
 5 |
/host/spi-builder-workspace/Sources/App/Controllers/Admin/AdminPostController.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Vapor'
  1 | import Fluent
  2 | import Vapor
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Vapor'
  3 |
  4 | final class AdminPostController {
/host/spi-builder-workspace/Sources/App/Controllers/Admin/AdminPostController.swift:74:14: warning: type 'PageResponse<Post.Public>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 72 |         return Post.query(on: request.db).staticAll().withRelated()
 73 |             .paginate(for: request)
 74 |             .flatMap { page -> EventLoopFuture<PageResponse<Post.Public>> in
    |              `- warning: type 'PageResponse<Post.Public>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 75 |                 do {
 76 |                     let posts = try page.items.map { try $0.formPublic() }
/host/spi-builder-workspace/Sources/App/Application/Services/Core/PageResponse.swift:4:8: note: consider making generic struct 'PageResponse' conform to the 'Sendable' protocol
 2 | import Foundation
 3 |
 4 | struct PageResponse<T: Codable>: ResponseContent {
   |        `- note: consider making generic struct 'PageResponse' conform to the 'Sendable' protocol
 5 |
 6 |     let items: [T]
/host/spi-builder-workspace/Sources/App/Controllers/Admin/AdminPostController.swift:84:14: warning: type 'View' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 82 |                 }
 83 |             }
 84 |             .flatMap { page in
    |              `- warning: type 'View' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 85 |                 do {
 86 |                     let context = page.add("isStatic", true)
/host/spi-builder-workspace/.build/checkouts/vapor/Sources/Vapor/View/View.swift:3:15: note: struct 'View' does not conform to the 'Sendable' protocol
 1 | import NIOCore
 2 |
 3 | public struct View: ResponseEncodable {
   |               `- note: struct 'View' does not conform to the 'Sendable' protocol
 4 |     public var data: ByteBuffer
 5 |
/host/spi-builder-workspace/Sources/App/Controllers/Admin/AdminPostController.swift:97:14: warning: type 'View' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 95 |     func create(request: Request) throws -> EventLoopFuture<View> {
 96 |         return TagsAndCategories.make(from: request)
 97 |             .flatMap { tagAndCategories in
    |              `- warning: type 'View' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 98 |                 do {
 99 |                     return try ContextMaker.makeCreateView(menuType: .newPost)
/host/spi-builder-workspace/.build/checkouts/vapor/Sources/Vapor/View/View.swift:3:15: note: struct 'View' does not conform to the 'Sendable' protocol
 1 | import NIOCore
 2 |
 3 | public struct View: ResponseEncodable {
   |               `- note: struct 'View' does not conform to the 'Sendable' protocol
 4 |     public var data: ByteBuffer
 5 |
/host/spi-builder-workspace/Sources/App/Controllers/Admin/AdminPostController.swift:157:14: warning: type 'View' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
155 |                 try $0.formPublic()
156 |             }
157 |             .flatMap { post in
    |              `- warning: type 'View' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
158 |                 TagsAndCategories.make(from: request)
159 |                     .flatMap { tagAndCategories in
/host/spi-builder-workspace/.build/checkouts/vapor/Sources/Vapor/View/View.swift:3:15: note: struct 'View' does not conform to the 'Sendable' protocol
 1 | import NIOCore
 2 |
 3 | public struct View: ResponseEncodable {
   |               `- note: struct 'View' does not conform to the 'Sendable' protocol
 4 |     public var data: ByteBuffer
 5 |
/host/spi-builder-workspace/Sources/App/Controllers/Admin/AdminPostController.swift:159:22: warning: type 'View' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
157 |             .flatMap { post in
158 |                 TagsAndCategories.make(from: request)
159 |                     .flatMap { tagAndCategories in
    |                      `- warning: type 'View' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
160 |                         do {
161 |                             let context = EditViewContext(post: post, tagsAndCategories: tagAndCategories)
/host/spi-builder-workspace/.build/checkouts/vapor/Sources/Vapor/View/View.swift:3:15: note: struct 'View' does not conform to the 'Sendable' protocol
 1 | import NIOCore
 2 |
 3 | public struct View: ResponseEncodable {
   |               `- note: struct 'View' does not conform to the 'Sendable' protocol
 4 |     public var data: ByteBuffer
 5 |
/host/spi-builder-workspace/Sources/App/Controllers/Admin/AdminPostController.swift:237:14: warning: type 'View' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
235 |             .first()
236 |             .unwrap(or: Abort(.notFound))
237 |             .flatMap { post in
    |              `- warning: type 'View' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
238 |                 do {
239 |                     let publicPost = try post.formPublic()
/host/spi-builder-workspace/.build/checkouts/vapor/Sources/Vapor/View/View.swift:3:15: note: struct 'View' does not conform to the 'Sendable' protocol
 1 | import NIOCore
 2 |
 3 | public struct View: ResponseEncodable {
   |               `- note: struct 'View' does not conform to the 'Sendable' protocol
 4 |     public var data: ByteBuffer
 5 |
/host/spi-builder-workspace/Sources/App/Controllers/Admin/AdminSiteInfoController.swift:13:14: warning: type 'View' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
11 |     func index(request: Request) throws -> EventLoopFuture<View> {
12 |         return SiteInfo.shared(on: request.db)
13 |             .flatMap { siteInfo in
   |              `- warning: type 'View' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
14 |                 do {
15 |                     return try ContextMaker.makeCreateView().makeResponse(context: siteInfo, formDataType: SiteInfoForm.self, for: request)
/host/spi-builder-workspace/.build/checkouts/vapor/Sources/Vapor/View/View.swift:3:15: note: struct 'View' does not conform to the 'Sendable' protocol
 1 | import NIOCore
 2 |
 3 | public struct View: ResponseEncodable {
   |               `- note: struct 'View' does not conform to the 'Sendable' protocol
 4 |     public var data: ByteBuffer
 5 |
/host/spi-builder-workspace/Sources/App/Controllers/Admin/AdminSiteInfoController.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Vapor'
 1 | import Vapor
   | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Vapor'
 2 |
 3 | final class AdminSiteInfoController {
/host/spi-builder-workspace/Sources/App/Controllers/Admin/AdminTagController.swift:19:14: warning: type 'View' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
17 |         return Tag.query(on: request.db).withRelated()
18 |             .paginate(for: request)
19 |             .flatMap { page in
   |              `- warning: type 'View' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
20 |                 do {
21 |                     let pageResponse = PageResponse(page: page)
/host/spi-builder-workspace/.build/checkouts/vapor/Sources/Vapor/View/View.swift:3:15: note: struct 'View' does not conform to the 'Sendable' protocol
 1 | import NIOCore
 2 |
 3 | public struct View: ResponseEncodable {
   |               `- note: struct 'View' does not conform to the 'Sendable' protocol
 4 |     public var data: ByteBuffer
 5 |
/host/spi-builder-workspace/Sources/App/Controllers/Admin/AdminTagController.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Vapor'
 1 | import Fluent
 2 | import Vapor
   | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Vapor'
 3 |
 4 | final class AdminTagController {
/host/spi-builder-workspace/Sources/App/Controllers/Admin/AdminTagController.swift:40:14: warning: type 'View' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
38 |             .first()
39 |             .unwrap(or: Abort(.notFound))
40 |             .flatMap { tag in
   |              `- warning: type 'View' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
41 |                 do {
42 |                     return try ContextMaker.makeCreateView().makeResponse(context: tag, formDataType: TagForm.self, for: request)
/host/spi-builder-workspace/.build/checkouts/vapor/Sources/Vapor/View/View.swift:3:15: note: struct 'View' does not conform to the 'Sendable' protocol
 1 | import NIOCore
 2 |
 3 | public struct View: ResponseEncodable {
   |               `- note: struct 'View' does not conform to the 'Sendable' protocol
 4 |     public var data: ByteBuffer
 5 |
[2852/2882] Compiling App AdminThemeController.swift
/host/spi-builder-workspace/Sources/App/Controllers/Public/PostController.swift:31:14: warning: type 'View' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 29 |                 return pageResponse
 30 |             }
 31 |             .flatMap { page in
    |              `- warning: type 'View' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 32 |                 do {
 33 |                     return try ContextMaker.makeIndexView().makeResponse(context: page, for: request)
/host/spi-builder-workspace/.build/checkouts/vapor/Sources/Vapor/View/View.swift:3:15: note: struct 'View' does not conform to the 'Sendable' protocol
 1 | import NIOCore
 2 |
 3 | public struct View: ResponseEncodable {
   |               `- note: struct 'View' does not conform to the 'Sendable' protocol
 4 |     public var data: ByteBuffer
 5 |
/host/spi-builder-workspace/Sources/App/Controllers/Public/PostController.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Vapor'
  1 | import Fluent
  2 | import Vapor
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Vapor'
  3 |
  4 | final class PostController {
/host/spi-builder-workspace/Sources/App/Controllers/Public/PostController.swift:46:14: warning: type 'View' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 44 |         return Tag.query(on: request.db).filter(\.$id == tagId).withRelated().first()
 45 |             .unwrap(or: Abort(.notFound))
 46 |             .flatMap { tag -> EventLoopFuture<View> in
    |              `- warning: type 'View' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 47 |                 tag.$posts.query(on: request.db).publicAll().noStaticAll().withRelated()
 48 |                     .sort(\.$createdAt, .descending)
/host/spi-builder-workspace/.build/checkouts/vapor/Sources/Vapor/View/View.swift:3:15: note: struct 'View' does not conform to the 'Sendable' protocol
 1 | import NIOCore
 2 |
 3 | public struct View: ResponseEncodable {
   |               `- note: struct 'View' does not conform to the 'Sendable' protocol
 4 |     public var data: ByteBuffer
 5 |
/host/spi-builder-workspace/Sources/App/Controllers/Public/PostController.swift:56:22: warning: type 'View' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 54 |                         return pageResponse
 55 |                     }
 56 |                     .flatMap { page in
    |                      `- warning: type 'View' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 57 |                         do {
 58 |                             let context = page.add("tag", tag)
/host/spi-builder-workspace/.build/checkouts/vapor/Sources/Vapor/View/View.swift:3:15: note: struct 'View' does not conform to the 'Sendable' protocol
 1 | import NIOCore
 2 |
 3 | public struct View: ResponseEncodable {
   |               `- note: struct 'View' does not conform to the 'Sendable' protocol
 4 |     public var data: ByteBuffer
 5 |
/host/spi-builder-workspace/Sources/App/Controllers/Public/PostController.swift:73:14: warning: type 'View' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 71 |         return Category.query(on: request.db).filter(\.$id == categoryId).withRelated().first()
 72 |             .unwrap(or: Abort(.notFound))
 73 |             .flatMap { category -> EventLoopFuture<View> in
    |              `- warning: type 'View' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 74 |                 category.$posts.query(on: request.db).publicAll().noStaticAll().withRelated()
 75 |                     .sort(\.$createdAt, .descending)
/host/spi-builder-workspace/.build/checkouts/vapor/Sources/Vapor/View/View.swift:3:15: note: struct 'View' does not conform to the 'Sendable' protocol
 1 | import NIOCore
 2 |
 3 | public struct View: ResponseEncodable {
   |               `- note: struct 'View' does not conform to the 'Sendable' protocol
 4 |     public var data: ByteBuffer
 5 |
/host/spi-builder-workspace/Sources/App/Controllers/Public/PostController.swift:83:22: warning: type 'View' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 81 |                         return pageResponse
 82 |                     }
 83 |                     .flatMap { page in
    |                      `- warning: type 'View' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 84 |                         do {
 85 |                             let context = page.add("category", category)
/host/spi-builder-workspace/.build/checkouts/vapor/Sources/Vapor/View/View.swift:3:15: note: struct 'View' does not conform to the 'Sendable' protocol
 1 | import NIOCore
 2 |
 3 | public struct View: ResponseEncodable {
   |               `- note: struct 'View' does not conform to the 'Sendable' protocol
 4 |     public var data: ByteBuffer
 5 |
/host/spi-builder-workspace/Sources/App/Controllers/Public/PostController.swift:104:14: warning: type 'View' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
102 |                 return pageResponse
103 |             }
104 |             .flatMap { page in
    |              `- warning: type 'View' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
105 |                 do {
106 |                     return try ContextMaker.makeIndexView().makeResponse(context: page, for: request)
/host/spi-builder-workspace/.build/checkouts/vapor/Sources/Vapor/View/View.swift:3:15: note: struct 'View' does not conform to the 'Sendable' protocol
 1 | import NIOCore
 2 |
 3 | public struct View: ResponseEncodable {
   |               `- note: struct 'View' does not conform to the 'Sendable' protocol
 4 |     public var data: ByteBuffer
 5 |
/host/spi-builder-workspace/Sources/App/Controllers/Public/PostController.swift:120:14: warning: type 'View' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
118 |             .first()
119 |             .unwrap(or: Abort(.notFound))
120 |             .flatMap { post in
    |              `- warning: type 'View' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
121 |                 guard post.isPublished else {
122 |                     return request.eventLoop.future(error: Abort(.notFound))
/host/spi-builder-workspace/.build/checkouts/vapor/Sources/Vapor/View/View.swift:3:15: note: struct 'View' does not conform to the 'Sendable' protocol
 1 | import NIOCore
 2 |
 3 | public struct View: ResponseEncodable {
   |               `- note: struct 'View' does not conform to the 'Sendable' protocol
 4 |     public var data: ByteBuffer
 5 |
[2853/2882] Compiling App AdminUserController.swift
/host/spi-builder-workspace/Sources/App/Controllers/Public/PostController.swift:31:14: warning: type 'View' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 29 |                 return pageResponse
 30 |             }
 31 |             .flatMap { page in
    |              `- warning: type 'View' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 32 |                 do {
 33 |                     return try ContextMaker.makeIndexView().makeResponse(context: page, for: request)
/host/spi-builder-workspace/.build/checkouts/vapor/Sources/Vapor/View/View.swift:3:15: note: struct 'View' does not conform to the 'Sendable' protocol
 1 | import NIOCore
 2 |
 3 | public struct View: ResponseEncodable {
   |               `- note: struct 'View' does not conform to the 'Sendable' protocol
 4 |     public var data: ByteBuffer
 5 |
/host/spi-builder-workspace/Sources/App/Controllers/Public/PostController.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Vapor'
  1 | import Fluent
  2 | import Vapor
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Vapor'
  3 |
  4 | final class PostController {
/host/spi-builder-workspace/Sources/App/Controllers/Public/PostController.swift:46:14: warning: type 'View' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 44 |         return Tag.query(on: request.db).filter(\.$id == tagId).withRelated().first()
 45 |             .unwrap(or: Abort(.notFound))
 46 |             .flatMap { tag -> EventLoopFuture<View> in
    |              `- warning: type 'View' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 47 |                 tag.$posts.query(on: request.db).publicAll().noStaticAll().withRelated()
 48 |                     .sort(\.$createdAt, .descending)
/host/spi-builder-workspace/.build/checkouts/vapor/Sources/Vapor/View/View.swift:3:15: note: struct 'View' does not conform to the 'Sendable' protocol
 1 | import NIOCore
 2 |
 3 | public struct View: ResponseEncodable {
   |               `- note: struct 'View' does not conform to the 'Sendable' protocol
 4 |     public var data: ByteBuffer
 5 |
/host/spi-builder-workspace/Sources/App/Controllers/Public/PostController.swift:56:22: warning: type 'View' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 54 |                         return pageResponse
 55 |                     }
 56 |                     .flatMap { page in
    |                      `- warning: type 'View' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 57 |                         do {
 58 |                             let context = page.add("tag", tag)
/host/spi-builder-workspace/.build/checkouts/vapor/Sources/Vapor/View/View.swift:3:15: note: struct 'View' does not conform to the 'Sendable' protocol
 1 | import NIOCore
 2 |
 3 | public struct View: ResponseEncodable {
   |               `- note: struct 'View' does not conform to the 'Sendable' protocol
 4 |     public var data: ByteBuffer
 5 |
/host/spi-builder-workspace/Sources/App/Controllers/Public/PostController.swift:73:14: warning: type 'View' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 71 |         return Category.query(on: request.db).filter(\.$id == categoryId).withRelated().first()
 72 |             .unwrap(or: Abort(.notFound))
 73 |             .flatMap { category -> EventLoopFuture<View> in
    |              `- warning: type 'View' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 74 |                 category.$posts.query(on: request.db).publicAll().noStaticAll().withRelated()
 75 |                     .sort(\.$createdAt, .descending)
/host/spi-builder-workspace/.build/checkouts/vapor/Sources/Vapor/View/View.swift:3:15: note: struct 'View' does not conform to the 'Sendable' protocol
 1 | import NIOCore
 2 |
 3 | public struct View: ResponseEncodable {
   |               `- note: struct 'View' does not conform to the 'Sendable' protocol
 4 |     public var data: ByteBuffer
 5 |
/host/spi-builder-workspace/Sources/App/Controllers/Public/PostController.swift:83:22: warning: type 'View' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 81 |                         return pageResponse
 82 |                     }
 83 |                     .flatMap { page in
    |                      `- warning: type 'View' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 84 |                         do {
 85 |                             let context = page.add("category", category)
/host/spi-builder-workspace/.build/checkouts/vapor/Sources/Vapor/View/View.swift:3:15: note: struct 'View' does not conform to the 'Sendable' protocol
 1 | import NIOCore
 2 |
 3 | public struct View: ResponseEncodable {
   |               `- note: struct 'View' does not conform to the 'Sendable' protocol
 4 |     public var data: ByteBuffer
 5 |
/host/spi-builder-workspace/Sources/App/Controllers/Public/PostController.swift:104:14: warning: type 'View' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
102 |                 return pageResponse
103 |             }
104 |             .flatMap { page in
    |              `- warning: type 'View' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
105 |                 do {
106 |                     return try ContextMaker.makeIndexView().makeResponse(context: page, for: request)
/host/spi-builder-workspace/.build/checkouts/vapor/Sources/Vapor/View/View.swift:3:15: note: struct 'View' does not conform to the 'Sendable' protocol
 1 | import NIOCore
 2 |
 3 | public struct View: ResponseEncodable {
   |               `- note: struct 'View' does not conform to the 'Sendable' protocol
 4 |     public var data: ByteBuffer
 5 |
/host/spi-builder-workspace/Sources/App/Controllers/Public/PostController.swift:120:14: warning: type 'View' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
118 |             .first()
119 |             .unwrap(or: Abort(.notFound))
120 |             .flatMap { post in
    |              `- warning: type 'View' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
121 |                 guard post.isPublished else {
122 |                     return request.eventLoop.future(error: Abort(.notFound))
/host/spi-builder-workspace/.build/checkouts/vapor/Sources/Vapor/View/View.swift:3:15: note: struct 'View' does not conform to the 'Sendable' protocol
 1 | import NIOCore
 2 |
 3 | public struct View: ResponseEncodable {
   |               `- note: struct 'View' does not conform to the 'Sendable' protocol
 4 |     public var data: ByteBuffer
 5 |
[2854/2882] Compiling App LoginController.swift
/host/spi-builder-workspace/Sources/App/Controllers/Public/PostController.swift:31:14: warning: type 'View' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 29 |                 return pageResponse
 30 |             }
 31 |             .flatMap { page in
    |              `- warning: type 'View' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 32 |                 do {
 33 |                     return try ContextMaker.makeIndexView().makeResponse(context: page, for: request)
/host/spi-builder-workspace/.build/checkouts/vapor/Sources/Vapor/View/View.swift:3:15: note: struct 'View' does not conform to the 'Sendable' protocol
 1 | import NIOCore
 2 |
 3 | public struct View: ResponseEncodable {
   |               `- note: struct 'View' does not conform to the 'Sendable' protocol
 4 |     public var data: ByteBuffer
 5 |
/host/spi-builder-workspace/Sources/App/Controllers/Public/PostController.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Vapor'
  1 | import Fluent
  2 | import Vapor
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Vapor'
  3 |
  4 | final class PostController {
/host/spi-builder-workspace/Sources/App/Controllers/Public/PostController.swift:46:14: warning: type 'View' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 44 |         return Tag.query(on: request.db).filter(\.$id == tagId).withRelated().first()
 45 |             .unwrap(or: Abort(.notFound))
 46 |             .flatMap { tag -> EventLoopFuture<View> in
    |              `- warning: type 'View' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 47 |                 tag.$posts.query(on: request.db).publicAll().noStaticAll().withRelated()
 48 |                     .sort(\.$createdAt, .descending)
/host/spi-builder-workspace/.build/checkouts/vapor/Sources/Vapor/View/View.swift:3:15: note: struct 'View' does not conform to the 'Sendable' protocol
 1 | import NIOCore
 2 |
 3 | public struct View: ResponseEncodable {
   |               `- note: struct 'View' does not conform to the 'Sendable' protocol
 4 |     public var data: ByteBuffer
 5 |
/host/spi-builder-workspace/Sources/App/Controllers/Public/PostController.swift:56:22: warning: type 'View' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 54 |                         return pageResponse
 55 |                     }
 56 |                     .flatMap { page in
    |                      `- warning: type 'View' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 57 |                         do {
 58 |                             let context = page.add("tag", tag)
/host/spi-builder-workspace/.build/checkouts/vapor/Sources/Vapor/View/View.swift:3:15: note: struct 'View' does not conform to the 'Sendable' protocol
 1 | import NIOCore
 2 |
 3 | public struct View: ResponseEncodable {
   |               `- note: struct 'View' does not conform to the 'Sendable' protocol
 4 |     public var data: ByteBuffer
 5 |
/host/spi-builder-workspace/Sources/App/Controllers/Public/PostController.swift:73:14: warning: type 'View' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 71 |         return Category.query(on: request.db).filter(\.$id == categoryId).withRelated().first()
 72 |             .unwrap(or: Abort(.notFound))
 73 |             .flatMap { category -> EventLoopFuture<View> in
    |              `- warning: type 'View' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 74 |                 category.$posts.query(on: request.db).publicAll().noStaticAll().withRelated()
 75 |                     .sort(\.$createdAt, .descending)
/host/spi-builder-workspace/.build/checkouts/vapor/Sources/Vapor/View/View.swift:3:15: note: struct 'View' does not conform to the 'Sendable' protocol
 1 | import NIOCore
 2 |
 3 | public struct View: ResponseEncodable {
   |               `- note: struct 'View' does not conform to the 'Sendable' protocol
 4 |     public var data: ByteBuffer
 5 |
/host/spi-builder-workspace/Sources/App/Controllers/Public/PostController.swift:83:22: warning: type 'View' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 81 |                         return pageResponse
 82 |                     }
 83 |                     .flatMap { page in
    |                      `- warning: type 'View' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 84 |                         do {
 85 |                             let context = page.add("category", category)
/host/spi-builder-workspace/.build/checkouts/vapor/Sources/Vapor/View/View.swift:3:15: note: struct 'View' does not conform to the 'Sendable' protocol
 1 | import NIOCore
 2 |
 3 | public struct View: ResponseEncodable {
   |               `- note: struct 'View' does not conform to the 'Sendable' protocol
 4 |     public var data: ByteBuffer
 5 |
/host/spi-builder-workspace/Sources/App/Controllers/Public/PostController.swift:104:14: warning: type 'View' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
102 |                 return pageResponse
103 |             }
104 |             .flatMap { page in
    |              `- warning: type 'View' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
105 |                 do {
106 |                     return try ContextMaker.makeIndexView().makeResponse(context: page, for: request)
/host/spi-builder-workspace/.build/checkouts/vapor/Sources/Vapor/View/View.swift:3:15: note: struct 'View' does not conform to the 'Sendable' protocol
 1 | import NIOCore
 2 |
 3 | public struct View: ResponseEncodable {
   |               `- note: struct 'View' does not conform to the 'Sendable' protocol
 4 |     public var data: ByteBuffer
 5 |
/host/spi-builder-workspace/Sources/App/Controllers/Public/PostController.swift:120:14: warning: type 'View' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
118 |             .first()
119 |             .unwrap(or: Abort(.notFound))
120 |             .flatMap { post in
    |              `- warning: type 'View' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
121 |                 guard post.isPublished else {
122 |                     return request.eventLoop.future(error: Abort(.notFound))
/host/spi-builder-workspace/.build/checkouts/vapor/Sources/Vapor/View/View.swift:3:15: note: struct 'View' does not conform to the 'Sendable' protocol
 1 | import NIOCore
 2 |
 3 | public struct View: ResponseEncodable {
   |               `- note: struct 'View' does not conform to the 'Sendable' protocol
 4 |     public var data: ByteBuffer
 5 |
[2855/2882] Compiling App LogoutController.swift
/host/spi-builder-workspace/Sources/App/Controllers/Public/PostController.swift:31:14: warning: type 'View' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 29 |                 return pageResponse
 30 |             }
 31 |             .flatMap { page in
    |              `- warning: type 'View' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 32 |                 do {
 33 |                     return try ContextMaker.makeIndexView().makeResponse(context: page, for: request)
/host/spi-builder-workspace/.build/checkouts/vapor/Sources/Vapor/View/View.swift:3:15: note: struct 'View' does not conform to the 'Sendable' protocol
 1 | import NIOCore
 2 |
 3 | public struct View: ResponseEncodable {
   |               `- note: struct 'View' does not conform to the 'Sendable' protocol
 4 |     public var data: ByteBuffer
 5 |
/host/spi-builder-workspace/Sources/App/Controllers/Public/PostController.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Vapor'
  1 | import Fluent
  2 | import Vapor
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Vapor'
  3 |
  4 | final class PostController {
/host/spi-builder-workspace/Sources/App/Controllers/Public/PostController.swift:46:14: warning: type 'View' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 44 |         return Tag.query(on: request.db).filter(\.$id == tagId).withRelated().first()
 45 |             .unwrap(or: Abort(.notFound))
 46 |             .flatMap { tag -> EventLoopFuture<View> in
    |              `- warning: type 'View' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 47 |                 tag.$posts.query(on: request.db).publicAll().noStaticAll().withRelated()
 48 |                     .sort(\.$createdAt, .descending)
/host/spi-builder-workspace/.build/checkouts/vapor/Sources/Vapor/View/View.swift:3:15: note: struct 'View' does not conform to the 'Sendable' protocol
 1 | import NIOCore
 2 |
 3 | public struct View: ResponseEncodable {
   |               `- note: struct 'View' does not conform to the 'Sendable' protocol
 4 |     public var data: ByteBuffer
 5 |
/host/spi-builder-workspace/Sources/App/Controllers/Public/PostController.swift:56:22: warning: type 'View' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 54 |                         return pageResponse
 55 |                     }
 56 |                     .flatMap { page in
    |                      `- warning: type 'View' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 57 |                         do {
 58 |                             let context = page.add("tag", tag)
/host/spi-builder-workspace/.build/checkouts/vapor/Sources/Vapor/View/View.swift:3:15: note: struct 'View' does not conform to the 'Sendable' protocol
 1 | import NIOCore
 2 |
 3 | public struct View: ResponseEncodable {
   |               `- note: struct 'View' does not conform to the 'Sendable' protocol
 4 |     public var data: ByteBuffer
 5 |
/host/spi-builder-workspace/Sources/App/Controllers/Public/PostController.swift:73:14: warning: type 'View' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 71 |         return Category.query(on: request.db).filter(\.$id == categoryId).withRelated().first()
 72 |             .unwrap(or: Abort(.notFound))
 73 |             .flatMap { category -> EventLoopFuture<View> in
    |              `- warning: type 'View' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 74 |                 category.$posts.query(on: request.db).publicAll().noStaticAll().withRelated()
 75 |                     .sort(\.$createdAt, .descending)
/host/spi-builder-workspace/.build/checkouts/vapor/Sources/Vapor/View/View.swift:3:15: note: struct 'View' does not conform to the 'Sendable' protocol
 1 | import NIOCore
 2 |
 3 | public struct View: ResponseEncodable {
   |               `- note: struct 'View' does not conform to the 'Sendable' protocol
 4 |     public var data: ByteBuffer
 5 |
/host/spi-builder-workspace/Sources/App/Controllers/Public/PostController.swift:83:22: warning: type 'View' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 81 |                         return pageResponse
 82 |                     }
 83 |                     .flatMap { page in
    |                      `- warning: type 'View' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 84 |                         do {
 85 |                             let context = page.add("category", category)
/host/spi-builder-workspace/.build/checkouts/vapor/Sources/Vapor/View/View.swift:3:15: note: struct 'View' does not conform to the 'Sendable' protocol
 1 | import NIOCore
 2 |
 3 | public struct View: ResponseEncodable {
   |               `- note: struct 'View' does not conform to the 'Sendable' protocol
 4 |     public var data: ByteBuffer
 5 |
/host/spi-builder-workspace/Sources/App/Controllers/Public/PostController.swift:104:14: warning: type 'View' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
102 |                 return pageResponse
103 |             }
104 |             .flatMap { page in
    |              `- warning: type 'View' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
105 |                 do {
106 |                     return try ContextMaker.makeIndexView().makeResponse(context: page, for: request)
/host/spi-builder-workspace/.build/checkouts/vapor/Sources/Vapor/View/View.swift:3:15: note: struct 'View' does not conform to the 'Sendable' protocol
 1 | import NIOCore
 2 |
 3 | public struct View: ResponseEncodable {
   |               `- note: struct 'View' does not conform to the 'Sendable' protocol
 4 |     public var data: ByteBuffer
 5 |
/host/spi-builder-workspace/Sources/App/Controllers/Public/PostController.swift:120:14: warning: type 'View' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
118 |             .first()
119 |             .unwrap(or: Abort(.notFound))
120 |             .flatMap { post in
    |              `- warning: type 'View' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
121 |                 guard post.isPublished else {
122 |                     return request.eventLoop.future(error: Abort(.notFound))
/host/spi-builder-workspace/.build/checkouts/vapor/Sources/Vapor/View/View.swift:3:15: note: struct 'View' does not conform to the 'Sendable' protocol
 1 | import NIOCore
 2 |
 3 | public struct View: ResponseEncodable {
   |               `- note: struct 'View' does not conform to the 'Sendable' protocol
 4 |     public var data: ByteBuffer
 5 |
[2856/2882] Compiling App PostController.swift
/host/spi-builder-workspace/Sources/App/Controllers/Public/PostController.swift:31:14: warning: type 'View' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 29 |                 return pageResponse
 30 |             }
 31 |             .flatMap { page in
    |              `- warning: type 'View' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 32 |                 do {
 33 |                     return try ContextMaker.makeIndexView().makeResponse(context: page, for: request)
/host/spi-builder-workspace/.build/checkouts/vapor/Sources/Vapor/View/View.swift:3:15: note: struct 'View' does not conform to the 'Sendable' protocol
 1 | import NIOCore
 2 |
 3 | public struct View: ResponseEncodable {
   |               `- note: struct 'View' does not conform to the 'Sendable' protocol
 4 |     public var data: ByteBuffer
 5 |
/host/spi-builder-workspace/Sources/App/Controllers/Public/PostController.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Vapor'
  1 | import Fluent
  2 | import Vapor
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Vapor'
  3 |
  4 | final class PostController {
/host/spi-builder-workspace/Sources/App/Controllers/Public/PostController.swift:46:14: warning: type 'View' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 44 |         return Tag.query(on: request.db).filter(\.$id == tagId).withRelated().first()
 45 |             .unwrap(or: Abort(.notFound))
 46 |             .flatMap { tag -> EventLoopFuture<View> in
    |              `- warning: type 'View' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 47 |                 tag.$posts.query(on: request.db).publicAll().noStaticAll().withRelated()
 48 |                     .sort(\.$createdAt, .descending)
/host/spi-builder-workspace/.build/checkouts/vapor/Sources/Vapor/View/View.swift:3:15: note: struct 'View' does not conform to the 'Sendable' protocol
 1 | import NIOCore
 2 |
 3 | public struct View: ResponseEncodable {
   |               `- note: struct 'View' does not conform to the 'Sendable' protocol
 4 |     public var data: ByteBuffer
 5 |
/host/spi-builder-workspace/Sources/App/Controllers/Public/PostController.swift:56:22: warning: type 'View' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 54 |                         return pageResponse
 55 |                     }
 56 |                     .flatMap { page in
    |                      `- warning: type 'View' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 57 |                         do {
 58 |                             let context = page.add("tag", tag)
/host/spi-builder-workspace/.build/checkouts/vapor/Sources/Vapor/View/View.swift:3:15: note: struct 'View' does not conform to the 'Sendable' protocol
 1 | import NIOCore
 2 |
 3 | public struct View: ResponseEncodable {
   |               `- note: struct 'View' does not conform to the 'Sendable' protocol
 4 |     public var data: ByteBuffer
 5 |
/host/spi-builder-workspace/Sources/App/Controllers/Public/PostController.swift:73:14: warning: type 'View' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 71 |         return Category.query(on: request.db).filter(\.$id == categoryId).withRelated().first()
 72 |             .unwrap(or: Abort(.notFound))
 73 |             .flatMap { category -> EventLoopFuture<View> in
    |              `- warning: type 'View' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 74 |                 category.$posts.query(on: request.db).publicAll().noStaticAll().withRelated()
 75 |                     .sort(\.$createdAt, .descending)
/host/spi-builder-workspace/.build/checkouts/vapor/Sources/Vapor/View/View.swift:3:15: note: struct 'View' does not conform to the 'Sendable' protocol
 1 | import NIOCore
 2 |
 3 | public struct View: ResponseEncodable {
   |               `- note: struct 'View' does not conform to the 'Sendable' protocol
 4 |     public var data: ByteBuffer
 5 |
/host/spi-builder-workspace/Sources/App/Controllers/Public/PostController.swift:83:22: warning: type 'View' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 81 |                         return pageResponse
 82 |                     }
 83 |                     .flatMap { page in
    |                      `- warning: type 'View' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 84 |                         do {
 85 |                             let context = page.add("category", category)
/host/spi-builder-workspace/.build/checkouts/vapor/Sources/Vapor/View/View.swift:3:15: note: struct 'View' does not conform to the 'Sendable' protocol
 1 | import NIOCore
 2 |
 3 | public struct View: ResponseEncodable {
   |               `- note: struct 'View' does not conform to the 'Sendable' protocol
 4 |     public var data: ByteBuffer
 5 |
/host/spi-builder-workspace/Sources/App/Controllers/Public/PostController.swift:104:14: warning: type 'View' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
102 |                 return pageResponse
103 |             }
104 |             .flatMap { page in
    |              `- warning: type 'View' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
105 |                 do {
106 |                     return try ContextMaker.makeIndexView().makeResponse(context: page, for: request)
/host/spi-builder-workspace/.build/checkouts/vapor/Sources/Vapor/View/View.swift:3:15: note: struct 'View' does not conform to the 'Sendable' protocol
 1 | import NIOCore
 2 |
 3 | public struct View: ResponseEncodable {
   |               `- note: struct 'View' does not conform to the 'Sendable' protocol
 4 |     public var data: ByteBuffer
 5 |
/host/spi-builder-workspace/Sources/App/Controllers/Public/PostController.swift:120:14: warning: type 'View' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
118 |             .first()
119 |             .unwrap(or: Abort(.notFound))
120 |             .flatMap { post in
    |              `- warning: type 'View' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
121 |                 guard post.isPublished else {
122 |                     return request.eventLoop.future(error: Abort(.notFound))
/host/spi-builder-workspace/.build/checkouts/vapor/Sources/Vapor/View/View.swift:3:15: note: struct 'View' does not conform to the 'Sendable' protocol
 1 | import NIOCore
 2 |
 3 | public struct View: ResponseEncodable {
   |               `- note: struct 'View' does not conform to the 'Sendable' protocol
 4 |     public var data: ByteBuffer
 5 |
[2857/2882] Compiling App Array+Util.swift
/host/spi-builder-workspace/Sources/App/Controllers/Public/PostController.swift:31:14: warning: type 'View' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 29 |                 return pageResponse
 30 |             }
 31 |             .flatMap { page in
    |              `- warning: type 'View' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 32 |                 do {
 33 |                     return try ContextMaker.makeIndexView().makeResponse(context: page, for: request)
/host/spi-builder-workspace/.build/checkouts/vapor/Sources/Vapor/View/View.swift:3:15: note: struct 'View' does not conform to the 'Sendable' protocol
 1 | import NIOCore
 2 |
 3 | public struct View: ResponseEncodable {
   |               `- note: struct 'View' does not conform to the 'Sendable' protocol
 4 |     public var data: ByteBuffer
 5 |
/host/spi-builder-workspace/Sources/App/Controllers/Public/PostController.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Vapor'
  1 | import Fluent
  2 | import Vapor
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Vapor'
  3 |
  4 | final class PostController {
/host/spi-builder-workspace/Sources/App/Controllers/Public/PostController.swift:46:14: warning: type 'View' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 44 |         return Tag.query(on: request.db).filter(\.$id == tagId).withRelated().first()
 45 |             .unwrap(or: Abort(.notFound))
 46 |             .flatMap { tag -> EventLoopFuture<View> in
    |              `- warning: type 'View' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 47 |                 tag.$posts.query(on: request.db).publicAll().noStaticAll().withRelated()
 48 |                     .sort(\.$createdAt, .descending)
/host/spi-builder-workspace/.build/checkouts/vapor/Sources/Vapor/View/View.swift:3:15: note: struct 'View' does not conform to the 'Sendable' protocol
 1 | import NIOCore
 2 |
 3 | public struct View: ResponseEncodable {
   |               `- note: struct 'View' does not conform to the 'Sendable' protocol
 4 |     public var data: ByteBuffer
 5 |
/host/spi-builder-workspace/Sources/App/Controllers/Public/PostController.swift:56:22: warning: type 'View' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 54 |                         return pageResponse
 55 |                     }
 56 |                     .flatMap { page in
    |                      `- warning: type 'View' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 57 |                         do {
 58 |                             let context = page.add("tag", tag)
/host/spi-builder-workspace/.build/checkouts/vapor/Sources/Vapor/View/View.swift:3:15: note: struct 'View' does not conform to the 'Sendable' protocol
 1 | import NIOCore
 2 |
 3 | public struct View: ResponseEncodable {
   |               `- note: struct 'View' does not conform to the 'Sendable' protocol
 4 |     public var data: ByteBuffer
 5 |
/host/spi-builder-workspace/Sources/App/Controllers/Public/PostController.swift:73:14: warning: type 'View' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 71 |         return Category.query(on: request.db).filter(\.$id == categoryId).withRelated().first()
 72 |             .unwrap(or: Abort(.notFound))
 73 |             .flatMap { category -> EventLoopFuture<View> in
    |              `- warning: type 'View' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 74 |                 category.$posts.query(on: request.db).publicAll().noStaticAll().withRelated()
 75 |                     .sort(\.$createdAt, .descending)
/host/spi-builder-workspace/.build/checkouts/vapor/Sources/Vapor/View/View.swift:3:15: note: struct 'View' does not conform to the 'Sendable' protocol
 1 | import NIOCore
 2 |
 3 | public struct View: ResponseEncodable {
   |               `- note: struct 'View' does not conform to the 'Sendable' protocol
 4 |     public var data: ByteBuffer
 5 |
/host/spi-builder-workspace/Sources/App/Controllers/Public/PostController.swift:83:22: warning: type 'View' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 81 |                         return pageResponse
 82 |                     }
 83 |                     .flatMap { page in
    |                      `- warning: type 'View' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 84 |                         do {
 85 |                             let context = page.add("category", category)
/host/spi-builder-workspace/.build/checkouts/vapor/Sources/Vapor/View/View.swift:3:15: note: struct 'View' does not conform to the 'Sendable' protocol
 1 | import NIOCore
 2 |
 3 | public struct View: ResponseEncodable {
   |               `- note: struct 'View' does not conform to the 'Sendable' protocol
 4 |     public var data: ByteBuffer
 5 |
/host/spi-builder-workspace/Sources/App/Controllers/Public/PostController.swift:104:14: warning: type 'View' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
102 |                 return pageResponse
103 |             }
104 |             .flatMap { page in
    |              `- warning: type 'View' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
105 |                 do {
106 |                     return try ContextMaker.makeIndexView().makeResponse(context: page, for: request)
/host/spi-builder-workspace/.build/checkouts/vapor/Sources/Vapor/View/View.swift:3:15: note: struct 'View' does not conform to the 'Sendable' protocol
 1 | import NIOCore
 2 |
 3 | public struct View: ResponseEncodable {
   |               `- note: struct 'View' does not conform to the 'Sendable' protocol
 4 |     public var data: ByteBuffer
 5 |
/host/spi-builder-workspace/Sources/App/Controllers/Public/PostController.swift:120:14: warning: type 'View' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
118 |             .first()
119 |             .unwrap(or: Abort(.notFound))
120 |             .flatMap { post in
    |              `- warning: type 'View' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
121 |                 guard post.isPublished else {
122 |                     return request.eventLoop.future(error: Abort(.notFound))
/host/spi-builder-workspace/.build/checkouts/vapor/Sources/Vapor/View/View.swift:3:15: note: struct 'View' does not conform to the 'Sendable' protocol
 1 | import NIOCore
 2 |
 3 | public struct View: ResponseEncodable {
   |               `- note: struct 'View' does not conform to the 'Sendable' protocol
 4 |     public var data: ByteBuffer
 5 |
[2858/2882] Compiling App FileManager+Util.swift
/host/spi-builder-workspace/Sources/App/Controllers/Public/PostController.swift:31:14: warning: type 'View' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 29 |                 return pageResponse
 30 |             }
 31 |             .flatMap { page in
    |              `- warning: type 'View' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 32 |                 do {
 33 |                     return try ContextMaker.makeIndexView().makeResponse(context: page, for: request)
/host/spi-builder-workspace/.build/checkouts/vapor/Sources/Vapor/View/View.swift:3:15: note: struct 'View' does not conform to the 'Sendable' protocol
 1 | import NIOCore
 2 |
 3 | public struct View: ResponseEncodable {
   |               `- note: struct 'View' does not conform to the 'Sendable' protocol
 4 |     public var data: ByteBuffer
 5 |
/host/spi-builder-workspace/Sources/App/Controllers/Public/PostController.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Vapor'
  1 | import Fluent
  2 | import Vapor
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Vapor'
  3 |
  4 | final class PostController {
/host/spi-builder-workspace/Sources/App/Controllers/Public/PostController.swift:46:14: warning: type 'View' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 44 |         return Tag.query(on: request.db).filter(\.$id == tagId).withRelated().first()
 45 |             .unwrap(or: Abort(.notFound))
 46 |             .flatMap { tag -> EventLoopFuture<View> in
    |              `- warning: type 'View' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 47 |                 tag.$posts.query(on: request.db).publicAll().noStaticAll().withRelated()
 48 |                     .sort(\.$createdAt, .descending)
/host/spi-builder-workspace/.build/checkouts/vapor/Sources/Vapor/View/View.swift:3:15: note: struct 'View' does not conform to the 'Sendable' protocol
 1 | import NIOCore
 2 |
 3 | public struct View: ResponseEncodable {
   |               `- note: struct 'View' does not conform to the 'Sendable' protocol
 4 |     public var data: ByteBuffer
 5 |
/host/spi-builder-workspace/Sources/App/Controllers/Public/PostController.swift:56:22: warning: type 'View' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 54 |                         return pageResponse
 55 |                     }
 56 |                     .flatMap { page in
    |                      `- warning: type 'View' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 57 |                         do {
 58 |                             let context = page.add("tag", tag)
/host/spi-builder-workspace/.build/checkouts/vapor/Sources/Vapor/View/View.swift:3:15: note: struct 'View' does not conform to the 'Sendable' protocol
 1 | import NIOCore
 2 |
 3 | public struct View: ResponseEncodable {
   |               `- note: struct 'View' does not conform to the 'Sendable' protocol
 4 |     public var data: ByteBuffer
 5 |
/host/spi-builder-workspace/Sources/App/Controllers/Public/PostController.swift:73:14: warning: type 'View' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 71 |         return Category.query(on: request.db).filter(\.$id == categoryId).withRelated().first()
 72 |             .unwrap(or: Abort(.notFound))
 73 |             .flatMap { category -> EventLoopFuture<View> in
    |              `- warning: type 'View' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 74 |                 category.$posts.query(on: request.db).publicAll().noStaticAll().withRelated()
 75 |                     .sort(\.$createdAt, .descending)
/host/spi-builder-workspace/.build/checkouts/vapor/Sources/Vapor/View/View.swift:3:15: note: struct 'View' does not conform to the 'Sendable' protocol
 1 | import NIOCore
 2 |
 3 | public struct View: ResponseEncodable {
   |               `- note: struct 'View' does not conform to the 'Sendable' protocol
 4 |     public var data: ByteBuffer
 5 |
/host/spi-builder-workspace/Sources/App/Controllers/Public/PostController.swift:83:22: warning: type 'View' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 81 |                         return pageResponse
 82 |                     }
 83 |                     .flatMap { page in
    |                      `- warning: type 'View' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 84 |                         do {
 85 |                             let context = page.add("category", category)
/host/spi-builder-workspace/.build/checkouts/vapor/Sources/Vapor/View/View.swift:3:15: note: struct 'View' does not conform to the 'Sendable' protocol
 1 | import NIOCore
 2 |
 3 | public struct View: ResponseEncodable {
   |               `- note: struct 'View' does not conform to the 'Sendable' protocol
 4 |     public var data: ByteBuffer
 5 |
/host/spi-builder-workspace/Sources/App/Controllers/Public/PostController.swift:104:14: warning: type 'View' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
102 |                 return pageResponse
103 |             }
104 |             .flatMap { page in
    |              `- warning: type 'View' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
105 |                 do {
106 |                     return try ContextMaker.makeIndexView().makeResponse(context: page, for: request)
/host/spi-builder-workspace/.build/checkouts/vapor/Sources/Vapor/View/View.swift:3:15: note: struct 'View' does not conform to the 'Sendable' protocol
 1 | import NIOCore
 2 |
 3 | public struct View: ResponseEncodable {
   |               `- note: struct 'View' does not conform to the 'Sendable' protocol
 4 |     public var data: ByteBuffer
 5 |
/host/spi-builder-workspace/Sources/App/Controllers/Public/PostController.swift:120:14: warning: type 'View' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
118 |             .first()
119 |             .unwrap(or: Abort(.notFound))
120 |             .flatMap { post in
    |              `- warning: type 'View' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
121 |                 guard post.isPublished else {
122 |                     return request.eventLoop.future(error: Abort(.notFound))
/host/spi-builder-workspace/.build/checkouts/vapor/Sources/Vapor/View/View.swift:3:15: note: struct 'View' does not conform to the 'Sendable' protocol
 1 | import NIOCore
 2 |
 3 | public struct View: ResponseEncodable {
   |               `- note: struct 'View' does not conform to the 'Sendable' protocol
 4 |     public var data: ByteBuffer
 5 |
[2859/2882] Compiling App String+Markdown.swift
/host/spi-builder-workspace/Sources/App/Controllers/Public/PostController.swift:31:14: warning: type 'View' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 29 |                 return pageResponse
 30 |             }
 31 |             .flatMap { page in
    |              `- warning: type 'View' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 32 |                 do {
 33 |                     return try ContextMaker.makeIndexView().makeResponse(context: page, for: request)
/host/spi-builder-workspace/.build/checkouts/vapor/Sources/Vapor/View/View.swift:3:15: note: struct 'View' does not conform to the 'Sendable' protocol
 1 | import NIOCore
 2 |
 3 | public struct View: ResponseEncodable {
   |               `- note: struct 'View' does not conform to the 'Sendable' protocol
 4 |     public var data: ByteBuffer
 5 |
/host/spi-builder-workspace/Sources/App/Controllers/Public/PostController.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Vapor'
  1 | import Fluent
  2 | import Vapor
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Vapor'
  3 |
  4 | final class PostController {
/host/spi-builder-workspace/Sources/App/Controllers/Public/PostController.swift:46:14: warning: type 'View' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 44 |         return Tag.query(on: request.db).filter(\.$id == tagId).withRelated().first()
 45 |             .unwrap(or: Abort(.notFound))
 46 |             .flatMap { tag -> EventLoopFuture<View> in
    |              `- warning: type 'View' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 47 |                 tag.$posts.query(on: request.db).publicAll().noStaticAll().withRelated()
 48 |                     .sort(\.$createdAt, .descending)
/host/spi-builder-workspace/.build/checkouts/vapor/Sources/Vapor/View/View.swift:3:15: note: struct 'View' does not conform to the 'Sendable' protocol
 1 | import NIOCore
 2 |
 3 | public struct View: ResponseEncodable {
   |               `- note: struct 'View' does not conform to the 'Sendable' protocol
 4 |     public var data: ByteBuffer
 5 |
/host/spi-builder-workspace/Sources/App/Controllers/Public/PostController.swift:56:22: warning: type 'View' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 54 |                         return pageResponse
 55 |                     }
 56 |                     .flatMap { page in
    |                      `- warning: type 'View' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 57 |                         do {
 58 |                             let context = page.add("tag", tag)
/host/spi-builder-workspace/.build/checkouts/vapor/Sources/Vapor/View/View.swift:3:15: note: struct 'View' does not conform to the 'Sendable' protocol
 1 | import NIOCore
 2 |
 3 | public struct View: ResponseEncodable {
   |               `- note: struct 'View' does not conform to the 'Sendable' protocol
 4 |     public var data: ByteBuffer
 5 |
/host/spi-builder-workspace/Sources/App/Controllers/Public/PostController.swift:73:14: warning: type 'View' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 71 |         return Category.query(on: request.db).filter(\.$id == categoryId).withRelated().first()
 72 |             .unwrap(or: Abort(.notFound))
 73 |             .flatMap { category -> EventLoopFuture<View> in
    |              `- warning: type 'View' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 74 |                 category.$posts.query(on: request.db).publicAll().noStaticAll().withRelated()
 75 |                     .sort(\.$createdAt, .descending)
/host/spi-builder-workspace/.build/checkouts/vapor/Sources/Vapor/View/View.swift:3:15: note: struct 'View' does not conform to the 'Sendable' protocol
 1 | import NIOCore
 2 |
 3 | public struct View: ResponseEncodable {
   |               `- note: struct 'View' does not conform to the 'Sendable' protocol
 4 |     public var data: ByteBuffer
 5 |
/host/spi-builder-workspace/Sources/App/Controllers/Public/PostController.swift:83:22: warning: type 'View' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 81 |                         return pageResponse
 82 |                     }
 83 |                     .flatMap { page in
    |                      `- warning: type 'View' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 84 |                         do {
 85 |                             let context = page.add("category", category)
/host/spi-builder-workspace/.build/checkouts/vapor/Sources/Vapor/View/View.swift:3:15: note: struct 'View' does not conform to the 'Sendable' protocol
 1 | import NIOCore
 2 |
 3 | public struct View: ResponseEncodable {
   |               `- note: struct 'View' does not conform to the 'Sendable' protocol
 4 |     public var data: ByteBuffer
 5 |
/host/spi-builder-workspace/Sources/App/Controllers/Public/PostController.swift:104:14: warning: type 'View' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
102 |                 return pageResponse
103 |             }
104 |             .flatMap { page in
    |              `- warning: type 'View' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
105 |                 do {
106 |                     return try ContextMaker.makeIndexView().makeResponse(context: page, for: request)
/host/spi-builder-workspace/.build/checkouts/vapor/Sources/Vapor/View/View.swift:3:15: note: struct 'View' does not conform to the 'Sendable' protocol
 1 | import NIOCore
 2 |
 3 | public struct View: ResponseEncodable {
   |               `- note: struct 'View' does not conform to the 'Sendable' protocol
 4 |     public var data: ByteBuffer
 5 |
/host/spi-builder-workspace/Sources/App/Controllers/Public/PostController.swift:120:14: warning: type 'View' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
118 |             .first()
119 |             .unwrap(or: Abort(.notFound))
120 |             .flatMap { post in
    |              `- warning: type 'View' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
121 |                 guard post.isPublished else {
122 |                     return request.eventLoop.future(error: Abort(.notFound))
/host/spi-builder-workspace/.build/checkouts/vapor/Sources/Vapor/View/View.swift:3:15: note: struct 'View' does not conform to the 'Sendable' protocol
 1 | import NIOCore
 2 |
 3 | public struct View: ResponseEncodable {
   |               `- note: struct 'View' does not conform to the 'Sendable' protocol
 4 |     public var data: ByteBuffer
 5 |
[2860/2882] Compiling App String+Util.swift
/host/spi-builder-workspace/Sources/App/Controllers/Public/PostController.swift:31:14: warning: type 'View' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 29 |                 return pageResponse
 30 |             }
 31 |             .flatMap { page in
    |              `- warning: type 'View' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 32 |                 do {
 33 |                     return try ContextMaker.makeIndexView().makeResponse(context: page, for: request)
/host/spi-builder-workspace/.build/checkouts/vapor/Sources/Vapor/View/View.swift:3:15: note: struct 'View' does not conform to the 'Sendable' protocol
 1 | import NIOCore
 2 |
 3 | public struct View: ResponseEncodable {
   |               `- note: struct 'View' does not conform to the 'Sendable' protocol
 4 |     public var data: ByteBuffer
 5 |
/host/spi-builder-workspace/Sources/App/Controllers/Public/PostController.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Vapor'
  1 | import Fluent
  2 | import Vapor
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Vapor'
  3 |
  4 | final class PostController {
/host/spi-builder-workspace/Sources/App/Controllers/Public/PostController.swift:46:14: warning: type 'View' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 44 |         return Tag.query(on: request.db).filter(\.$id == tagId).withRelated().first()
 45 |             .unwrap(or: Abort(.notFound))
 46 |             .flatMap { tag -> EventLoopFuture<View> in
    |              `- warning: type 'View' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 47 |                 tag.$posts.query(on: request.db).publicAll().noStaticAll().withRelated()
 48 |                     .sort(\.$createdAt, .descending)
/host/spi-builder-workspace/.build/checkouts/vapor/Sources/Vapor/View/View.swift:3:15: note: struct 'View' does not conform to the 'Sendable' protocol
 1 | import NIOCore
 2 |
 3 | public struct View: ResponseEncodable {
   |               `- note: struct 'View' does not conform to the 'Sendable' protocol
 4 |     public var data: ByteBuffer
 5 |
/host/spi-builder-workspace/Sources/App/Controllers/Public/PostController.swift:56:22: warning: type 'View' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 54 |                         return pageResponse
 55 |                     }
 56 |                     .flatMap { page in
    |                      `- warning: type 'View' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 57 |                         do {
 58 |                             let context = page.add("tag", tag)
/host/spi-builder-workspace/.build/checkouts/vapor/Sources/Vapor/View/View.swift:3:15: note: struct 'View' does not conform to the 'Sendable' protocol
 1 | import NIOCore
 2 |
 3 | public struct View: ResponseEncodable {
   |               `- note: struct 'View' does not conform to the 'Sendable' protocol
 4 |     public var data: ByteBuffer
 5 |
/host/spi-builder-workspace/Sources/App/Controllers/Public/PostController.swift:73:14: warning: type 'View' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 71 |         return Category.query(on: request.db).filter(\.$id == categoryId).withRelated().first()
 72 |             .unwrap(or: Abort(.notFound))
 73 |             .flatMap { category -> EventLoopFuture<View> in
    |              `- warning: type 'View' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 74 |                 category.$posts.query(on: request.db).publicAll().noStaticAll().withRelated()
 75 |                     .sort(\.$createdAt, .descending)
/host/spi-builder-workspace/.build/checkouts/vapor/Sources/Vapor/View/View.swift:3:15: note: struct 'View' does not conform to the 'Sendable' protocol
 1 | import NIOCore
 2 |
 3 | public struct View: ResponseEncodable {
   |               `- note: struct 'View' does not conform to the 'Sendable' protocol
 4 |     public var data: ByteBuffer
 5 |
/host/spi-builder-workspace/Sources/App/Controllers/Public/PostController.swift:83:22: warning: type 'View' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 81 |                         return pageResponse
 82 |                     }
 83 |                     .flatMap { page in
    |                      `- warning: type 'View' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 84 |                         do {
 85 |                             let context = page.add("category", category)
/host/spi-builder-workspace/.build/checkouts/vapor/Sources/Vapor/View/View.swift:3:15: note: struct 'View' does not conform to the 'Sendable' protocol
 1 | import NIOCore
 2 |
 3 | public struct View: ResponseEncodable {
   |               `- note: struct 'View' does not conform to the 'Sendable' protocol
 4 |     public var data: ByteBuffer
 5 |
/host/spi-builder-workspace/Sources/App/Controllers/Public/PostController.swift:104:14: warning: type 'View' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
102 |                 return pageResponse
103 |             }
104 |             .flatMap { page in
    |              `- warning: type 'View' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
105 |                 do {
106 |                     return try ContextMaker.makeIndexView().makeResponse(context: page, for: request)
/host/spi-builder-workspace/.build/checkouts/vapor/Sources/Vapor/View/View.swift:3:15: note: struct 'View' does not conform to the 'Sendable' protocol
 1 | import NIOCore
 2 |
 3 | public struct View: ResponseEncodable {
   |               `- note: struct 'View' does not conform to the 'Sendable' protocol
 4 |     public var data: ByteBuffer
 5 |
/host/spi-builder-workspace/Sources/App/Controllers/Public/PostController.swift:120:14: warning: type 'View' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
118 |             .first()
119 |             .unwrap(or: Abort(.notFound))
120 |             .flatMap { post in
    |              `- warning: type 'View' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
121 |                 guard post.isPublished else {
122 |                     return request.eventLoop.future(error: Abort(.notFound))
/host/spi-builder-workspace/.build/checkouts/vapor/Sources/Vapor/View/View.swift:3:15: note: struct 'View' does not conform to the 'Sendable' protocol
 1 | import NIOCore
 2 |
 3 | public struct View: ResponseEncodable {
   |               `- note: struct 'View' does not conform to the 'Sendable' protocol
 4 |     public var data: ByteBuffer
 5 |
[2861/2882] Compiling App EditableFileUpdateForm.swift
[2862/2882] Compiling App ImageForm.swift
[2863/2882] Compiling App ImageUploadForm.swift
[2864/2882] Compiling App LoginForm.swift
[2865/2882] Compiling App PostForm.swift
[2866/2882] Compiling App Form.swift
[2867/2882] Compiling App SiteInfoForm.swift
[2868/2882] Compiling App TagForm.swift
[2869/2882] Compiling App ThemeForm.swift
[2870/2882] Compiling App UserForm.swift
/host/spi-builder-workspace/Sources/App/Models/Scheme/Category.swift:9:9: warning: stored property '_id' of 'Sendable'-conforming class 'Category' is mutable; this is an error in the Swift 6 language mode
 7 |
 8 |     @ID(custom: .id)
 9 |     var id: Int?
   |         `- warning: stored property '_id' of 'Sendable'-conforming class 'Category' is mutable; this is an error in the Swift 6 language mode
10 |
11 |     @Field(key: "name")
/host/spi-builder-workspace/Sources/App/Models/Scheme/Image.swift:9:9: warning: stored property '_id' of 'Sendable'-conforming class 'Image' is mutable; this is an error in the Swift 6 language mode
 7 |
 8 |     @ID(custom: .id)
 9 |     var id: Int?
   |         `- warning: stored property '_id' of 'Sendable'-conforming class 'Image' is mutable; this is an error in the Swift 6 language mode
10 |
11 |     @Field(key: "path")
/host/spi-builder-workspace/Sources/App/Models/Scheme/Post.swift:10:9: warning: stored property '_id' of 'Sendable'-conforming class 'Post' is mutable; this is an error in the Swift 6 language mode
  8 |
  9 |     @ID(custom: .id)
 10 |     var id: Int?
    |         `- warning: stored property '_id' of 'Sendable'-conforming class 'Post' is mutable; this is an error in the Swift 6 language mode
 11 |
 12 |     @Field(key: "title")
/host/spi-builder-workspace/Sources/App/Models/Scheme/Post.swift:137:42: warning: 'sql(raw:)' is deprecated: Renamed to `.sql(unsafeRaw:)`. Please use caution when embedding raw SQL.
135 | extension QueryBuilder where Model == Post {
136 |     func publicAll() -> Self {
137 |         return filter(\.$isPublished == .sql(raw: "1"))
    |                                          |- warning: 'sql(raw:)' is deprecated: Renamed to `.sql(unsafeRaw:)`. Please use caution when embedding raw SQL.
    |                                          `- note: use 'sql(unsafeRaw:)' instead
138 |     }
139 |
/host/spi-builder-workspace/Sources/App/Models/Scheme/Post.swift:141:39: warning: 'sql(raw:)' is deprecated: Renamed to `.sql(unsafeRaw:)`. Please use caution when embedding raw SQL.
139 |
140 |     func noStaticAll() -> Self {
141 |         return filter(\.$isStatic == .sql(raw: "0"))
    |                                       |- warning: 'sql(raw:)' is deprecated: Renamed to `.sql(unsafeRaw:)`. Please use caution when embedding raw SQL.
    |                                       `- note: use 'sql(unsafeRaw:)' instead
142 |     }
143 |
/host/spi-builder-workspace/Sources/App/Models/Scheme/Post.swift:145:39: warning: 'sql(raw:)' is deprecated: Renamed to `.sql(unsafeRaw:)`. Please use caution when embedding raw SQL.
143 |
144 |     func staticAll() -> Self {
145 |         return filter(\.$isStatic == .sql(raw: "1"))
    |                                       |- warning: 'sql(raw:)' is deprecated: Renamed to `.sql(unsafeRaw:)`. Please use caution when embedding raw SQL.
    |                                       `- note: use 'sql(unsafeRaw:)' instead
146 |     }
147 |
/host/spi-builder-workspace/Sources/App/Models/Scheme/PostTag.swift:9:9: warning: stored property '_id' of 'Sendable'-conforming class 'PostTag' is mutable; this is an error in the Swift 6 language mode
 7 |
 8 |     @ID(custom: .id)
 9 |     var id: Int?
   |         `- warning: stored property '_id' of 'Sendable'-conforming class 'PostTag' is mutable; this is an error in the Swift 6 language mode
10 |
11 |     @Parent(key: "post_id")
/host/spi-builder-workspace/Sources/App/Models/Scheme/SiteInfo.swift:9:9: warning: stored property '_id' of 'Sendable'-conforming class 'SiteInfo' is mutable; this is an error in the Swift 6 language mode
 7 |
 8 |     @ID(custom: .id)
 9 |     var id: Int?
   |         `- warning: stored property '_id' of 'Sendable'-conforming class 'SiteInfo' is mutable; this is an error in the Swift 6 language mode
10 |
11 |     @Field(key: "name")
/host/spi-builder-workspace/Sources/App/Models/Scheme/Tag.swift:9:9: warning: stored property '_id' of 'Sendable'-conforming class 'Tag' is mutable; this is an error in the Swift 6 language mode
  7 |
  8 |     @ID(custom: .id)
  9 |     var id: Int?
    |         `- warning: stored property '_id' of 'Sendable'-conforming class 'Tag' is mutable; this is an error in the Swift 6 language mode
 10 |
 11 |     @Field(key: "name")
/host/spi-builder-workspace/Sources/App/Models/Scheme/User.swift:11:9: warning: stored property '_id' of 'Sendable'-conforming class 'User' is mutable; this is an error in the Swift 6 language mode
  9 |
 10 |     @ID(custom: .id)
 11 |     var id: Int?
    |         `- warning: stored property '_id' of 'Sendable'-conforming class 'User' is mutable; this is an error in the Swift 6 language mode
 12 |
 13 |     @Field(key: "name")
/host/spi-builder-workspace/Sources/App/Routes/APIRoutes.swift:14:47: warning: converting non-sendable function value to '@Sendable (Request) throws -> EventLoopFuture<PageResponse<ImageGroup>>' may introduce data races
12 |         do {
13 |             let controller = API.ImageController()
14 |             api.get("images", use: controller.index)
   |                                               `- warning: converting non-sendable function value to '@Sendable (Request) throws -> EventLoopFuture<PageResponse<ImageGroup>>' may introduce data races
15 |             api.on(.POST, "images", body: .collect(maxSize: nil), use: controller.store)
16 |         }
/host/spi-builder-workspace/Sources/App/Routes/APIRoutes.swift:15:83: warning: converting non-sendable function value to '@Sendable (Request) throws -> EventLoopFuture<Response>' may introduce data races
13 |             let controller = API.ImageController()
14 |             api.get("images", use: controller.index)
15 |             api.on(.POST, "images", body: .collect(maxSize: nil), use: controller.store)
   |                                                                                   `- warning: converting non-sendable function value to '@Sendable (Request) throws -> EventLoopFuture<Response>' may introduce data races
16 |         }
17 |
/host/spi-builder-workspace/Sources/App/Routes/APIRoutes.swift:21:47: warning: converting non-sendable function value to '@Sendable (Request) throws -> EventLoopFuture<[Theme]>' may introduce data races
19 |         do {
20 |             let controller = API.ThemeController()
21 |             api.get("themes", use: controller.index)
   |                                               `- warning: converting non-sendable function value to '@Sendable (Request) throws -> EventLoopFuture<[Theme]>' may introduce data races
22 |             api.post("themes", use: controller.store)
23 |         }
/host/spi-builder-workspace/Sources/App/Routes/APIRoutes.swift:22:48: warning: converting non-sendable function value to '@Sendable (Request) throws -> EventLoopFuture<Response>' may introduce data races
20 |             let controller = API.ThemeController()
21 |             api.get("themes", use: controller.index)
22 |             api.post("themes", use: controller.store)
   |                                                `- warning: converting non-sendable function value to '@Sendable (Request) throws -> EventLoopFuture<Response>' may introduce data races
23 |         }
24 |
/host/spi-builder-workspace/Sources/App/Routes/APIRoutes.swift:28:65: warning: converting non-sendable function value to '@Sendable (Request) throws -> EventLoopFuture<[EditableFileGroup]>' may introduce data races
26 |         do {
27 |             let controller = API.FileController()
28 |             api.get("themes", ":name", "files", use: controller.index)
   |                                                                 `- warning: converting non-sendable function value to '@Sendable (Request) throws -> EventLoopFuture<[EditableFileGroup]>' may introduce data races
29 |             api.get("files", use: controller.show)
30 |             api.post("files", use: controller.store)
/host/spi-builder-workspace/Sources/App/Routes/APIRoutes.swift:29:46: warning: converting non-sendable function value to '@Sendable (Request) throws -> EventLoopFuture<EditableFileBody>' may introduce data races
27 |             let controller = API.FileController()
28 |             api.get("themes", ":name", "files", use: controller.index)
29 |             api.get("files", use: controller.show)
   |                                              `- warning: converting non-sendable function value to '@Sendable (Request) throws -> EventLoopFuture<EditableFileBody>' may introduce data races
30 |             api.post("files", use: controller.store)
31 |         }
/host/spi-builder-workspace/Sources/App/Routes/APIRoutes.swift:30:47: warning: converting non-sendable function value to '@Sendable (Request) throws -> EventLoopFuture<Response>' may introduce data races
28 |             api.get("themes", ":name", "files", use: controller.index)
29 |             api.get("files", use: controller.show)
30 |             api.post("files", use: controller.store)
   |                                               `- warning: converting non-sendable function value to '@Sendable (Request) throws -> EventLoopFuture<Response>' may introduce data races
31 |         }
32 |     }
[2871/2882] Compiling App Category.swift
/host/spi-builder-workspace/Sources/App/Models/Scheme/Category.swift:9:9: warning: stored property '_id' of 'Sendable'-conforming class 'Category' is mutable; this is an error in the Swift 6 language mode
 7 |
 8 |     @ID(custom: .id)
 9 |     var id: Int?
   |         `- warning: stored property '_id' of 'Sendable'-conforming class 'Category' is mutable; this is an error in the Swift 6 language mode
10 |
11 |     @Field(key: "name")
/host/spi-builder-workspace/Sources/App/Models/Scheme/Image.swift:9:9: warning: stored property '_id' of 'Sendable'-conforming class 'Image' is mutable; this is an error in the Swift 6 language mode
 7 |
 8 |     @ID(custom: .id)
 9 |     var id: Int?
   |         `- warning: stored property '_id' of 'Sendable'-conforming class 'Image' is mutable; this is an error in the Swift 6 language mode
10 |
11 |     @Field(key: "path")
/host/spi-builder-workspace/Sources/App/Models/Scheme/Post.swift:10:9: warning: stored property '_id' of 'Sendable'-conforming class 'Post' is mutable; this is an error in the Swift 6 language mode
  8 |
  9 |     @ID(custom: .id)
 10 |     var id: Int?
    |         `- warning: stored property '_id' of 'Sendable'-conforming class 'Post' is mutable; this is an error in the Swift 6 language mode
 11 |
 12 |     @Field(key: "title")
/host/spi-builder-workspace/Sources/App/Models/Scheme/Post.swift:137:42: warning: 'sql(raw:)' is deprecated: Renamed to `.sql(unsafeRaw:)`. Please use caution when embedding raw SQL.
135 | extension QueryBuilder where Model == Post {
136 |     func publicAll() -> Self {
137 |         return filter(\.$isPublished == .sql(raw: "1"))
    |                                          |- warning: 'sql(raw:)' is deprecated: Renamed to `.sql(unsafeRaw:)`. Please use caution when embedding raw SQL.
    |                                          `- note: use 'sql(unsafeRaw:)' instead
138 |     }
139 |
/host/spi-builder-workspace/Sources/App/Models/Scheme/Post.swift:141:39: warning: 'sql(raw:)' is deprecated: Renamed to `.sql(unsafeRaw:)`. Please use caution when embedding raw SQL.
139 |
140 |     func noStaticAll() -> Self {
141 |         return filter(\.$isStatic == .sql(raw: "0"))
    |                                       |- warning: 'sql(raw:)' is deprecated: Renamed to `.sql(unsafeRaw:)`. Please use caution when embedding raw SQL.
    |                                       `- note: use 'sql(unsafeRaw:)' instead
142 |     }
143 |
/host/spi-builder-workspace/Sources/App/Models/Scheme/Post.swift:145:39: warning: 'sql(raw:)' is deprecated: Renamed to `.sql(unsafeRaw:)`. Please use caution when embedding raw SQL.
143 |
144 |     func staticAll() -> Self {
145 |         return filter(\.$isStatic == .sql(raw: "1"))
    |                                       |- warning: 'sql(raw:)' is deprecated: Renamed to `.sql(unsafeRaw:)`. Please use caution when embedding raw SQL.
    |                                       `- note: use 'sql(unsafeRaw:)' instead
146 |     }
147 |
/host/spi-builder-workspace/Sources/App/Models/Scheme/PostTag.swift:9:9: warning: stored property '_id' of 'Sendable'-conforming class 'PostTag' is mutable; this is an error in the Swift 6 language mode
 7 |
 8 |     @ID(custom: .id)
 9 |     var id: Int?
   |         `- warning: stored property '_id' of 'Sendable'-conforming class 'PostTag' is mutable; this is an error in the Swift 6 language mode
10 |
11 |     @Parent(key: "post_id")
/host/spi-builder-workspace/Sources/App/Models/Scheme/SiteInfo.swift:9:9: warning: stored property '_id' of 'Sendable'-conforming class 'SiteInfo' is mutable; this is an error in the Swift 6 language mode
 7 |
 8 |     @ID(custom: .id)
 9 |     var id: Int?
   |         `- warning: stored property '_id' of 'Sendable'-conforming class 'SiteInfo' is mutable; this is an error in the Swift 6 language mode
10 |
11 |     @Field(key: "name")
/host/spi-builder-workspace/Sources/App/Models/Scheme/Tag.swift:9:9: warning: stored property '_id' of 'Sendable'-conforming class 'Tag' is mutable; this is an error in the Swift 6 language mode
  7 |
  8 |     @ID(custom: .id)
  9 |     var id: Int?
    |         `- warning: stored property '_id' of 'Sendable'-conforming class 'Tag' is mutable; this is an error in the Swift 6 language mode
 10 |
 11 |     @Field(key: "name")
/host/spi-builder-workspace/Sources/App/Models/Scheme/User.swift:11:9: warning: stored property '_id' of 'Sendable'-conforming class 'User' is mutable; this is an error in the Swift 6 language mode
  9 |
 10 |     @ID(custom: .id)
 11 |     var id: Int?
    |         `- warning: stored property '_id' of 'Sendable'-conforming class 'User' is mutable; this is an error in the Swift 6 language mode
 12 |
 13 |     @Field(key: "name")
/host/spi-builder-workspace/Sources/App/Routes/APIRoutes.swift:14:47: warning: converting non-sendable function value to '@Sendable (Request) throws -> EventLoopFuture<PageResponse<ImageGroup>>' may introduce data races
12 |         do {
13 |             let controller = API.ImageController()
14 |             api.get("images", use: controller.index)
   |                                               `- warning: converting non-sendable function value to '@Sendable (Request) throws -> EventLoopFuture<PageResponse<ImageGroup>>' may introduce data races
15 |             api.on(.POST, "images", body: .collect(maxSize: nil), use: controller.store)
16 |         }
/host/spi-builder-workspace/Sources/App/Routes/APIRoutes.swift:15:83: warning: converting non-sendable function value to '@Sendable (Request) throws -> EventLoopFuture<Response>' may introduce data races
13 |             let controller = API.ImageController()
14 |             api.get("images", use: controller.index)
15 |             api.on(.POST, "images", body: .collect(maxSize: nil), use: controller.store)
   |                                                                                   `- warning: converting non-sendable function value to '@Sendable (Request) throws -> EventLoopFuture<Response>' may introduce data races
16 |         }
17 |
/host/spi-builder-workspace/Sources/App/Routes/APIRoutes.swift:21:47: warning: converting non-sendable function value to '@Sendable (Request) throws -> EventLoopFuture<[Theme]>' may introduce data races
19 |         do {
20 |             let controller = API.ThemeController()
21 |             api.get("themes", use: controller.index)
   |                                               `- warning: converting non-sendable function value to '@Sendable (Request) throws -> EventLoopFuture<[Theme]>' may introduce data races
22 |             api.post("themes", use: controller.store)
23 |         }
/host/spi-builder-workspace/Sources/App/Routes/APIRoutes.swift:22:48: warning: converting non-sendable function value to '@Sendable (Request) throws -> EventLoopFuture<Response>' may introduce data races
20 |             let controller = API.ThemeController()
21 |             api.get("themes", use: controller.index)
22 |             api.post("themes", use: controller.store)
   |                                                `- warning: converting non-sendable function value to '@Sendable (Request) throws -> EventLoopFuture<Response>' may introduce data races
23 |         }
24 |
/host/spi-builder-workspace/Sources/App/Routes/APIRoutes.swift:28:65: warning: converting non-sendable function value to '@Sendable (Request) throws -> EventLoopFuture<[EditableFileGroup]>' may introduce data races
26 |         do {
27 |             let controller = API.FileController()
28 |             api.get("themes", ":name", "files", use: controller.index)
   |                                                                 `- warning: converting non-sendable function value to '@Sendable (Request) throws -> EventLoopFuture<[EditableFileGroup]>' may introduce data races
29 |             api.get("files", use: controller.show)
30 |             api.post("files", use: controller.store)
/host/spi-builder-workspace/Sources/App/Routes/APIRoutes.swift:29:46: warning: converting non-sendable function value to '@Sendable (Request) throws -> EventLoopFuture<EditableFileBody>' may introduce data races
27 |             let controller = API.FileController()
28 |             api.get("themes", ":name", "files", use: controller.index)
29 |             api.get("files", use: controller.show)
   |                                              `- warning: converting non-sendable function value to '@Sendable (Request) throws -> EventLoopFuture<EditableFileBody>' may introduce data races
30 |             api.post("files", use: controller.store)
31 |         }
/host/spi-builder-workspace/Sources/App/Routes/APIRoutes.swift:30:47: warning: converting non-sendable function value to '@Sendable (Request) throws -> EventLoopFuture<Response>' may introduce data races
28 |             api.get("themes", ":name", "files", use: controller.index)
29 |             api.get("files", use: controller.show)
30 |             api.post("files", use: controller.store)
   |                                               `- warning: converting non-sendable function value to '@Sendable (Request) throws -> EventLoopFuture<Response>' may introduce data races
31 |         }
32 |     }
[2872/2882] Compiling App Image.swift
/host/spi-builder-workspace/Sources/App/Models/Scheme/Category.swift:9:9: warning: stored property '_id' of 'Sendable'-conforming class 'Category' is mutable; this is an error in the Swift 6 language mode
 7 |
 8 |     @ID(custom: .id)
 9 |     var id: Int?
   |         `- warning: stored property '_id' of 'Sendable'-conforming class 'Category' is mutable; this is an error in the Swift 6 language mode
10 |
11 |     @Field(key: "name")
/host/spi-builder-workspace/Sources/App/Models/Scheme/Image.swift:9:9: warning: stored property '_id' of 'Sendable'-conforming class 'Image' is mutable; this is an error in the Swift 6 language mode
 7 |
 8 |     @ID(custom: .id)
 9 |     var id: Int?
   |         `- warning: stored property '_id' of 'Sendable'-conforming class 'Image' is mutable; this is an error in the Swift 6 language mode
10 |
11 |     @Field(key: "path")
/host/spi-builder-workspace/Sources/App/Models/Scheme/Post.swift:10:9: warning: stored property '_id' of 'Sendable'-conforming class 'Post' is mutable; this is an error in the Swift 6 language mode
  8 |
  9 |     @ID(custom: .id)
 10 |     var id: Int?
    |         `- warning: stored property '_id' of 'Sendable'-conforming class 'Post' is mutable; this is an error in the Swift 6 language mode
 11 |
 12 |     @Field(key: "title")
/host/spi-builder-workspace/Sources/App/Models/Scheme/Post.swift:137:42: warning: 'sql(raw:)' is deprecated: Renamed to `.sql(unsafeRaw:)`. Please use caution when embedding raw SQL.
135 | extension QueryBuilder where Model == Post {
136 |     func publicAll() -> Self {
137 |         return filter(\.$isPublished == .sql(raw: "1"))
    |                                          |- warning: 'sql(raw:)' is deprecated: Renamed to `.sql(unsafeRaw:)`. Please use caution when embedding raw SQL.
    |                                          `- note: use 'sql(unsafeRaw:)' instead
138 |     }
139 |
/host/spi-builder-workspace/Sources/App/Models/Scheme/Post.swift:141:39: warning: 'sql(raw:)' is deprecated: Renamed to `.sql(unsafeRaw:)`. Please use caution when embedding raw SQL.
139 |
140 |     func noStaticAll() -> Self {
141 |         return filter(\.$isStatic == .sql(raw: "0"))
    |                                       |- warning: 'sql(raw:)' is deprecated: Renamed to `.sql(unsafeRaw:)`. Please use caution when embedding raw SQL.
    |                                       `- note: use 'sql(unsafeRaw:)' instead
142 |     }
143 |
/host/spi-builder-workspace/Sources/App/Models/Scheme/Post.swift:145:39: warning: 'sql(raw:)' is deprecated: Renamed to `.sql(unsafeRaw:)`. Please use caution when embedding raw SQL.
143 |
144 |     func staticAll() -> Self {
145 |         return filter(\.$isStatic == .sql(raw: "1"))
    |                                       |- warning: 'sql(raw:)' is deprecated: Renamed to `.sql(unsafeRaw:)`. Please use caution when embedding raw SQL.
    |                                       `- note: use 'sql(unsafeRaw:)' instead
146 |     }
147 |
/host/spi-builder-workspace/Sources/App/Models/Scheme/PostTag.swift:9:9: warning: stored property '_id' of 'Sendable'-conforming class 'PostTag' is mutable; this is an error in the Swift 6 language mode
 7 |
 8 |     @ID(custom: .id)
 9 |     var id: Int?
   |         `- warning: stored property '_id' of 'Sendable'-conforming class 'PostTag' is mutable; this is an error in the Swift 6 language mode
10 |
11 |     @Parent(key: "post_id")
/host/spi-builder-workspace/Sources/App/Models/Scheme/SiteInfo.swift:9:9: warning: stored property '_id' of 'Sendable'-conforming class 'SiteInfo' is mutable; this is an error in the Swift 6 language mode
 7 |
 8 |     @ID(custom: .id)
 9 |     var id: Int?
   |         `- warning: stored property '_id' of 'Sendable'-conforming class 'SiteInfo' is mutable; this is an error in the Swift 6 language mode
10 |
11 |     @Field(key: "name")
/host/spi-builder-workspace/Sources/App/Models/Scheme/Tag.swift:9:9: warning: stored property '_id' of 'Sendable'-conforming class 'Tag' is mutable; this is an error in the Swift 6 language mode
  7 |
  8 |     @ID(custom: .id)
  9 |     var id: Int?
    |         `- warning: stored property '_id' of 'Sendable'-conforming class 'Tag' is mutable; this is an error in the Swift 6 language mode
 10 |
 11 |     @Field(key: "name")
/host/spi-builder-workspace/Sources/App/Models/Scheme/User.swift:11:9: warning: stored property '_id' of 'Sendable'-conforming class 'User' is mutable; this is an error in the Swift 6 language mode
  9 |
 10 |     @ID(custom: .id)
 11 |     var id: Int?
    |         `- warning: stored property '_id' of 'Sendable'-conforming class 'User' is mutable; this is an error in the Swift 6 language mode
 12 |
 13 |     @Field(key: "name")
/host/spi-builder-workspace/Sources/App/Routes/APIRoutes.swift:14:47: warning: converting non-sendable function value to '@Sendable (Request) throws -> EventLoopFuture<PageResponse<ImageGroup>>' may introduce data races
12 |         do {
13 |             let controller = API.ImageController()
14 |             api.get("images", use: controller.index)
   |                                               `- warning: converting non-sendable function value to '@Sendable (Request) throws -> EventLoopFuture<PageResponse<ImageGroup>>' may introduce data races
15 |             api.on(.POST, "images", body: .collect(maxSize: nil), use: controller.store)
16 |         }
/host/spi-builder-workspace/Sources/App/Routes/APIRoutes.swift:15:83: warning: converting non-sendable function value to '@Sendable (Request) throws -> EventLoopFuture<Response>' may introduce data races
13 |             let controller = API.ImageController()
14 |             api.get("images", use: controller.index)
15 |             api.on(.POST, "images", body: .collect(maxSize: nil), use: controller.store)
   |                                                                                   `- warning: converting non-sendable function value to '@Sendable (Request) throws -> EventLoopFuture<Response>' may introduce data races
16 |         }
17 |
/host/spi-builder-workspace/Sources/App/Routes/APIRoutes.swift:21:47: warning: converting non-sendable function value to '@Sendable (Request) throws -> EventLoopFuture<[Theme]>' may introduce data races
19 |         do {
20 |             let controller = API.ThemeController()
21 |             api.get("themes", use: controller.index)
   |                                               `- warning: converting non-sendable function value to '@Sendable (Request) throws -> EventLoopFuture<[Theme]>' may introduce data races
22 |             api.post("themes", use: controller.store)
23 |         }
/host/spi-builder-workspace/Sources/App/Routes/APIRoutes.swift:22:48: warning: converting non-sendable function value to '@Sendable (Request) throws -> EventLoopFuture<Response>' may introduce data races
20 |             let controller = API.ThemeController()
21 |             api.get("themes", use: controller.index)
22 |             api.post("themes", use: controller.store)
   |                                                `- warning: converting non-sendable function value to '@Sendable (Request) throws -> EventLoopFuture<Response>' may introduce data races
23 |         }
24 |
/host/spi-builder-workspace/Sources/App/Routes/APIRoutes.swift:28:65: warning: converting non-sendable function value to '@Sendable (Request) throws -> EventLoopFuture<[EditableFileGroup]>' may introduce data races
26 |         do {
27 |             let controller = API.FileController()
28 |             api.get("themes", ":name", "files", use: controller.index)
   |                                                                 `- warning: converting non-sendable function value to '@Sendable (Request) throws -> EventLoopFuture<[EditableFileGroup]>' may introduce data races
29 |             api.get("files", use: controller.show)
30 |             api.post("files", use: controller.store)
/host/spi-builder-workspace/Sources/App/Routes/APIRoutes.swift:29:46: warning: converting non-sendable function value to '@Sendable (Request) throws -> EventLoopFuture<EditableFileBody>' may introduce data races
27 |             let controller = API.FileController()
28 |             api.get("themes", ":name", "files", use: controller.index)
29 |             api.get("files", use: controller.show)
   |                                              `- warning: converting non-sendable function value to '@Sendable (Request) throws -> EventLoopFuture<EditableFileBody>' may introduce data races
30 |             api.post("files", use: controller.store)
31 |         }
/host/spi-builder-workspace/Sources/App/Routes/APIRoutes.swift:30:47: warning: converting non-sendable function value to '@Sendable (Request) throws -> EventLoopFuture<Response>' may introduce data races
28 |             api.get("themes", ":name", "files", use: controller.index)
29 |             api.get("files", use: controller.show)
30 |             api.post("files", use: controller.store)
   |                                               `- warning: converting non-sendable function value to '@Sendable (Request) throws -> EventLoopFuture<Response>' may introduce data races
31 |         }
32 |     }
[2873/2882] Compiling App Post.swift
/host/spi-builder-workspace/Sources/App/Models/Scheme/Category.swift:9:9: warning: stored property '_id' of 'Sendable'-conforming class 'Category' is mutable; this is an error in the Swift 6 language mode
 7 |
 8 |     @ID(custom: .id)
 9 |     var id: Int?
   |         `- warning: stored property '_id' of 'Sendable'-conforming class 'Category' is mutable; this is an error in the Swift 6 language mode
10 |
11 |     @Field(key: "name")
/host/spi-builder-workspace/Sources/App/Models/Scheme/Image.swift:9:9: warning: stored property '_id' of 'Sendable'-conforming class 'Image' is mutable; this is an error in the Swift 6 language mode
 7 |
 8 |     @ID(custom: .id)
 9 |     var id: Int?
   |         `- warning: stored property '_id' of 'Sendable'-conforming class 'Image' is mutable; this is an error in the Swift 6 language mode
10 |
11 |     @Field(key: "path")
/host/spi-builder-workspace/Sources/App/Models/Scheme/Post.swift:10:9: warning: stored property '_id' of 'Sendable'-conforming class 'Post' is mutable; this is an error in the Swift 6 language mode
  8 |
  9 |     @ID(custom: .id)
 10 |     var id: Int?
    |         `- warning: stored property '_id' of 'Sendable'-conforming class 'Post' is mutable; this is an error in the Swift 6 language mode
 11 |
 12 |     @Field(key: "title")
/host/spi-builder-workspace/Sources/App/Models/Scheme/Post.swift:137:42: warning: 'sql(raw:)' is deprecated: Renamed to `.sql(unsafeRaw:)`. Please use caution when embedding raw SQL.
135 | extension QueryBuilder where Model == Post {
136 |     func publicAll() -> Self {
137 |         return filter(\.$isPublished == .sql(raw: "1"))
    |                                          |- warning: 'sql(raw:)' is deprecated: Renamed to `.sql(unsafeRaw:)`. Please use caution when embedding raw SQL.
    |                                          `- note: use 'sql(unsafeRaw:)' instead
138 |     }
139 |
/host/spi-builder-workspace/Sources/App/Models/Scheme/Post.swift:141:39: warning: 'sql(raw:)' is deprecated: Renamed to `.sql(unsafeRaw:)`. Please use caution when embedding raw SQL.
139 |
140 |     func noStaticAll() -> Self {
141 |         return filter(\.$isStatic == .sql(raw: "0"))
    |                                       |- warning: 'sql(raw:)' is deprecated: Renamed to `.sql(unsafeRaw:)`. Please use caution when embedding raw SQL.
    |                                       `- note: use 'sql(unsafeRaw:)' instead
142 |     }
143 |
/host/spi-builder-workspace/Sources/App/Models/Scheme/Post.swift:145:39: warning: 'sql(raw:)' is deprecated: Renamed to `.sql(unsafeRaw:)`. Please use caution when embedding raw SQL.
143 |
144 |     func staticAll() -> Self {
145 |         return filter(\.$isStatic == .sql(raw: "1"))
    |                                       |- warning: 'sql(raw:)' is deprecated: Renamed to `.sql(unsafeRaw:)`. Please use caution when embedding raw SQL.
    |                                       `- note: use 'sql(unsafeRaw:)' instead
146 |     }
147 |
/host/spi-builder-workspace/Sources/App/Models/Scheme/PostTag.swift:9:9: warning: stored property '_id' of 'Sendable'-conforming class 'PostTag' is mutable; this is an error in the Swift 6 language mode
 7 |
 8 |     @ID(custom: .id)
 9 |     var id: Int?
   |         `- warning: stored property '_id' of 'Sendable'-conforming class 'PostTag' is mutable; this is an error in the Swift 6 language mode
10 |
11 |     @Parent(key: "post_id")
/host/spi-builder-workspace/Sources/App/Models/Scheme/SiteInfo.swift:9:9: warning: stored property '_id' of 'Sendable'-conforming class 'SiteInfo' is mutable; this is an error in the Swift 6 language mode
 7 |
 8 |     @ID(custom: .id)
 9 |     var id: Int?
   |         `- warning: stored property '_id' of 'Sendable'-conforming class 'SiteInfo' is mutable; this is an error in the Swift 6 language mode
10 |
11 |     @Field(key: "name")
/host/spi-builder-workspace/Sources/App/Models/Scheme/Tag.swift:9:9: warning: stored property '_id' of 'Sendable'-conforming class 'Tag' is mutable; this is an error in the Swift 6 language mode
  7 |
  8 |     @ID(custom: .id)
  9 |     var id: Int?
    |         `- warning: stored property '_id' of 'Sendable'-conforming class 'Tag' is mutable; this is an error in the Swift 6 language mode
 10 |
 11 |     @Field(key: "name")
/host/spi-builder-workspace/Sources/App/Models/Scheme/User.swift:11:9: warning: stored property '_id' of 'Sendable'-conforming class 'User' is mutable; this is an error in the Swift 6 language mode
  9 |
 10 |     @ID(custom: .id)
 11 |     var id: Int?
    |         `- warning: stored property '_id' of 'Sendable'-conforming class 'User' is mutable; this is an error in the Swift 6 language mode
 12 |
 13 |     @Field(key: "name")
/host/spi-builder-workspace/Sources/App/Routes/APIRoutes.swift:14:47: warning: converting non-sendable function value to '@Sendable (Request) throws -> EventLoopFuture<PageResponse<ImageGroup>>' may introduce data races
12 |         do {
13 |             let controller = API.ImageController()
14 |             api.get("images", use: controller.index)
   |                                               `- warning: converting non-sendable function value to '@Sendable (Request) throws -> EventLoopFuture<PageResponse<ImageGroup>>' may introduce data races
15 |             api.on(.POST, "images", body: .collect(maxSize: nil), use: controller.store)
16 |         }
/host/spi-builder-workspace/Sources/App/Routes/APIRoutes.swift:15:83: warning: converting non-sendable function value to '@Sendable (Request) throws -> EventLoopFuture<Response>' may introduce data races
13 |             let controller = API.ImageController()
14 |             api.get("images", use: controller.index)
15 |             api.on(.POST, "images", body: .collect(maxSize: nil), use: controller.store)
   |                                                                                   `- warning: converting non-sendable function value to '@Sendable (Request) throws -> EventLoopFuture<Response>' may introduce data races
16 |         }
17 |
/host/spi-builder-workspace/Sources/App/Routes/APIRoutes.swift:21:47: warning: converting non-sendable function value to '@Sendable (Request) throws -> EventLoopFuture<[Theme]>' may introduce data races
19 |         do {
20 |             let controller = API.ThemeController()
21 |             api.get("themes", use: controller.index)
   |                                               `- warning: converting non-sendable function value to '@Sendable (Request) throws -> EventLoopFuture<[Theme]>' may introduce data races
22 |             api.post("themes", use: controller.store)
23 |         }
/host/spi-builder-workspace/Sources/App/Routes/APIRoutes.swift:22:48: warning: converting non-sendable function value to '@Sendable (Request) throws -> EventLoopFuture<Response>' may introduce data races
20 |             let controller = API.ThemeController()
21 |             api.get("themes", use: controller.index)
22 |             api.post("themes", use: controller.store)
   |                                                `- warning: converting non-sendable function value to '@Sendable (Request) throws -> EventLoopFuture<Response>' may introduce data races
23 |         }
24 |
/host/spi-builder-workspace/Sources/App/Routes/APIRoutes.swift:28:65: warning: converting non-sendable function value to '@Sendable (Request) throws -> EventLoopFuture<[EditableFileGroup]>' may introduce data races
26 |         do {
27 |             let controller = API.FileController()
28 |             api.get("themes", ":name", "files", use: controller.index)
   |                                                                 `- warning: converting non-sendable function value to '@Sendable (Request) throws -> EventLoopFuture<[EditableFileGroup]>' may introduce data races
29 |             api.get("files", use: controller.show)
30 |             api.post("files", use: controller.store)
/host/spi-builder-workspace/Sources/App/Routes/APIRoutes.swift:29:46: warning: converting non-sendable function value to '@Sendable (Request) throws -> EventLoopFuture<EditableFileBody>' may introduce data races
27 |             let controller = API.FileController()
28 |             api.get("themes", ":name", "files", use: controller.index)
29 |             api.get("files", use: controller.show)
   |                                              `- warning: converting non-sendable function value to '@Sendable (Request) throws -> EventLoopFuture<EditableFileBody>' may introduce data races
30 |             api.post("files", use: controller.store)
31 |         }
/host/spi-builder-workspace/Sources/App/Routes/APIRoutes.swift:30:47: warning: converting non-sendable function value to '@Sendable (Request) throws -> EventLoopFuture<Response>' may introduce data races
28 |             api.get("themes", ":name", "files", use: controller.index)
29 |             api.get("files", use: controller.show)
30 |             api.post("files", use: controller.store)
   |                                               `- warning: converting non-sendable function value to '@Sendable (Request) throws -> EventLoopFuture<Response>' may introduce data races
31 |         }
32 |     }
[2874/2882] Compiling App PostTag.swift
/host/spi-builder-workspace/Sources/App/Models/Scheme/Category.swift:9:9: warning: stored property '_id' of 'Sendable'-conforming class 'Category' is mutable; this is an error in the Swift 6 language mode
 7 |
 8 |     @ID(custom: .id)
 9 |     var id: Int?
   |         `- warning: stored property '_id' of 'Sendable'-conforming class 'Category' is mutable; this is an error in the Swift 6 language mode
10 |
11 |     @Field(key: "name")
/host/spi-builder-workspace/Sources/App/Models/Scheme/Image.swift:9:9: warning: stored property '_id' of 'Sendable'-conforming class 'Image' is mutable; this is an error in the Swift 6 language mode
 7 |
 8 |     @ID(custom: .id)
 9 |     var id: Int?
   |         `- warning: stored property '_id' of 'Sendable'-conforming class 'Image' is mutable; this is an error in the Swift 6 language mode
10 |
11 |     @Field(key: "path")
/host/spi-builder-workspace/Sources/App/Models/Scheme/Post.swift:10:9: warning: stored property '_id' of 'Sendable'-conforming class 'Post' is mutable; this is an error in the Swift 6 language mode
  8 |
  9 |     @ID(custom: .id)
 10 |     var id: Int?
    |         `- warning: stored property '_id' of 'Sendable'-conforming class 'Post' is mutable; this is an error in the Swift 6 language mode
 11 |
 12 |     @Field(key: "title")
/host/spi-builder-workspace/Sources/App/Models/Scheme/Post.swift:137:42: warning: 'sql(raw:)' is deprecated: Renamed to `.sql(unsafeRaw:)`. Please use caution when embedding raw SQL.
135 | extension QueryBuilder where Model == Post {
136 |     func publicAll() -> Self {
137 |         return filter(\.$isPublished == .sql(raw: "1"))
    |                                          |- warning: 'sql(raw:)' is deprecated: Renamed to `.sql(unsafeRaw:)`. Please use caution when embedding raw SQL.
    |                                          `- note: use 'sql(unsafeRaw:)' instead
138 |     }
139 |
/host/spi-builder-workspace/Sources/App/Models/Scheme/Post.swift:141:39: warning: 'sql(raw:)' is deprecated: Renamed to `.sql(unsafeRaw:)`. Please use caution when embedding raw SQL.
139 |
140 |     func noStaticAll() -> Self {
141 |         return filter(\.$isStatic == .sql(raw: "0"))
    |                                       |- warning: 'sql(raw:)' is deprecated: Renamed to `.sql(unsafeRaw:)`. Please use caution when embedding raw SQL.
    |                                       `- note: use 'sql(unsafeRaw:)' instead
142 |     }
143 |
/host/spi-builder-workspace/Sources/App/Models/Scheme/Post.swift:145:39: warning: 'sql(raw:)' is deprecated: Renamed to `.sql(unsafeRaw:)`. Please use caution when embedding raw SQL.
143 |
144 |     func staticAll() -> Self {
145 |         return filter(\.$isStatic == .sql(raw: "1"))
    |                                       |- warning: 'sql(raw:)' is deprecated: Renamed to `.sql(unsafeRaw:)`. Please use caution when embedding raw SQL.
    |                                       `- note: use 'sql(unsafeRaw:)' instead
146 |     }
147 |
/host/spi-builder-workspace/Sources/App/Models/Scheme/PostTag.swift:9:9: warning: stored property '_id' of 'Sendable'-conforming class 'PostTag' is mutable; this is an error in the Swift 6 language mode
 7 |
 8 |     @ID(custom: .id)
 9 |     var id: Int?
   |         `- warning: stored property '_id' of 'Sendable'-conforming class 'PostTag' is mutable; this is an error in the Swift 6 language mode
10 |
11 |     @Parent(key: "post_id")
/host/spi-builder-workspace/Sources/App/Models/Scheme/SiteInfo.swift:9:9: warning: stored property '_id' of 'Sendable'-conforming class 'SiteInfo' is mutable; this is an error in the Swift 6 language mode
 7 |
 8 |     @ID(custom: .id)
 9 |     var id: Int?
   |         `- warning: stored property '_id' of 'Sendable'-conforming class 'SiteInfo' is mutable; this is an error in the Swift 6 language mode
10 |
11 |     @Field(key: "name")
/host/spi-builder-workspace/Sources/App/Models/Scheme/Tag.swift:9:9: warning: stored property '_id' of 'Sendable'-conforming class 'Tag' is mutable; this is an error in the Swift 6 language mode
  7 |
  8 |     @ID(custom: .id)
  9 |     var id: Int?
    |         `- warning: stored property '_id' of 'Sendable'-conforming class 'Tag' is mutable; this is an error in the Swift 6 language mode
 10 |
 11 |     @Field(key: "name")
/host/spi-builder-workspace/Sources/App/Models/Scheme/User.swift:11:9: warning: stored property '_id' of 'Sendable'-conforming class 'User' is mutable; this is an error in the Swift 6 language mode
  9 |
 10 |     @ID(custom: .id)
 11 |     var id: Int?
    |         `- warning: stored property '_id' of 'Sendable'-conforming class 'User' is mutable; this is an error in the Swift 6 language mode
 12 |
 13 |     @Field(key: "name")
/host/spi-builder-workspace/Sources/App/Routes/APIRoutes.swift:14:47: warning: converting non-sendable function value to '@Sendable (Request) throws -> EventLoopFuture<PageResponse<ImageGroup>>' may introduce data races
12 |         do {
13 |             let controller = API.ImageController()
14 |             api.get("images", use: controller.index)
   |                                               `- warning: converting non-sendable function value to '@Sendable (Request) throws -> EventLoopFuture<PageResponse<ImageGroup>>' may introduce data races
15 |             api.on(.POST, "images", body: .collect(maxSize: nil), use: controller.store)
16 |         }
/host/spi-builder-workspace/Sources/App/Routes/APIRoutes.swift:15:83: warning: converting non-sendable function value to '@Sendable (Request) throws -> EventLoopFuture<Response>' may introduce data races
13 |             let controller = API.ImageController()
14 |             api.get("images", use: controller.index)
15 |             api.on(.POST, "images", body: .collect(maxSize: nil), use: controller.store)
   |                                                                                   `- warning: converting non-sendable function value to '@Sendable (Request) throws -> EventLoopFuture<Response>' may introduce data races
16 |         }
17 |
/host/spi-builder-workspace/Sources/App/Routes/APIRoutes.swift:21:47: warning: converting non-sendable function value to '@Sendable (Request) throws -> EventLoopFuture<[Theme]>' may introduce data races
19 |         do {
20 |             let controller = API.ThemeController()
21 |             api.get("themes", use: controller.index)
   |                                               `- warning: converting non-sendable function value to '@Sendable (Request) throws -> EventLoopFuture<[Theme]>' may introduce data races
22 |             api.post("themes", use: controller.store)
23 |         }
/host/spi-builder-workspace/Sources/App/Routes/APIRoutes.swift:22:48: warning: converting non-sendable function value to '@Sendable (Request) throws -> EventLoopFuture<Response>' may introduce data races
20 |             let controller = API.ThemeController()
21 |             api.get("themes", use: controller.index)
22 |             api.post("themes", use: controller.store)
   |                                                `- warning: converting non-sendable function value to '@Sendable (Request) throws -> EventLoopFuture<Response>' may introduce data races
23 |         }
24 |
/host/spi-builder-workspace/Sources/App/Routes/APIRoutes.swift:28:65: warning: converting non-sendable function value to '@Sendable (Request) throws -> EventLoopFuture<[EditableFileGroup]>' may introduce data races
26 |         do {
27 |             let controller = API.FileController()
28 |             api.get("themes", ":name", "files", use: controller.index)
   |                                                                 `- warning: converting non-sendable function value to '@Sendable (Request) throws -> EventLoopFuture<[EditableFileGroup]>' may introduce data races
29 |             api.get("files", use: controller.show)
30 |             api.post("files", use: controller.store)
/host/spi-builder-workspace/Sources/App/Routes/APIRoutes.swift:29:46: warning: converting non-sendable function value to '@Sendable (Request) throws -> EventLoopFuture<EditableFileBody>' may introduce data races
27 |             let controller = API.FileController()
28 |             api.get("themes", ":name", "files", use: controller.index)
29 |             api.get("files", use: controller.show)
   |                                              `- warning: converting non-sendable function value to '@Sendable (Request) throws -> EventLoopFuture<EditableFileBody>' may introduce data races
30 |             api.post("files", use: controller.store)
31 |         }
/host/spi-builder-workspace/Sources/App/Routes/APIRoutes.swift:30:47: warning: converting non-sendable function value to '@Sendable (Request) throws -> EventLoopFuture<Response>' may introduce data races
28 |             api.get("themes", ":name", "files", use: controller.index)
29 |             api.get("files", use: controller.show)
30 |             api.post("files", use: controller.store)
   |                                               `- warning: converting non-sendable function value to '@Sendable (Request) throws -> EventLoopFuture<Response>' may introduce data races
31 |         }
32 |     }
[2875/2882] Compiling App SiteInfo.swift
/host/spi-builder-workspace/Sources/App/Models/Scheme/Category.swift:9:9: warning: stored property '_id' of 'Sendable'-conforming class 'Category' is mutable; this is an error in the Swift 6 language mode
 7 |
 8 |     @ID(custom: .id)
 9 |     var id: Int?
   |         `- warning: stored property '_id' of 'Sendable'-conforming class 'Category' is mutable; this is an error in the Swift 6 language mode
10 |
11 |     @Field(key: "name")
/host/spi-builder-workspace/Sources/App/Models/Scheme/Image.swift:9:9: warning: stored property '_id' of 'Sendable'-conforming class 'Image' is mutable; this is an error in the Swift 6 language mode
 7 |
 8 |     @ID(custom: .id)
 9 |     var id: Int?
   |         `- warning: stored property '_id' of 'Sendable'-conforming class 'Image' is mutable; this is an error in the Swift 6 language mode
10 |
11 |     @Field(key: "path")
/host/spi-builder-workspace/Sources/App/Models/Scheme/Post.swift:10:9: warning: stored property '_id' of 'Sendable'-conforming class 'Post' is mutable; this is an error in the Swift 6 language mode
  8 |
  9 |     @ID(custom: .id)
 10 |     var id: Int?
    |         `- warning: stored property '_id' of 'Sendable'-conforming class 'Post' is mutable; this is an error in the Swift 6 language mode
 11 |
 12 |     @Field(key: "title")
/host/spi-builder-workspace/Sources/App/Models/Scheme/Post.swift:137:42: warning: 'sql(raw:)' is deprecated: Renamed to `.sql(unsafeRaw:)`. Please use caution when embedding raw SQL.
135 | extension QueryBuilder where Model == Post {
136 |     func publicAll() -> Self {
137 |         return filter(\.$isPublished == .sql(raw: "1"))
    |                                          |- warning: 'sql(raw:)' is deprecated: Renamed to `.sql(unsafeRaw:)`. Please use caution when embedding raw SQL.
    |                                          `- note: use 'sql(unsafeRaw:)' instead
138 |     }
139 |
/host/spi-builder-workspace/Sources/App/Models/Scheme/Post.swift:141:39: warning: 'sql(raw:)' is deprecated: Renamed to `.sql(unsafeRaw:)`. Please use caution when embedding raw SQL.
139 |
140 |     func noStaticAll() -> Self {
141 |         return filter(\.$isStatic == .sql(raw: "0"))
    |                                       |- warning: 'sql(raw:)' is deprecated: Renamed to `.sql(unsafeRaw:)`. Please use caution when embedding raw SQL.
    |                                       `- note: use 'sql(unsafeRaw:)' instead
142 |     }
143 |
/host/spi-builder-workspace/Sources/App/Models/Scheme/Post.swift:145:39: warning: 'sql(raw:)' is deprecated: Renamed to `.sql(unsafeRaw:)`. Please use caution when embedding raw SQL.
143 |
144 |     func staticAll() -> Self {
145 |         return filter(\.$isStatic == .sql(raw: "1"))
    |                                       |- warning: 'sql(raw:)' is deprecated: Renamed to `.sql(unsafeRaw:)`. Please use caution when embedding raw SQL.
    |                                       `- note: use 'sql(unsafeRaw:)' instead
146 |     }
147 |
/host/spi-builder-workspace/Sources/App/Models/Scheme/PostTag.swift:9:9: warning: stored property '_id' of 'Sendable'-conforming class 'PostTag' is mutable; this is an error in the Swift 6 language mode
 7 |
 8 |     @ID(custom: .id)
 9 |     var id: Int?
   |         `- warning: stored property '_id' of 'Sendable'-conforming class 'PostTag' is mutable; this is an error in the Swift 6 language mode
10 |
11 |     @Parent(key: "post_id")
/host/spi-builder-workspace/Sources/App/Models/Scheme/SiteInfo.swift:9:9: warning: stored property '_id' of 'Sendable'-conforming class 'SiteInfo' is mutable; this is an error in the Swift 6 language mode
 7 |
 8 |     @ID(custom: .id)
 9 |     var id: Int?
   |         `- warning: stored property '_id' of 'Sendable'-conforming class 'SiteInfo' is mutable; this is an error in the Swift 6 language mode
10 |
11 |     @Field(key: "name")
/host/spi-builder-workspace/Sources/App/Models/Scheme/Tag.swift:9:9: warning: stored property '_id' of 'Sendable'-conforming class 'Tag' is mutable; this is an error in the Swift 6 language mode
  7 |
  8 |     @ID(custom: .id)
  9 |     var id: Int?
    |         `- warning: stored property '_id' of 'Sendable'-conforming class 'Tag' is mutable; this is an error in the Swift 6 language mode
 10 |
 11 |     @Field(key: "name")
/host/spi-builder-workspace/Sources/App/Models/Scheme/User.swift:11:9: warning: stored property '_id' of 'Sendable'-conforming class 'User' is mutable; this is an error in the Swift 6 language mode
  9 |
 10 |     @ID(custom: .id)
 11 |     var id: Int?
    |         `- warning: stored property '_id' of 'Sendable'-conforming class 'User' is mutable; this is an error in the Swift 6 language mode
 12 |
 13 |     @Field(key: "name")
/host/spi-builder-workspace/Sources/App/Routes/APIRoutes.swift:14:47: warning: converting non-sendable function value to '@Sendable (Request) throws -> EventLoopFuture<PageResponse<ImageGroup>>' may introduce data races
12 |         do {
13 |             let controller = API.ImageController()
14 |             api.get("images", use: controller.index)
   |                                               `- warning: converting non-sendable function value to '@Sendable (Request) throws -> EventLoopFuture<PageResponse<ImageGroup>>' may introduce data races
15 |             api.on(.POST, "images", body: .collect(maxSize: nil), use: controller.store)
16 |         }
/host/spi-builder-workspace/Sources/App/Routes/APIRoutes.swift:15:83: warning: converting non-sendable function value to '@Sendable (Request) throws -> EventLoopFuture<Response>' may introduce data races
13 |             let controller = API.ImageController()
14 |             api.get("images", use: controller.index)
15 |             api.on(.POST, "images", body: .collect(maxSize: nil), use: controller.store)
   |                                                                                   `- warning: converting non-sendable function value to '@Sendable (Request) throws -> EventLoopFuture<Response>' may introduce data races
16 |         }
17 |
/host/spi-builder-workspace/Sources/App/Routes/APIRoutes.swift:21:47: warning: converting non-sendable function value to '@Sendable (Request) throws -> EventLoopFuture<[Theme]>' may introduce data races
19 |         do {
20 |             let controller = API.ThemeController()
21 |             api.get("themes", use: controller.index)
   |                                               `- warning: converting non-sendable function value to '@Sendable (Request) throws -> EventLoopFuture<[Theme]>' may introduce data races
22 |             api.post("themes", use: controller.store)
23 |         }
/host/spi-builder-workspace/Sources/App/Routes/APIRoutes.swift:22:48: warning: converting non-sendable function value to '@Sendable (Request) throws -> EventLoopFuture<Response>' may introduce data races
20 |             let controller = API.ThemeController()
21 |             api.get("themes", use: controller.index)
22 |             api.post("themes", use: controller.store)
   |                                                `- warning: converting non-sendable function value to '@Sendable (Request) throws -> EventLoopFuture<Response>' may introduce data races
23 |         }
24 |
/host/spi-builder-workspace/Sources/App/Routes/APIRoutes.swift:28:65: warning: converting non-sendable function value to '@Sendable (Request) throws -> EventLoopFuture<[EditableFileGroup]>' may introduce data races
26 |         do {
27 |             let controller = API.FileController()
28 |             api.get("themes", ":name", "files", use: controller.index)
   |                                                                 `- warning: converting non-sendable function value to '@Sendable (Request) throws -> EventLoopFuture<[EditableFileGroup]>' may introduce data races
29 |             api.get("files", use: controller.show)
30 |             api.post("files", use: controller.store)
/host/spi-builder-workspace/Sources/App/Routes/APIRoutes.swift:29:46: warning: converting non-sendable function value to '@Sendable (Request) throws -> EventLoopFuture<EditableFileBody>' may introduce data races
27 |             let controller = API.FileController()
28 |             api.get("themes", ":name", "files", use: controller.index)
29 |             api.get("files", use: controller.show)
   |                                              `- warning: converting non-sendable function value to '@Sendable (Request) throws -> EventLoopFuture<EditableFileBody>' may introduce data races
30 |             api.post("files", use: controller.store)
31 |         }
/host/spi-builder-workspace/Sources/App/Routes/APIRoutes.swift:30:47: warning: converting non-sendable function value to '@Sendable (Request) throws -> EventLoopFuture<Response>' may introduce data races
28 |             api.get("themes", ":name", "files", use: controller.index)
29 |             api.get("files", use: controller.show)
30 |             api.post("files", use: controller.store)
   |                                               `- warning: converting non-sendable function value to '@Sendable (Request) throws -> EventLoopFuture<Response>' may introduce data races
31 |         }
32 |     }
[2876/2882] Compiling App Tag.swift
/host/spi-builder-workspace/Sources/App/Models/Scheme/Category.swift:9:9: warning: stored property '_id' of 'Sendable'-conforming class 'Category' is mutable; this is an error in the Swift 6 language mode
 7 |
 8 |     @ID(custom: .id)
 9 |     var id: Int?
   |         `- warning: stored property '_id' of 'Sendable'-conforming class 'Category' is mutable; this is an error in the Swift 6 language mode
10 |
11 |     @Field(key: "name")
/host/spi-builder-workspace/Sources/App/Models/Scheme/Image.swift:9:9: warning: stored property '_id' of 'Sendable'-conforming class 'Image' is mutable; this is an error in the Swift 6 language mode
 7 |
 8 |     @ID(custom: .id)
 9 |     var id: Int?
   |         `- warning: stored property '_id' of 'Sendable'-conforming class 'Image' is mutable; this is an error in the Swift 6 language mode
10 |
11 |     @Field(key: "path")
/host/spi-builder-workspace/Sources/App/Models/Scheme/Post.swift:10:9: warning: stored property '_id' of 'Sendable'-conforming class 'Post' is mutable; this is an error in the Swift 6 language mode
  8 |
  9 |     @ID(custom: .id)
 10 |     var id: Int?
    |         `- warning: stored property '_id' of 'Sendable'-conforming class 'Post' is mutable; this is an error in the Swift 6 language mode
 11 |
 12 |     @Field(key: "title")
/host/spi-builder-workspace/Sources/App/Models/Scheme/Post.swift:137:42: warning: 'sql(raw:)' is deprecated: Renamed to `.sql(unsafeRaw:)`. Please use caution when embedding raw SQL.
135 | extension QueryBuilder where Model == Post {
136 |     func publicAll() -> Self {
137 |         return filter(\.$isPublished == .sql(raw: "1"))
    |                                          |- warning: 'sql(raw:)' is deprecated: Renamed to `.sql(unsafeRaw:)`. Please use caution when embedding raw SQL.
    |                                          `- note: use 'sql(unsafeRaw:)' instead
138 |     }
139 |
/host/spi-builder-workspace/Sources/App/Models/Scheme/Post.swift:141:39: warning: 'sql(raw:)' is deprecated: Renamed to `.sql(unsafeRaw:)`. Please use caution when embedding raw SQL.
139 |
140 |     func noStaticAll() -> Self {
141 |         return filter(\.$isStatic == .sql(raw: "0"))
    |                                       |- warning: 'sql(raw:)' is deprecated: Renamed to `.sql(unsafeRaw:)`. Please use caution when embedding raw SQL.
    |                                       `- note: use 'sql(unsafeRaw:)' instead
142 |     }
143 |
/host/spi-builder-workspace/Sources/App/Models/Scheme/Post.swift:145:39: warning: 'sql(raw:)' is deprecated: Renamed to `.sql(unsafeRaw:)`. Please use caution when embedding raw SQL.
143 |
144 |     func staticAll() -> Self {
145 |         return filter(\.$isStatic == .sql(raw: "1"))
    |                                       |- warning: 'sql(raw:)' is deprecated: Renamed to `.sql(unsafeRaw:)`. Please use caution when embedding raw SQL.
    |                                       `- note: use 'sql(unsafeRaw:)' instead
146 |     }
147 |
/host/spi-builder-workspace/Sources/App/Models/Scheme/PostTag.swift:9:9: warning: stored property '_id' of 'Sendable'-conforming class 'PostTag' is mutable; this is an error in the Swift 6 language mode
 7 |
 8 |     @ID(custom: .id)
 9 |     var id: Int?
   |         `- warning: stored property '_id' of 'Sendable'-conforming class 'PostTag' is mutable; this is an error in the Swift 6 language mode
10 |
11 |     @Parent(key: "post_id")
/host/spi-builder-workspace/Sources/App/Models/Scheme/SiteInfo.swift:9:9: warning: stored property '_id' of 'Sendable'-conforming class 'SiteInfo' is mutable; this is an error in the Swift 6 language mode
 7 |
 8 |     @ID(custom: .id)
 9 |     var id: Int?
   |         `- warning: stored property '_id' of 'Sendable'-conforming class 'SiteInfo' is mutable; this is an error in the Swift 6 language mode
10 |
11 |     @Field(key: "name")
/host/spi-builder-workspace/Sources/App/Models/Scheme/Tag.swift:9:9: warning: stored property '_id' of 'Sendable'-conforming class 'Tag' is mutable; this is an error in the Swift 6 language mode
  7 |
  8 |     @ID(custom: .id)
  9 |     var id: Int?
    |         `- warning: stored property '_id' of 'Sendable'-conforming class 'Tag' is mutable; this is an error in the Swift 6 language mode
 10 |
 11 |     @Field(key: "name")
/host/spi-builder-workspace/Sources/App/Models/Scheme/User.swift:11:9: warning: stored property '_id' of 'Sendable'-conforming class 'User' is mutable; this is an error in the Swift 6 language mode
  9 |
 10 |     @ID(custom: .id)
 11 |     var id: Int?
    |         `- warning: stored property '_id' of 'Sendable'-conforming class 'User' is mutable; this is an error in the Swift 6 language mode
 12 |
 13 |     @Field(key: "name")
/host/spi-builder-workspace/Sources/App/Routes/APIRoutes.swift:14:47: warning: converting non-sendable function value to '@Sendable (Request) throws -> EventLoopFuture<PageResponse<ImageGroup>>' may introduce data races
12 |         do {
13 |             let controller = API.ImageController()
14 |             api.get("images", use: controller.index)
   |                                               `- warning: converting non-sendable function value to '@Sendable (Request) throws -> EventLoopFuture<PageResponse<ImageGroup>>' may introduce data races
15 |             api.on(.POST, "images", body: .collect(maxSize: nil), use: controller.store)
16 |         }
/host/spi-builder-workspace/Sources/App/Routes/APIRoutes.swift:15:83: warning: converting non-sendable function value to '@Sendable (Request) throws -> EventLoopFuture<Response>' may introduce data races
13 |             let controller = API.ImageController()
14 |             api.get("images", use: controller.index)
15 |             api.on(.POST, "images", body: .collect(maxSize: nil), use: controller.store)
   |                                                                                   `- warning: converting non-sendable function value to '@Sendable (Request) throws -> EventLoopFuture<Response>' may introduce data races
16 |         }
17 |
/host/spi-builder-workspace/Sources/App/Routes/APIRoutes.swift:21:47: warning: converting non-sendable function value to '@Sendable (Request) throws -> EventLoopFuture<[Theme]>' may introduce data races
19 |         do {
20 |             let controller = API.ThemeController()
21 |             api.get("themes", use: controller.index)
   |                                               `- warning: converting non-sendable function value to '@Sendable (Request) throws -> EventLoopFuture<[Theme]>' may introduce data races
22 |             api.post("themes", use: controller.store)
23 |         }
/host/spi-builder-workspace/Sources/App/Routes/APIRoutes.swift:22:48: warning: converting non-sendable function value to '@Sendable (Request) throws -> EventLoopFuture<Response>' may introduce data races
20 |             let controller = API.ThemeController()
21 |             api.get("themes", use: controller.index)
22 |             api.post("themes", use: controller.store)
   |                                                `- warning: converting non-sendable function value to '@Sendable (Request) throws -> EventLoopFuture<Response>' may introduce data races
23 |         }
24 |
/host/spi-builder-workspace/Sources/App/Routes/APIRoutes.swift:28:65: warning: converting non-sendable function value to '@Sendable (Request) throws -> EventLoopFuture<[EditableFileGroup]>' may introduce data races
26 |         do {
27 |             let controller = API.FileController()
28 |             api.get("themes", ":name", "files", use: controller.index)
   |                                                                 `- warning: converting non-sendable function value to '@Sendable (Request) throws -> EventLoopFuture<[EditableFileGroup]>' may introduce data races
29 |             api.get("files", use: controller.show)
30 |             api.post("files", use: controller.store)
/host/spi-builder-workspace/Sources/App/Routes/APIRoutes.swift:29:46: warning: converting non-sendable function value to '@Sendable (Request) throws -> EventLoopFuture<EditableFileBody>' may introduce data races
27 |             let controller = API.FileController()
28 |             api.get("themes", ":name", "files", use: controller.index)
29 |             api.get("files", use: controller.show)
   |                                              `- warning: converting non-sendable function value to '@Sendable (Request) throws -> EventLoopFuture<EditableFileBody>' may introduce data races
30 |             api.post("files", use: controller.store)
31 |         }
/host/spi-builder-workspace/Sources/App/Routes/APIRoutes.swift:30:47: warning: converting non-sendable function value to '@Sendable (Request) throws -> EventLoopFuture<Response>' may introduce data races
28 |             api.get("themes", ":name", "files", use: controller.index)
29 |             api.get("files", use: controller.show)
30 |             api.post("files", use: controller.store)
   |                                               `- warning: converting non-sendable function value to '@Sendable (Request) throws -> EventLoopFuture<Response>' may introduce data races
31 |         }
32 |     }
[2877/2882] Compiling App User.swift
/host/spi-builder-workspace/Sources/App/Models/Scheme/Category.swift:9:9: warning: stored property '_id' of 'Sendable'-conforming class 'Category' is mutable; this is an error in the Swift 6 language mode
 7 |
 8 |     @ID(custom: .id)
 9 |     var id: Int?
   |         `- warning: stored property '_id' of 'Sendable'-conforming class 'Category' is mutable; this is an error in the Swift 6 language mode
10 |
11 |     @Field(key: "name")
/host/spi-builder-workspace/Sources/App/Models/Scheme/Image.swift:9:9: warning: stored property '_id' of 'Sendable'-conforming class 'Image' is mutable; this is an error in the Swift 6 language mode
 7 |
 8 |     @ID(custom: .id)
 9 |     var id: Int?
   |         `- warning: stored property '_id' of 'Sendable'-conforming class 'Image' is mutable; this is an error in the Swift 6 language mode
10 |
11 |     @Field(key: "path")
/host/spi-builder-workspace/Sources/App/Models/Scheme/Post.swift:10:9: warning: stored property '_id' of 'Sendable'-conforming class 'Post' is mutable; this is an error in the Swift 6 language mode
  8 |
  9 |     @ID(custom: .id)
 10 |     var id: Int?
    |         `- warning: stored property '_id' of 'Sendable'-conforming class 'Post' is mutable; this is an error in the Swift 6 language mode
 11 |
 12 |     @Field(key: "title")
/host/spi-builder-workspace/Sources/App/Models/Scheme/Post.swift:137:42: warning: 'sql(raw:)' is deprecated: Renamed to `.sql(unsafeRaw:)`. Please use caution when embedding raw SQL.
135 | extension QueryBuilder where Model == Post {
136 |     func publicAll() -> Self {
137 |         return filter(\.$isPublished == .sql(raw: "1"))
    |                                          |- warning: 'sql(raw:)' is deprecated: Renamed to `.sql(unsafeRaw:)`. Please use caution when embedding raw SQL.
    |                                          `- note: use 'sql(unsafeRaw:)' instead
138 |     }
139 |
/host/spi-builder-workspace/Sources/App/Models/Scheme/Post.swift:141:39: warning: 'sql(raw:)' is deprecated: Renamed to `.sql(unsafeRaw:)`. Please use caution when embedding raw SQL.
139 |
140 |     func noStaticAll() -> Self {
141 |         return filter(\.$isStatic == .sql(raw: "0"))
    |                                       |- warning: 'sql(raw:)' is deprecated: Renamed to `.sql(unsafeRaw:)`. Please use caution when embedding raw SQL.
    |                                       `- note: use 'sql(unsafeRaw:)' instead
142 |     }
143 |
/host/spi-builder-workspace/Sources/App/Models/Scheme/Post.swift:145:39: warning: 'sql(raw:)' is deprecated: Renamed to `.sql(unsafeRaw:)`. Please use caution when embedding raw SQL.
143 |
144 |     func staticAll() -> Self {
145 |         return filter(\.$isStatic == .sql(raw: "1"))
    |                                       |- warning: 'sql(raw:)' is deprecated: Renamed to `.sql(unsafeRaw:)`. Please use caution when embedding raw SQL.
    |                                       `- note: use 'sql(unsafeRaw:)' instead
146 |     }
147 |
/host/spi-builder-workspace/Sources/App/Models/Scheme/PostTag.swift:9:9: warning: stored property '_id' of 'Sendable'-conforming class 'PostTag' is mutable; this is an error in the Swift 6 language mode
 7 |
 8 |     @ID(custom: .id)
 9 |     var id: Int?
   |         `- warning: stored property '_id' of 'Sendable'-conforming class 'PostTag' is mutable; this is an error in the Swift 6 language mode
10 |
11 |     @Parent(key: "post_id")
/host/spi-builder-workspace/Sources/App/Models/Scheme/SiteInfo.swift:9:9: warning: stored property '_id' of 'Sendable'-conforming class 'SiteInfo' is mutable; this is an error in the Swift 6 language mode
 7 |
 8 |     @ID(custom: .id)
 9 |     var id: Int?
   |         `- warning: stored property '_id' of 'Sendable'-conforming class 'SiteInfo' is mutable; this is an error in the Swift 6 language mode
10 |
11 |     @Field(key: "name")
/host/spi-builder-workspace/Sources/App/Models/Scheme/Tag.swift:9:9: warning: stored property '_id' of 'Sendable'-conforming class 'Tag' is mutable; this is an error in the Swift 6 language mode
  7 |
  8 |     @ID(custom: .id)
  9 |     var id: Int?
    |         `- warning: stored property '_id' of 'Sendable'-conforming class 'Tag' is mutable; this is an error in the Swift 6 language mode
 10 |
 11 |     @Field(key: "name")
/host/spi-builder-workspace/Sources/App/Models/Scheme/User.swift:11:9: warning: stored property '_id' of 'Sendable'-conforming class 'User' is mutable; this is an error in the Swift 6 language mode
  9 |
 10 |     @ID(custom: .id)
 11 |     var id: Int?
    |         `- warning: stored property '_id' of 'Sendable'-conforming class 'User' is mutable; this is an error in the Swift 6 language mode
 12 |
 13 |     @Field(key: "name")
/host/spi-builder-workspace/Sources/App/Routes/APIRoutes.swift:14:47: warning: converting non-sendable function value to '@Sendable (Request) throws -> EventLoopFuture<PageResponse<ImageGroup>>' may introduce data races
12 |         do {
13 |             let controller = API.ImageController()
14 |             api.get("images", use: controller.index)
   |                                               `- warning: converting non-sendable function value to '@Sendable (Request) throws -> EventLoopFuture<PageResponse<ImageGroup>>' may introduce data races
15 |             api.on(.POST, "images", body: .collect(maxSize: nil), use: controller.store)
16 |         }
/host/spi-builder-workspace/Sources/App/Routes/APIRoutes.swift:15:83: warning: converting non-sendable function value to '@Sendable (Request) throws -> EventLoopFuture<Response>' may introduce data races
13 |             let controller = API.ImageController()
14 |             api.get("images", use: controller.index)
15 |             api.on(.POST, "images", body: .collect(maxSize: nil), use: controller.store)
   |                                                                                   `- warning: converting non-sendable function value to '@Sendable (Request) throws -> EventLoopFuture<Response>' may introduce data races
16 |         }
17 |
/host/spi-builder-workspace/Sources/App/Routes/APIRoutes.swift:21:47: warning: converting non-sendable function value to '@Sendable (Request) throws -> EventLoopFuture<[Theme]>' may introduce data races
19 |         do {
20 |             let controller = API.ThemeController()
21 |             api.get("themes", use: controller.index)
   |                                               `- warning: converting non-sendable function value to '@Sendable (Request) throws -> EventLoopFuture<[Theme]>' may introduce data races
22 |             api.post("themes", use: controller.store)
23 |         }
/host/spi-builder-workspace/Sources/App/Routes/APIRoutes.swift:22:48: warning: converting non-sendable function value to '@Sendable (Request) throws -> EventLoopFuture<Response>' may introduce data races
20 |             let controller = API.ThemeController()
21 |             api.get("themes", use: controller.index)
22 |             api.post("themes", use: controller.store)
   |                                                `- warning: converting non-sendable function value to '@Sendable (Request) throws -> EventLoopFuture<Response>' may introduce data races
23 |         }
24 |
/host/spi-builder-workspace/Sources/App/Routes/APIRoutes.swift:28:65: warning: converting non-sendable function value to '@Sendable (Request) throws -> EventLoopFuture<[EditableFileGroup]>' may introduce data races
26 |         do {
27 |             let controller = API.FileController()
28 |             api.get("themes", ":name", "files", use: controller.index)
   |                                                                 `- warning: converting non-sendable function value to '@Sendable (Request) throws -> EventLoopFuture<[EditableFileGroup]>' may introduce data races
29 |             api.get("files", use: controller.show)
30 |             api.post("files", use: controller.store)
/host/spi-builder-workspace/Sources/App/Routes/APIRoutes.swift:29:46: warning: converting non-sendable function value to '@Sendable (Request) throws -> EventLoopFuture<EditableFileBody>' may introduce data races
27 |             let controller = API.FileController()
28 |             api.get("themes", ":name", "files", use: controller.index)
29 |             api.get("files", use: controller.show)
   |                                              `- warning: converting non-sendable function value to '@Sendable (Request) throws -> EventLoopFuture<EditableFileBody>' may introduce data races
30 |             api.post("files", use: controller.store)
31 |         }
/host/spi-builder-workspace/Sources/App/Routes/APIRoutes.swift:30:47: warning: converting non-sendable function value to '@Sendable (Request) throws -> EventLoopFuture<Response>' may introduce data races
28 |             api.get("themes", ":name", "files", use: controller.index)
29 |             api.get("files", use: controller.show)
30 |             api.post("files", use: controller.store)
   |                                               `- warning: converting non-sendable function value to '@Sendable (Request) throws -> EventLoopFuture<Response>' may introduce data races
31 |         }
32 |     }
[2878/2882] Compiling App APIRoutes.swift
/host/spi-builder-workspace/Sources/App/Models/Scheme/Category.swift:9:9: warning: stored property '_id' of 'Sendable'-conforming class 'Category' is mutable; this is an error in the Swift 6 language mode
 7 |
 8 |     @ID(custom: .id)
 9 |     var id: Int?
   |         `- warning: stored property '_id' of 'Sendable'-conforming class 'Category' is mutable; this is an error in the Swift 6 language mode
10 |
11 |     @Field(key: "name")
/host/spi-builder-workspace/Sources/App/Models/Scheme/Image.swift:9:9: warning: stored property '_id' of 'Sendable'-conforming class 'Image' is mutable; this is an error in the Swift 6 language mode
 7 |
 8 |     @ID(custom: .id)
 9 |     var id: Int?
   |         `- warning: stored property '_id' of 'Sendable'-conforming class 'Image' is mutable; this is an error in the Swift 6 language mode
10 |
11 |     @Field(key: "path")
/host/spi-builder-workspace/Sources/App/Models/Scheme/Post.swift:10:9: warning: stored property '_id' of 'Sendable'-conforming class 'Post' is mutable; this is an error in the Swift 6 language mode
  8 |
  9 |     @ID(custom: .id)
 10 |     var id: Int?
    |         `- warning: stored property '_id' of 'Sendable'-conforming class 'Post' is mutable; this is an error in the Swift 6 language mode
 11 |
 12 |     @Field(key: "title")
/host/spi-builder-workspace/Sources/App/Models/Scheme/Post.swift:137:42: warning: 'sql(raw:)' is deprecated: Renamed to `.sql(unsafeRaw:)`. Please use caution when embedding raw SQL.
135 | extension QueryBuilder where Model == Post {
136 |     func publicAll() -> Self {
137 |         return filter(\.$isPublished == .sql(raw: "1"))
    |                                          |- warning: 'sql(raw:)' is deprecated: Renamed to `.sql(unsafeRaw:)`. Please use caution when embedding raw SQL.
    |                                          `- note: use 'sql(unsafeRaw:)' instead
138 |     }
139 |
/host/spi-builder-workspace/Sources/App/Models/Scheme/Post.swift:141:39: warning: 'sql(raw:)' is deprecated: Renamed to `.sql(unsafeRaw:)`. Please use caution when embedding raw SQL.
139 |
140 |     func noStaticAll() -> Self {
141 |         return filter(\.$isStatic == .sql(raw: "0"))
    |                                       |- warning: 'sql(raw:)' is deprecated: Renamed to `.sql(unsafeRaw:)`. Please use caution when embedding raw SQL.
    |                                       `- note: use 'sql(unsafeRaw:)' instead
142 |     }
143 |
/host/spi-builder-workspace/Sources/App/Models/Scheme/Post.swift:145:39: warning: 'sql(raw:)' is deprecated: Renamed to `.sql(unsafeRaw:)`. Please use caution when embedding raw SQL.
143 |
144 |     func staticAll() -> Self {
145 |         return filter(\.$isStatic == .sql(raw: "1"))
    |                                       |- warning: 'sql(raw:)' is deprecated: Renamed to `.sql(unsafeRaw:)`. Please use caution when embedding raw SQL.
    |                                       `- note: use 'sql(unsafeRaw:)' instead
146 |     }
147 |
/host/spi-builder-workspace/Sources/App/Models/Scheme/PostTag.swift:9:9: warning: stored property '_id' of 'Sendable'-conforming class 'PostTag' is mutable; this is an error in the Swift 6 language mode
 7 |
 8 |     @ID(custom: .id)
 9 |     var id: Int?
   |         `- warning: stored property '_id' of 'Sendable'-conforming class 'PostTag' is mutable; this is an error in the Swift 6 language mode
10 |
11 |     @Parent(key: "post_id")
/host/spi-builder-workspace/Sources/App/Models/Scheme/SiteInfo.swift:9:9: warning: stored property '_id' of 'Sendable'-conforming class 'SiteInfo' is mutable; this is an error in the Swift 6 language mode
 7 |
 8 |     @ID(custom: .id)
 9 |     var id: Int?
   |         `- warning: stored property '_id' of 'Sendable'-conforming class 'SiteInfo' is mutable; this is an error in the Swift 6 language mode
10 |
11 |     @Field(key: "name")
/host/spi-builder-workspace/Sources/App/Models/Scheme/Tag.swift:9:9: warning: stored property '_id' of 'Sendable'-conforming class 'Tag' is mutable; this is an error in the Swift 6 language mode
  7 |
  8 |     @ID(custom: .id)
  9 |     var id: Int?
    |         `- warning: stored property '_id' of 'Sendable'-conforming class 'Tag' is mutable; this is an error in the Swift 6 language mode
 10 |
 11 |     @Field(key: "name")
/host/spi-builder-workspace/Sources/App/Models/Scheme/User.swift:11:9: warning: stored property '_id' of 'Sendable'-conforming class 'User' is mutable; this is an error in the Swift 6 language mode
  9 |
 10 |     @ID(custom: .id)
 11 |     var id: Int?
    |         `- warning: stored property '_id' of 'Sendable'-conforming class 'User' is mutable; this is an error in the Swift 6 language mode
 12 |
 13 |     @Field(key: "name")
/host/spi-builder-workspace/Sources/App/Routes/APIRoutes.swift:14:47: warning: converting non-sendable function value to '@Sendable (Request) throws -> EventLoopFuture<PageResponse<ImageGroup>>' may introduce data races
12 |         do {
13 |             let controller = API.ImageController()
14 |             api.get("images", use: controller.index)
   |                                               `- warning: converting non-sendable function value to '@Sendable (Request) throws -> EventLoopFuture<PageResponse<ImageGroup>>' may introduce data races
15 |             api.on(.POST, "images", body: .collect(maxSize: nil), use: controller.store)
16 |         }
/host/spi-builder-workspace/Sources/App/Routes/APIRoutes.swift:15:83: warning: converting non-sendable function value to '@Sendable (Request) throws -> EventLoopFuture<Response>' may introduce data races
13 |             let controller = API.ImageController()
14 |             api.get("images", use: controller.index)
15 |             api.on(.POST, "images", body: .collect(maxSize: nil), use: controller.store)
   |                                                                                   `- warning: converting non-sendable function value to '@Sendable (Request) throws -> EventLoopFuture<Response>' may introduce data races
16 |         }
17 |
/host/spi-builder-workspace/Sources/App/Routes/APIRoutes.swift:21:47: warning: converting non-sendable function value to '@Sendable (Request) throws -> EventLoopFuture<[Theme]>' may introduce data races
19 |         do {
20 |             let controller = API.ThemeController()
21 |             api.get("themes", use: controller.index)
   |                                               `- warning: converting non-sendable function value to '@Sendable (Request) throws -> EventLoopFuture<[Theme]>' may introduce data races
22 |             api.post("themes", use: controller.store)
23 |         }
/host/spi-builder-workspace/Sources/App/Routes/APIRoutes.swift:22:48: warning: converting non-sendable function value to '@Sendable (Request) throws -> EventLoopFuture<Response>' may introduce data races
20 |             let controller = API.ThemeController()
21 |             api.get("themes", use: controller.index)
22 |             api.post("themes", use: controller.store)
   |                                                `- warning: converting non-sendable function value to '@Sendable (Request) throws -> EventLoopFuture<Response>' may introduce data races
23 |         }
24 |
/host/spi-builder-workspace/Sources/App/Routes/APIRoutes.swift:28:65: warning: converting non-sendable function value to '@Sendable (Request) throws -> EventLoopFuture<[EditableFileGroup]>' may introduce data races
26 |         do {
27 |             let controller = API.FileController()
28 |             api.get("themes", ":name", "files", use: controller.index)
   |                                                                 `- warning: converting non-sendable function value to '@Sendable (Request) throws -> EventLoopFuture<[EditableFileGroup]>' may introduce data races
29 |             api.get("files", use: controller.show)
30 |             api.post("files", use: controller.store)
/host/spi-builder-workspace/Sources/App/Routes/APIRoutes.swift:29:46: warning: converting non-sendable function value to '@Sendable (Request) throws -> EventLoopFuture<EditableFileBody>' may introduce data races
27 |             let controller = API.FileController()
28 |             api.get("themes", ":name", "files", use: controller.index)
29 |             api.get("files", use: controller.show)
   |                                              `- warning: converting non-sendable function value to '@Sendable (Request) throws -> EventLoopFuture<EditableFileBody>' may introduce data races
30 |             api.post("files", use: controller.store)
31 |         }
/host/spi-builder-workspace/Sources/App/Routes/APIRoutes.swift:30:47: warning: converting non-sendable function value to '@Sendable (Request) throws -> EventLoopFuture<Response>' may introduce data races
28 |             api.get("themes", ":name", "files", use: controller.index)
29 |             api.get("files", use: controller.show)
30 |             api.post("files", use: controller.store)
   |                                               `- warning: converting non-sendable function value to '@Sendable (Request) throws -> EventLoopFuture<Response>' may introduce data races
31 |         }
32 |     }
BUILD FAILURE 6.0 linux